Application Development 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: 

Bapi to delete Items in a contract

Former Member
0 Kudos

Hi Folks,

I have a requirement to delete items in a Contract, please suggest me a BAPI that can delete Items in a contract.

Thanks

Ravi

1 ACCEPTED SOLUTION

Former Member
0 Kudos

use this one BAPI_CUSTOMERCONTRACT_CHANGE ,

Set UPDATEFLAG to 'D' for the particular line item.

BAPISDITMX-ITM_NUMBER = item_no

BAPISDITMX-UPDATEFLAG = 'D'.

Edited by: Sunil Reddy on Sep 11, 2008 12:02 AM

3 REPLIES 3

Former Member
0 Kudos

use this one BAPI_CUSTOMERCONTRACT_CHANGE ,

Set UPDATEFLAG to 'D' for the particular line item.

BAPISDITMX-ITM_NUMBER = item_no

BAPISDITMX-UPDATEFLAG = 'D'.

Edited by: Sunil Reddy on Sep 11, 2008 12:02 AM

0 Kudos

Hi,

Thanks for your reply .

I did that but I am getteng an error V1(item deleted)

when go into contract the item is still exists in the contract

please let me know hoe to proceed

Thanks

Ravi

0 Kudos

did you do the commit using BAPI_TRANSACTION_COMMIT?