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

Problem for BAPI2017_GM_ITEM_CREATE

Former Member
0 Likes
1,378

Hi all,

I'm using FM "BAPI2017_GM_ITEM_CREATE" to create a material document for transfer posting.

After calling the FM, the FM returns a material document no. and the document year without error, but when I use MB03 to verify the material document created by the FM, the material document is not displayed. And the db table MSEG has no entry for the mat. doc with mat. year too.

I just don't know which part I got wrong...

Could anybody help ? Thanks.

1 REPLY 1
Read only

athavanraja
Active Contributor
0 Likes
984

after calling BAPI2017_GM_ITEM_CREATE

you also need to call BAPI_TRANSACTION_COMMIT .

Regards

Raja