Handling unit creation in existing shipment via BAPI or IDOC
Dear all,
Dose any one tried and succeed packing deliveries items in an existing shipment in the shipment level via BAPI or IDOC.
I tried to use IDOC massage type SHPADV. The problem was that it's creates a new shipment with the same deliveries and pack their items, although I entered the existing shipment number.
With regards to "BAPI_SHIPMENT_CHANGE", it is seems like this BAPI is not an option. It is update the shipment in any shipment field but not creating HU in shipment level.
Dose there any solution via those options or there is any other solution.
Thanks in advance,
Itai
I tried simulating this LSMW (message type- PREQCR1, Baisc type -PREQCR101) and it is working fine. I used creation indicator = R in item segment - E1BPMEREQITEM and have not updated value for this field in Header. So try without any value for CREATE_IND in HEADER and just pass R in item.
yogesh
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 -
Handling unit creation in the out bound Process
Hi All,
If we are not activate Storage Unit management/HU management in the warehouse and still create HUu2019s during outbound process via packing transfer order? We donu2019t want to manage stock at SU/HU level but create handling unit for material during outbound process. Is it possible?
Please give me the suggestions.
Thanks
PrasadHi Prasad,
Yes it is possible. You will have to use handling units only as shipping units in the outbound delivery packing function. The handling unit can be defined during the transfer order confirmation (you have this in LT12 as packing) or in the delivery after the TO confirmation. You can only perform packing before goods issue.
I hope i'll helps you lot
Regards
Madhu -
Issue in Handling Unit creation.
Dear All,
We are using Handling Units functionality in the process order. We are doing packing after confirmation, at the time of packing system is creating HU for those quantities which were confirmed at the last operation. E.g. Confirmation quantity is 90 and order quantity is 100 then system is creating HU for 90 quantities. This is working absolutely fine.
If confirmed quantity is greater than Order quantity, then system is packing the quantities as per the order header quantity only. E g. Confirmation quantity is 110 but Order quantity is 100 then system is creating HU for the 100 quantity only. In this case system should create HU for all the confirmed quantities.
How to solve this issue. Thanks in advance.
Regards
AmitHello Amit,
Can you please provide the step you are doing in this process. Hope packing is being done automatically during confirmation.
Regards,
Sana -
Dear Friends,
I am able to create the Handling Units using BAPI_HU_CREATE but not able to assign the HU to delivery.
I can see the HUs are created in VEKP tables correctly.
I am using the FM 'HU_ASSIGN_HUS_TO_OBJECT' to assign this to delivery ( LIKP-VBELN ).
See the code below, in debugging all the values gets filled correctly including lt_hu_units but HUs are not assigned.
I can not see those later on in VL02 & then clicking on Pack from menu bar.
Not sure why the below FM not working correctly?
Pls. see portion of code below for your referance:
ls_hu_units-top_hu_external = lv_hukey.
ls_hu_units-venum = ls_huheader-hu_id.
ls_hu_units-rfbel = gs_header_details-vbeln.
ls_hu_units-rfpos = 10.
APPEND ls_hu_units TO lt_hu_units.
ls_object-object = 01.
ls_object-objkey = gs_header_details-vbeln.
CALL FUNCTION 'HU_ASSIGN_HUS_TO_OBJECT'
EXPORTING
is_object = ls_object
it_handling_units = lt_hu_units
IT_HUM_QM =
IMPORTING
et_messages = lt_messages
My Regards,
PrashantHi David.
There are two areas for creating packing instructions
Packing instructions and then packing instruction determination
Transaction POF1 and POP1 (Cannot remember which is which)
You will need materials set up to represent packing items such as pallets etc, and these are then included in the packing instruction.
Config in HUM will allow you change the level of determination, plant etc
Good luck -
Handling Unit creation at Sales order Level
Hi Experts ,
Please let me know,how can a handling unit be created at sales order level.
Your comments will be appreciated
Regards
AlbertAlbert Ackerman wrote:>
> Hi Experts ,
>
> Please let me know,how can a handling unit be created at sales order level.
>
> Your comments will be appreciated
>
> Regards
>
> Albert
Hi Albert,
I am not sure if i got your requirement correctly.
Nevertheless if you are asking where do you maintain Handling Type HT in sales order:
Choose the line items double click (goto details of line items)
Go to Excise Duty tab and put the required Handling type.
If you want to know where do we configure Handling types.
Goto
SPRO->Industry Solution Oil&Gas(downstream)->TDP(Tariffs, Duties & Permits)->Global Settings->Parameter Definition->Set Handling Type.
If you want to know the related tables for Handling type they are
OIH07, OIH27
Hope i addressed to your expectation.
Post for furthur clarification
Regards
Abhishek Swarup -
How to create a new Handling unit assigned to a Shipment?
Hi,
has anyone an experience how to create a new HU and assign it to a shipment (object type VEKP-VPOBJ = '04')?
I need to create it via SAPConsole transaction. Originally I intended to use LM19 to create an unassigned HU and to assign it further on via some BAPI. But I could not find any suitable BAPI for the assignment. Standard transaction LM24, allows only to create a HU with an assignement to a delivery (outbound/inbound).
Thank you
MartinIf you want to use function modules to accomplish this, here is 1 way.
BAPI_HU_CREATE
BAPI_TRANSACTION_COMMIT
BAPI_HU_CHANGE_HEADER
HU_POST
lw_hproposal-hu_exid = i_exidv. "Ext HU# Optional
lw_hproposal-hu_status_init = 'A'. "Planned. -
lw_hproposal-pack_mat = i_pack_mat. "Packaging Material
* This will create an UNASSIGNED HU object type 12.
CALL FUNCTION 'BAPI_HU_CREATE'
EXPORTING
headerproposal = lw_hproposal
IMPORTING
huheader = lw_huheader
hukey = lv_hukey
TABLES
itemsproposal = li_iproposal
return = li_return.
* I could not assign to a shipment unless the commit was done.
IF lv_hukey IS NOT INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
return = lw_return.
IF sy-subrc NE 0.
APPEND lw_return TO et_return.
ENDIF.
* Assign to a Shipment
lw_huheader-pack_mat_object = i_object. "04-HU Type for Shipment
lw_huheader-pack_mat_obj_key = i_obj_key. "Shipment #
lw_huheader-dc_custom_mat = i_dc_custom_mat."Sets the Dist Channel
CALL FUNCTION 'BAPI_HU_CHANGE_HEADER'
EXPORTING
hukey = lv_hukey
huchanged = lw_huheader
IMPORTING
huheader = e_huheader
TABLES
return = li_return.
e_hukey = lv_hukey.
*It is still not attached to the shipment until HU_POST is done.
LS_OBJECT-OBJECT = P_OBJTYP. "04
LS_OBJECT-OBJKEY = P_OBJKEY. "Shipment Number.
CALL FUNCTION 'HU_POST'
EXPORTING
IF_SYNCHRON = ' '
IF_COMMIT = 'X'
IS_OBJECT = LS_OBJECT
IMPORTING
ET_MESSAGES = LT_MESSAGES -
Error during creation of entry sheet via BAPI
Hi all,
I have a problem with that bapi and that user exit. I can create a entry sheet with the bapi BAPI_ENTRYSHEET_CREATE and get it accepted using the flag BAPIESSRC-ACCEPTANCE of the header.
But if i use the enhancement SRVEDIT in order to do a custom validation i get the following error during the creation of the entry sheet: "E SE 214 Error during update".
Even if i don't do anything in the user exit (only activate it) i still get the message "Error during update". Anybody knows if there is a problem with that user exit? should i do something specific to use that user exit (it doesn't exist any documentation for the user)
Anybody has solved the issue? Anyone knows another user exit to use in the moment of save the changes of the entry sheet?
Many thanks in advance
AaronHi John,
Some of the structures you have to fill for the IDOC belongs to a referencing ...X structure. For example structure BAPI1022_FEGLG002 and BAPI1022_FEGLG002X.
When you fill the capitalization dat (BAPI1022_FEGLG002-CAP_DATE = '19981231') it's necessary to fill the corresponding field (BAPI1022_FEGLG002X-CAP_DATE = 'X') to specify that the content of the field should be transferred to the fixed asset. Otherwise it'll be not transferred and you'll get an error message instead.
Regards Bernhard -
Issue: Handling unit creation
Hi,
While creating u2018Handling Unitsu2019 in transaction MFPP1 system creates it successfully in back groung BUT while trying u2018Onlineu2019 it ask for u2018Packing Instructionu2019, after giving input of same u2018Packing Instructionu2019 (Which system fetch in back ground) it gives error u201CMaterial doesnu2019t maintain in packing instruction ##u2019.
Request you to suggest possible reasons.dear friend, do you have correct determination record ?
as far as i know system starts packing instruction determination when you enter a quanitity of a material to be packed and choose Pack automatically.
Prerequisites as follows:
You have created a packing instruction/reference packing instruction for packing with packing instructions.
You have made the settings for packing instruction determination in Customizing.
Customizing for packing instruction determination is preset in the standard system. However, you can extend the settings in the customer name range. You need the following for packing instruction determination:
- condition table
- access sequence
- determination type
- determination procedure.
You have also defined determination records.
just in case look here:
http://help.sap.com/saphelp_47x200/helpdata/EN/e5/de47aba71411d2b44e006094b9b9dd/frameset.htm
good luck -
Hi all,
Im trying to create Handling Units in a Shipment with Deliveries by use of idoc SHPMNT05
According to SAP docs I need to fill field EXIDV with $1, $2 etc.... in both segments E1EDT37 and E1EDT43 so that upon posting a HU Identifier number is created.
However, this is not working and Im getting the error that system cannot create HU $1
<E1EDT37 SEGMENT="1">
<EXIDV>$14</EXIDV>
<TARAG>13.600</TARAG>
<GWEIT>KGM</GWEIT>
<BRGEW>228.600</BRGEW>
<NTGEW>213.600</NTGEW>
<GWEIM>KGM</GWEIM>
<BTVOL>13679746.600</BTVOL>
<VHILM>not filled</VHILM>
<E1EDT43 SEGMENT="1">
<VELIN>3</VELIN>
<EXIDV>$1</EXIDV>
</E1EDT43>
<E1EDT43 SEGMENT="1">
<VELIN>3</VELIN>
<EXIDV>$2</EXIDV>
</E1EDT43>
Any ideas are most welcome.
rgds,
ericHi,
you need to make sure the customizing of handling units match the values you give in your IDoc.
Identifiers for handling units are determined during creation according to settings in Customizing for number assignment of the packaging material type for the packaging material that is being used. You can also assign default values for identifiers when you create handling units, although these values must correspond to the settings in Customizing. -
How to Issue Output for a Single Handling Unit from Shipment
Hi,
I would like to know how to issue an Output for a Single Handling Unit from Shipment, i mean i have attached an output type 'ZPN0' (Customised) to a Handling unit in the Tcode VT03N to a Handling Unit.
VT03N>click on Handling unit icon> select a handling unit --> go to Extras --> Output --> give the Out put type (maintained)) -- > saved.
Once i come back --> i did not find any option / icon to issue the output from VT03N for handling unit. We have an option to issue output for the Entire Shipment.
Tried alternative by going to VT70, give the shipment no, and output type for handling unit. When executed, Getting a message "No Messages Found".
let me know how to issue the output for a handling unit of the shipment. Only Handling Unit & not the entire shipment.
Regards,
SwapnaDear Swapna ,
maintain out put type for handling units in V V 61 -
Output for a Single Handling Unit from Shipment
Hi,
I would like to know how to issue an Output for a Single Handling Unit from Shipment, i mean i have attached an output type 'ZPN0' (Customised) to a Handling unit in the Tcode VT03N to a Handling Unit.
VT03N>click on Handling unit icon> select a handling unit --> go to Extras --> Output --> give the Out put type (maintained)) -- > saved.
Once i come back --> i did not find any option / icon to issue the output from VT03N for handling unit. We have an option to issue output for the Entire Shipment.
Tried alternative by going to VT70, give the shipment no, and output type for handling unit. When executed, Getting a message "No Messages Found".
let me know how to issue the output for a handling unit of the shipment. Only Handling Unit & not the entire shipment.
Regards,
SwapnaHi,
For VT70 transaction have entered the Print control and Output device. -
Hi Experts,
we are printing Output Labels for Handling Units after saving a Shipment.
Following case:
User save a Shipment and all HU-Outputs are created.
If the User delete this Shipment and create another one with another Delivery ID (withsame ****-to-Party, Materials, HU...), the system don't print the HU-Output because it already exist (into VL74). We have to print it manually with Processing Mode 2.
Can I use a User-Exit (i.e. EXIT_SAPLV56U_002) to re-print the HU-Output? Which Delivery ID contain the HU-Output (the old or the new one)?
Regards,
DavidHi David,
you can use VL71 to reprint the out puts. Kindly check.
Regards,
SK -
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. -
Handling unit without inventory management
Hi Experts,
In our scenario, we have Goods reciept from production into Storage location 1000 which is IM managed, Later the stocks are transfer posted into storgae location 1100 which is HU/WM managed. Now in 1100 i have found HU's which have been created with status 'Handling unit without Inventory management'.
Can someone explain to me what does it mean when a HU gets created with this status? under which scenario does the system create the HU with this status?
Also when this HU is scanned for putaway the system gives error message Handling unit does not exist in SAP. Can someone let me know the resolution or the root cause for this issue.
Thanks in advance.
HarishHi,
The above mentioned status is when a Handling Unit created, but the Inventory management is not yet posted for the content materials of the HU
I can give an example: Created a Inbound Delivery for material XXX. Then a HU is created in Packing screen, but the PGR is not yet done. At this stage, HU has the same status
Hope this helps
If the GR/GI is reported for HU contents, then the HU status will change. With you case, a Handling Unit is just created, but no further tansaction like, packing, GI or GR is done.
Regards,
Maybe you are looking for
-
I had to have the hard drive replaced on my computer and i lost all my iTunes data and I hadn't backed up my music. can I still transfer music from my iPod to a new iTunes?
-
Problem in Dynamic View Creation
Hello Every1, I have to create 2 views (view1 and view2). If there is any alternation (adding/deleting fields) in view1 it has to reflect automatically in view2 also.If u have any idea how to do this please let me know. Regards, Siva.
-
Is it safe to charge iphone with HTC charger?
I'm in travel now and I haven't access to my charger. is it safe to charge my iphone with HTC or sonyErricson charger. the cable connector is with me.
-
What games from the app store can i buy & play on 13" macbook air???
Hey i just got a new 6/2012 macbook air and love it. just wanted to get some games for it. and ive gone to the app store, but alot of the good games require certain graphics cards etc... can anyone tell me what games i can download and play?? as its
-
RPUAUD00: Logged changes in Infotype data
Hi All, I am trying to execute RPUAUD00 and the data is not fetched into the report. any suggestions.