<?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: Variable passsing from Program to SAP Script. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680464#M1767093</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;Check whether you declare clear statement after value populated that field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May have a look on pass by value or reference you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 15:14:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-23T15:14:08Z</dc:date>
    <item>
      <title>Variable passsing from Program to SAP Script.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680462#M1767091</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;I have a Z-layout and a Z-program which is a copy of the Standard SAP Code and modifications made to it. it is triggered through the Paymemt run F110. I have a structure called regup and reguh which has fields like belnr, xblnr, dmbtr, wskto, lifnr, name1 etc. for some reasons I am taking some&amp;nbsp; of these values in the other structure gs_itab which has the same field names. During the FORM I am passing on the values from regup to gs_itab and then calling the FM WRITE_FORM with the Window and the Element name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the Values in both regup-belnr and also in gs_itab-belnr. Both show the same values. Somehow when I move to SAP Scirpt duirng debugging I have the Value in the variable regup-belnr and not in gs_itab-belnr. It is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the Internal table gt_itab and the Structure gs_itab locally in the FORM ENDORM from where the WRITE_FORM is being called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow during debugging of the Layoutset I get only value in regup-belnr and not in the gs_itab-belnr. That value is not being passed to the Layoutset. Can any one please let me know what I should do to get the value in gs_itab-belnr and also in other variables as mentioned above in the gs_itab.&amp;nbsp; I was Initially using &amp;amp;regup-belnr&amp;amp; which was giving me the desired redult within the layoutset&amp;nbsp; but now I have to change to &amp;amp;gs_itab-belnr&amp;amp; due to some reasons and not getting the result due to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me the right way so that I can print my values correctlly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:29:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680462#M1767091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-23T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variable passsing from Program to SAP Script.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680463#M1767092</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;If you want to see in SAPscript GT_ITAB must be declared in the dictionary (as a structure for instance), so, define your structure in SE11 in your range name (ZGT_ITAB for instance) and move the values to ZG_ITAB before the WRITE_FORM. After, in your editor in SAPscript write &amp;amp;ZGT_ITAB-FIELD&amp;amp; and revert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&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;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 14:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680463#M1767092</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2013-08-23T14:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variable passsing from Program to SAP Script.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680464#M1767093</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;Check whether you declare clear statement after value populated that field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May have a look on pass by value or reference you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 15:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680464#M1767093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-23T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variable passsing from Program to SAP Script.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680465#M1767094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just declare gs_itab as global field, it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your local variable will not be visible inside SAP Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls post if problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 20:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680465#M1767094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-23T20:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable passsing from Program to SAP Script.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680466#M1767095</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;The program for F110 the basic flow is the data is printed on the run from REGUP and REGUH via the script. The driver program being used is RFFOUS_C. The passing of values happens in Include RFFORI01 line 51 via LOOP on the entries just created in REGUH and REGUP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Global declarations is in Include RFFORI00. One way is to enhance it and include it in there or declare the internal table at the start of LOOP in Include RFFORI01 and copy the data in REGUP and REGUH to you internal work areas. (REGUP &amp;amp; REGUH These are work areas too in the loop check the Tables statement at top. ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should help you put the data at the beginning of the loop. and will be available till the end of it all the WRITE_FORM and other work happens in this. Hope this helps to get a better idea of the flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 23:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-passsing-from-program-to-sap-script/m-p/9680466#M1767095</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-08-23T23:55:22Z</dc:date>
    </item>
  </channel>
</rss>

