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

Problem with pricing update while uploading sales order

Former Member
0 Likes
870

Hi All,

I am trying to update the pricing condition at item level using Bapi_salesorder_change, but it is not getting updated.

I am passing the sales order number and the Update flag in the header_inx. Tried passing C 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 count , condition value, currency and unit.

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

The output says that order is changed and saved successfully, but i am getting the condition types twice: one is by automatic pricing and other is manually entered one.i want to update the condition value of the condition that is coming automatically.

otherwise is there any way by which we can delete the automatic pricing condition and only have the manually entered condition.

Plz help...

Regards,

Sravanthi Chilal.

Hi All,

I am trying to update the pricing condition at item level using Bapi_salesorder_change, but it is not getting updated.

I am passing the sales order number and the Update flag in the header_inx. Tried passing C 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 count , condition value, currency and unit.

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

The output says that order is changed and saved successfully, but i am getting the condition types twice: one is by automatic pricing and other is manually entered one.i want to update the condition value of the condition that is coming automatically.

otherwise is there any way by which we can delete the automatic pricing condition and only have the manually entered condition.

Plz help...

Regards,

Sravanthi Chilal.

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
751

- Did you set all update flags = 'U' in all X tables/structures (header, item and condition)

- Did you specify each and every key field in the condition table, especially Condition Counter (COND_COUNT) to '01'

Regards,

Raymond

Read only

0 Likes
751

Yes ,i passed update flag as 'U' in header_inx and condition_inx tables.

I even passed all the values in the condition_in table and i put the cond_updat = 'X' in condition_in table.

Regards,

Sravanthi Chilal.

Read only

0 Likes
751

Basically it is issue with Update ,please follow the submit command and there use comitt work .

or take the value using export and use submit report ,here use import of all values ,call bapi fm and use comitt work.

Thank you

Seshu

Read only

0 Likes
751

Hi Seshu

can u please explain in detail.

Regards,

Sravanthi Chilal.