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 updation problem

Former Member
0 Likes
438

Hi

I am updating a contract using the BAPI BAPI_CONTRACT_CREATEFROMDATA.

All the update flags I have set. When I execute BAPI and if I see return table

it says that "successfully updated". but when I execute BAPI_TRANSACTION_COMMIT

it is getting terminated. Termination happens in insert statement of a standard program.

I have set the update flag as 'U' only. As the database has already my contract number

the insert statement goes to dump. But when I give status as update, why it behaves like that.

Thanks and regards,

Venkat.

1 ACCEPTED SOLUTION
Read only

jaideepsharma
Active Contributor
0 Likes
362

Hi,

If you already have contract no. then why don't you use BAPI_CUSTOMERCONTRACT_CHANGE.

KR Jaideep,

1 REPLY 1
Read only

jaideepsharma
Active Contributor
0 Likes
363

Hi,

If you already have contract no. then why don't you use BAPI_CUSTOMERCONTRACT_CHANGE.

KR Jaideep,