<?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 subroutine pool of sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367567#M181558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;can anybody plz tell me waht is subroutine pool of sapscript?? &lt;/P&gt;&lt;P&gt;waiting for replies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 May 2006 12:27:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-06T12:27:28Z</dc:date>
    <item>
      <title>subroutine pool of sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367567#M181558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;can anybody plz tell me waht is subroutine pool of sapscript?? &lt;/P&gt;&lt;P&gt;waiting for replies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2006 12:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367567#M181558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-06T12:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine pool of sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367568#M181559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   If you want to do calculations on some of the fields in a script one way is to change the print program. And other way is to call a routine in the windw which is in another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: if you have a subroutine named ADD_INCOME in a program ZSHAIL_BASIC, you can call the subroutine in SAPScript as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM ADD_INCOME IN PROGRAM ZSHAIL_BASIC&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;var1&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;var2&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the input parameter to the subroutine is var1 and the value returned by the subroutine is var2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program ZSHAIL_BASIC, you have to call the subroutine as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ADD_INCOME TABLES IN_TAB STRUCTURE ITCSY OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN_TAB is a structure of type ITCSY,which has 2 components, NAME and value.&lt;/P&gt;&lt;P&gt;So in the program, var1(which is sent from SAPScript) , will be stored as IN_TAB-NAME and its value will be in IN_TAB-VALUE. You can utilise the IN_TAB-VALUE and after performing the required operations, the return value should be assigned to table OUT_TAB.&lt;/P&gt;&lt;P&gt;This value can thus be obtained in var2 specified in SAPScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Bharat Kumar Reddy.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2006 12:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367568#M181559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-06T12:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine pool of sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367569#M181560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rashmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Check the link &lt;/P&gt;&lt;P&gt; &lt;A href="http://help.sap.com/saphelp_470/helpdata/EN/d1/803279454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/EN/d1/803279454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;A href="http://sap.niraj.tripod.com/id18.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id18.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Basically subroutines are used to write ABAP logic from which can be called from the SCript without modifing the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijayendra  Rao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2006 12:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367569#M181560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-06T12:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine pool of sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367570#M181561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oo yaaa &lt;/P&gt;&lt;P&gt;i got it&lt;/P&gt;&lt;P&gt;i missed that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick replies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2006 12:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367570#M181561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-06T12:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine pool of sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367571#M181562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Close the thread if it resolves ur query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2006 12:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-pool-of-sapscript/m-p/1367571#M181562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-06T12:35:45Z</dc:date>
    </item>
  </channel>
</rss>

