SAP Reports / Programs | Logistics Execution | Shipping(LE-SHP) SAP LE

FV50WF0H SAP ABAP INCLUDE - documentation and ABAP source code







FV50WF0H is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FV50WF0H into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FV50WF0H. "Basic submit
SUBMIT FV50WF0H AND RETURN. "Return to original report after report execution complete
SUBMIT FV50WF0H VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FV50WF0H

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HU_TVSHP_SELECT CALL FUNCTION 'HU_TVSHP_SELECT' IMPORTING ef_exidv_unique = lf_unique "v_XAN-SPM ef_spe_lean_hustat = lf_spe_lean_hustat.

/SPE/RET_HU_DATA_GET CALL FUNCTION '/SPE/RET_HU_DATA_GET' "v_n_1537900 IMPORTING EF_PROCESS_INDICATOR = lf_process.

HU_PACKING_DELIVERY CALL FUNCTION 'HU_PACKING_DELIVERY' EXPORTING is_delivery = ls_packing is_likp = ls_likp it_xlips = xlips[] it_xvbuk = xvbuk[] it_xvbup = xvbup[] it_xvbpa = xvbpa[] CHANGING ct_xvbfa = xpackvbfa[] ct_yvbfa = ypackvbfa[] ct_xvbapf = xvbapf[].

HU_GET_HUS CALL FUNCTION 'HU_GET_HUS' EXPORTING if_object = ls_object-object if_no_db_select = lf_no_db_select if_more_hus = lf_more_hus "HP_435519 is_objects = ls_object if_lock_hus = charx IMPORTING et_header = gt_vekp et_items = gt_vepo EXCEPTIONS OTHERS = 0.

V51P_GET_HEADER_DATA CALL FUNCTION 'V51P_GET_HEADER_DATA' IMPORTING ES_HEADER51 = LS_HEADER51.

V51P_FILL_GT CALL FUNCTION 'V51P_FILL_GT' EXPORTING IS_HEADER51 = LS_HEADER51 EXCEPTIONS HU_LOCKED = 1 NO_HU_FOUND = 2 FATAL_ERROR = 3 OTHERS = 4.

HU_TVSHP_SELECT CALL FUNCTION 'HU_TVSHP_SELECT' IMPORTING ef_exidv_unique = lf_unique "v_XAN-SPM ef_spe_lean_hustat = lf_spe_lean_hustat.

LE_GET_PGR_OBJECTS CALL FUNCTION 'LE_GET_PGR_OBJECTS' EXPORTING i_objtyp = '01' "Nur HUs holen IMPORTING "v_XAN-SPM et_quan_chg = lt_qchg[] "^_XAN-SPM TABLES et_objects = lt_objects.

V51P_GLOBAL_TABLE_SAVE CALL FUNCTION 'V51P_GLOBAL_TABLE_SAVE'.

LE_MOVEMENT_DATA_TRANSFER_GET CALL FUNCTION 'LE_MOVEMENT_DATA_TRANSFER_GET' "v_XAN-SPM IMPORTING es_lemovhead_tra = ls_lemovhead_tra. "^_XAN-SPM

HU_SET_MEMORY CALL FUNCTION 'HU_SET_MEMORY' EXPORTING if_cancel = likpd-mdiff_storno "XAN-SPM if_partial_gm = likpd-kzebu it_hu_imseg = gt_humseg if_mdiff_buch = likpd-mdiff_buch "v_XAN-SPM if_process_indicator = ls_lemovhead_tra-spe_process_indicator "^_ EXCEPTIONS memory_not_empty = 1 OTHERS = 2.

GET_SERNOS_OF_DOCUMENT CALL FUNCTION 'GET_SERNOS_OF_DOCUMENT' EXPORTING key_data = ls_rserob EXCEPTIONS key_parameter_error = 1 no_supported_access = 2 no_data_found = 3 OTHERS = 4.

DELETE_SERNR_LS CALL FUNCTION 'DELETE_SERNR_LS' EXPORTING j_vorgang = lf_vorgang "n_599939 vbeln = xlips-vbeln posnr = xlips-posnr IMPORTING status_not_allowed = lf_status_error.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING I_IDENTIFICATION = LF_IDENT IMPORTING E_IDENTIFICATION = LF_IDENT EXCEPTIONS OTHERS = 0.

CONDENSE_HUS_FOR_COPY_OL CALL FUNCTION 'CONDENSE_HUS_FOR_COPY_OL' EXPORTING VENUM = SF_HU_DUMMY HUMPOS_TAB = LT_HUS EXCEPTIONS NO_SOURCE_HUS = 1 OTHERS = 2.

SERIAL_COPY_HU_LS CALL FUNCTION 'SERIAL_COPY_HU_LS' EXPORTING VENUM = SF_HU_DUMMY VEPOS = '000000' LIEF_NR = GT_LIVE-VBELN LIEF_POS = GT_LIVE-POSNR MATERIAL = XLIPS-MATNR DEBITOR = LIKP-KUNNR VBTYP = LIKP-VBTYP BWART = XLIPS-BWART J_VORGANG = LF_VORGANG QUANTITY = IF_XANZSN IMPORTING ANZSN = LIPS-ANZSN STATUS_NOT_ALLOWED = LF_ALLOWED EXCEPTIONS OBJECTLIST_NOT_FOUND = 1 OTHERS = 2.

CONDENSE_HUS_FOR_COPY_OL CALL FUNCTION 'CONDENSE_HUS_FOR_COPY_OL' EXPORTING VENUM = SF_HU_DUMMY DELETE_ONLY = CHARX HUMPOS_TAB = LT_HUS EXCEPTIONS NO_SOURCE_HUS = 1 BUFFER_ALREADY_FILLED = 2 OTHERS = 3.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = LT_XMSG.

MESSAGES_INITIALIZE





CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING I_IDENTIFICATION = LF_IDENT EXCEPTIONS OTHERS = 0.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = lf_ident IMPORTING e_identification = lf_ident EXCEPTIONS OTHERS = 0.

SERIAL_COPY_HU_LS CALL FUNCTION 'SERIAL_COPY_HU_LS' EXPORTING venum = gt_live-venum vepos = gt_live-vepos lief_nr = gt_live-vbeln lief_pos = gt_live-posnr material = xlips-matnr debitor = likp-kunnr vbtyp = likp-vbtyp bwart = xlips-bwart J_VORGANG = LF_VORGANG quantity = if_xanzsn IMPORTING anzsn = lips-anzsn status_not_allowed = lf_allowed EXCEPTIONS objectlist_not_found = 1 OTHERS = 2.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = lt_xmsg.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = lf_ident EXCEPTIONS OTHERS = 0.

RV_XVBFA_MAINTAIN CALL FUNCTION 'RV_XVBFA_MAINTAIN' EXPORTING fvbfa = ls_vbfa f_vorgang = charv TABLES fxvbfa = xvbfa fyvbfa = yvbfa. "^_n_1099355

RV_XVBFA_MAINTAIN CALL FUNCTION 'RV_XVBFA_MAINTAIN' EXPORTING fvbfa = ls_vbfa f_vorgang = charv TABLES fxvbfa = xvbfa fyvbfa = yvbfa. "^_n_1099355

RV_XVBFA_MAINTAIN CALL FUNCTION 'RV_XVBFA_MAINTAIN' EXPORTING fvbfa = ls_vbfa f_vorgang = charv TABLES fxvbfa = xvbfa fyvbfa = yvbfa. "^_n_1099355

RV_XVBFA_MAINTAIN CALL FUNCTION 'RV_XVBFA_MAINTAIN' EXPORTING fvbfa = ls_vbfa f_vorgang = charv TABLES fxvbfa = xvbfa fyvbfa = yvbfa. "^_n_1099355

V51P_OVEKP_FILL CALL FUNCTION 'V51P_OVEKP_FILL' "SP_563194 EXPORTING if_highest_number = 'X' if_venum = gt_humseg_hu-venum if_no_04 = 'X' IMPORTING es_highest_hu = ls_header EXCEPTIONS vekp_not_found = 1 no_upper_vse = 2 wrong_vepo = 3 OTHERS = 4.

V51P_FIND_HEADER CALL FUNCTION 'V51P_FIND_HEADER' EXPORTING is_vekp = ls_header IMPORTING es_header = ls_header EXCEPTIONS not_found = 1 no_shp_mat = 2 error_on_exidv = 3 fatal_error = 4 OTHERS = 5.

LE_MOVEMENT_DATA_DETERMINE_TAB CALL FUNCTION 'LE_MOVEMENT_DATA_DETERMINE_TAB' EXPORTING if_select_t156 = charx is_lips = xlips IMPORTING es_lemovdat = ls_lemovdat EXCEPTIONS no_entry_t001w = 1 no_entry_t001l = 2 no_entry_t134m = 3 no_entry_t156 = 4 no_entry_t156s = 5 no_entry_t156sc = 6 no_entry_t156n = 7 no_entry_t156q = 8 no_entry_t159l = 9 no_entry_mara = 10 OTHERS = 11.

HU_UPDATE_FROM_HUMSEG CALL FUNCTION 'HU_UPDATE_FROM_HUMSEG' CHANGING ct_hu_mseg = gt_humseg_hu[] EXCEPTIONS imseg_q_higher = 1 fatal_error = 2 OTHERS = 3.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = ls_mtcom IMPORTING matdaten = ls_marc EXCEPTIONS OTHERS = 99.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FV50WF0H or its description.