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

MIGO - EXIT

Former Member
0 Likes
907

Dear Friends,

My requirement is like.

1) while Creating purchase order I will give the item text manually in Me21n.

2) Then I will release the purchase order in ME29n.

3) Then while doing goods receipt of the purchase order in

MIGO , the item text should ( which i gave in ME29n)

should not be diplayed.It has to be displayed from material

master.

There is 8 exits available for MIGO. I tried with the existing user exits.But I can't get it done.

Is there any other possibilities,let me know.

Helpful Answers will be rewarded.

Regards.

siva

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
870

Dear Siva,

Instead of Exit you can implement BADI MB_MIGO_ITEM_BADI. This BADI has method ITEM_MODIFY. This method has exporting parameter E_ITEM_TEXT where you can modify Item Text.

Regards,

Ramesh.

5 REPLIES 5
Read only

Former Member
0 Likes
870

Hi friends.

Plz let me know the possbilities.

Since it's a urgent issue

Read only

0 Likes
870

Hi Siva Raj,

You go with this BAdi once.

MB_MIGO_ITEM_BADI - BAdI in MIGO for Changing Item Data

There is one method inside this BAdi. You go and create implementation and double click on the interface you will be having a method there. In that method you keep the break point like : break username then you run your transaction flow. If it get triggered then it is the required BAdi.

Reward points if it helps.

Cheers,

Swamy Kunche

Read only

Former Member
0 Likes
871

Dear Siva,

Instead of Exit you can implement BADI MB_MIGO_ITEM_BADI. This BADI has method ITEM_MODIFY. This method has exporting parameter E_ITEM_TEXT where you can modify Item Text.

Regards,

Ramesh.

Read only

Former Member
0 Likes
870

Thank you friends.

Huv to use this badi..plz let me know

Read only

0 Likes
870

Go to transaction SE19. Give a name for implementing this BADI for example ZMB_MIGO_ITEM_BADI and press Create. Give the above BADI name when asked for. Go to the metod given and press double click on it. You will go to editor where you can write code to get text from materil master. The importing parameter IS_GOITEM will have MATNR field. Use this MATNR field to get material text. If there is any text for the material then assign that to E_ITEM_TEXT.

Basically your code should like this(pseudo code)

SELECT TEXT FROM MATERIAL TEXT TABLE

WHERE MATNR = IS_GOITEM-MATNR.

IF SY-SUBRC = 0.

E_ITEM_TEXT = MATERIAL TEXT SELECTED ABOVE.

ENDIF.

Hope this helps!!

:-o)

Ramesh.

Edited by: Ramesh Kashigari on Jun 13, 2008 1:43 PM