BAPI to lock / unlock Handling Unit?
Hello,
Is there a BAPI or function module I can use to lock or unlock a Handling Unit?
Thx.
Andy
Hi,
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10463752&messageID=1578910
Regards
Kiran
Similar Messages
-
Hi Everyone,
I am trying to create handling unit number using bapi
BAPI_HU_CREATE.
I am able to create the handling unit number.
The problem arises in - no entry is getting created in line item table VEPO for the new handling unit number generated.
Anybody having idea why no entry is getting created in VEPO table.
Also, would like to know i want to update the inbound delivery with the new handling unit number generated.
For that i am planning to use FM "WS_DELIVERY_UPDATE".
Is this is the right approach to update the inbound delivery with this FM.
Thanks in advance.
Regards,
TarunTarun,
Here is the text from SAP Note - 581282
You want to generate or change handling units for a delivery. You have planned to use the BAPIs for business object "Handling unit" for this purpose. (For example BAPI_HU_CREATE, BAPI_HU_DELETE, BAPI_HU_PACK, BAPI_HU_REPACK, BAPI_HU_UNPACK). Since these modules do not make updates on delivery, these cannot be used for packing in the delivery.
In the same way it is not possible to pack deliveries with function modules of function group V51E (HU_CREATE_ITEM, HU_CREATE_ONE_HU, HU_DELETE_HU, HU_REPACK, HU_UNPACK).
If possible, the packing of the delivery should occur via IDOC DELVRY03 (WHSCON). If this also is not possible, function module WS_DELIVERY_UPDATE can be used. Please note, however, that this function module is not released for customers. That is, it is subjected to changes via SAP. In case of changes it is possible that your program which uses this function module, does not run anymore after importing of a Support Package and that is is necessary to change your program.
More options are currently not available.
<b> That is why I am recommending not to use the function but to have a BDC on the non-enjoy transaction. </b>.
Regards,
Ravi
Note : Please mark the helpful answers -
Blocked Stock HUMO handling unit
I need a BAPI to move a handling unit to blocked stock. Does anyone know a BAPI I can use to replicate when a user selects a handling unit in HUMO then goes to "Edit" -> "Change HU Posting" -> "In Blocked Stock"? I am new at programming with SAP and do not know how to read or write ABAP. I call BAPI's remotely from external applications but I was not able to find a forum for this type of development. I hope someone will be able to assist me in this forum. Thank You
Yon can do it but it will require some programming (ABAP). Using BADI's for HUMO, you are allowed to enhance that transaction to include your own function codes and screens. You should be able to put there a function (your own) that will do a Inventory management stock move to QI, for example, for all the stock in an HU.
Hope it helps,
Leonardo De Araujo -
BAPI/FM to add Items to Handling Unit
Hello Gurus,
Is there any BAPI/FM to add Items to existing HU.
I could see many existingBAPI's like
V51F_CHANGE_HU_ITEM,
HUINV_ITEM_CHANGE,
HU_ITEM_CHANGE
but none has helped me as such and it goes into some kind of error.
Hence it would be great if someone provides me code/mandatory inputs as well.
Functionally speaking one can add items to existing HU by HU02 transaction and pack the same.
Thanks,
Vikram.Hi Vikram,
This link may be helpful...
[Creating Handling Unit;
Regards,
Sachin M M -
Delivery Update: Handling unit : BAPI?
Could not make BAPI_HU_CHANGE_HEADER to update the handling unit header field "INHALT - Description of Handling Unit Content". Also referred to SAP note 581282.
It is required to update the handling unit of the delivery using remote FM. So BDC is not possible.
Can someone share code of how to acheive this using WS_DELIVERY_UPDATE or other FM/BAPI? Thanks in advance.Does anyone found a FM to update this field ? I have to update it in Batch.
-
Is there any BAPI or FM to pack Materials into Handling unit in INB Deliver
HI,
I would appreciate if any one can throw some light or FM or BAPI with some sample data to pack material into handling units in a inbound delivery (VL32n).
Regards
PRasadTry BAPI_HU_CREATE
SD_DELIVERY_UPDATE_PACKING
HU_PACKING_DELIVERY
HU_PACKING_AND_UNPACKING
HU_PACKING_UPDATE -
Check if handling Unit/outbound delivery locked?
Hi all,
How do i check whether a HANDLING UNIT is locked or not?
How do i check whether a Outbound delivery is locked or not?
Any Std FM's available?Any input will be highly appreciated.
Thanks.
Edited by: Andy102 on Apr 23, 2010 7:56 AMHi,
To check the Outbound delivery is locked, call the below function module
CALL FUNCTION 'SHP_ENQUEUE_EVVBLKE'
EXPORTING
MODE_LIKP = 'E'
MANDT = SY-MANDT
vbeln = <Delivery Number>
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
CSL_NO_CONNECTION = 3
CSL_INCONSISTENCY = 4
OTHERS = 5
IF sy-subrc ne 0.
delivery is locked
else.
delivery is not locked.
ENDIF.
For handling unit use the function module "ENQUEUE_EVVEKPE"
Regards
Vinod
Edited by: Vinod Kumar on Apr 23, 2010 11:51 AM -
BAPI or Function Module to create Handling Unit at the delivery level
Please send me the BAPI / FM details to create Handling Unit at the delivery level.
ThanksHi
you can try below BAPI's.
BAPI_HU_CREATE
BAPI_HU_PACK
Hope this helps you.
Rgds,
Kris. -
Hi,
Can you please help me with the code for populating the Handling units while shipment creation using bapis.
Thanks,
Thomas Kash
Moderator message: please (re)search yourself first.
Edited by: Thomas Zloch on Dec 9, 2010 10:55 AMif we have the delivery with the packaging already done(VL02n) it should be present in shipment creation already ...better have the delivery with packaging already done and do that shipment .
however if you are doing packaging(Handling Unit ) dusring shipment(VT01) i have not much clarity on that .
Please refer below threads to gain some insights , We do not have much information on this in the Forum .
mentors please help *
BAPI_HU_CREATE
BDC table control for handling unit
http://wiki.sdn.sap.com/wiki/display/ABAP/UseofBAPI_SHIPMENT_CREATEconcerningshippingstatuses%28and+deadlines%29 -
Warehouse task not being created : Handling unit was not locked
Hi,
I am trying to create a warehouse task w.r.t to an o/b delivery in EWM. While doing so when I try and create the Warehouse task from the Warehouse Req an error comes up : Warehouse Task cannot be created. Handling unit was not locked.
What is the resolution for this? is there some way we can lock the individual handling units?
ArupHi,
I am not using HUM at the warehouse level. The storage type used is 0010 (High Rack Storage) and it is defined to behave as a standard storage type.
Arup -
Hi,
Good day.
I need the following BAPI for Handling Units:
(1) One that will create an HU under a certain Shipment
(2) In the said Shipment, Pack HUs into an HU
These functionalities are similar to that of VT02N.
Please advise if you know the BAPIs that perform the said functionalities. And if possible, kindly provide sample codes.
Thank you very much!
Best regards.
BrandoHi,
I am using BAPIs to perform the following steps:-
1) Create HU (BAPI_HU_CREATE)
2) Add a single product (and its serial number) to the HU
Code:
pack1 = hu_key.
item-hu_item_type = '1'.
item-pack_qty = '1'.
item-material = p_matnr.
item-plant = p_werks.
item-stge_loc = p_sloc.
item-no_of_serial_numbers = '1'.
SERIALNO-SERIALNO = p_serial.
append SERIALNO.
call function 'BAPI_HU_PACK'
exporting
hukey = pack1
itemproposal = item
importing
huitem = hu_item
huheader = hu_head
tables
serialnumbers = serialno
return = ret.
BAPI_HU_PACK -
Which BAPI can Create handling Unit for VL02N.
Dear All,
Which BAPI can Create handling Unit for VL02N.
The Business is: VL02N, click head toolbar PACK, then call up handling Unit.
ThanksHi sun!
I'm facing the same requirement since three days and i'm not able to get it workin.
Did you resolve the problem and if yes which function modules did you use?
Thanks in advance!
Florian
Edited by: Florian Visintin on Sep 17, 2009 10:21 AM
Edited by: Florian Visintin on Sep 17, 2009 10:22 AM -
APO: Interactive Demmand Planning - LOCK/UNLOCK Planning Book
Hi forum,
I need to lock temporaly a Planning Book in /SAPAPO/SDP94 in order to avoid users to be logged as a loading process is running
do you know any standard transaction to do this or have another idea?
thanks in advance
Rasec
Message was edited by: CESAR BENITOReplies:
CESAR BENITO
Posts: 48
Registered: 3/11/04
Forum Points: 0
Re: APO: Interactive Demmand Planning - LOCK/UNLOCK Planning Book
Posted: Oct 18, 2006 12:16 PM in response to: Uma Maheswar ku... in response to: Uma Maheswar ku...
Click to edit this message... Edit Click to delete this message... Click to branch this thread starting with this message... E-mail author Click to report abuse... E-mail this message Click to reply to this thread Reply
Thanks for your answer, Uma!
I was testing Bapis that you mentioned and I think it's a radical solution because I would be blocking users, I just want to lock a planning book (users can keep logged in the system)
Transaction /n/sapapo/sdpplbk does not guarantee that user can access to planning book (if he/she is smart )
any suggestion?
Rasec
Somnath Manna Moderator SAP Mentor
Posts: 1,063
Registered: 12/6/07
Forum Points: 2,932
Re: APO: Interactive Demmand Planning - LOCK/UNLOCK Planning Book
Posted: Oct 23, 2006 6:59 AM in response to: CESAR BENITO in response to: CESAR BENITO
Click to edit this message... Edit Click to delete this message... Click to branch this thread starting with this message... E-mail author Click to report abuse... E-mail this message Click to reply to this thread Reply
Hi Cesar/Rasec,
If I understand correctly you want users not to change any data while some background job is being run. One way to handle this would be to lock and unlock the concerned planning area. This will prevent any users from making changes to the data in the planning area which should also mean your background job will not fail due to locks on data selection by users.
For this you can develop customization to do locking and unlocking of the planning area. The function module ENQUEUE_/SAPAPO/E_PAREA can be used to lock planning area while DEQUEUE_/SAPAPO/E_PAREA to unlock the planning area.
Hope this gives you some direction.
Thanks,
Somnath -
Goods receipt on a PO from handling unit
I need to do GR on a PO from a handling unit. Basically i plan to create a handling unit when the goods are received, pack the materials that are received into this HU and post the GR with this HU against the PO.
I want to avoid the inbound delivery for the PO.
i planned to use VLMOVE but unable to add the movement type 101 to handling units tab. Can you please guide how to add this.
The other option that we are considering is doing it through ABAP but we have not found any BAPI for this. Please help if you have some idea on this .Hi,
You can not use VLMOVE with 101.
If you want to avoid the inbound delivery, you need to :
receive the materials on a MM storage location that is not HUM managed,
create the HU with HU02 on the MM storage loc
and then do a VLMOVE from this MM storage loc to your HUM storage loc with movement 311.
I did it on one project. Works well.
But inbound delivery is better from my opinion.
Rgds,
Philippe -
Handling unit transfer (311 move) using bapi_goodsmvt_create
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 UpadhayayThis 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.
Maybe you are looking for
-
Is there a known issue with motherboard resources with nf2?
hello, i just bought an epox nf2, setup everything, install xp pro, BUT after installing all drivers, i get a punctuation mark on one of the motherboard resources in dvice manager, its the second one, because i think there are 3 mobo resources. what
-
Option of changing font in List display
Hi, Is there a option of changing the font size of the fields in List display using write statement. if there is a standard program,please let me know the name. Thanks.
-
Time machine & buffalo linkstation
This is my configuration : Imac mac os 10.7 mac book air 10.8 Buffalo link station duo firmware 1.64 I create a folder with time machine attribute, I can see the folder on the desktop but I can't use it for time machine backup. Anyone has Buffalo lin
-
OK I am EXTREMELY p'd off but I will try to stay calm while typing this. SEVERAL TIMES EVERYDAY FOR WEEKS my internet has been constantly cutting off randomly, sometimes for as long as 2 hours at a time. When I run a diagnosis, it says something alon
-
I want to sell off my old MacBook Pro and do not want any of my old stuff on it for the next person to fool around with. I'd like a clean-slate for the next guy/gal. It's a 17-inch that I purchased back in '07. It is currently running Snow Leopard af