Handling Units w/function modules
Hi-
I am working with my developer on setting up a program so we create handling units from an outside program in SAP. We are using the function module BAPI_HU_CREATE to create the handling unit and attach the material and serial numbers. the problem is we still need to complete the packing of handling unit and do the T-code VLMOVE manually. Now I see some folks say use FM HU_CREATE_GOODS_MOVEMENT that will emulate VLMOVE, but I dont see any documentation.
Is there a better FM to create the handling unit at one time or does any one have documentation on HU_CREATE_GOODS_MOVEMENT? thanks for any info.
-Larry
We worked through the good movement function and are able to use as we need.
Similar Messages
-
Hi
We are on CRM 7.0 with ECC 6.0 as backend system.
I have maintained all the settings that are required to create a sales order.
But i am getting one error in header area::
Found no handler for remote function module SPC_GET_PRICING_PROCEDURE_INFO
Could any one provide me information on this.
Thanks in advanceHi,
Check this note.
884991
Your problem is related to VMC
Feel free to revert back.
-=-Ragu -
Exception Handling for a function module
There is a function module the program in which exceptions are handled. When the program is ran as a background job and when there is a exception arises does the background job fails or the exception gets handled ??? Pls help me out.....
it raises an exception you can catch it.
cx_root is the root class for exceptions.
DATA: ex TYPE REF TO CX_ROOT.
TRY.
call fm.
CATCH cx_root INTO ex.
ENDTRY.
message = cx_root->get_text( ).
this way your program will not stop..
regards,
Aparna -
Error handling for inbound function module
Dear all,
I have written my custom function module for matmas idoc extention.In the begining of function module i have used IDOC_INPUT_MATMAS01 and then have coded my BDC.For handling errors in caese BDC fails i am filling table idoc_status. wih status 51.
But this gives eror as-
Status records with status 51 after status 53
Message no. B1357
Diagnosis
The application function module controlling the ALE inbound processing has passed several status records to ALE. The status of the last of these was '51'. Before this, a status of '53' was passed.
Procedure
If you have written the application function module yourself, you need to change the program.
Can anybody guide me how to get the exact application errors in Application log.
Thank you.Hi,
You are using BDC after the FM 'IDOC_INPUT_MATMAS01'. Right??.... The problem is, The function Module IDOC_INPUT_MATMAS01 itself posts the material and set the status '53' i.e. document posted. You can not have any error status '51' after that.
I don't understand the need of BDC in spite of the FM 'IDOC_INPUT_MATMAS01'. But if whatever the reason, you still want to use the BDC and set the status to 51, After the FM 'IDOC_INPUT_MATMAS01' call, Delete status table where status = '53'. and then proceed for the BDC... -
Unit conversion function module
Hi,
Can anyone give me the details of this function module
Function Module name: MENGE_UMRECHNEN.
its urgent.
Thanks in advance.
vaibhavHi Vaibhav,
This function module gives you the provision of conversion of quantities from Base Unit of Measure to any of the Alternative Unit of Measures or vice-versa.
But this function would be done only for the materials and its limitation would be determined by the data maintained for a material in T006 table.
Using this FM you can convert a material quantitity of unit 'X' to unit 'Y' only if 'X' and 'Y' are of the same dimension.
<b>Reward points if this helps,
Kiran</b> -
ABAP Unit for Function Module(Function Group)
Hi, Gurus:
Can we use ABAP Unit to test Function Module(Function Group).
If can, give me a simple example. how to create methods. Thanks.
Regards,I'm a little unclear about your question, Yunfa.
Do you want to single-test a SE37 function-module? This can be easily done, just hit the F8 button, and it takes you to a single-test environment.
Do you want to test an FM using an ABAP-program? This too is easy to do. To code the FM-call, there's a button called Pattern, in the standard SE38 screen, where you can put in your FM name, and it inserts the relevant code in your program.
Note that if you're testing BAPIs using the single-test environment, the actual document posting will not happen, because that requires a BAPI_COMMIT_WORK call. So, the way to test BAPIs which post documents would be to write an SE38 program, which also calls the commit-bapi.
Hope this answers your question! -
Who familiar with Handling Unit Management(HUM) module?
Hi,
It was said that if we active the HUM module in Clint level. Then the packing BOX number will not be allowed to be duplicated.
Whether this means that VEKP-EXIDV, this field will not be allowed to be duplicated??
Could anyone help my understanding on this? Thanks!
Thanks.Hi,
HANDLING UNITS CONFIGURATION:
The SAP Handling Unit Management system allows you to manage the entire movement of the handling units and the materials they contain rather than tracking each material individually.
This paper is for the HUM Delivery although some of the contents is related to Inventory under the Logistics General modules.
Table of Contents
Objective
IMG Menu The Starting Point
Handling Unit Management Overview
Start of HUM Outbound Deliveries Manual Packing Configuration
Define Number Ranges for Handling Units
Define Packaging Material Types
Define Material Group for Packaging Materials
Define Allowed Packaging Materials
Use Handling Unit Supplements
Maintain Goods Movements for Handling Unit Stock-Posting
Define User Status Profile
Set QM Check and Delivery Type for Each Movement Type
HU Requirement for Storage Locations and Default Values for Deliveries
Packing Control By Item Category
Define Requirements for Packing in the Delivery
Delivery Type Determination
Set Unique Number Assignment for HU Identification
Number Range Maintenance for HU Identification
Define Number Assignment for Each Packaging Material Type
Delivery Output type for Packing List
Maintain the Delivery Output Determination Procedure
What else to maintain after the Manual Handling Units Configurations?
Start of the Automatic Packaging Configuration
Define Number Ranges for Packing Instructions
Define Determination Type for Packing Instructions
Define Number Ranges for Packing Instruction Determination Records
What else to maintain after the necessary Automatic Packaging Configurations?
Appendix A: How to do Manual Packing for Non-Assigned Handlings Units?
Appendix B: Scenario 1 How to do Manual Packing by Delivery Item?
Appendix C: Scenario 2 How to Manual Pack the Materials into Pallets?
Appendix D: How to do Automatic Packing?
Appendix E: How to do Goods Movement for Handling Unit Material?
Appendix F: How to Unpack the Handling Unit Material?
A handling unit is a physical unit that consists of the packaging materials (load carrier / packaging material) and the goods contained therein. A handling unit is always a combination of materials and packaging materials. All the information contained in the material items, such as batches and serial numbers, is always available by way of the handling units.
Handling units can be nested, meaning that you can also create new handling units from several handling units as often as you like.
Handling units have unique, scannable identification numbers that can be formed according to standards such as EAN 128 or SSCC.
Figure 1: Handling unit example
Structure
The handling unit object contains the following attributes:
Identification number
Dimensions
Weight
Volume
Status
Materials and quantities
Packaging materials
Packing instructions
A handling unit consists of a handling unit header and handling unit items. For identification purposes, it is given a unique number.
Handling unit header
The header data of a handling unit is divided in the following way:
Weight/Volume/Dimensions
General data
Means-of-transport data
Additional data
Output determination procedure
For more information about each of these detailed points, see Editing detailed data for handling units.
Status
The handling unit is linked to general status management. In this way, the various physical states (planned or implemented) and other attributes (weighed, loaded, blocked or posted goods issue) of handling units can be documented.
You can use the HU_ST_INIT user parameter when you create handling units without object reference to set which initial status the handling unit is to have when it is created.
If you want to implement a status of your own, you can define a user-specific procedure for the packaging material type (see also Define Packaging Material Types).
Handling unit item
The items of a handling unit can consist of material items, packaging materials or other handling units that appear in an overview. For more information about this overview, see the Contents section of Editing detailed data for handling units.
To access the item data of an individual handling unit, select the handling unit concerned and choose Goto  Detailed HU data  Contents.
Integration
Handling units can be used in all processes within the supply chain.
Hope this will helps you and Please Reward If Really Helpful,
Thanks and Regard,
Sateesh.Kandula -
Assign Serial numbers to handling Units in the Packing
Hi,
I'm using a Function module SERNR_ADD_TO_HU for to add Serial numbers into the handling units. Function module executed successfully and returns a commit value 'X', but table SER06 was not updated. Is there any thing i'm missing (or) is there any other function module for to add serial numbers to the handling uints.
Thanks in Advance.
Narasimha.Hi Narasimha.
You can use FM WS_DELIVERY_UPDATE to update serial numbers in HU assigned to deliveries.
I've just finished the code (it took me about 4 days to get it right!!! it was driving me crazy, but it's working now!!!).
Please find a sample code below:
DATA FOR BAPI WS_DELIVERY_UPDATE
DATA:
wa_vbkok_wa TYPE vbkok,
wv_delivery TYPE likp-vbeln,
bt_vbpok_tab TYPE TABLE OF vbpok,
bt_it_sernr_update TYPE shp_sernr_update_t,
bt_verko_tab TYPE TABLE OF verko,
bt_verpo_tab TYPE TABLE OF verpo,
bt_it_verpo_sernr TYPE TABLE OF hum_verpo_sernr,
bt_it_packing_sernr TYPE TABLE OF hum_rep_sernr,
bt_et_created_hus TYPE TABLE OF vekpvb,
bt_prot TYPE TABLE OF prott,
wa_vbpok_tab TYPE vbpok,
wa_it_sernr_update TYPE shp_sernr_update_t WITH HEADER LINE,
wa_verko_tab TYPE verko,
wa_verpo_tab TYPE verpo,
wa_it_verpo_sernr TYPE hum_verpo_sernr,
wa_it_packing_sernr TYPE hum_rep_sernr,
wa_et_created_hus TYPE vekpvb,
wa_prot TYPE prott,
wa_ef_error_sernr_update TYPE xfeld.
UPDATE DELIVERY
[0]
... DELIVERY - HEADER ...................................
MOVE s_vbeln TO wv_delivery. "delivery number
MOVE s_vbeln TO wa_vbkok_wa-vbeln. "delivery number
MOVE s_vbeln TO wa_vbkok_wa-vbeln_vl. "delivery number
MOVE 'J' TO wa_vbkok_wa-vbtyp_vl.
[1]
... DELIVERY ITEM - CONFIRM PICKING .....................
MOVE s_vbeln TO wa_vbpok_tab-vbeln_vl.
MOVE '00010' TO wa_vbpok_tab-posnr_vl.
MOVE s_vbeln TO wa_vbpok_tab-vbeln.
MOVE '00010' TO wa_vbpok_tab-posnn.
MOVE '2' TO wa_vbpok_tab-pikmg.
APPEND wa_vbpok_tab TO bt_vbpok_tab.
[2]
... DELIVERY ITEM - UPDATE SERIAL NUMBERS ...............
MOVE s_vbeln TO wa_it_sernr_update-rfbel.
MOVE '00010' TO wa_it_sernr_update-rfpos.
MOVE i_sernr1 TO wa_it_sernr_update-sernr.
APPEND wa_it_sernr_update.
MOVE i_sernr2 TO wa_it_sernr_update-sernr.
APPEND wa_it_sernr_update.
APPEND LINES OF wa_it_sernr_update TO bt_it_sernr_update.
[3]
... CREATE HU ASSIGNED TO DELIVERY ......................
MOVE 'BP02' TO wa_verko_tab-vstel.
MOVE s_matnr TO wa_verko_tab-vhilm.
MOVE 'E' TO wa_verko_tab-exida.
MOVE 'BP01' TO wa_verko_tab-werks.
MOVE '0002' TO wa_verko_tab-lgort.
MOVE '01' TO wa_verko_tab-object.
MOVE s_vbeln TO wa_verko_tab-objkey.
APPEND wa_verko_tab TO bt_verko_tab.
... EXECUTE BAPI (PICKING & HU CREATION) ................
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = wa_vbkok_wa
synchron = 'X'
NO_MESSAGES_UPDATE = ' '
commit = 'X'
delivery = wv_delivery
update_picking = 'X'
nicht_sperren = space
it_sernr_update = bt_it_sernr_update
IMPORTING
ef_error_sernr_update = wa_ef_error_sernr_update
TABLES
vbpok_tab = bt_vbpok_tab
verko_tab = bt_verko_tab
et_created_hus = bt_et_created_hus
prot = bt_prot.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
[4]
... PACK ITEMS ..........................................
LOOP AT bt_et_created_hus INTO wa_et_created_hus.
... ITEMS:
MOVE wa_et_created_hus-exidv TO wa_verpo_tab-exidv_ob.
MOVE wa_et_created_hus-exidv TO wa_verpo_tab-exidv.
MOVE '1' TO wa_verpo_tab-velin.
MOVE i_matnr1 TO wa_verpo_tab-matnr.
MOVE s_vbeln TO wa_verpo_tab-vbeln.
MOVE '00010' TO wa_verpo_tab-posnr.
MOVE '2' TO wa_verpo_tab-tmeng.
MOVE 'BP01' TO wa_verpo_tab-werks.
MOVE '0002' TO wa_verpo_tab-lgort.
MOVE '2' TO wa_verpo_tab-anzsn.
MOVE s_vbeln TO wa_verpo_tab-rfbel.
MOVE '00010' TO wa_verpo_tab-rfpos.
APPEND wa_verpo_tab TO bt_verpo_tab.
... SERIAL NUMBERS:
MOVE wa_et_created_hus-exidv TO wa_it_verpo_sernr-exidv_ob.
MOVE s_vbeln TO wa_it_verpo_sernr-belnr.
MOVE '00010' TO wa_it_verpo_sernr-posnr.
MOVE i_sernr1 TO wa_it_verpo_sernr-sernr.
APPEND wa_it_verpo_sernr TO bt_it_verpo_sernr.
MOVE i_sernr2 TO wa_it_verpo_sernr-sernr.
APPEND wa_it_verpo_sernr TO bt_it_verpo_sernr.
ENDLOOP.
MOVE '1' TO wa_it_packing_sernr-zeile.
MOVE i_sernr1 TO wa_it_packing_sernr-sernr.
APPEND wa_it_packing_sernr TO bt_it_packing_sernr.
MOVE i_sernr2 TO wa_it_packing_sernr-sernr.
APPEND wa_it_packing_sernr TO bt_it_packing_sernr.
... HU HEADER:
CLEAR bt_verko_tab. REFRESH bt_verko_tab.
MOVE wa_et_created_hus-exidv TO wa_verko_tab-exidv.
APPEND wa_verko_tab TO bt_verko_tab.
... EXECUTE BAPI (PACK ITEMS INTO HU) ...................
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
vbkok_wa = wa_vbkok_wa
synchron = 'X'
commit = 'X'
delivery = wv_delivery
TABLES
verko_tab = bt_verko_tab
verpo_tab = bt_verpo_tab
it_verpo_sernr = bt_it_verpo_sernr
it_packing_sernr = bt_it_packing_sernr
prot = bt_prot.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Hope it helps!
This is my first post in this forum. Don't forget to vote if the solution suits you!
Thanks,
-ct- -
Function Module for UNPACKING Handling Unit from Inbound Delivery
Hello Experts,
I am working on a RFID program to Receive goods from vendor...
One of the steps of the program should CHANGE the quantity inside a received batch.
To do so, I need to UNPACK the Handling Unit first... then change the quantity.
I am using the following Function Modules to do so:
- 'HU_GET_HUS'
- 'V51P_FILL_GT'
- 'HU_PACKING_AND_UNPACKING'
- 'HU_POST'
First 2 FM works fine...
But when I get to the 3rd one, I keep getting "NOT_POSSIBLE" error...
Have anyone done this before??
Here's the code I've done to do some testing before putting it into my code...
PLEEEEEEEEEEEASE HELP.
TYPE-POOLS: vsep. PARAMETERS: p_venum LIKE vekp-venum.
DATA: wa_object LIKE hum_object,
it_object TYPE TABLE OF hum_object.
DATA: wa_v51vp LIKE v51vp,
it_v51vp TYPE TABLE OF v51vp.
DATA: flag LIKE v51p_select_flags.
DATA: it_venum TYPE STANDARD TABLE OF hum_venum,
ef_rcode LIKE sy-subrc,
et_vekp TYPE STANDARD TABLE OF vsep_s_vekp,
et_vepo TYPE STANDARD TABLE OF vsep_s_vepo,
et_vevw TYPE vsep_t_vevw,
et_highest_level TYPE vsep_t_venum,
et_messages TYPE huitem_messages_t,
is_packing_request TYPE vsep_s_pithu,
es_p_request TYPE vsep_s_pithu,
es_item LIKE vepovb,
cs_header LIKE vekpvb,
ef_number TYPE vpobjkey,
et_header TYPE STANDARD TABLE OF vekpvb,
et_items TYPE STANDARD TABLE OF vepovb,
et_item_serialno TYPE vsep_t_rserob,
et_history TYPE hum_history_t,
et_highest_levels TYPE hum_venum_t.
DATA: wa_venum LIKE hum_venum,
wa_vepo TYPE vsep_s_vepo,
wa_vekp TYPE vsep_s_vekp,
wa_items TYPE vepovb,
wa_header TYPE vekpvb.
START-OF-SELECTION.
wa_venum-venum = p_venum.
APPEND wa_venum TO it_venum.
CALL FUNCTION 'HU_GET_HUS'
EXPORTING
it_venum = it_venum
IMPORTING
et_header = et_header
et_items = et_items
et_item_serialno = et_item_serialno
et_history = et_history
et_highest_levels = et_highest_levels
et_messages = et_messages
EXCEPTIONS
hus_locked = 1
no_hu_found = 2
fatal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE et_header INDEX 1 INTO wa_header.
CALL FUNCTION 'V51P_FILL_GT'
EXPORTING
it_venum = it_venum
IMPORTING
ef_rcode = ef_rcode
et_vekp = et_vekp
et_vepo = et_vepo
et_vevw = et_vevw
et_highest_level = et_highest_level
et_messages = et_messages
EXCEPTIONS
hu_locked = 1
no_hu_found = 2
fatal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE et_vepo INDEX 1 INTO wa_vepo.
READ TABLE et_vekp INDEX 1 INTO wa_vekp.
MOVE-CORRESPONDING wa_vepo TO is_packing_request.
is_packing_request-belnr = wa_vepo-vbeln.
is_packing_request-quantity = wa_vepo-vemng.
is_packing_request-veanz = '-1'.
is_packing_request-meins = wa_vepo-vemeh.
is_packing_request-exidv = wa_vekp-exidv.
CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
EXPORTING
is_packing_request = is_packing_request
IMPORTING
ef_rcode = ef_rcode
es_p_request = es_p_request
es_item = es_item
CHANGING
cs_header = 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.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'HU_POST'
EXPORTING
if_synchron = 'X'
if_commit = 'X'
IMPORTING
ef_number = ef_number.
break nunfx004.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks in advance,
FernandaHi ,
Check this code.
Pack componet HU to Overpack HU. *
l_packing_req-venum = g_ovrp_venum. "Overpack Internal HU
l_packing_req-exidv = g_ovrp_exidv. "Overpack External HU
l_packing_req-veanz = '1'. "PACK Constant
l_packing_req-sub_hu_venum = l_int_venum.
l_packing_req-sub_hu_exidv = l_int_exidv. "Componet External HU
l_packing_req-velin = '3'. "HU Type Constant
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.
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.
No Errors --> POST HU
call function 'HU_POST'
exporting
if_synchron = 'X'
if_commit = 'X'.
plz write what you are passing to 'HU_PACKING_AND_UNPACKING' and hu_post fm.
Regards
Mohinder Singh Chauhan -
WS_DELIVERY_UPDATE Function Module is not updating the Handling unit
Hi Experts,
I am using the Function Module WS_DELIVERY_UPDATE for PGI and packing outbond delivery . I am getting the PGI date , Route.
but i am not getting the time in delivery field-WAUHR and i am getting the message 'Reqiured HU could not be found'.
Please find the attach code below:
FORM update_packing USING wa_index.
wa_index = wa_index + 1.
w_track = int_delivery_data-zn12+0(20).
itaverko-exidv = w_track.
ltahus-exidv = w_track.
itaverko-vhilm = p_shpmtl. " from screen select parm
ltahus-vhilm = p_shpmtl.
w_brgew = int_delivery_data-brgew.
SHIFT w_brgew LEFT DELETING LEADING ' '.
itaverko-brgew = w_brgew.
ltahus-brgew = w_brgew.
SHIFT int_delivery_data-inhalt LEFT DELETING LEADING ' '.
w_fcosts = int_delivery_data-inhalt.
SHIFT w_fcosts LEFT DELETING LEADING ' '.
itaverko-inhalt = w_fcosts.
ltahus-inhalt = w_fcosts.
itaverko-gewfx = int_delivery_data-gewfx.
ltahus-gewfx = int_delivery_data-gewfx.
INSERT itaverko INDEX wa_index.
INSERT ltahus INDEX wa_index.
ENDFORM. " UPDATE_PACKING
FORM update_delivery .
CLEAR : i_vbkok,ita_prot.
REFRESH : i_vbpok,ita_prot.
CLEAR: d_return.
CLEAR: ef_error_in_item_deletion_0 ,
ef_error_in_pod_update_0 ,
ef_error_in_interface_0 ,
ef_error_in_goods_issue_0 ,
ef_error_in_final_check_0 .
READ TABLE int_delivery_data INDEX wa_index.
IF sy-subrc = 0.
carry out goods issue
i_vbkok-vbeln_vl = int_delivery_data-vbeln. " Delivery nbr
i_vbkok-vbeln = int_delivery_data-vbeln. " Pick Order
i_vbkok-vbtyp_vl = int_delivery_data-vbtyp.
i_vbkok-wabuc = 'X'. " post goods movement automatically
L_VBKOK-KOMUE = 'X'. " overwrite delvry qty with picking qty
CONCATENATE 'US' INT_DELIVERY_DATA-ZN13 INTO W_ROUTE.
i_vbkok-route = int_delivery_data-route.
i_vbkok-kzroute = 'X'.
i_vbkok-spe_kzgeoroute = 'X'.
i_vbkok-packing_final = 'X'.
i_vbkok-wabuc = 'X'.
w_in_date = int_delivery_data-dattm+0(8).
i_vbkok-wadat = w_in_date.
L_VBKOK-WADAT_IST = W_in_DATE.
w_gi_time = int_delivery_data-dattm+8(6).
i_vbkok-wauhr = w_gi_time.
w_track = int_delivery_data-zn12+0(20).
t_sernr = w_track.
SET UPDATE TASK LOCAL and Perform PGI.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = i_vbkok
synchron = 'X'
no_messages_update = ' '
update_picking = 'X'
commit = 'X'
delivery = int_delivery_data-vbeln
nicht_sperren = 'X'
if_error_messages_send_0 = space
IT_SERNR_UPDATE = T_SERNR
IMPORTING
ef_error_any_0 = ef_error_any_0
ef_error_in_item_deletion_0 = ef_error_in_item_deletion_0
ef_error_in_pod_update_0 = ef_error_in_pod_update_0
ef_error_in_interface_0 = ef_error_in_interface_0
ef_error_in_goods_issue_0 = ef_error_in_goods_issue_0
ef_error_in_final_check_0 = ef_error_in_final_check_0
ef_error_sernr_update = ef_error_sernr_update
TABLES
*" VBPOK_TAB STRUCTURE VBPOK OPTIONAL
prot = ita_prot
verko_tab = itaverko " STRUCT VERKO
*" VERPO_TAB STRUCTURE VERPO OPTIONAL
*" VBSUPCON_TAB STRUCTURE VBSUPCON OPTIONAL
IT_VERPO_SERNR = T_VERPO_SERNR
*" IT_PACKING STRUCTURE REPACK_HU_WM OPTIONAL
*" IT_PACKING_SERNR STRUCTURE HUM_REP_SERNR OPTIONAL
*" IT_REPACK STRUCTURE HUM_REPACK OPTIONAL
*" IT_HANDLING_UNITS STRUCTURE HUM_REHANG_HU OPTIONAL
*" IT_OBJECTS STRUCTURE PGR_OBJECTS OPTIONAL
et_created_hus = ltahus "STRUCTURE VEKPVB
EXCEPTIONS
error_message = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
ENDIF.
ENDFORM. " UPDATE_DELIVERY
Could please help on this.
Thanks,
Rohit
Edited by: Rohit Sharma on Jul 24, 2009 3:25 PM
Edited by: Rohit Sharma on Jul 24, 2009 3:29 PMHi Joao,
I have the same problem. I tried to find the FM SD_OUTB_DELIVERY_CHANGE but couldn't find it. Have you by any change specified the incorrect FM name here? If yes, can you please communicate the correct FM name?
Regards,
Divyaman -
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. -
Hanlding Unit Pack and Unpack Function module
Hi All,
Can any one know the functiona modules for PACK Handling Unit and UNPACK Handling Unit? If so please reply me.
Thanks,
PranavHi,
Please check this FM.
PACK_HANDLING_UNIT
UNPACK_HANDLING_UNIT
Hope this will help.
Regards,
Ferry Lianto -
Function Module to show all jobs in that Org Unit.
Does any one know is there any Function Module which gives all the jobs that comes under that Org Unit. for example if org unit 10 has 2 Sub Org Units(11 and 12) and 3 jobs(20, 21 and 22) under it. and the Sub Org Unit 11 and 12 has 1 job each( 30 and 40). When you run for org unit 10 it should give all 5 jobs (20, 21, 22, 30 and 40).
Hi Fayyaz
Well you use a FM RH_READ_INFTY_1001 to discover the relationships between an ORG Unit and Jobs.
Alternative, you can write a simple query to extract data from HRP1001 to find the jobs under an Org Unit. Because Jobs are related to an Org Unit and this relationship is stored in Infotype 1001/HRP1001.
Reward Points, If helpful.
Regards
Waz -
Function module for automating creation of organizational unit
Experts,
I am using SRM 4.0. In my system R/3 is acting as backend.
For creation of new organisational unit in SRM, which is not present in SRM but present in R/3 side i have to do the manual activity every time.
Is there any function module? Which can automate this process. If there is any function module which i can use please let me know. and how can i use that also please let me know.
By this automation every time through the program the new organization unit should created in SRM side.
Please let me know..
Thanks in advance. I will appriciate through rewards points.Hi,
Thanks for your input. But i am planning to send one file for HR records and then from that file through program i will upload the file. IF for some user the orgaisation unit will not be found then there itself it would create the OU through Function module(If Any)... I am doing like this as the HR system is some legacy system not the R/3 system.
So Please help me to find out function module.
i will appeciate for you help.
Thanks -
Handling pop up of sub type HR_MAINTAIN_MASTERDATA function module
Hi All,
I am using HR_MAINTAIN_MASTERDATA for creating employee it's working fine but i am not able to handle pop up for sub type.
For example sub type for Address it gives me pop up with values 1 Permamant address 2 Office address etc.
Anybody know how to handle such pop up in function module. How to provide values to sub type.
Thanks in advance.Hi,
<li>Instead of using HR_MAINTAIN_MASTERDATA function module, you can use HR_INFOTYPE_OPERATION, because HR_MAINTAIN_MASTERDATA is used inside HR_INFOTYPE_OPERATION.
<li>Check the sample program .
REPORT ztest_notepad .
DATA:p0006 TYPE STANDARD TABLE OF p0006 WITH HEADER LINE.
DATA:return LIKE bapireturn1.
p0006-pernr = '00001234'.
p0006-subty = '2'.
p0006-endda = '99991231'.
p0006-begda = sy-datum.
p0006-anssa = '2'.
p0006-name2 = 'xyz'.
p0006-stras = 'Street 64'.
p0006-ort01 = 'US'.
p0006-pstlz = '560634'.
APPEND p0006.
CLEAR p0006.
LOOP AT p0006.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = p0006-pernr.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0006'
number = p0006-pernr
subtype = p0006-subty
validityend = p0006-endda
validitybegin = p0006-begda
record = p0006
operation = 'INS'
tclas = 'A'
IMPORTING
return = return.
IF return IS INITIAL.
WRITE 'Successfully records created'.
ENDIF.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = p0006-pernr.
ENDLOOP.
Thanks
Venkat.O
Maybe you are looking for
-
How can I find out the server port for a secured FTP site and creating a FTP Connection Manager
I have to create a FTP Task to go out and get the files that our 3rd party vendor will be dropping on a secured FTP site. I have all the credentials to access that Secured FTP Site and have successfully done so through FileZilla. Now I need to set-up
-
Unale to get XSLT object in interface mapping
Hi i had imported the zip file contaning xslt file for mapping in Import Archives .But during interface mapping, integration builder is not able to show me the created import archive object. Please Help me out.
-
Troubleshooting with update snow leopard - mini mac
Hi, I have a troubleshooting during upgrade snow leopard in mini mac. I see white screen, I haven't access to menu mac os, just a white screen. If somebody have idea of solution, thank you for our help JN2E
-
How can I get a phone number that I dialed a week ago?
I dialed a number last week and I need to get it back. How do I do that?
-
Restrictions ACL for Wireless AP to WLC in HREAP Desgin Setup
Hello, Everyone I have Wireless HREAP setup in which the Wireless LAN Controllers (WLC) are located across the WAN in DataCenter while the Wireless Access Points (AP) are located within the branches, so setup is fine but as securi