Hi,
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.
Currently I'm using the following code:
FIELD-SYMBOLS:
<fs_tab> TYPE standard table
.
DATA:
ref TYPE REF TO data
.
CREATE DATA ref LIKE i_mcipmb.
GET REFERENCE OF i_mcipmb[] INTO ref.
ASSIGN ref->* TO <fs_tab>.
which works fine so far. Field symbol <fs_tab> now has got the passed records from table i_mcipmb.
Now I'm trying this coding:
LOOP AT <fs_tab> where supkz = '2'. ENDLOOP.
which fails because it doesn't recognize <fs_tab> as a structure. The same applies when using coding like this:
READ TABLE <fs_tab> INTO wa_mcipmb WITH KEY SUPKZ ='2'.
Is it possible at all to get this running? If so how can I solve this?
Thanks,
Michael