on 07-27-2016 7:36 PM
Hi Experts,
i have a requirement to create handling unit from a custom program. i have the productID (material number) and i need to create a handling unit.
Please let me know any BAPI or FM to create the Handling unit.
i have seen the below class but i am not sure how to use it /SCWM/CL_PACK
Thanks & Regards,
Tashi
Hi Tashi,
You can use FM HU_PACKING_CREATE .
There are some more FM which you can check in SE37 by putting HU_* and do F4. Check the FM which is suitable for you.
FM documentation as also available.
Regards,
Praphul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tashi,
In which process you need HU to be created? is it inbound or outbound? based on what criteria you want to create these handling units?
HU's can be created automatically in standard system using packaging specifications and cartoonizations.
BR
Anoop S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tashi,
You can use:
CLASS : /SCWM/CL_WM_PACKING
METHOD: CREATE_HU.
* creating nested HU
CALL METHOD go_wm_packing->create_hu
EXPORTING
iv_pmat = < Packing Material ID >
iv_huident = < HU Number >
i_location = < Location / Bin >
RECEIVING
es_huhdr = < Declaration as per Method Parameters >
EXCEPTIONS
error = 1
OTHERS = 2.
Hope it may helps you.
BR,
Shimank Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shimannk,
There seems to be lots of FM and Class method which can be used but i am not sure which one i have to use.
The scenario i have is priority plus shipping.
Small packages are to be sent .Tracking number from courier company needs to be saved and the items to be shipped needs to be linked with a new handling unit.
i am not sure how to create the handling unit and how i can link the deliveries with the handling unit.
Regards,
Tashi
Hi Tashi,
you can create Handling unit using FM HU_PACKING_CREATE and to link delivery use the parameter IS_OBJECT. pass the object type corresponding to delivery in OBJECT , you can get that in value range for domain HU_OBJECT. e.g. 01 for outbound delivery, 03 for inbound delivery etc. and pass the delivery number in OBJKEY.
Regards,
Praphul
User | Count |
---|---|
9 | |
4 | |
3 | |
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.