cancel
Showing results for 
Search instead for 
Did you mean: 

Error in PO or STO: MEPO151 - Data from Business Add-In ME_PROCESS_PO_CUST not adopted

SAPSupport
Employee
Employee
0 Kudos

Dear Madame/Sir,

When I am creating STO or PO, I am receiving error message: MEPO151 - Data from Business Add-In ME_PROCESS_PO_CUST not adopted . Could you help why the error is coming?


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee

Dear Customer,

The error message 'MEPO151' is generated when the system enters an infinite loop because of an incorrect sequence the BADI implementation's logic.

In order to solve the error message, please check these points with your ABAP developer and correct the logic:

  • Filter down to the method that is causing this problem and review the code.
  • HINT: keep a break-point in CLASS - CL_PO_HEADER_HANDLE_MM METHOD IF_FLUSH_TRANSPORT_MM~START.
  • Check the contents of table my_recheck_queue[] - this holds the handler that is being called repeatedly in a infinite loop, causing MEPO151 to be issued.
  • Check if standard fields were changed in the implementation of the ME_PROCESS_PO_CUST Business Add-In.

In general, standard fields that form part of the MEPOITEM_TECH include structure and/or the MEPOSCHEDULE_TECH include structure should not be changed, or altered.

Field values in the BAdI should not be changed either if they are set as 'not modifiable' in the Enjoy transactions, due to the field selection settings.

For further details, you can check the following SAP KBA 2157373 - Hints for error MEPO151 in BADI ME_PROCESS_PO_CUST .

Best regards,

Balázs

Answers (0)