2014 Oct 01 7:30 AM
How can i trigger automatic packing in delivery from ABAP code? Is it possible?
Thanks
Hi,
Please explain in more detail!
you can use the FM WS_DELIVERY_UPDATE and BAPI_HU_PACK for delivery and packing !
2014 Oct 01 7:36 AM
Hi,
Please explain in more detail!
you can use the FM WS_DELIVERY_UPDATE and BAPI_HU_PACK for delivery and packing !
2014 Oct 01 7:47 AM
Thanks for your answer. Do you have any examples of these?
Thanks!
2014 Oct 01 8:04 AM
Hi,
I don't have code snippets. But it seems to be simple to call the FM's.
I think you can do it in two step process in the program
1. Create the delivery/update the existing delivery by using the Function Modules ( WS_DELIVERY_UPDATE ..)
2. Do the packing for deliveries by using FM ( get the details from VEKP,VEPO
call function 'SD_DELIVERY_UPDATE_PACKING'
exporting
delivery =
commit = ' '
synchron = 'X'
tables
verko_tab =
verpo_tab =
prot =
exceptions
update_not_possible = 1
error_message = 2
others = 3.
2014 Oct 01 8:32 AM
2014 Oct 01 8:34 AM
Pls check user exit
PACKMODI |User exit for customer-specific functions for shipping matls.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |