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

Bapi to delete Items in a contract

Former Member
0 Likes
1,847

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
Read only

Former Member
0 Likes
1,148

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

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,149

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

Read only

0 Likes
1,148

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

Read only

0 Likes
1,148

did you do the commit using BAPI_TRANSACTION_COMMIT?