Skip to Content
0

Change items at converting a Planned Order into a Purchase Requisition (MD04)

Oct 12, 2016 at 05:05 PM

242

avatar image

Hi,
I have to change items of an Purchase Requisition before saving.

If I work with ME51N or ME52N I can change it easily with the method "PROCESS_ITEM" of BADI "ME_PROCESS_REQ_CUST", but when I convert a Planned Order into a Purchase Requisition via MD04 the method is not called.

Is there any other BADI, SMOD enhancement,... I can use?

Best regards Patrick

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rosh A Oct 12, 2016 at 06:07 PM
0

Please check following BAdI and the method,

BAdI : MD_PURREQ_CHANGE

Method: CHANGE_BEFORE_SAVE_CONV (Changes to Purchase Requisitions: Planned Order Conversion)

Share
10 |10000 characters needed characters left characters exceeded
Jelena Perfiljeva
Oct 13, 2016 at 05:22 PM
0

You might want to consider if the changes you are trying to make are in line with the best practice. When one document is created with reference to another then only very limited changes would be allowed. Otherwise the whole document flow could be broken. You'll see the same restrictions in other documents, e.g. 3rd party purchase order created from SO don't behave the same exact way as a "standalone" PO. Make sure not to break anything.

Also see Google -> 'how to find BADI site:sap.com'.

Share
10 |10000 characters needed characters left characters exceeded
Ankur Chauhan Oct 14, 2016 at 08:12 AM
0

Hi Patrick,

MD04 is to display stock/requirement list.

Please use MD14/MD15 to convert planned order into purchase requisition!!

Share
10 |10000 characters needed characters left characters exceeded