Skip to Content
0
Former Member
Oct 05, 2016 at 04:56 PM

Create Handling Unit and serial numbers pack

189 Views

Hello, I am trying to perform a sequence of operations via RFC to generate Handling Unit and then provide the serial numbers and complete the operation. When I finalize the sequencing can not find the Handling Unit in HU02 transaction.

1 TID Create (create Transaction ID)

2 BAPI_HU_CREATE

- HEADERPROPOSAL

- PACK_MAT

- PLANT

- STGE_LOC

- HUITEM

- MATERIAL

- PACK_QTY

I caught the return of HUKEY and perform

3 BAPI_HU_PACK

- HUKEY

- ITEMPROPOSAL

- HU_ITEM_TYPE

- PACK_QTY

- BASE_UNIT_QTY

- MATERIAL

- BATCH

- PLANT

- STGE_LOC

- NO_OF_SERIAL_NUMBERS

- SERIALNUMBERS

- (Add) SerialNo

4 BAPI_TRANSACTION_COMMIT with the TID

Any suggestion?