Application Development and Automation 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: 
Read only

get data from Structure table

Former Member
0 Likes
876

HI Gurus,

Can someone give some idea how

1.what is the function of this code?

*read item data from system

   ls_mereq_item = im_req_item->get_data( ).

2. If i will create an enhancement in MIGO how to get the data from structure that I can use as a parameter in select statement. I want to create validation error message if the condition is satisfy. i used the user exit EXIT_SAPMM07M_001.

We are using two step of transfer transaction in MIGO, we used movement type 303 for the in-transit transfer while 305 for the receiving. Upon receiving I want check the field GOHEAD-MTSNR if text are change by the users and i want to prompt an error if this was been change.

thank you

4 REPLIES 4
Read only

Former Member
0 Likes
807

Weldin Angelo,

            this is exit not badi. you can use I_MKPF. This is the badi statement.

Read only

0 Likes
807

Hi Zahid,

thank you for your response. I try to used this import  value I_MKPF but i didn't get the material document. I want to get the material document from the movement 303 which is i use as a reference during material receiving. after I get the material document i want this as a parameter in my select statement to go get the original field that I want to compare in my condition.

thank you

Read only

0 Likes
807

Hi,

You are right and it is not possible to check the text with this user-exit. I  think no other user-exits are available to validate. Can you try the BADI IF_EX_MB_MIGO_BADI~POST_DOCUMENT.

Thanks,

Kiran.

Read only

0 Likes
807

Hi ,

Thank you, I already got it and my validation are working.