<?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: Scripts -ITCSY ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740777#M900403</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;  In order to write a routine in a program i mean to say that u want to add some customized fields in ur script and u can define a perform endperform in ur text editor and once perform is declared you have to write a coding in the report and you can retrieve the data's as per your requirement.In order to do the coding in the report we have to declare this ITCSY structure.&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;Arun Joseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 05:38:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T05:38:22Z</dc:date>
    <item>
      <title>Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740776#M900402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is ITCSY Structure ? y r u using this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 05:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740776#M900402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T05:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740777#M900403</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;  In order to write a routine in a program i mean to say that u want to add some customized fields in ur script and u can define a perform endperform in ur text editor and once perform is declared you have to write a coding in the report and you can retrieve the data's as per your requirement.In order to do the coding in the report we have to declare this ITCSY structure.&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;Arun Joseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 05:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740777#M900403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T05:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740778#M900404</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;ITCSY is a table which stores the program symbol and text symbol name and value..&lt;/P&gt;&lt;P&gt;It is useful to print the progam and text symbols in scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can use this in subroutines of sceripts..&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example defines a subroutine FORM CALLED_FROM_SAPSCRIPT &lt;/P&gt;&lt;P&gt;in the ABAP ZDEMO_SAPSCRIPT_PERFORM . This subroutine is &lt;/P&gt;&lt;P&gt;called from the SapScript form when the respective element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E PERFORM_ABAP &lt;/P&gt;&lt;P&gt;is executed. The syntax of the call is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM CALLED_FROM_SAPSCRIPT IN PROGRAM zsapscriptexits&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;invar1&amp;amp; &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;invar2&amp;amp; &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;outvar1&amp;amp; &lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;outvar2&amp;amp; &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;/: ENDPERFORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subroutine must be defined in the ABAP/4 report as &lt;/P&gt;&lt;P&gt;follows:      &lt;/P&gt;&lt;P&gt;                                                      &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM form TABLES IN_TAB STRUCTURE ITCSY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;                 &lt;STRONG&gt;OUT_TAB STRUCTURE ITCSY.&lt;/STRONG&gt;             &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;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;P&gt;sravani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plz reward if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 05:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740778#M900404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T05:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740779#M900405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ITCSY is a structure which act as interface between script and driver program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 08:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740779#M900405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T08:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740780#M900406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Spart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITCSY is the structure having fields FNAM FVAL mainly we use these here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without modifying print program of any Standard SAP script layout, we've to go for ITCSY structure. i.e. u've to create seperate Editor program(se38) to define this. &lt;/P&gt;&lt;P&gt;eg. Form ITCSY &lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;For this, u've to give respective code in script-window level &lt;/P&gt;&lt;P&gt;eg. Perform ITCSY in program &amp;lt;zprgname&amp;gt; &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;endperform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And u can've clarity once u find any scenario.If u want, i'll send u one business requirement, which uses ITCSY structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u find it helps, reward me plz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 14:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740780#M900406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T14:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740781#M900407</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;1. This structure ITSCSY&lt;/P&gt;&lt;P&gt;(which is actually of type ITCSY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. is usually used in SAPSCRIPT (SE71)&lt;/P&gt;&lt;P&gt;while calling EXTERNAL SUBROUTINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. the DEFINITION of this&lt;/P&gt;&lt;P&gt;FORM,&lt;/P&gt;&lt;P&gt;contains two parameters, IN and OUT,&lt;/P&gt;&lt;P&gt;which are of tuype ITCSY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. These internal tables, then , contain&lt;/P&gt;&lt;P&gt;the&lt;/P&gt;&lt;P&gt;VARIABLENAME, AND VARIABLE VALUE,&lt;/P&gt;&lt;P&gt;which is passed using PERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call a Routine in any program in SAPScript.&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;Refer&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=11491102&amp;amp;messageID=1538230" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=11491102&amp;amp;messageID=1538230&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 15:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740781#M900407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts -ITCSY ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740782#M900408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Spart&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system does not execute the PERFORM command within SAPscript replace modules, such as TEXT_SYMBOL_REPLACE or TEXT_INCLUDE_REPLACE. The replace modules can only replace symbol values or resolve include texts, but not interpret SAPscript control commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax in a form window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM &amp;lt;form&amp;gt; IN PROGRAM &amp;lt;prog&amp;gt;&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR1&amp;amp;&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR2&amp;amp;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR1&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR2&amp;amp;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;form&amp;gt; TABLES IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;if found helpfull do reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Eshwar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 07:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts-itcsy/m-p/3740782#M900408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T07:00:58Z</dc:date>
    </item>
  </channel>
</rss>

