Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Duplicate condition records with BAPI_SALESORDER_CREATEFROMDAT2

Hi guys,

I'm creating a sales order with function module BAPI_SALESORDER_CREATEFROMDAT2.

The problem I'm having is that I want to change one of the rates on a percentage based condition type when I create the sales order.

I pass the data in the parameter ORDER_CONDITIONS_IN and set the COND_UPDAT field to 'X'. When the sales order gets created though, two condition records are created for this condition type. One is created with the determined rate (from pricing) and another one with the rate that I passed to the BAPI.

I am aware that there is a ORDER_CONDITIONS_INX parameter in 4.7 (and an UPDATEFLAG field) however we are on version 4.6c here and that parameter is not available.

Has anybody managed to do something similar in version 4.6C?

Many thanks

Fuad

Tags:
Former Member
Former Member replied

Ok. Jus let me know if this worked.

Regards,

Vijay

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question