cancel
Showing results for 
Search instead for 
Did you mean: 

Handling unit transfer (311 move) using bapi_goodsmvt_create

Former Member
0 Kudos

MII is using bapi_goodsmvt_create to do a 311 type Handling unit movement. While BAPI is successful and returns a response back as "Delivery 80817152 created". But in ERP, this BAPI is creating a outbound delivery while it should be inbound delivery.

So basically transfer is not happening there if I check in humo.

If Movement Indicator is set to "I" in BAPI request than ERP sends error message " Update control of movement type is incorrect (entry 311 XX_I)

I would like to know if some body has experienced the same issue & has any resolution and also want to confirm that handling unit transfer is possible with bapi_goodsmvt_create.

Thanks a lot

Regards

Ram Upadhayay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Either change the f'rom' and 'to' storage locations (reverse the order) or change the movement type to 312.

Former Member
0 Kudos

Thanks for stepping up !

With 312 movement it sends error message as " Deficit of BA Unrestricted-use" so not allowing 312 movement.

I still want to confirm first whether this BAPI will do handling unit transfer ?

Answers (2)

Answers (2)

Former Member
0 Kudos

This BAPI only conducts goods movements. It does not affect the handling unit.

If you want to process a handling unit you must use a different BAPI. Are you attempting to unpack the HU?

Use BAPI_HU_UNPACK.

Former Member
0 Kudos

The movement indicator should be blank.

Former Member
0 Kudos

By keeping movement indicator blank it goes to outbound delivery but it should be in Inbound.