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

Delete conditon type from Sales order using BAPI

Former Member
0 Likes
1,357

Hi All,

I want to delete std condition type PN00 from sales order using BAPI.I used BAPI_salesorder_change function module.It is working fine for yellow colored PN00.(Yellow may be for inactive) in foreground as well as in background.But active PN00 is not deleting.

Please suggest if possible.

Hi All,

I want to delete std condition type PN00 from sales order using BAPI.I used BAPI_salesorder_change function module.It is working fine for yellow colored PN00.(Yellow may be for inactive) in foreground as well as in background.But active PN00 is not deleting.

Please suggest if possible.

4 REPLIES 4
Read only

Former Member
0 Likes
938

This message was moderated.

Read only

Former Member
0 Likes
938

Try populating the ITM_NUMBER and UPDATEFLAG as 'D' in parameter ConditionsInx and pass it to the BAPI . see its documentation for further details.

Regards

Karthik D

Read only

Former Member
0 Likes
938

u set ORDER_HEADER_INX-updateflag = 'U' and ORDER_ITEM_INX-updateflag = 'D' then pass into bapi

Read only

Former Member
0 Likes
938

Issue not solved.