<?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: perform help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648310#M878676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;It is not necessary to define the internal table with headerline when u r passing it in TABLES parameter. We can pass even if declare the itab like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF...&lt;/P&gt;&lt;P&gt;DATA: itab TYPE STANDARD/SORTED table of t_xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only the difference is if u define the itab with headerline then we have to pass the table with table body operator like itab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 08:31:37 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-04-15T08:31:37Z</dc:date>
    <item>
      <title>perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648303#M878669</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 new in this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this code and i wont to send 5 tables to this code what is the best way to do that?&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;&lt;/P&gt;&lt;P&gt;i have tables like it_p ,it_p1,it_p2,it_p3,it_p4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL TRANSFORMATION id_indent&lt;/P&gt;&lt;P&gt;  SOURCE itab = it_p[]&lt;/P&gt;&lt;P&gt;  RESULT XML resstream.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 07:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648303#M878669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T07:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648304#M878670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your internal tables are filled you can do something like this:&lt;/P&gt;&lt;P&gt;DO 5 TIMES.  ENDDO. In between DO and ENDDO you can call your transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Apr 15, 2008 10:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648304#M878670</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T08:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648305#M878671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Micky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no way to do it in perform?&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, 15 Apr 2008 08:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648305#M878671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T08:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648306#M878672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, for the mistake, I pressed the wrong button. I still wanted to add the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Fill your internal tables in a separate subroutine form fill_itab_p1, form fill_itab_p2, etc.&lt;/P&gt;&lt;P&gt;2, From this subroutine call another subroutine form call_transformation using it_p1.&lt;/P&gt;&lt;P&gt;3. The latter form will look like this: form CALL_TRANSFORMATION USING ITAB type TABLE&lt;/P&gt;&lt;P&gt;                                                                                changing &amp;lt;your XML result&amp;gt;.&lt;/P&gt;&lt;P&gt;this way you can use any internal table, regardless of its structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one way to go, but there are of course others. This kinda depends on your coding so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648306#M878672</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T08:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648307#M878673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to ctreate a perform for it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform transformation tables it_p[].&lt;/P&gt;&lt;P&gt;Perform transformation tables it_p1[].&lt;/P&gt;&lt;P&gt;Perform transformation tables it_p2[].&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Form transformation tables p_it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL TRANSFORMATION id_indent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SOURCE itab = p_it&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESULT XML resstream.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endform.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648307#M878673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T08:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648308#M878674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;Even though it is not the most optimized way still u can reduce the number of lines of code by this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM transform TABLES it_p.&lt;/P&gt;&lt;P&gt;PERFORM transform TABLES it_p1.&lt;/P&gt;&lt;P&gt;PERFORM transform TABLES it_p2.&lt;/P&gt;&lt;P&gt;PERFORM transform TABLES it_p3.&lt;/P&gt;&lt;P&gt;PERFORM transform TABLES it_p4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM transform TABLES pi_tab.&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id_indent&lt;/P&gt;&lt;P&gt;SOURCE itab = pi_tab[]&lt;/P&gt;&lt;P&gt;RESULT XML resstream.&lt;/P&gt;&lt;P&gt;Do further Processing of &lt;STRONG&gt;resstream&lt;/STRONG&gt; here.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only advantage is if u want to make any changes then u need to make it in one place by this way instead of 5 places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648308#M878674</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-04-15T08:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648309#M878675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arona,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rengid and Vinod are using the TABLES statement in the perform, while I'm using the USING parameter. This depends on how your have defined your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed that you have defined it like this:&lt;/P&gt;&lt;P&gt;it_p1 type table of ....&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;it_p1 type table_type in which table_type is a type you defined yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using TABLES parameter that internal table is probably defined with OCCURS 0, and header line, although that is no longer the way to do this since ABAP OO was introduced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648309#M878675</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648310#M878676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;It is not necessary to define the internal table with headerline when u r passing it in TABLES parameter. We can pass even if declare the itab like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF...&lt;/P&gt;&lt;P&gt;DATA: itab TYPE STANDARD/SORTED table of t_xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only the difference is if u define the itab with headerline then we have to pass the table with table body operator like itab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648310#M878676</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-04-15T08:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: perform help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648311#M878677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are correct, and that's more or less what I was trying to say. Thanks for elaborating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-help/m-p/3648311#M878677</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T08:34:37Z</dc:date>
    </item>
  </channel>
</rss>

