on ‎2020 Jun 17 6:43 AM
Hi All,
BAPI_GOODSMVT_CREATE is used to created goods movement for a single record.
Can anyone suggest if there is any FM/BAPI for create mass goods movement for many records at the same time.
Thanks & Regards,
Archana A
Request clarification before answering.
Hi Archana
Question is to create one single transaction for multiple materials eg., transferposting through BAPI_GOODSMVT_CREATE with single document number, loop and load goodsmvt_item table and pass to BAPI
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_gmvt_header
goodsmvt_code = '02'
* TESTRUN = ' '
* GOODSMVT_REF_EWM =
IMPORTING
goodsmvt_headret = gmvt_headret
* MATERIALDOCUMENT = gmvt_retmtd
* MATDOCUMENTYEAR =
TABLES
goodsmvt_item = gmvt_item[]
* GOODSMVT_SERIALNUMBER =
return = rt_bapiret[]
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN =
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abinath,
Good Day!!
Thanks for the reply.
But my question is is there any FM to create many document number at a single time.
EG: i need to create 10 document for different materials in a single report, then instead of looping BAPI_GOODSMVMT_CREATE is there any other FM that is available?
Thanks & Regards,
Archana A
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.