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: 

How to delete an operation from order using the bapi

Former Member
0 Kudos
944

Can somebody please tell me how to delete an operation from order using the bapi

BAPI_ALM_ORDER_MAINTAIN.

Following was the test data for the BAPI.

000000 OPERATION DELETE 0000040052810070

000000 SAVE 0000040052810070

Even I tried entering the operation table. The BAPI control ends fine, but when I check the order using IW32, the operation still exists.

So, can you please tell me where Iam going wrong.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
205

Hi Subash Mohanvel,

Check bapireturn parameter of the bapi BAPI_ALM_ORDER_MAINTAIN after execution of the code , and if there is no error message in the return table then call bapi_Transaction_commit.

Unless you call this database saving of the records/values will not get reflected in the system.

Hope that helps.

Regards

Kapadia

***Assigning points is the way to say thanks in SDN.***

2 REPLIES 2

Former Member
0 Kudos
206

Hi Subash Mohanvel,

Check bapireturn parameter of the bapi BAPI_ALM_ORDER_MAINTAIN after execution of the code , and if there is no error message in the return table then call bapi_Transaction_commit.

Unless you call this database saving of the records/values will not get reflected in the system.

Hope that helps.

Regards

Kapadia

***Assigning points is the way to say thanks in SDN.***

0 Kudos
205

HI Kapadia,

Thanks for your feedback..... Its solved......

Regards,

Subash M.