2008 Jun 13 11:11 AM
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
2008 Jun 13 12:04 PM
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.
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
2008 Jun 13 11:51 AM
Hi friends.
Plz let me know the possbilities.
Since it's a urgent issue
2008 Jun 13 12:11 PM
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
2008 Jun 13 12:04 PM
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.
2008 Jun 13 12:33 PM
2008 Jun 13 12:43 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |