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

Create GR with Multiple batch

sri6666
Active Participant
0 Likes
920

Hi Team,

I am using BAPI_GOODSMVT_CREATE BAPI to create GR , but my delivery having multiple batches . its failed if its having multiple batches. can some help me with sample code create GR with multiple Batches,

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
857

Which error did you get?

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
857

Hello sri6666

You need to create a GR with multiple lines, one line for each batch. If you can post a GR with a single item using the BAPI, then just multiply the line data and you'll post a GR with several lines.

Best regards

Dominik Tylczynski