2007 May 10 10:47 PM
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
2007 May 10 11:01 PM
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
2007 May 10 11:01 PM