<?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: Need help to do Perform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740309#M900274</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;Yes you can put this in a subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any variable name that will be different each time it is called or any that is changed by the subroutine need to be defined as parameters of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 07:33:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T07:33:03Z</dc:date>
    <item>
      <title>Need help to do Perform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740308#M900273</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 this code that return 7 times maybe i can do one perform &lt;/P&gt;&lt;P&gt;for all this code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i new with this Topic&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*---------first time-------*

  CONCATENATE : eff_per_begin+2(4)  eff_per_begin+0(2) INTO eff_per_begin,
                eff_per_end+2(4) eff_per_end+0(2)  INTO  eff_per_end.

  LOOP AT it_tab ASSIGNING &amp;lt;it_tab&amp;gt;
    WHERE dim0calmonth GE eff_per_begin
    AND   dim0calmonth LE  eff_per_end.
    APPEND &amp;lt;it_tab&amp;gt; TO efficiency_tab.
  ENDLOOP.

  LOOP AT efficiency_tab ASSIGNING &amp;lt;efficiency_tab&amp;gt;.
    MOVE-CORRESPONDING  &amp;lt;efficiency_tab&amp;gt; TO wa_eff_tmp.
    APPEND wa_eff_tmp TO eff_tmp.
    CLEAR wa_eff_tmp.
  ENDLOOP.

  LOOP AT eff_tmp INTO wa_eff_tmp.
    COLLECT wa_eff_tmp INTO eff_col.
  ENDLOOP.

*----------seconed-------*

  CONCATENATE : over_per_beg+2(4)  over_per_beg+0(2) INTO  over_per_beg,
                over_per_end+2(4) over_per_end+0(2)  INTO  over_per_end.

  LOOP AT it_tab ASSIGNING &amp;lt;it_tab&amp;gt;
    WHERE dim0calmonth GE over_per_beg
    AND   dim0calmonth LE over_per_end.
    APPEND &amp;lt;it_tab&amp;gt; TO overtime_tab.
  ENDLOOP.

  LOOP AT effi_tab ASSIGNING &amp;lt;effi_tab&amp;gt;.
    MOVE-CORRESPONDING  &amp;lt;effi_tab&amp;gt; TO wa_over_tmp.
    APPEND wa_over_tmp TO over_tmp.
    CLEAR wa_over_tmp.
  ENDLOOP.

  LOOP AT over_tmp INTO wa_over_tmp.
    COLLECT wa_over_tmp INTO over_col.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.... 7 times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 07:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740308#M900273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to do Perform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740309#M900274</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;Yes you can put this in a subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any variable name that will be different each time it is called or any that is changed by the subroutine need to be defined as parameters of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 07:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740309#M900274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to do Perform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740310#M900275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; 1.Define a form like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Form form_name using tables it_tab type yours_table,&lt;/P&gt;&lt;P&gt;                                    efficiency_tab  type &lt;/P&gt;&lt;P&gt;                                    eff_tmp  type .&lt;/P&gt;&lt;P&gt;                            &lt;/P&gt;&lt;P&gt;CONCATENATE : eff_per_begin&lt;EM&gt;2(4)  eff_per_begin&lt;/EM&gt;0(2) INTO eff_per_begin,&lt;/P&gt;&lt;P&gt;                eff_per_end&lt;EM&gt;2(4) eff_per_end&lt;/EM&gt;0(2)  INTO  eff_per_end.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT it_tab ASSIGNING &amp;lt;it_tab&amp;gt;&lt;/P&gt;&lt;P&gt;    WHERE dim0calmonth GE eff_per_begin&lt;/P&gt;&lt;P&gt;    AND   dim0calmonth LE  eff_per_end.&lt;/P&gt;&lt;P&gt;    APPEND &amp;lt;it_tab&amp;gt; TO efficiency_tab.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT efficiency_tab ASSIGNING &amp;lt;efficiency_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING  &amp;lt;efficiency_tab&amp;gt; TO wa_eff_tmp.&lt;/P&gt;&lt;P&gt;    APPEND wa_eff_tmp TO eff_tmp.&lt;/P&gt;&lt;P&gt;    CLEAR wa_eff_tmp.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT eff_tmp INTO wa_eff_tmp.&lt;/P&gt;&lt;P&gt;    COLLECT wa_eff_tmp INTO eff_col.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;2.Call this form by perform form_name using tables it_tab &lt;/P&gt;&lt;P&gt;                                                                      eff_effieciency&lt;/P&gt;&lt;P&gt;                                                                           eff_tmp .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 07:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-to-do-perform/m-p/3740310#M900275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T07:34:53Z</dc:date>
    </item>
  </channel>
</rss>

