Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Inbound Purchase Order Creation

Dear All,

I am trying to create a purchase order using PORDCR04 through XI, IDOC is getting generated but it is not generating one of the item segment and it is in status 51.

The Error shows as follows:

Function modules invoked in wrong sequence

Message no. ME159

Diagnosis

The function modules for fully-automatic PO generation have been invoked in the wrong sequence. The correct sequence is as follows:

1. ME_REFRESH_PO once

2. ME_CREATE_PO_HEADER once

3. ME_CREATE_PO_ITEM n times

4. ME_POST_PO once

If this sequence is not adhered to, data inconsistencies may arise.

kindly advise how to solve this error

Message was edited by: markkandan shanmugasundaram

Former Member
Not what you were looking for? View more on this topic or Ask a question