06-13-2006 10:34 AM
Dear ALL ,
Some time back I seen one document which talks about :
how to access the value of fields in user exit , even if it is not the import parameter for function module .
In that documentation they used some field symbols to capture the value . But i am not able to recall if anybody knows how to do that please halp me ,
it is very urgent .
06-13-2006 10:43 AM
Hi Raghu,
I've some sample code which involved field symbols to capture a value from screen. Hope it wud be useful for you.
Have a look at it.
IF sy-tcode = 'ME21N' or sy-tcode = 'ME22N' or sy-tcode = 'ME23N'.
ASSIGN ('(SAPLMEGU)MEPO1211-EEIND') TO <fs_eeind>.
IF <fs_eeind> NE space.
ASSIGN ('(SAPLMEPO)ETT[]') TO <beket>.
t_beket[] = <beket>[].
READ TABLE t_beket INTO w_beket WITH KEY ebelp = l_ebelp.
l_date = w_beket-eindt.
UNASSIGN <fs_eeind>.
ENDIF.
ELSE.
ASSIGN ('(SAPMM06E)RM06E-eeind') TO <fs_eeind>.
IF <fs_eeind> NE space.
l_dtmp = <fs_eeind>.
UNASSIGN <fs_eeind>.
ENDIF.
Hope u got some idea.
Regards,
Raja.
06-13-2006 10:43 AM