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

'Document does not contain any items' error while posting GR from BAPI

Former Member
0 Likes
808

Hello Friends,

I am trying to post GR from BAPI 'BAPI_GOODSMVT_CREATE' but some time it post successful and some time it does not post..gives error 'Document does not contain any items'....i have search all option but did not get any solution why this error is coming....kindly help me if you have any information regarding that.

The strange thing is i have alrady posted GR with some test data and later on again am trying to post GR with same test data but it is giving error as above.

For your information...i am using enhancement spot in standard program for GR posting...could it give any problem.

Regards,

Rajkishor.

4 REPLIES 4
Read only

Manohar2u
Active Contributor
0 Likes
646

It is complaining beacusee GOODSMVT_ITEM table is empty. Check in debug.

Read only

Former Member
0 Likes
646

No i am populating ITEM table.

Read only

Former Member
0 Likes
646

structrure GOODSMVT_ITEM might be initial.

Regards

Vinod

Read only

Former Member
0 Likes
646

Solved by my self...problem was i were using enhancement spot in standard program because of this it was creating problem have search new enhancement spot and put my code out there now it is working fine.

Thanku very much all of you for your reply.