‎2011 Sep 08 8:17 AM
Hi Friends
I want to create handling units in SAP ECC with Out Delivery in the background.
Once Outbound Delivery is created.Handling units to be assigned to the Delivery and packing should be done.
I came to know below SAP Standard BAPI's . Please help to advice input values for BAPI to create Handling units and assign them to delivery .
*BAPI :
BAPI_HU_CREATE
BAPI_HU_CHANGE_HEADER
WS_DELIVERY_UPDATE*
Thanks in Advance
SR
‎2011 Sep 10 3:08 AM
Hi Friends
Please help on this requirement. <removed by moderator>
Thanks
SR
Edited by: Thomas Zloch on Sep 10, 2011 10:45 PM
‎2011 Sep 10 3:08 AM
Hi Friends
Please help on this requirement. <removed by moderator>
Thanks
SR
Edited by: Thomas Zloch on Sep 10, 2011 10:45 PM
‎2011 Sep 10 3:22 AM
‎2011 Sep 10 4:44 AM
Hi Ravi,
Check with BAPI BAPI_HU_CREATE.Check and tell if need help.
Regards,
Madhu.
‎2011 Sep 10 10:28 AM
Hi Madhu
I tried to create Handling Unit with BAPI_HU_CREATE and is showing Handling Unit no after BAPI execution . But I can not find Handling Unit no in VEKP table .
Could you please let me know input value handling creation and packing and assigning to Delivery document.
Thanks in Advance.
SR
‎2011 Sep 10 10:31 AM
Hi Ravi,
Are you getting any error after execution.if suppose the return messages are successful then run bapi_transaction_commit.Then only that will save in data base.Check the documentation once.Check in vepo.
Regards,
Madhu.
Edited by: madhurao123 on Sep 10, 2011 3:03 PM
Edited by: madhurao123 on Sep 10, 2011 3:04 PM
‎2011 Sep 11 11:45 AM
Thanks Madhu
I created handling units and packed material successfully with BAPI_HU_CREATE & BAPI_HU_PACK.
Please advice input parameters for WS_DELIVERY_UPDATE or other program to assign already created handling units to outbound delivery.
Thanks in Advance.
SR
‎2011 Sep 11 11:55 AM
‎2011 Sep 12 3:32 AM
Hi Madhu
That link does not give any information for assigning already created handling units to outbound delivery.
Please help
Thnaks
Ravi
‎2011 Sep 12 4:24 AM
Hi
Try using the FM 'SD_DELIVERY_UPDATE_PACKING'.
DATA: it_verko TYPE TABLE OF verko,
ls_verko TYPE verko,
it_verpo TYPE TABLE OF verpo,
it_prot TYPE TABLE OF prott,
lv_vbeln TYPE likp-vbeln,
lv_exidv TYPE vekp-exidv.
CONSTANTS: cn_exidv TYPE vekp-exidv VALUE '00000000001000095812', "using constants for just a test
cn_vbeln TYPE likp-vbeln VALUE '0090000669'. "using constants for just a test
lv_vbeln = cn_vbeln.
lv_exidv = cn_exidv.
REFRESH: it_prot, it_verpo.
SELECT SINGLE exidv vhilm FROM vekp INTO CORRESPONDING FIELDS OF ls_verko
WHERE exidv EQ lv_exidv.
APPEND ls_verko TO it_verko.
CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING'
EXPORTING
delivery = cn_vbeln
commit = 'X'
synchron = 'X'
TABLES
verko_tab = it_verko
verpo_tab = it_verpo
prot = it_prot
EXCEPTIONS
update_not_possible = 1
OTHERS = 2
.
[Update Outbound Delivery| http://www.sapfans.com/forums/viewtopic.php?f=13&t=352300];
Shiva
‎2011 Sep 12 9:26 AM
Hi Shiva
I tried to assign handling units to outbound delivery with FM 'SD_DELIVERY_UPDATE_PACKING'
But system is giving the error message :
There is already a handling unit 199999990000005517 posted for GR without stock
Message no. HUSELECT005
Diagnosis
Handling unit 199999990000005517 already exists in the system with the status 'Posted for GI without stock information (at a non-HU storage location)'.
Procedure
Check whether the existing handling unit can be deleted or assign a new number to the current handling unit to ensure that both handling units can be clearly identified.
Please help to resolve.
Thanks
Ravi