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: 

tcode me51n, me52n and me53n - Enhancement to Requisitioner field

bruno_franzini1
Explorer
0 Kudos

Hi,

Please, I need help about tcode ME51N (ME52N and ME53N).

I've created a search help for Requisitioner field for that tcode. The search help worked fine, but the problem is about to update Requisitioner field on subscreen tab "Contact Person". Already put some break-points into Include program LMEGUICJM I'm not sure if it's in that program to create an enhancement or something else.

I've been searching a solution to that, but nothing yet.

Please, anyone give a tip.

1 ACCEPTED SOLUTION

former_member182915
Active Contributor
0 Kudos

hi,

in f4 what ever get afnam, by taking that to str l_mereqi and call set _data method and x str.

DATA l_req_item TYPE REF TO if_purchase_requisition_item,  

     l_mereqi  TYPE mereq_item,

     l_mereqix TYPE mereq_itemx,

l_mereqi-afnam = F4 value.

l_mereqix-afnam = mmpur_yes.

CALL METHOD l_req_item->set_data( l_mereqi ).

CALL METHOD l_req_item->set_datax( l_mereqix ).

IN INCLUDE LMEGUICJM and METHOD transport_to_model

hope this help you

4 REPLIES 4

Former Member
0 Kudos

Hi Bruno,

Can I know how you had attached F4 for the Requisitioner field in Header Tab? I found the both in Header & Item Tab the Requisitioner field have the same data element - AFNAM so if possible add the search help exit for AFNAM data element.

Please revert if any queries.

Thanks,

Seshadri.

0 Kudos

Thank you Seshadri, for a reply  too.

former_member182915
Active Contributor
0 Kudos

hi,

in f4 what ever get afnam, by taking that to str l_mereqi and call set _data method and x str.

DATA l_req_item TYPE REF TO if_purchase_requisition_item,  

     l_mereqi  TYPE mereq_item,

     l_mereqix TYPE mereq_itemx,

l_mereqi-afnam = F4 value.

l_mereqix-afnam = mmpur_yes.

CALL METHOD l_req_item->set_data( l_mereqi ).

CALL METHOD l_req_item->set_datax( l_mereqix ).

IN INCLUDE LMEGUICJM and METHOD transport_to_model

hope this help you

0 Kudos

Thanks

SWadhin Ghatuary,

it helped a lot.