cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in Conditions while using BAPI_PO_CREATE1

Former Member
0 Likes
1,557

Hi All

I am using BAPI_PO_CREATE1 to create purchase Order. When I am changing calculation type for condition type's system not picking the correct amount through BAPI.

For e.g. for condition type 'FRB1' (Freight Value) I have maintain the amount 10.00 in condition value for calculation type 'B' (fixed amount). But when I pass calculation type 'A' i.e. Percentage, BAPI overwrites the amount to 1.00%.

I Want to pass the amount 10.00 as it is with calculation type '%'. Kindly suggest how to do it.

Regards,

Pradip

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi,

please check the condition structure, have you filled the data like the followig?:

POCOND-ITM_NUMBER = 10 (item number)

POCOND-COND_TYPE = FRB1 (condition type)

POCOND-COND_VALUE = 1.0 (condition value)

POCOND-CURRENCY = % <<<<< ??? - this might have caused your issue, leave this field empty

POCOND-CHANGE_ID = I

POCONDX-ITM_NUMBER = 10

POCONDX-ITM_NUMBERX = X

POCONDX-COND_TYPE = X

POCONDX-COND_VALUE = X

POCONDX-CURRENCY = X

POCONDX-CHANGE_ID = X

Regards,

Edit