2014 Dec 01 8:10 PM
Hi gurus.
I need pass this scrren value to my code by field symbols:
I'm in include , inside of exit.
I think could be
FIELD-SYMBOLS <t1> TYPE any.
ASSIGN '(EKKO_CI-Z_PEDARIB)SAPLMEGUI' TO <t1>.
Somebody can help me please.
Thanks.
2014 Dec 01 8:49 PM
the correct orden should be: '(program name)variable'.
example:
DATA: l_name(50).
DATA: lv_kunde TYPE ref_kunnr.
FIELD-SYMBOLS: <tkomv> TYPE ref_kunnr.
l_name = '(SAPMF02D)RF02D-REF_KUNNR'.
ASSIGN (l_name) TO <tkomv>.
IF sy-subrc = 0.
lv_kunde = <tkomv>.
MESSAGE lv_kunde TYPE 'S'.
ENDIF.
2014 Dec 01 8:49 PM
the correct orden should be: '(program name)variable'.
example:
DATA: l_name(50).
DATA: lv_kunde TYPE ref_kunnr.
FIELD-SYMBOLS: <tkomv> TYPE ref_kunnr.
l_name = '(SAPMF02D)RF02D-REF_KUNNR'.
ASSIGN (l_name) TO <tkomv>.
IF sy-subrc = 0.
lv_kunde = <tkomv>.
MESSAGE lv_kunde TYPE 'S'.
ENDIF.
2014 Dec 01 9:15 PM
2014 Dec 01 9:59 PM
You should use program name SAPLXM06 instead of the GUI, screen number is not necessary, also you can debug transaction and get the value from another point in the process.