<?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: How to write - Perform using variable changing tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668287#M1289046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please suggest me a solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2009 11:13:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-26T11:13:07Z</dc:date>
    <item>
      <title>How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668284#M1289043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gurus,&lt;/P&gt;&lt;P&gt;I am facing an issue while writing a perform statement in my code.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;PERFORM get_pricing(zvbeln) USING nast-objky&lt;/P&gt;&lt;P&gt;                              CHANGING gt_komv&lt;/P&gt;&lt;P&gt;                                       gt_vbap&lt;/P&gt;&lt;P&gt;                                       gt_komp&lt;/P&gt;&lt;P&gt;                                       gt_komk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;in program zvbeln :-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_pricing  USING    p_nast_objky TYPE nast-objky&lt;/P&gt;&lt;P&gt;                  tables   p_gt_komv type table komv&lt;/P&gt;&lt;P&gt;                           p_gt_vbap type table vbapvb&lt;/P&gt;&lt;P&gt;                           p_gt_komp type table komp&lt;/P&gt;&lt;P&gt;                           p_gt_komk type table komk.&lt;/P&gt;&lt;P&gt;  BREAK-POINT.&lt;/P&gt;&lt;P&gt;  DATA: lv_vbeln TYPE vbak-vbeln.&lt;/P&gt;&lt;P&gt;  MOVE : p_nast_objky  TO lv_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION '/SAPHT/DRM_ORDER_PRC_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      iv_vbeln = lv_vbeln&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      et_komv  = p_gt_komv&lt;/P&gt;&lt;P&gt;      et_vbap  = p_gt_vbap&lt;/P&gt;&lt;P&gt;      et_komp  = p_gt_komp&lt;/P&gt;&lt;P&gt;      et_komk  = p_gt_komk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " GET_PRICING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its giving an error . please let me know how i can solve this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668284#M1289043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668285#M1289044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure its giving error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at point oif call of function you have 1 using and 1 changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your form itself you got 1 using and 1 tables parameter. this will dump forever.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:11:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668285#M1289044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668286#M1289045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM get_pricing(zvbeln) Tables gt_komv
USING nast-objky

gt_vbap
gt_komp
gt_komk.


--------------------------------------------------------------------------------
in program zvbeln :-

--------------------------------------------------------------------------------

FORM get_pricing tables p_gt_komv structure komv
USING p_nast_objky TYPE nast-objky

p_gt_vbap type table vbapvb
p_gt_komp type table komp
p_gt_komk type table komk.
BREAK-POINT.
DATA: lv_vbeln TYPE vbak-vbeln.
MOVE : p_nast_objky TO lv_vbeln.

CALL FUNCTION '/SAPHT/DRM_ORDER_PRC_READ'
EXPORTING
iv_vbeln = lv_vbeln
TABLES
et_komv = p_gt_komv
et_vbap = p_gt_vbap
et_komp = p_gt_komp
et_komk = p_gt_komk.

ENDFORM. " GET_PRICING

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668286#M1289045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668287#M1289046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Florian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please suggest me a solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668287#M1289046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668288#M1289047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah i can:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM get_pricing(zvbeln) USING nast-objky
TABLES gt_komv
gt_vbap
gt_komp
gt_komk.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Florian Kemmer on May 26, 2009 1:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668288#M1289047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668289#M1289048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you have missed changing parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_pricing USING p_nast_objky TYPE nast-objky&lt;/P&gt;&lt;P&gt;CHANGING p_gt_komv type table komv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:16:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668289#M1289048</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2009-05-26T11:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668290#M1289049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;I am getting the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to fill tables gt_komv, gt_vbap ,gt_komp  ,gt_komk in program ZREAD_PRICE. using nast-objky using function module   CALL FUNCTION '/SAPHT/DRM_ORDER_PRC_READ' in program ZVBELN&lt;/P&gt;&lt;P&gt;                                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"""A PERFORM was used to call the routine "GET_PRICING" of the program "ZVBELN"&lt;/P&gt;&lt;P&gt;The current call contains 6 actual parameter(s),&lt;/P&gt;&lt;P&gt;but the routine "GET_PRICING" expects 9 parameters."""&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668290#M1289049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668291#M1289050</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;&lt;STRONG&gt;Please incorporate these changes and try&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform get_pricing(zvbeln) TABLES gt_komv gt_vbap gt_komp gt_komk&lt;/P&gt;&lt;P&gt;                                        USING nast-obky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program zvblen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form get_pricing TABLES p_gt_komv type table komv&lt;/P&gt;&lt;P&gt;                                       p_gt_vbap type table vbapvb&lt;/P&gt;&lt;P&gt;                                       p_gt_komp type table komp&lt;/P&gt;&lt;P&gt;                                       p_gt_komk type table komk&lt;/P&gt;&lt;P&gt;                          USING p_nast_objky TYPE nast-objky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;REST OF THE CODE SAME&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please check &lt;STRONG&gt;lv_vbeln&lt;/STRONG&gt; after the move statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668291#M1289050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668292#M1289051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM get_pricing(zvbeln) 
        TABLES gt_komv
               gt_vbap
               gt_komp
               gt_komk
        USING nast-objky.



*--------------------------------------------------------------------------------
*in program zvbeln :-
*
*--------------------------------------------------------------------------------

FORM get_pricing tables p_gt_komv type table komv
                        p_gt_vbap type table vbap
                        p_gt_komp type table komp
                        p_gt_komk type table komk
                 USING p_nast_objky TYPE nast-objky.

BREAK-POINT.
DATA: lv_vbeln TYPE vbak-vbeln.
MOVE : p_nast_objky TO lv_vbeln.

CALL FUNCTION '/SAPHT/DRM_ORDER_PRC_READ'
EXPORTING
iv_vbeln = lv_vbeln
TABLES
et_komv = p_gt_komv
et_vbap = p_gt_vbap
et_komp = p_gt_komp
et_komk = p_gt_komk.

ENDFORM. " GET_PRICING&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668292#M1289051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to write - Perform using variable changing tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668293#M1289052</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;  U follow the link: [perform|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1351242"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;  In u'r code changing parameter is missing form...endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naveen M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 11:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-perform-using-variable-changing-tables/m-p/5668293#M1289052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T11:47:00Z</dc:date>
    </item>
  </channel>
</rss>

