<?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: problem with perform on passing internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681848#M1449709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sommenthing like following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF zt_temp,
        vbeln TYPE vbeln_va,  "Sales Document
        posnr TYPE posnr_va,  "Sales Document Item
       END OF zt_temp.
TYPES : tbl_zt_termp    TYPE TABLE OF zt_temp.
DATA  : ist_temp2       TYPE          tbl_zt_termp,
              ist_temp3       TYPE          tbl_zt_termp.

PERFORM get_so_char_alt TABLES        ist_temp2
                                      ist_temp3.                                                       

form GET_SO_CHAR_ALT  tables p_ist_temp2 TYPE  tbl_zt_termp 
                             p_ist_temp3 TYPE  tbl_zt_termp.


endform .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Mar 2010 11:22:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-15T11:22:00Z</dc:date>
    <item>
      <title>problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681847#M1449708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , &lt;/P&gt;&lt;P&gt;      i have this code .&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF zt_temp,
        vbeln TYPE vbeln_va,  "Sales Document
        posnr TYPE posnr_va,  "Sales Document Item
       END OF zt_temp.

DATA : ist_temp2 TYPE TABLE OF ZT_temp.
PERFORM get_so_char_alt TABLES ist_temp2.

form GET_SO_CHAR_ALT  tables p_ist_temp2 structure zt_temp .
  
    abd..
endform .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;in the perform i gets error  structure zt_temp is unknown  . also i have to pass 2 internal tables to this perform how  can i do it ?&lt;/P&gt;&lt;P&gt;Plz help ...... is there any other way to do it ? can i sue changing on internal tables ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681847#M1449708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681848#M1449709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sommenthing like following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF zt_temp,
        vbeln TYPE vbeln_va,  "Sales Document
        posnr TYPE posnr_va,  "Sales Document Item
       END OF zt_temp.
TYPES : tbl_zt_termp    TYPE TABLE OF zt_temp.
DATA  : ist_temp2       TYPE          tbl_zt_termp,
              ist_temp3       TYPE          tbl_zt_termp.

PERFORM get_so_char_alt TABLES        ist_temp2
                                      ist_temp3.                                                       

form GET_SO_CHAR_ALT  tables p_ist_temp2 TYPE  tbl_zt_termp 
                             p_ist_temp3 TYPE  tbl_zt_termp.


endform .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681848#M1449709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681849#M1449710</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;Use the below declartion for  FORM and ENDFROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form GET_SO_CHAR_ALT  tables p_ist_temp2 &lt;STRONG&gt;TYPE&lt;/STRONG&gt; zt_temp .&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    abd..&lt;/P&gt;&lt;P&gt;endform .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of structure define it as a TYPE it will solve ur problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681849#M1449710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681850#M1449711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will it change my internal table according to changes done in perform .?&lt;/P&gt;&lt;P&gt;I mean im using tables statement so whether it will change my internal table or will keep as it is .?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681850#M1449711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681851#M1449712</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;You can use 'Changing' and you can pass 2 tables separated by a space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681851#M1449712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681852#M1449713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally changes to &lt;EM&gt;TABLES, CHANGING&lt;/EM&gt; parameters will reflect in the passed parameter, unless it is passed by VALUE and form executes incorrectly. &lt;/P&gt;&lt;P&gt;But in your case this is similar to writting CHANGES with correct table typing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681852#M1449713</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-15T11:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681853#M1449714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so what i should do ? what to use ? i need to change the contents of internal table im passing .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz write some statements for my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681853#M1449714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681854#M1449715</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;PRE&gt;&lt;CODE&gt;Report ztest.
" Just Execute this and Check
DATA : carrid TYPE sflight-carrid VALUE 'AA',
       connid TYPE sflight-connid VALUE '0017'.

DATA : itab TYPE TABLE OF sflight WITH HEADER LINE.
DATA : jtab TYPE TABLE OF spfli WITH HEADER LINE.


PERFORM get_data TABLES itab 
               jtab " U can add second table like this
                 USING carrid " Two Parameters like this
                       connid.

FORM get_data  TABLES   p_itab STRUCTURE sflight
                        p_jtab STRUCTURE spfli
                       USING    p_carrid
                        p_connid.
  SELECT * FROM sflight INTO TABLE itab
    WHERE carrid = carrid
    AND   connid = connid.
  IF sy-subrc = 0.
    LOOP AT itab.
      WRITE :/ itab-carrid,
               itab-connid.
    ENDLOOP.
  ENDIF.
ENDFORM.                    " get_data&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681854#M1449715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681855#M1449716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These statements are equal, meaning there is no difference in using one of them&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF zt_temp,
        vbeln TYPE vbeln_va,  "Sales Document
        posnr TYPE posnr_va,  "Sales Document Item
       END OF zt_temp.
TYPES: ztt_temp type table of zt_temp.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;"First call with TABLES&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM get_so_char_alt TABLES ist_temp2.
 
form GET_SO_CHAR_ALT  tables p_ist_temp2 type ztt_temp.
...
endform .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;"Second call with CHANGING&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM get_so_char_alt CHANGING ist_temp2.
 
form GET_SO_CHAR_ALT  changing p_ist_temp2 type ztt_temp.
...
endform .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681855#M1449716</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-15T11:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681856#M1449717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its giving error at form GET_SO_CHAR_ALT  tables p_ist_temp2 type ztt_temp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 12:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681856#M1449717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T12:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681857#M1449718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as it is not table &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;of type standard table of&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   so getting error what to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 12:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681857#M1449718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T12:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681858#M1449719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not too specific about what the error says and how your code looks like. Do you really expect we can help you based on shred of information you provide each time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 12:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681858#M1449719</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-15T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681859#M1449720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in perform yuo can pass parameters in three ways-- using,changing and tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only want to use the parameter and dont want to change it then you can pass it with using,&lt;/P&gt;&lt;P&gt;if you wnt to change it then you have to pass it with changing , u can also pass table in changing parameter,&lt;/P&gt;&lt;P&gt;if you want to work with table,then you can pass it with tables also you can change the value of table with table &lt;/P&gt;&lt;P&gt;you can pass as many table as you want.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF zt_temp,
        vbeln TYPE vbeln_va,  "Sales Document
        posnr TYPE posnr_va,  "Sales Document Item
       END OF zt_temp.
 
DATA : wa_temp2 TYPE  ZT_temp,
            ist_temp2 like standard  TABLE OF wa_temp2.
PERFORM get_so_char_alt TABLES ist_temp2  ist_temp3.
 
form GET_SO_CHAR_ALT  tables p_ist_temp2 like ist_temp2
                                                       p_ist_temp3 like ist_temp2.
  
    abd..
endform .

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you can pass as many tables you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this post helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Tanmaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 12:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681859#M1449720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T12:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681860#M1449721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your replies !! Marcin gave very helpful suggestion .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 11:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681860#M1449721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with perform on passing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681861#M1449722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all for posts !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 09:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-perform-on-passing-internal-table/m-p/6681861#M1449722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T09:45:36Z</dc:date>
    </item>
  </channel>
</rss>

