<?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 SCRIPT Perform statement issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579073#M1434069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to supply more information. How have you coded your PERFORM staement? Is it executed or bypassed within the SAPScript? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test you can simply output a text such as 'before perform' and 'after perform' before and after your PERFORM statement.  Narrow down the problem as best as you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2010 08:21:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-17T08:21:34Z</dc:date>
    <item>
      <title>SAP SCRIPT Perform statement issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579072#M1434068</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 modified one sap standard sap scrip. i m adding some addition fields . using perform statement in sapscript . but my perform statement is not working . please someone help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 07:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579072#M1434068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T07:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAP SCRIPT Perform statement issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579073#M1434069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to supply more information. How have you coded your PERFORM staement? Is it executed or bypassed within the SAPScript? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test you can simply output a text such as 'before perform' and 'after perform' before and after your PERFORM statement.  Narrow down the problem as best as you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 08:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579073#M1434069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T08:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAP SCRIPT Perform statement issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579074#M1434070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the below sample code to call a subroutine from script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code to be written in script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   PERFORM F0110_GET_AMOUNT IN PROGRAM ZTEST&lt;/P&gt;&lt;P&gt;/:   USING &amp;amp;RF140-WRSHB&amp;amp;&lt;/P&gt;&lt;P&gt;/:   CHANGING &amp;amp;L_AMOUNT&amp;amp;&lt;/P&gt;&lt;P&gt;/:   ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code to be writetn in subroutine pool ZTEST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f0110_get_amount TABLES l_input_table  STRUCTURE itcsy&lt;/P&gt;&lt;P&gt;                                                        l_output_table STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: l_amount(22) TYPE c,&lt;/P&gt;&lt;P&gt;        l_length TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE l_input_table WITH KEY name = 'RF140-WRSHB'.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    l_amount  = l_input_table-value.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_amount  = l_amount  * 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR  l_output_table.&lt;/P&gt;&lt;P&gt;  READ TABLE l_output_table WITH KEY name = 'L_AMOUNT'.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    MOVE l_amount TO l_output_table-value.&lt;/P&gt;&lt;P&gt;    MODIFY l_output_table INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "F0110_GET_AMOUNT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 12:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579074#M1434070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T12:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAP SCRIPT Perform statement issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579075#M1434071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you debug....  I wouldn't try to calculate a type c (character field). l_amount needs to be type p decimals 2 probably, then coverted back to a character... with a_amount ( of type char17) = p_amount_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table in_par index 1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table out_par index 1.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no need to do a lot of convoluted logic to get the row (only one in each table in this case) you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 12:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-perform-statement-issue/m-p/6579075#M1434071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T12:39:42Z</dc:date>
    </item>
  </channel>
</rss>

