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

Documentary Batch Field for Line item when calling BAPI_GOODSMVT_CREATE

Former Member
0 Likes
829

hi all,

Iam unable to locate the Documentary Batch Field for each line item while posting a Goods Issue using BAPI BAPI_GOODSMVT_CREATE.

BAPI2017_GM_ITEM_CREATE structure has got no field to enter the DB number against each line item. Although its not a mandatory field while posting a goods issue when calling the BAPI, but there shud be a input field for the same. When doing a similar posting in SAP using MIGO transaction it's mandatory to enter a Documentary Batch number(SAP Field name DOCUBATCH_CHARG). Does anyone have come across this situation. Is there a field with different name in the BAPI2017_GM_ITEM_CREATE structure ? Appreciate your thoughts !

Regards,

Gilmour

hi all,

Iam unable to locate the Documentary Batch Field for each line item while posting a Goods Issue using BAPI BAPI_GOODSMVT_CREATE.

BAPI2017_GM_ITEM_CREATE structure has got no field to enter the DB number against each line item. Although its not a mandatory field while posting a goods issue when calling the BAPI, but there shud be a input field for the same. When doing a similar posting in SAP using MIGO transaction it's mandatory to enter a Documentary Batch number(SAP Field name DOCUBATCH_CHARG). Does anyone have come across this situation. Is there a field with different name in the BAPI2017_GM_ITEM_CREATE structure ? Appreciate your thoughts !

Regards,

Gilmour

2 REPLIES 2
Read only

Former Member
0 Likes
541

hi,

bapi2017_gm_item_create-batch is the field to populate the batch number for posting.

Hope this can help you.

Thanks

vindy

Read only

0 Likes
541

Hi Vindy,

bapi2017_gm_item_create-batch is the field for the Batch.

However Iam looking for a field called DB No which is basically a Documentary batch ensure the traceability of a material, without it being necessary for the stock of the material to be managed in batches. If you look at the Item section in MIGO you would have Batch and DB No for each line item and Iam looking for the DB no and not the primary Batch.

Thanks,

Gilmour