Inbound Purchase Order Creation
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
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