<?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 PASING VALUE FROM INCLUDE PROGRAM  TO THE MAIN PROGRAM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787923#M339213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HII FRNDS &lt;/P&gt;&lt;P&gt;I AM USING A INCLUDE PROGRAM IN MY MAIN PRROGRAM . I WANT TO CHECK FOR A VARIABLE WHETHER IT CONTAINS DATA OR NOT IN MY INCLUDE PROGRAM  . SO BASED ON THIS I WANT TO RETURN SOME VALUE LIKE A COUNTER BACK TO MY MAIN PROGRAM  AND CAL SOME FUNCTIONS . CAN ANYBODY HELP ME WITH THIS HOW TO PASS THE VALUE BACK TO MY MAIN PROGRAM &lt;/P&gt;&lt;P&gt;THANX &lt;/P&gt;&lt;P&gt;ROHIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Dec 2006 04:22:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-18T04:22:28Z</dc:date>
    <item>
      <title>PASING VALUE FROM INCLUDE PROGRAM  TO THE MAIN PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787923#M339213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HII FRNDS &lt;/P&gt;&lt;P&gt;I AM USING A INCLUDE PROGRAM IN MY MAIN PRROGRAM . I WANT TO CHECK FOR A VARIABLE WHETHER IT CONTAINS DATA OR NOT IN MY INCLUDE PROGRAM  . SO BASED ON THIS I WANT TO RETURN SOME VALUE LIKE A COUNTER BACK TO MY MAIN PROGRAM  AND CAL SOME FUNCTIONS . CAN ANYBODY HELP ME WITH THIS HOW TO PASS THE VALUE BACK TO MY MAIN PROGRAM &lt;/P&gt;&lt;P&gt;THANX &lt;/P&gt;&lt;P&gt;ROHIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 04:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787923#M339213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-18T04:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: PASING VALUE FROM INCLUDE PROGRAM  TO THE MAIN PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787924#M339214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can imagine the include program code as if it is written in the main program.At runtime the system places the code written in the include in the main at the place where the INCLUDE  is included.So basically there no need to specially pass any variable from include to main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 04:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787924#M339214</guid>
      <dc:creator>sourabhshah</dc:creator>
      <dc:date>2006-12-18T04:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: PASING VALUE FROM INCLUDE PROGRAM  TO THE MAIN PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787925#M339215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;Just declare the two variables var1(variable for checking data) &amp;amp; var2(variable for counter) in your include program.&lt;/P&gt;&lt;P&gt;Inside the include you can do the coding as under:&lt;/P&gt;&lt;P&gt;IF VAR1 &amp;lt;condition for checking data&amp;gt;.&lt;/P&gt;&lt;P&gt;VAR2 = VAR2 + 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Now you can check the value of the variable VAR2 in the main program &amp;amp; call the desired function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;P&gt;PS:Reward points if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 04:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pasing-value-from-include-program-to-the-main-program/m-p/1787925#M339215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-18T04:35:22Z</dc:date>
    </item>
  </channel>
</rss>

