10-09-2008 6:21 PM
Hi Gurus,
I´ ve this code in my program:
ASSIGN COMPONENT 'field_name' OF STRUCTURE ?
thanks in advance,
KMT
10-09-2008 6:28 PM
use Caps for fieldname.
ASSIGN COMPONENT 'FIELD_NAME' OF STRUCTURE <L_DATA> TO <L_SC>.
ideally it should work. can you post what you are doing exactly?
what is <L_DATA> consists of..?
10-09-2008 6:40 PM
here is the small code, which is working fine
data: wa_vbak type vbak.
field-symbols: <fs> type any, <fs_vb> type any.
assign wa_vbak to <fs>.
assign component 'VBELN' of structure <fs> to <fs_vb>.
<fs_vb> = '1243243'.
write <fs_vb>.