<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385661#M812948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is nothing wrong in ur program. That will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not Tell me your problem clearly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2008 09:31:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-18T09:31:37Z</dc:date>
    <item>
      <title>subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385658#M812945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;tables vbak.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options p_vbeln for vbak-vbeln.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;types : begin of ty,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a type vbak-vbeln,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;b type vbak-ernam,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;c type vbak-netwr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end of ty.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data : itab type table of ty,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa type ty.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform sub.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;form sub.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select vbeln ernam netwr from vbak into table itab where vbeln in p_vbeln.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;loop at itab into wa.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;write : wa-a,wa-b,wa-c.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endform.&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above program.&lt;/P&gt;&lt;P&gt;if we give vbeln is 4969 to 4972 as a input in selection screen. It will so the full content of the database table instead of the 4969-4972 range.how can i get the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone one guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Navneeth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385658#M812945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385659#M812946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better if you pass the range p_vbeln to the subroutine explicitly with &lt;STRONG&gt;USING&lt;/STRONG&gt; parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, debug and check the p_vbeln parameter. It might be blank, and hence causing the reading of all entries from VBAK table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385659#M812946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385660#M812947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;u r program is giving the correct output only .&lt;/P&gt;&lt;P&gt;what is u r doubt .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385660#M812947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385661#M812948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is nothing wrong in ur program. That will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not Tell me your problem clearly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385661#M812948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385662#M812949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will run properly but it will show the whole content of the vbak table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385662#M812949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385663#M812950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, i am not getting the correct output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the output contains all the datas from vbak table . but i need the ranges from 4969 to 4972&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385663#M812950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385664#M812951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi navaneet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Your program works properly and gives the correct out put with in that range only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       I checked in my system , It gives with in that range only.&lt;/P&gt;&lt;P&gt;Still you did nt get the proper output, Just debug your code, Then you will identify where is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Reward if points useful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srihari...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 09:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/3385664#M812951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T09:41:24Z</dc:date>
    </item>
  </channel>
</rss>

