Application Development 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: 

Avoid check for article number and price from ORDRSP inbound

udo_martens
Active Contributor
0 Kudos

Hi,

i m working on an integration (with PI) of a 3rd party vendor with a SAP ERP (7.1) backend system. The vendor sends a soap message which is transformed by PI to an IDoc ORDRSP.ORDERS05.

The vendor sends a purchase order confirmation but unfortunately without information regarding article number and price. Therefore the IDoc remains in status 51 with 2 errros:

- Price outside tolerance range (order price 531,60 , new price 0,00 )

- Article number differs from that of ordered article 000000000000152672

Is is possible to avoid the check so that the purchase order's article number and price are not updated by the IDoc?

Regards,

Udo

2 REPLIES 2

Former Member
0 Kudos

Hi Udo,

This error seems to be explicitly populated into Status records of IDOC processing from the include LEINMF2O, form "CHECK_MATERIAL_PO_IDOC" (For Material) & Include LEINMF2D, form "PRICE_CHANGE".

One way to suppress the error message is to populate the existing values in EKPO table to IDOC segment using enhancment component EXIT_SAPLEINM_007, which is called from include LEINMF2X, line number 113.

Documentation of enhancement component reads

Functionality
Reading of further IDoc segments at the time of acknowledgment receipt. 
The current segment is passed on in the parameter segment. 
Data can be stored in the structure CUSTOMER_EKPO.

As of Release 4.6A, modification of the program-internal table FEKPO is possible.

This is just a suggestion and don't know how far it will be helpful to your requirement.

Regards

Vinod

0 Kudos

Hi Vinod,

thx for your response.

I think the exit is only for "acknowledment" but it gave me the right direction.

I m going for

EXIT_SAPLVEDC_002

to change ORDRSP.ORDERS05 inbound values.

Regards,

Udo