Skip to Content
0
Nov 13, 2012 at 04:31 PM

BAPI_PO_CREATE Formula and Average Pricing condition UoM

108 Views

Hi,

I'm using the old PO creation BAPI.

Until now, the unit of measure of the PO line item was the same than the price record (PB00).

The new scenario: PB00 is no longer used, instead we user several other condition types that sum up the old PB00.

Previous scenario:

Po line:

Product A | Qty 1.000 Kg

Condition:

PB00 = 1.000EUR / 1.000 Kg

New scenario:

Po line:

Product A | Qty 1.000 Kg

Condition:

ZB01* = 500EUR / 1 TO

ZB02 = 500EUR / 1 TO

*-Formula and Average Pricing condition

When using the BAPI, the conversion of the UoM of the condition with formula and average pricing, is not carried (1.000 Kg = 1TO), but the others are OK. Both T006, MARM and EINA/EINE are well maintained.

The only way I can make it alright is by forcing the conversion rule on the po_items structure (CONV_NUM1 and CONV_DEN1), nevertheless this conversion is not applied to the other conditions that are not F&APricing.

Anyone had already dealed with this?

Regards.