Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

user exit related-urgent

Former Member
0 Kudos

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 .

2 REPLIES 2

Former Member
0 Kudos

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.

former_member188685
Active Contributor
0 Kudos

Hi,

check the thread..

/people/brad.williams/blog/2005/04/25/userexits--how-do-i-access-inaccessible-data

Regards

vijay