04-06-2009 1:38 PM
I want to assing a table from the call stack to a local table. How do I do that?
(SAPMV50A)xlips
And xlips is defined as:
DATA: BEGIN OF XLIPS OCCURS 15.
INCLUDE STRUCTURE LIPSVB.
DATA: END OF XLIPS.
04-06-2009 1:50 PM
Hi,
Code like this
DATA : c(45) type C Value '(SAPMV50A)xlips[],
TYPES: i_XLIPS TYPE Standard table of <of type xlips >.
TYPES: wa_XLIPS TYPE <of type xlips >.
FIELD SYMBOLS:<fs_xlips> type i_XLIPS,
<wa_fs_xlips> TYPE wa_XLIPS.
Assign (C) TO :<fs_xlips>
04-06-2009 1:43 PM
Hi ,
Try this..
data: begin of da_xlips occurs 0.
include structure lipsvb.
data: end of da_xlips.
can you little more specific...
Regards,
Prabhudas
04-06-2009 1:50 PM
Hi,
Code like this
DATA : c(45) type C Value '(SAPMV50A)xlips[],
TYPES: i_XLIPS TYPE Standard table of <of type xlips >.
TYPES: wa_XLIPS TYPE <of type xlips >.
FIELD SYMBOLS:<fs_xlips> type i_XLIPS,
<wa_fs_xlips> TYPE wa_XLIPS.
Assign (C) TO :<fs_xlips>
04-06-2009 1:50 PM
Hi,
Try in a dirty way as below.
DATA: lv_mem TYPE string VALUE '(SAPMV50A)xlips[]'
FIELD-SYMBOLS: <fs_tab> TYPE ANY TABLE.
ASSIGN (lv_mem) TO <fs_tab>.
IF sy-subrc EQ 0.
" ... xlips[] = <fs_tab>.
ENDIF.