2009 Jun 04 3:02 PM
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.
2009 Jun 04 3:12 PM
2009 Jun 04 3:17 PM
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.
2009 Jun 04 3:31 PM
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
2009 Jun 04 3:53 PM
Hi Seshu
can u please explain in detail.
Regards,
Sravanthi Chilal.