Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error message in PO : System error (error in method PO_POST)

Former Member
0 Likes
8,724

Hi all,

I'm working on BAdI ME_PURCHDOC_POSTED

for Requisition qty checking with PO qty with some tolerance(+/-).

For some conditions I have to terminate the PO posting(ME57).

In the implementation of the method POSTED, afetr some validations, mentioned the statement:

This is my custom message in method >

message e032(/SISLEMCU/MSG01) with wa_ekpo-matnr

When doing this the posting of the document is terminated.

But after it displays the custom message, it followed by the message "System error (error in method PO_POST)" and then terminated.

Here are my questions:

1.I don't want to display "system error (error in method po_post)" message.

2. I want the the screen to hold the data i entered previously after the custom message was prompted and not terminate straight away, as i will need to reenter my data for PO again.

Thanx in Adv.

Regards

Uday

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,344

Change for a BADI more suited (not in the update of after-save process) like ME_PROCESS_PO_CUST (Method PROCESS_ITEM, CHECK).

ME_PURCHDOC_POSTED is too late.

Regards