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

Regarding adding new pricing condition using BAPI_SALESORDER_CHANGE

0 Likes
699

Hi All,

I am trying to add a new pricing condition at item level using Bapi_salesorder_change, but it is not getting updated. I am also doing Bapi_transaction_commit as the next step.

I am passing the sales order number and the Update flag in the header. Tried passing G as the logic switch-pricing and also tried with logic_switch-COND_HANDL = X.

I am passing the data in structure CONDITIONS_IN with the value for item numebr, condition step number, condition count , condition value, currency and unit.

Also I am passing data in CONDITIONS_INX with the required flags set and update flag as 'I'.

The output says that order is changed and saved successfully, but the condition type is not there when i check the pricing coinditions inside the order at item level.Please help.

Regards,

Kaustubh B. Khasnis

3 REPLIES 3
Read only

Former Member
0 Likes
607

Hi,

In the condition tab..

Press the determination analysis button..

There it will show the why the pricing condition type is not added..

Thanks,

Naren

Read only

0 Likes
607

It doesn't show any error or message as this is a Manual condition.

Thanks for the help.

Regards,

Kaustubh B. Khasnis

Read only

Former Member
0 Likes
607

Hi,

Do you have any condition records for this condition type..

Meaning is the condition type assigned with an access sequence..

Thanks,

Naren