Hi Guru's,
Good Afternoon,
I have created a sales document BAPI using SD_SALESDOCUMENT_CREATE.
Sales document was creating perfectly fine and working good.
now the problem when creating sales order condition type when doing so i am getting it twice in the condition value tab
for ex , i am trying to add Cndn type ZADC
after creation of the BAPI it appearing twice in the CONDITION RECORD tab.
W_CONDITIONS_IN-ITM_NUMBER = LV_COUNT.
W_CONDITIONS_IN-COND_ST_NO = '020'.
W_CONDITIONS_IN-COND_TYPE = WA_SHEET3-KSCHL .
W_CONDITIONS_IN-COND_VALUE = WA_SHEET3-KBETR.
W_CONDITIONS_IN-CURRENCY = 'INR'.
W_CONDITIONS_IN-COND_COUNT = '01'.
W_CONDITIONS_IN-COND_UPDAT = ' '.
Please suggest how to use the insert condtion types while creation of sales order.
Warm Regards,
Vinod Kumar G