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

BAPI_PO_CHANGE - changing prices

Former Member
0 Likes
820

Hi,

We have a batch job that is changing the Document Type at the PO header (EKKO-BSART) and the code sets the following fields to be changed.

MOVE 'ZB' TO poheader-doc_type.

MOVE 'X' TO poheaderx-doc_type.

BAPI_PO_CHANGE is called to change the document type. In testing we found that the pricing for some line items are also updated with BAPI_PO_CHANGE because of outline agreements.

We set NO_PRICE_FROM_PO = X based on note 552189, but still some POs where the doc type is changing the price is also changing.

Is there another value that needs to be set with the BAPI_PO_CHANGE to prevent the price from changing?

Thanks,

Martha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
622

Hi,

The note was 580225, not 552189.

Martha

Hi,

We have a batch job that is changing the Document Type at the PO header (EKKO-BSART) and the code sets the following fields to be changed.

MOVE 'ZB' TO poheader-doc_type.

MOVE 'X' TO poheaderx-doc_type.

BAPI_PO_CHANGE is called to change the document type. In testing we found that the pricing for some line items are also updated with BAPI_PO_CHANGE because of outline agreements.

We set NO_PRICE_FROM_PO = X based on note 552189, but still some POs where the doc type is changing the price is also changing.

Is there another value that needs to be set with the BAPI_PO_CHANGE to prevent the price from changing?

Thanks,

Martha

1 REPLY 1
Read only

Former Member
0 Likes
623

Hi,

The note was 580225, not 552189.

Martha