<?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: sap scripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051569#M968445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITCSY is a structure. It is used to pass data from the script&lt;/P&gt;&lt;P&gt;or add additional logic  to subroutine without modifying the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform &amp;lt;formname) using itcsy
                   changing itcsy.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2008 11:21:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-26T11:21:09Z</dc:date>
    <item>
      <title>sap scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051564#M968440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use of structure itcsy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 08:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051564#M968440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T08:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051565#M968441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question has been answered previously in this forum. Search SDN before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure ictsy is used for statement PERFORM in scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/d1/80318f454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/d1/80318f454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 08:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051565#M968441</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-07-04T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051566#M968442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To call a subroutine from scripts we use perform in scripts text elements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;/: Perform &amp;lt;form-name&amp;gt; in program &amp;lt;program name&amp;gt; &lt;/P&gt;&lt;P&gt;/: using &amp;amp;in_var1&amp;amp; &lt;/P&gt;&lt;P&gt;/: changing &amp;amp;out_var1&amp;amp; &lt;/P&gt;&lt;P&gt;/: endperform &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In se38 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form &amp;lt;form_name&amp;gt; tables itab itscy otab itcsy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of itcsy &lt;/P&gt;&lt;P&gt;it has two fields name of the program symbol and value (text symbol value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check it in se11 by typing itcsy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls also have a look at this link aswell,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="922371"&gt;&lt;/A&gt;&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;Viveks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051566#M968442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T09:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051567#M968443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhu sudhana  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure ITCSY contain 2 fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) field name&lt;/P&gt;&lt;P&gt;2) field value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This structure is usefull when u want to add a additional field to the SAP Script layout without modifying the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this structure we use in program logic i.e &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;form-name&amp;gt; TABLES in_par structure ITCSY&lt;/P&gt;&lt;P&gt;                                           out_par structure ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN_PAR table will get it's value from PERFORM statement declared in layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUT_PAR table will get filled with the new field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 10:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051567#M968443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051568#M968444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI MADHUSUDAN&lt;/P&gt;&lt;P&gt;The structure ITCSY contain 2 fields:&lt;/P&gt;&lt;P&gt;1) field name&lt;/P&gt;&lt;P&gt;2) field value.&lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;/: Perform &amp;lt;form-name&amp;gt; in program &amp;lt;program name&amp;gt;  &lt;/P&gt;&lt;P&gt;/: using &amp;amp;in_var1&amp;amp; &lt;/P&gt;&lt;P&gt;/: changing &amp;amp;out_var1&amp;amp; &lt;/P&gt;&lt;P&gt;/: endperform &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an example :- DEFINE &amp;amp;ADRNR&amp;amp; = &amp;amp;LFA1-ADRNR&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;LIFNR&amp;amp; = &amp;amp;EKKO-LIFNR&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;ADDRNUMBER&amp;amp; = &amp;amp;ADRC-ADDRNUMBER&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;NAME2&amp;amp; = &amp;amp;ADRC-NAME2&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;STREET&amp;amp; = &amp;amp;ADRC-STREET&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;CITY1&amp;amp; = &amp;amp;ADRC-CITY1&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;COUNTRY&amp;amp; = &amp;amp;ADRC-COUNTRY&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;POST_CODE1&amp;amp; = &amp;amp;ADRC-POST_CODE1&amp;amp;&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;TEL_NUMBER&amp;amp; = &amp;amp;ADRC-TEL_NUMBER&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM ADDRESS_FUNC IN PROGRAM Z_TEL_FAX_FUNC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USING &amp;amp;EBELN&amp;amp;    &lt;/P&gt;&lt;P&gt;USING &amp;amp;LIFNR&amp;amp;&lt;/P&gt;&lt;P&gt;USING &amp;amp;ADRNR&amp;amp;	         TAKEN FROM THE TABLE,STORED IN ITCSY&lt;/P&gt;&lt;P&gt;USING &amp;amp;ADDRNUMBER&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;NAME1&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;NAME2&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;FAX_NUMBER&amp;amp;            WE WILL FETCH THESE VALUES BY PERFORM&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;CITY1&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;COUNTRY&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;POST_CODE1&amp;amp;&lt;/P&gt;&lt;P&gt;ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In se38&lt;/P&gt;&lt;P&gt;FORM &amp;lt;form-name&amp;gt; TABLES in_par structure ITCSY&lt;/P&gt;&lt;P&gt;out_par structure ITCSY.&lt;/P&gt;&lt;P&gt;IN_PAR table will get it's value from PERFORM statement declared in layout.&lt;/P&gt;&lt;P&gt;OUT_PAR table will get filled with the new field&lt;/P&gt;&lt;P&gt;FORM &amp;lt;FROM NAME&amp;gt; TABLES it_intab STRUCTURE itcsy&lt;/P&gt;&lt;P&gt;                        it_outtab STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_intab WITH KEY name = '&amp;lt;NAME OF THE FIELD GIVEN&amp;gt;'.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;FETCHING VALUES FROM ITCSY.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      ****&lt;/P&gt;&lt;P&gt;READ TABLE it_outtab WITH KEY name = 'FIELD TO BE PASSED'.&lt;/P&gt;&lt;P&gt;    VALUES TO BE SEND TO THE ITCSY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS &lt;/P&gt;&lt;P&gt;PRASHANT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 04:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051568#M968444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T04:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051569#M968445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITCSY is a structure. It is used to pass data from the script&lt;/P&gt;&lt;P&gt;or add additional logic  to subroutine without modifying the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform &amp;lt;formname) using itcsy
                   changing itcsy.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 11:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/4051569#M968445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T11:21:09Z</dc:date>
    </item>
  </channel>
</rss>

