<?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: Script values from structure not coming properly. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942460#M1487541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am calling the routine from the script.so every time the values are vanishing. At the last when the routine is calling , that value is only there in the routine and remaining values are not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jun 2010 14:51:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-07T14:51:38Z</dc:date>
    <item>
      <title>Script values from structure not coming properly.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942458#M1487539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am facing some problems related to the SAP Script . I am calculating some values in the routine in a program and  trying to print these values in the script.But these values are coming blank in the script.I have put these values in the structure ITCSY.&lt;/P&gt;&lt;P&gt;Kindly help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Rahul..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 13:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942458#M1487539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T13:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script values from structure not coming properly.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942459#M1487540</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;Are you calling a routine from the script or is it done before calling the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 13:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942459#M1487540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script values from structure not coming properly.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942460#M1487541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am calling the routine from the script.so every time the values are vanishing. At the last when the routine is calling , that value is only there in the routine and remaining values are not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 14:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942460#M1487541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T14:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script values from structure not coming properly.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942461#M1487542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're doing something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/: perform routine_name in program programname
/: using &amp;amp;something&amp;amp;
/: changing &amp;amp;something&amp;amp;
/:changine &amp;amp;something&amp;amp;
/: endperform&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in your routine is like::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form routine_name tables in_par structure itcsy
                                     out_par structure itcsy.

data: myinput type....

read in_par index 1.
  myinput = in_par-value.  

*calculate the values.
loop at out_par.
 case sy-tabix.
  when 1. out_par-value = something
  when 2. out_par-value = something else.
endcase.
endloop.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 16:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-values-from-structure-not-coming-properly/m-p/6942461#M1487542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T16:14:22Z</dc:date>
    </item>
  </channel>
</rss>

