<?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 Reference to table in user-exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356929#M1233261</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'm trying to get a reference to a table which was passed to a user-exit function module (EXIT_SAPLMCI1_001, btw). The table is needed in a FORM routine and should be modified there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I'm using the following code: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  FIELD-SYMBOLS:
      &amp;lt;fs_tab&amp;gt; TYPE standard table
      .
  DATA:
     ref TYPE REF TO data
            .
  CREATE DATA ref LIKE i_mcipmb.
  GET REFERENCE OF i_mcipmb[] INTO ref.
  ASSIGN ref-&amp;gt;* TO &amp;lt;fs_tab&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which works fine so far. Field symbol &amp;lt;fs_tab&amp;gt; now has got the passed records from table i_mcipmb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm trying this coding:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  LOOP AT &amp;lt;fs_tab&amp;gt; where supkz = '2'.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which fails because it doesn't recognize &amp;lt;fs_tab&amp;gt; as a structure. The same applies when using coding like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE &amp;lt;fs_tab&amp;gt; INTO wa_mcipmb WITH KEY SUPKZ ='2'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible at all to get this running? If so how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2009 15:14:18 GMT</pubDate>
    <dc:creator>MichiFr</dc:creator>
    <dc:date>2009-03-24T15:14:18Z</dc:date>
    <item>
      <title>Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356929#M1233261</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'm trying to get a reference to a table which was passed to a user-exit function module (EXIT_SAPLMCI1_001, btw). The table is needed in a FORM routine and should be modified there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I'm using the following code: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  FIELD-SYMBOLS:
      &amp;lt;fs_tab&amp;gt; TYPE standard table
      .
  DATA:
     ref TYPE REF TO data
            .
  CREATE DATA ref LIKE i_mcipmb.
  GET REFERENCE OF i_mcipmb[] INTO ref.
  ASSIGN ref-&amp;gt;* TO &amp;lt;fs_tab&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which works fine so far. Field symbol &amp;lt;fs_tab&amp;gt; now has got the passed records from table i_mcipmb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm trying this coding:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  LOOP AT &amp;lt;fs_tab&amp;gt; where supkz = '2'.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which fails because it doesn't recognize &amp;lt;fs_tab&amp;gt; as a structure. The same applies when using coding like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE &amp;lt;fs_tab&amp;gt; INTO wa_mcipmb WITH KEY SUPKZ ='2'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible at all to get this running? If so how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356929#M1233261</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2009-03-24T15:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356930#M1233262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure but have a try when you are trying to looping in the field-symbol, use a work area, as you have defined it as standard table, so I am assuming there is no header line is there for this  field-symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kuntal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356930#M1233262</guid>
      <dc:creator>former_member376453</dc:creator>
      <dc:date>2009-03-24T15:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356931#M1233263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS &amp;lt;t_mci&amp;gt; LIKE i_mcipmb.

loop at &amp;lt;t_mci&amp;gt; where supkz = '2'.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356931#M1233263</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-24T15:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356932#M1233264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
   LOOP AT &amp;lt;fs_tab&amp;gt; assigning &amp;lt;wa_tab&amp;gt;.
     assign  component 'SUPKZ' of structure &amp;lt;wa_tab&amp;gt; to &amp;lt;fs1&amp;gt;.
     if &amp;lt;fs1&amp;gt; eq '2'.
         " do validation
     endif.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356932#M1233264</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-03-24T15:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356933#M1233265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kuntal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you are correct, there is no header line and I cannot add one to the field symbol at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this additional coding &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA:
     wa  TYPE mcipmb
            .
  LOOP AT &amp;lt;fs_tab&amp;gt; INTO wa.
    IF wa-supkz = '2'.
      EXIT.
    ENDIF.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;works of course, but results in some extra coding like this one and much more at some other places in the user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE &amp;lt;fs_tab&amp;gt; WITH KEY supkz = '2'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, the purpose of this coding is that I can modify the table data of i_mcipmb without doing too much copying from the source tables to an internal tables and vice versa inside the numerous FORM routines I would like implement. I'm searching for a solution to work on the original table data which was passed in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356933#M1233265</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2009-03-24T15:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356934#M1233266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J@Y,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will not work either since &amp;lt;t_mci&amp;gt; is not defined as an internal table and without any reference to the original table i_mcipmb it wouldn't contain any original records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356934#M1233266</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2009-03-24T15:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356935#M1233267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE &amp;lt;fs_tab&amp;gt; WITH KEY (supkz) = '2'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356935#M1233267</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-03-24T15:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356936#M1233268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; J@Y,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; this will not work either since &amp;lt;t_mci&amp;gt; is not defined as an internal table and without any reference to the original table i_mcipmb it wouldn't contain any original records.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired a similar thing before in ZXBPFCU01 in EXIT_SAPLBPFC_001. ( well I am using a line of it though)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS &amp;lt;t_mail_receivers&amp;gt; LIKE LINE OF t_mail_receivers.
LOOP AT t_mail_receivers ASSIGNING &amp;lt;t_mail_receivers&amp;gt;.
..
..
enloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356936#M1233268</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-24T15:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356937#M1233269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a®s&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;
   LOOP AT &amp;lt;fs_tab&amp;gt; assigning &amp;lt;wa_tab&amp;gt;.
     assign  component 'SUPKZ' of structure &amp;lt;wa_tab&amp;gt; to &amp;lt;fs1&amp;gt;.
     if &amp;lt;fs1&amp;gt; eq '2'.
         " do validation
     endif.
  ENDLOOP.
&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would certainly do the job but I need to modify some more fields in table i_mcipmb, and believe me there are plenty of them. Accessing those fields, using your proposed coding, is a little bit overhead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356937#M1233269</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2009-03-24T15:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356938#M1233270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J@Y,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; I tired a similar thing before in ZXBPFCU01 in EXIT_SAPLBPFC_001. ( well I am using a line of it though)&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this will work if your loop is inside include ZXBPFCU01, as I had before (in include ZXMCIU01), however we constantly added coding to this exit and it got a little bit complex after a while. So we decided to use FORMs in one of the available customer includes (ZXMCIZZZ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you cannot use FORM routines between (the user exit) FUNCTION and ENDFUNCTION, so we had to move them into separate includes. Now we need access to the passed function parameters of course and that's why I'm posting here, searching for a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 15:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356938#M1233270</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2009-03-24T15:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356939#M1233271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not test it..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;  Include           ZXMCIU01
*&amp;amp;---------------------------------------------------------------------*

PERFORM fr_change TABLES i_mcipmb. " can add using and changing parameters as well&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM fr_change  TABLES   p_mcipmb STRUCTURE mcipmb.  " can pull using and changing parameters

  FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE mcipmb.
  LOOP AT p_mcipmb ASSIGNING &amp;lt;fs&amp;gt;.

  ENDLOOP.


ENDFORM.                    " FR_CHANGE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 16:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356939#M1233271</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-24T16:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356940#M1233272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is something that may work, which is very similar to your original idea:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  FIELD-SYMBOLS:
    &amp;lt;fs_tab&amp;gt; like i_mcipmb[]. " Table structure must be defined

  DATA:
    ref TYPE REF TO data.

  CREATE DATA ref LIKE i_mcipmb.
  GET REFERENCE OF i_mcipmb[] INTO ref.
  ASSIGN ref-&amp;gt;* TO &amp;lt;fs_tab&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;followed by&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  FIELD-SYMBOLS: &amp;lt;fs_row&amp;gt;.
  LOOP AT &amp;lt;fs_tab&amp;gt; assigning &amp;lt;fs_row&amp;gt; where supkz = '2'.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best wishes &lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 18:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356940#M1233272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T18:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356941#M1233273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;
   FIELD-SYMBOLS: &amp;lt;fs_row&amp;gt;.
   LOOP AT &amp;lt;fs_tab&amp;gt; assigning &amp;lt;fs_row&amp;gt; where supkz = '2'.
   ENDLOOP.
&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think while activating it may get an error that SUPKZ not found or not defined. due to  will be defined only on runtime &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I wrong please correct me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 18:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356941#M1233273</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-03-24T18:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356942#M1233274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Thanks for your comment. The following example using the same pattern activates and runs OK...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report  zsdn_example.
data:  begin of gt_sflight occurs 0.
        include structure sflight.
data: end of gt_sflight,
      gs_sflight type sflight,
      ref       type ref to data.
field-symbols:
    &amp;lt;fs_row&amp;gt;   type sflight,
    &amp;lt;fs_tab&amp;gt; like gt_sflight[].

select * from  sflight client specified into table gt_sflight.

create data ref like gt_sflight[].
get reference of gt_sflight[] into ref.

assign ref-&amp;gt;* to &amp;lt;fs_tab&amp;gt;.
loop at &amp;lt;fs_tab&amp;gt; assigning &amp;lt;fs_row&amp;gt; where carrid = 'AA'.
  write:
    / &amp;lt;fs_row&amp;gt;-carrid.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best wishes&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 18:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356942#M1233274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T18:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356943#M1233275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed, You are right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
create data ref like gt_sflight[].
get reference of gt_sflight[] into ref.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here ref pointing to standard table this will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 18:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356943#M1233275</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-03-24T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to table in user-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356944#M1233276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your coding and assistance! Your example works exactly the way I wanted to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@all, thanks for reading and commenting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 08:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-to-table-in-user-exit/m-p/5356944#M1233276</guid>
      <dc:creator>MichiFr</dc:creator>
      <dc:date>2009-03-25T08:01:25Z</dc:date>
    </item>
  </channel>
</rss>

