on ‎2006 Jan 25 4:08 PM
Hi,
I want read the internal table XOBJK_ALL in program SAPLIPW1 from program MM07MSE0.
DATA: va_tab2(30) VALUE '(SAPLIPW1)XOBJK_ALL'.
FIELD-SYMBOLS <lt> TYPE table .
ASSIGN (va_tab2) TO <lt>.
If I execute this code a dump is occuring at line:
ASSIGN (va_tab2) TO <lt>.
Please help me. Thank you.
Request clarification before answering.
Hi Fabio,
i think you are assigning the work area instead the table
try this:
'(SAPLIPW1)XOBJK_ALL[]'
and remember also to always check the sy-subrc of assign statement
ASSIGN (va_tab2) TO <lt>.
if sy-subrc = 0.
... use field-sumbol <lt>
endif.
or
ASSIGN (va_tab2) TO <lt>.
if <lt> is assigned.
... use field-sumbol <lt>
endif.
this will avoid short dump.
Regards, Manuel
If you find this answer useful, please remember to reward some points and close the thread if your problem is solved
Thanks
Message was edited by: Manuel Bassani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.