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: 

ERNAM in "ME_PROCESS_REQ_CUST"

Former Member
0 Kudos

Hi Experts,

 

I have written code for BADI "ME_PROCESS_REQ_CUST" method "OPEN".

 

DATA: l_preq TYPE MEREQ_item.

CALL METHOD IM_HEADER->get_data

RECEIVING

re_data = l_preq.

and the problem is field "l_preq-ERNAM" is showing some numeric value instead of user id.

as per my observation, BADI original language is "German". Kindly suggest.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Check signature of the get_data method (MEREQ_HEADER not MEREQ_ITEM )

NB: To get item(s) use GET_ITEMS and then in a LOOP use GET_DATA on items.

Regards,

Raymond