Packing (HU_PACKING_AND_UNPACKING)
Hi Guru's,
I've problem with packing materials into handling units in shipment.
When we called function module hu_packing_and_unpacking system break with error: V51VP - item was not found, process canceller - error HUGENERAL 056.
We read all post on this forum and add function modules: v51P_get_tables, hu_get_hus, but it doesn't work.
Have you any ideas to solve this problem?
Best regards,
Seba
calling these function modules in sequence will help you.
call function 'ENQUEUE_EVVBLKE'
exporting
vbeln = temp_vbeln
exceptions
foreign_lock = 1
system_failure = 2.
call function 'SD_DELIVERY_PACKING_VIEW'
tables
i_deliv = i_deliv
i_vtrlk = i_vtrlk
i_vtrlp = i_vtrlp (data not req)
c_vbplk = i_vbplk (data not req)
c_vbplp = i_vbplp (data not req)
exceptions
no_deliveries = 1
others = 2.
call function 'HU_PACKING_AND_UNPACKING'
exporting
is_packing_request = is_packing_request
importing
ef_rcode = ef_rcode
es_p_request = is_packing_request
exceptions
missing_data = 1
hu_not_changeable = 2
not_possible = 3
customizing = 4
weight = 5
volume = 6
serial_nr = 7
fatal_error = 8
others = 9.
if sy-subrc = 0.
commit work and wait.
endif.
call function 'HU_POST'
exporting
if_commit = 'X'
is_object = temp_objects.
call function 'DEQUEUE_ALL'.
Similar Messages
-
Packing from Shipment using HU_PACKING_AND_UNPACKING
Hi ,
Am trying to write a a program to do packing from a shipment . I have the handling unit number I need to automate the packing process uisng the program .. Please find the my program below .. i am getting the error
V51VP - item was not found - process cancelled...
Can you please help ...I think am not filling the internal table GT_V51VP!!! how to get it filled ...
AM calling below
1) HU_GET_HUS
2) V51P_FILL_GT
3) HU_PACKING_AND_UNPACKING -
get Sy-subrc 8 ( V51VP - item was not found - process cancelled...)
4) HU_POST
Am calling the FMs in the below orderHi,
it seems that I´m currently facing the same problem.
Did you solve your problem? Or did you found a work-a-round?
When looking through the SDN I´m still not sure if HU_PACKING_AND_UNPACKING can be used with shipment HU or not.
Best regards,
Tobi -
Hello All,
Iu2019ve created a shipment with materials and Handling units with function BAPI_SHIPMENT_CREATE.
I see the materials to pack and the Handling units but they are not packed together.
i try to use function HU_PACKING_AND_UNPACKING but it doesn't work
i think i have a problem with an internal table GS_HEADER51 which is empty when i try with my propgram
i have got a fatal error sy-subrc = 8
How can i do ?
is HU_PACKING_AND_UNPACKING the right fiunction to pack in shipment ?
Thanks for your answer,
Regards
MY
Edited by: MY on May 6, 2010 9:19 AM
Edited by: MY on May 7, 2010 9:19 AMHello All,
Iu2019ve created a shipment with materials and Handling units with function BAPI_SHIPMENT_CREATE.
I see the materials to pack and the Handling units but they are not packed together.
i try to use function HU_PACKING_AND_UNPACKING but it doesn't work
i think i have a problem with an internal table GS_HEADER51 which is empty when i try with my propgram
i have got a fatal error sy-subrc = 8
How can i do ?
is HU_PACKING_AND_UNPACKING the right fiunction to pack in shipment ?
Thanks for your answer,
Regards
MY
Edited by: MY on May 6, 2010 9:19 AM
Edited by: MY on May 7, 2010 9:19 AM -
HU_PACKING_AND_UNPACKING - HU not found
Hello,
here is short description of my problem:
1. HU is beeing created with HU02 transaction (I can seen relevant entries in table VEKP with SE16)
2. My task is to pack an inbound delivery materials into previously created HU. It is supposed to work similar to LM71 transaction (entering delivery no) or LM24 (entering plant, sor. loc etc). I have tried PROCESS_HU_INBOUND_DLVRY, but I am not sure if that was a good choice (had to feed it with many parameters I did not know). Then I have found HU_PACKING_AND_UNPACKING and it seems to be the perfect FM to do the job ... but it does not work. Every time I try to run it (even in test mode of SE37) I get the same error message: "HU into which you want to pack could not be found". I have tried to enter VENUM, EXIDV and both with or without leading zeros. Any ideas what's wrong? I know that the problem is in fact caused by FM V51P_FIND_HEADER which does not work ... it tries to read some data from internal table gt_xvekp ... but this table is empty
Please let me know if HU_PACKING_AND_UNPACKING is the right FM to do the job and what I have to do to make it work.
Regards,
FSHello,
thank you again for tips. I did another step but am still far from calling it a day. 'HU_GET_HUS' works fine, no HUGENERAL089 error, but now 'HU_PACKING_AND_UNPACKING' throws' Packing not possible since there is no quantity to be packed' as you can see below I am filling QUANTITY with value ... any ideas?
Here is my code (excerpt) maybe it will help you to find some errors:
CALL FUNCTION 'HU_GET_HUS'
EXPORTING
* IF_OBJECT =
* IF_NO_DB_SELECT = ' '
IF_LOCK_HUS = 'X'
* IF_WITH_TEXT = ' '
* IF_NO_LOOP = 'X'
* IF_MORE_HUS =
* IS_OBJECTS =
* IT_OBJECTS =
* IT_HUS =
IT_VENUM = LT_VENOM
* IT_HANDLE =
* IF_MARA_PACKMITTEL = ' '
IMPORTING
ET_HEADER = lwa_header
* ET_ITEMS =
* ET_ITEM_SERIALNO =
* ET_HISTORY =
* ET_HIGHEST_LEVELS =
* ET_MESSAGES =
EXCEPTIONS
HUS_LOCKED = 1
NO_HU_FOUND = 2
FATAL_ERROR = 3
OTHERS = 4
lwa_packing_request-VENUM = '184'.
lwa_packing_request-VELIN = '1'.
lwa_packing_request-QUANTITY = '10'.
*lwa_packing_request-BELNR = '180000101'.
*lwa_packing_request-POSNR = '10'.
lwa_packing_request-VEANZ = '1'.
lwa_packing_request-MATNR = '1000000-000001'.
lwa_packing_request-WERKS = 'X001'.
lwa_packing_request-LGORT = '1010'.
lwa_packing_request-LGNUM = 'X01'.
lwa_packing_request-LGTYP = 'A01'.
lwa_packing_request-LGPLA = '4500000056'.
CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
EXPORTING
* IF_REPACK = 'X'
is_packing_request = lwa_packing_request
IMPORTING
EF_RCODE = lv_rcode
ES_P_REQUEST = lwa_e_packing_item_hu
ES_ITEM = lwa_es_item
CHANGING
CS_HEADER = lwa_header
EXCEPTIONS
MISSING_DATA = 1
HU_NOT_CHANGEABLE = 2
NOT_POSSIBLE = 3
CUSTOMIZING = 4
WEIGHT = 5
VOLUME = 6
SERIAL_NR = 7
FATAL_ERROR = 8
OTHERS = 9 -
Hu_packing_and_unpacking of auxiliary packaging materials
Hello Gurus!
I am trying to add auxiliary packaging materials to HU with HU_PACKING_AND_UNPACKING and this one works fine (I can see material and quantity added to VL32N->Pack screen, and relevant entry in table VEPO is created). The problem is, that when I do it with VL32N and I provide the transaction with PSTYV (Item Category), WERKS (Plant) and LGORT (Stor. Location) a new position in delivery is created and POSNR_GEN is filled with its value.
I am unable to do the same with HU_PACKING_AND_UNPACKING. I provide FM with is_packing_request-werks, -lgort and -pstyv but the delivery positions are not automatically generated and assigned. Only LGORT gets filled with supplied data ... other fields (WERKS, PSTYV) not and of course POSNR_GEN stays empty
Any ideas how to make it work from FM as it works from T-Code?
Regards,
FSI have tried HU_PACKING_REFRESH ... but it is not working as supposed
-
Pack Handling Units on Shipment
Hi Experts,
We have a requirement to Pack the Bundles (SUB - HU's) onto TRUCKs (HU's) in Shipment.
I have been trying various FM's and also gone through the links with little success. In one of the links, friend Christopher has suggested to use 3 FMs in order to do this.
1. RV_SHIPMENT_VIEW
2. HU_PACKING_AND_UNPACKING
3. HU_POST
I have tried this with some success but not in the way we wanted. Instead of packing BUNDLE - sub HU onto the TRUCK - HU in shipment, it was packing the bundle onto shipment.
Can someone please tell me how to achieve my requirement?
Thanks in advance.
Regards,
Lakshmi NarayanaPlease check the following code snippet.
Certain attributes are hardcoded, please ensure that you change it accordingly to suit your needs.
types: VSEP_S_PITHU TYPE PACKING_ITEM_HU.
types: VSEP_T_OBJKEY TYPE HUM_OBJECT_T.
types: VSEP_S_OBJKEY TYPE HUM_OBJECT.
data: l_PACKING_REQUEST type VSEP_S_PITHU.
data: l_VEKPVB like VEKPVB.
data: l_header51 like HEADER51.
data: l_IT_OBJECTS TYPE VSEP_T_OBJKEY.
data ls_objects TYPE vsep_s_objkey.
data l_vbplk_a like vbplk.
Read the packing details (HUs) for the shipment
move 'IEQ' to st_shipment.
move i_shipment to st_shipment-low.
append st_shipment to t_shipment.
CALL FUNCTION 'SD_PACKING_FOR_SHIPMENT'
TABLES
SHIPMENT_TAB = t_shipment
VBPLK_TAB = t_hu
VBPLP_TAB = t_hu_heirarchy
EXCEPTIONS
OTHERS = 3.
IF SY-SUBRC <> 0.
raise NO_HUS_ON_SHIPMENT.
ENDIF.
Sort table by sortl field to ensure that the order of
entries in the table reflect the true order of items
in the consist
sort t_hu by sortl venum.
Find the top level (consist) HU
read table t_hu
into l_vbplk_a
with key veltp = 'A'.
Pack all lower level HUs into the higher level
loop at t_hu into st_hu
where veltp ne 'A'.
clear l_header51.
l_header51-OBJECT = '04'.
l_header51-OBJKEY = i_shipment.
l_header51-PLANHU = 'A'.
l_header51-SPRAS = sy-langu.
l_header51-VTWEG = '04'.
l_header51-SPART = '10'.
l_header51-profile = '0006'.
clear ls_objects.
ls_objects-object = '04'.
ls_objects-objkey = i_shipment.
APPEND ls_objects to L_IT_objects.
CALL FUNCTION 'V51P_READ_HUS_FOR_TRANSPORT'
EXPORTING
IF_LOCK_HU = 'X'
IF_FIRST = 'X'
IS_HEADER51 = l_header51
IT_OBJECTS = l_it_objects
EXCEPTIONS
HUS_LOCKED = 1
NOTHING_FOUND = 2
FATAL_ERROR = 3.
if sy-subrc ne 0.
raise hu_cannot_be_locked.
endif.
do 2 times.
Do this twice as it is possible that the update of the
delivery has not completed (even though commit and wait)
CALL FUNCTION 'RV_SHIPMENT_VIEW'
EXPORTING
SHIPMENT_NUMBER = i_shipment
OPTION_TVTK = 'X'
OPTION_TTDS = 'X'
OPTION_ITEMS = 'X'
OPTION_STAWN_READ = 'X'
OPTION_SEGMENTS = 'X'
OPTION_PARTNERS = 'X'
OPTION_MESSAGES = 'X'
OPTION_PACKAGE_DIALOG = 'X'
OPTION_FLOW = 'X'
OPTION_DELIVERY_LOCK = 'X'
OPTION_AUTHORITY_CHECK = 'X'
ACTIVITY = 'V'
OPTION_NO_REFRESH = ' '
OPTION_IGNORE_MISSING_DELIV = 'X'
EXCEPTIONS
NOT_FOUND = 1
NO_AUTHORITY = 2
DELIVERY_MISSING = 3
DELIVERY_LOCK = 4
OTHERS = 5.
if sy-subrc eq 4.
wait up to 1 seconds.
else.
exit.
endif.
enddo.
CASE sy-subrc.
when 0.
when 4.
raise DELIVERY_CANNOT_BE_LOCKED.
when others.
raise CANNOT_READ_SHIPMENT.
endcase.
clear l_packing_request.
l_PACKING_REQUEST-VENUM = l_vbplk_a-venum.
l_PACKING_REQUEST-EXIDV = l_vbplk_a-exidv.
l_PACKING_REQUEST-VELIN = '3'.
l_PACKING_REQUEST-SUB_HU_EXIDV = st_hu-exidv.
l_PACKING_REQUEST-QUANTITY = 1.
l_PACKING_REQUEST-ALTME = 'EA'.
l_PACKING_REQUEST-VEANZ = 1.
CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
EXPORTING
IS_PACKING_REQUEST = l_packing_request
EXCEPTIONS
OTHERS = 9.
case sy-subrc.
when 0.
when others.
message i999(zv) with 'Error while packing - return code' sy-subrc.
raise ERROR_PACKING.
endcase.
CALL FUNCTION 'HU_PACKING_UPDATE'.
commit work and wait.
endloop.
ENDFUNCTION. -
HU_PACKING_AND_UNPACKING not working after WS_DELIVERY_UPDATE
Hello,
I have noticed strange behaviour of WS_DELIVERY_UPDATE ... please take a look at that:
1. I am packing items to delivery using HU_PACKING_AND_UNPACKING (and HU_POST) ... items are added/updated to vepo and are visible in VL33n.
2. After all the packing is done I am calling WS_DELIVERY_UPDATE and relevant information are updated in VL33n.
3. When (wihout closing my program) I pack another materials (or add new quantities to existing) using HU_PACKING_AND_UNPACKING (and HU_POST) ... data is not updated in vepo and VL33N ...
4. After closing the program and starting it again I can perform step 3. without problem, but again only until WS_DELIVERY_UPDATE is called for the first time.
The idea of the program is to pack different materials to different HU without restarting the program after each WS_DELIVERY_UPDATE ... I guess that it sets some global variables or other stuff I cannot find. Have you faced sth like that? Any ideas how to solve it? Maybe there is an easy way to "clear" user buffer from abap program? Or maybe there is FM that "resets HU global variables" to initial status ...
Looking forward to any tips ...
FSI have tried HU_PACKING_REFRESH ... but it is not working as supposed
-
HU_PACKING_AND_UNPACKING
Hi all,
I would like to use the function called HU_PACKING_AND_UNPACKING,
to pack one or more Handling Units of an outbound delivery into another Handling Unit.
Normally this can be done through transaction vl02n and than go to packing (of HU's).
I need to make a programm which contains the packing of HU's.
The function HU_PACKING_AND_UNPACKING calls the function V51P_FIND_HEADER,
which in turn uses a global table called GT_XVEKP.
In the VL02N I see the table contains the HU's involved in the packing,
but when (in SE37) I test the function the table is empty and I get the error message,
that the HU into which I want to pack cannot be found.
Of course in my own programm the table is empty, how do I get the table filled with the right data?
Or am I going the wrong way with the function to pack HU's?
SwethaI would suggest you not to use function modules from function group V51P directly, but instead use modules from group V51E if possible.
Generally the following call sequence works:
1. call function 'HU_GET_HUS' - to initiate data (internal tables of function group V51P, GT_XVEKP among them)
2. call some module from function group V51E to create/change data
3. call function 'HU_POST' - to save tha data to database
Maybe fm HU_PACKING_CREATE is the one you need (I haven't used it but you can try).
Alternatively, instead of using FMs you can create HUs with batch input using "single entry" screen (it works fine).
regards -
Handling Unit packing into shipment
Hi experts,
At our client, we are developing a new packing function similar to HUPAST, but which is capable of packing at the shipment level.
Our requirement is that, packing will be done directly at the shipment level. Products are NOT packed into deliveries first. For this, we made packing not mandatory in the configuration which allows us to pack directly at the shipment without packing at the delivery. We tried using VT02N and pack the materials of different deliveries into different HUs. But this VT02N screen is not user-friendly (scanner friendly) and we want to develop something similar to HUPAST, but at the shipment level.
Is there a FM which will create HU and associate it with the shipment? BAPI_HU_CREATE will create HU, but can we link that to shipment using BAPI_HU_CHANGE_HEADER or is there any FM for this
Please help me
Thanks
ChallaHi,
I hope you can use below FM's for packing.
BAPI_HU_CREATE
HU_PACKING_AND_UNPACKING
HU_GET_HUS
HU_POST
WS_DELIVERY_UPDATE
Hope this helps you....
Rgds,
Kris. -
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 -
Handling unit error: HU into which you want to pack could not be found
Dear All,
I used BAPI
BAPI_HU_CREATE
HU_PACKING_AND_UNPACKING
To create handling unit for delivery,
But when I run HU_PACKING_AND_UNPACKING then error:
u2018HU into which you want to pack could not be found,u2019,I know system not found the item unti to Pack,But I donu2019t know how to set this field?
Could you give some help?
ThanksTry this
DATA S_VEKP TYPE VEKP.
DATA: LS_VBKOK_WA TYPE VBKOK,
LT_PROT TYPE TABLE OF PROTT,
LT_REHANG TYPE TABLE OF HUM_REHANG_HU,
LT_REHANG_WA TYPE HUM_REHANG_HU.
LS_VBKOK_WA-VBELN = LIPS-VBELN." '0080002891'.
LS_VBKOK_WA-WABUC = 'X'.
LS_VBKOK_WA-VBELN_VL = LIPS-VBELN."'0080002891'.
LS_VBKOK_WA-VBTYP_VL = '7'.
LOOP AT HUITEM.
LT_REHANG_WA-VENUM = HUHEADER-HU_ID.
LT_REHANG_WA-VEPOS = HUITEM-HU_ITEM_NUMBER.
LT_REHANG_WA-RFBEL = LIPS-VBELN."'0080002891'.
LT_REHANG_WA-RFPOS = LIPS-POSNR. "'000010'.
APPEND LT_REHANG_WA TO LT_REHANG.
ENDLOOP.
VEKP-VHILM_KU = VEKPVB-EXIDV.
DATA I TYPE I VALUE 1.
LOOP AT XLIPS INTO LIPS.
READ TABLE TVEKP INTO S_VEKP INDEX I.
VEKP-VHILM_KU = S_VEKP-EXIDV.
vekp-vhilm = 'IPALLET'.
VEKP-HU_LGORT = 'X'.
VEKP-EXIDV = ''.
i = i + 1.
read table tvekp into vekp index i.
CALL FUNCTION 'V51P_FIND_HEADER'
EXPORTING
IF_HEADER_INDEX =
IS_GENERAL =
IS_VEKP = vekp
IMPORTING
ES_HEADER = evekp
EF_HEADER_INDEX =
EXCEPTIONS
NOT_FOUND = 1
NO_SHP_MAT = 2
ERROR_ON_EXIDV = 3
FATAL_ERROR = 4
OTHERS = 5
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PACKING**************
DATA IS_V51VP TYPE V51VP.
IS_V51VP-TMENG = LIPS-FMENG.
DATA ET_CHANGED TYPE VSEP_T_CHANGED.
DATA ES_ITEM TYPE V51VP.
break vijgal.
MOVE-CORRESPONDING LIPS TO IS_V51VP .
IS_V51VP-VBELN = '10'.
IS_V51VP-HU_LGORT = 'X'.
CALL FUNCTION 'V51P_FIND_MATERIAL'
EXPORTING
IF_INDEX_MATERIAL =
IF_NO_OBJECT =
IF_DONT_CHECK =
IF_FAST_ENTRY =
IS_V51VP = IS_V51VP
IT_V51VP =
IMPORTING
EF_INDEX =
ES_MATERIAL_ITEM = ES_ITEM
ET_CHANGED = ET_CHANGED
ET_SERNR =
EXCEPTIONS
ITEM_NOT_FOUND = 1
MAT_NOT_FOUND = 2
ERROR = 3
OTHERS = 4
*ES_ITEM-HU_LGORT = 'X'.
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE-CORRESPONDING LIPS TO HU.
HU-VBELN = ' '.
hu-EXIDV = evekp-exidv."'$'.
hu-venum = evekp-venum.
*hu-VEPOS = lips-posnr.
hu-VELIN = '1'.
hu-BELNR = LIPS-VBELN.
hu-POSNR = lips-posnr.
*hu-SUB_HU_VENUM
*hu-SUB_HU_EXIDV
hu-QUANTITY = lips-LFIMG.
HU-GEWEI = LIPS-GEWEI.
HU-MAGRV = LIPS-MAGRV.
hu-ALTME = lips-meins.
hu-LGNUM = WHS_ID.
*HU-
hu-MEINS = lips-meins.
*hu-INVENT
hu-MATNR = lips-matnr.
hu-CHARG = lips-charg.
*SERAIL =
*SERPFL
hu-WERKS = lips-werks.
hu-LGORT = lips-lgort.
hu-P_MATERIAL = evekp-vhilm."'IPALLET'.
HU-CUOBJ = LIPS-CUOBJ.
MOVE-CORRESPONDING ES_ITEM TO HU_ITEM.
CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
EXPORTING
IF_REPACK =
IS_PACKING_REQUEST = hu
IMPORTING
EF_RCODE =
ES_P_REQUEST = HU
ES_ITEM = hu_item
CHANGING
CS_HEADER =
EXCEPTIONS
MISSING_DATA = 1
HU_NOT_CHANGEABLE = 2
NOT_POSSIBLE = 3
CUSTOMIZING = 4
WEIGHT = 5
VOLUME = 6
SERIAL_NR = 7
FATAL_ERROR = 8
OTHERS = 9
commit work. -
Pack an Unassigned HU , assign it to a delivery
Hi Friends,
I have an assignment of giving the following sequence.
1> Pack an unassigned HU
2> Assign it to the delivery
3> Change one of the field in header table of HU (VEKP-VHILM_KU)
I did complete the following sequence in module pool facing initial problem with updating the customer field
in the end with all the function module examples u know or can find in SDN but at the end had to directly do
database update on VEKP.
Now the issue is when a more than one line tems of an delivery are assigned to the same HU.
I am using WS_DELIVERY_UPDATE_2 how do i go with this also my sequence has got
BAPI_HU_PACK then the above FM which gives me an error occasionaly that HU is locked.
when i tried WS_DELIVERY_UPDATE_2 assynchronus it does it properly but then the field updation
VEKP-VHILM_KU does not happen.
Please provide me any FM sequence if any body has already faced the same problem i have already tried with
n no of options.
Thanks & Regards,
NarottamTry using HU_PACKING_AND_UNPACKING. SAmple code
LOOP AT it_comp_hu INTO wa_comp_hu.
l_packing_req-venum = wa_comp_hu-venum.
l_packing_req-exidv = wa_comp_hu-exidv.
l_packing_req-veanz = '1'. "PACK
l_packing_req-velin = '1'.
l_packing_req-belnr = w_sto_delivery.
l_packing_req-posnr = l_vepo-posnr.
l_packing_req-altme = w_lips-meins.
l_packing_req-meins = w_lips-meins.
l_packing_req-matnr = l_vepo-matnr.
l_packing_req-quantity = '1.000'.
CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
EXPORTING
is_packing_request = l_packing_req
EXCEPTIONS
missing_data = 1
hu_not_changeable = 2
not_possible = 3
customizing = 4
weight = 5
volume = 6
serial_nr = 7
fatal_error = 8
OTHERS = 9.
IF sy-subrc <> 0.
hu_create_flg_2 = 'X'.
EXIT.
error
CLEAR: v_msgv1, v_msgv2, v_msgv3.
v_msgv1 = text-031.
PERFORM display_message USING v_msgv1 v_msgv2 v_msgv3.
LEAVE TO SCREEN sy-dynnr.
ENDIF.
ENDLOOP. -
V51VP-TMENG not updated by HU_PACKING_AND_UNPACKING
Hello,
I am packing delivery to existing hum and using following FM:
1. HU_READ_DELIVERY_AND_INIT
2. HU_INITIALIZE_PACKING
3. HU_PACKING_AND_UNPACKING
4. HU_POST
Values in VEPO are updated and everything looks fine, but in VA33N (Packing) field V51VP-TMENG is not updated. Should I call any other FM to finally update those values? Maybe some specific settings in HU_POST are required?
Looking forward to any tips ...
Regards,
FHi,
I have to pass packed quantity (and I do) to is_packing_request-quantity ... it updates vepo table (and "Packed quantity" column in VL33N) but field "Partial quantity" (TMENG) remaines unchanged.
The funny thing is, that when I try to add another quantity of the same material to the same HU with LM71 it updates "Partial quantity" with newly entered values as well as with the old (uncommited?) from my FM ... it looks that I need to run some additional "post" to update "partial quantity". Tried to debug LM71 but haven't found anything so far.
Regards,
F -
FM to pack transfer order to HU
Hello Gurus,
I am trying to prepare a functionality to pack outbound delivery (using transfer orders) to HU. I wonder if any of you had ever tried to do sth like that and with which FMs? I can use of course HU_PACKING_AND_UNPACKING to pack HU and then call L_TO_CONFIRM to confirm packed quantities in TO, but maybe there is other, simpler way (like PROCESS_HU_INBOUND_DLVRY for processing inbound deliveries which makes almost everything ... packs hum, updates inbound delivery etc.).
Looking forward to your tips (maybe some source code examples).
Regards,
FilipHi,
Please try any of the below,
1.Look at function group L03B (Transfer order processing)
2.Use L_TO_CREATE_TR
3.BAPI_GOODSMVT_CREATE set:
GOODSMVT_ITEM-STGE_TYPE_PC = destination storage type or GOODSMVT_ITEM-STGE_TYPE_ST = destination storage type
4.Look at fm L_TB_VERAENDERN. This isn't RFC, but you might copy fm into ZL_TB_VERAENDERN and set RFC on.
Hope this helps.
Thanks,
Harini -
Error 'Handling unit was not blocked - action cancelled' for Packing
Hi Friends
I am trying to execute Functional Module HU_PACKING_AND_UNPACKING to Pack Sales Order Line Items in to HU.
But System is throwing unusual error Handling unit was not blocked - action cancelled
The Other SAP SDN thread advised to implement OSS Note 370195 , 331715.
The Input Code given in the Note 370195 SAP Developer can not find in our system.
SAP Note 331715 already implemented in our system.
Please help to resolve the issue for Packing Sales Order Line Items in to HU.
Thanks
SRRefer OSS Note 370195 , 331715
Maybe you are looking for
-
TCP/IP Timeout setting when using CLS
G'day community, I'm in a project where we need to change the link-loss detection for DMQ connection using TCPIP, independent of the systemwide TCPIP/IP settings (we're talking DMQ v5.0-RP47 in OpenVMS 8.4). There's no problem when using DMQ - DMQ co
-
Ias 10.1.2 and DISPLAY variable
Hi all. In production I have installed aix server (5.3) with ebs 11.5.10.2 and ias 10.1.2 (in new ORACLE_HOME). Everything works fine, but to make it clear, i need help regarding DISPLAY variable. On ebs 11i, DISPLAY variable is set to non existing I
-
Reconfiguring JCo (Urgent Pls Help ASAP)
Dear all, My back-end CRM system is getting migrated. So IP, username, password, client will get change. Now I have currently imported 8-10 RFC models from this existing CRM system. I have one JCo configured for the same. So if i change the existing
-
Need graphics drivers and Catalyst 12.11 Software for OS X 10.8.2 Mountain Lion (to support Radeon HD 7970 Graphics cards) Operating System -64-bit, OS X 10.8.2 Graphics Cards (all twelve) XFX Double D Radeon HD 7970 (FX797ATDFC) XFX Double D Radeon
-
Sharing Hard Drive - HT add a New One?
I have HDD sharing running fine. I can access my HDD's (attached to the desktop) from my laptop macs. I just added a new HDD and want to add it the list so it shows up as a shared HDD but cannot remember how. I looked through NETWORK and SHARING but