SAP Reports / Programs | Materials Management | Inventory Management | Excise Duty(MM-IM-ED) SAP MM

/BEV2/EDMSESI0 SAP ABAP INCLUDE - Include for tax type-independent routines







/BEV2/EDMSESI0 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 /BEV2/EDMSESI0 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 /BEV2/EDMSESI0. "Basic submit
SUBMIT /BEV2/EDMSESI0 AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV2/EDMSESI0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include for tax type-independent routines


INCLUDES used within this REPORT /BEV2/EDMSESI0

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:

/BEV2/ED_REA_GRUNDEINSTELLUNG CALL FUNCTION '/BEV2/ED_REA_GRUNDEINSTELLUNG' IMPORTING o_yh921 = xyh921 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_ED_FUNKTIONEN CALL FUNCTION '/BEV2/ED_REA_ED_FUNKTIONEN' EXPORTING i_tabnam = con_yh901 TABLES i_yh901 = xyh901 i_select_yhvbart = vbsfunc EXCEPTIONS not_found = 1.

/BEV2/ED_REA_ED_EINHEITEN CALL FUNCTION '/BEV2/ED_REA_ED_EINHEITEN' EXPORTING i_tabnam = con_yh915 TABLES i_yh915 = xyh915 EXCEPTIONS not_found = 1.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' EXPORTING i_tabnam = con_yh903 TABLES i_yh903 = xyh903 i_yh902 = xyh902 EXCEPTIONS not_found = 1.

/BEV2/ED_REA_BWTYP_DEF CALL FUNCTION '/BEV2/ED_REA_BWTYP_DEF' * exporting * I_TABNAM = 'YH914' TABLES i_yh914 = xyh914 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_SAP_ZU_EDTYP CALL FUNCTION '/BEV2/ED_REA_SAP_ZU_EDTYP' EXPORTING i_tabnam = con_yh906 TABLES i_yh906 = xyh906 EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_LAGERBUCHGRUPPEN CALL FUNCTION '/BEV2/ED_REA_LAGERBUCHGRUPPEN' EXPORTING i_tabnam = con_yh907 TABLES i_yh907 = xyh907 EXCEPTIONS not_found = 1.

/BEV2/ED_REA_SCHEMA_BESKZ CALL FUNCTION '/BEV2/ED_REA_SCHEMA_BESKZ' * EXPORTING * I_SCHEMA_BESKZ = TABLES * T_YH951 = * T_YH951T = t_yh952 = xyh952 * t_yh952t = EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_SPERREN_BESKZ CALL FUNCTION '/BEV2/ED_REA_SPERREN_BESKZ' * EXPORTING * I_SPERRSCHEMA = TABLES * t_yh953 = * T_YH953T = t_yh954 = xyh954 EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_RETOURENGRUENDE CALL FUNCTION '/BEV2/ED_REA_RETOURENGRUENDE' EXPORTING i_tabnam1 = con_yh910 i_tabnam2 = con_yh920 TABLES i_yh910 = xyh910 " Auftragsgründe i_yh920 = xyh920 " Positionstypen EXCEPTIONS OTHERS = 1.

/BEV2/ED_REA_PARTNERROLLEN CALL FUNCTION '/BEV2/ED_REA_PARTNERROLLEN' CHANGING c_yhinfo01 = /bev2/edinfo01 EXCEPTIONS OTHERS = 1.

/BEV2/ED_REA_MELDESCHWELLEN CALL FUNCTION '/BEV2/ED_REA_MELDESCHWELLEN' EXPORTING i_yhschwell = z_melde TABLES o_yh998 = xyh998 EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ONE_BUCH_VORPERI CALL FUNCTION '/BEV2/ED_REA_ONE_BUCH_VORPERI' EXPORTING i_tabnam = con_yh919 TABLES * i_yhvbart = o_yh919 = xyh919 EXCEPTIONS notfound = 1.

/BEV2/ED_REA_ED_MAT_ALL CALL FUNCTION '/BEV2/ED_REA_ED_MAT_ALL' TABLES * i_xmarc = xmarc * i_xmara = xmara i_xyhmaa = xyhmaa i_xyhmab = xyhmab i_xyhmac = xyhmac EXCEPTIONS OTHERS = 1.

/BEV2/ED_REA_NEUE_MATBELEGE CALL FUNCTION '/BEV2/ED_REA_NEUE_MATBELEGE' EXPORTING i_mjahr = p_mjahr i_mblnr = p_mblnr i_lines = p_lines TABLES t_yhvbart = vbsfunc o_mseg = xmseg o_mkpf = xmkpf EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_NEUE_MATBELEGE CALL FUNCTION '/BEV2/ED_REA_NEUE_MATBELEGE' EXPORTING i_mjahr = mem_xmseg-mjahr i_mblnr = mem_xmseg-mblnr * i_lines = p_lines TABLES t_yhvbart = vbsfunc o_mseg = lv_xmseg o_mkpf = lv_xmkpf EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_MSEG_UPDATE CALL FUNCTION '/BEV2/ED_MSEG_UPDATE' EXPORTING i_tabnam = con_mseg TABLES i_mseg = xmseg EXCEPTIONS not_exists = 1.

/BEV2/ED_EDDOC_INS CALL FUNCTION '/BEV2/ED_EDDOC_INS' EXPORTING i_tabnam = con_yhmse TABLES t_yhmse = xyhmse f_yhmse = fyhmse " Fehlertabelle für EXCEPTIONS " bereits vorhandene Keys not_exists = 1.

/BEV2/ED_GET_PRINT_PARAMETERS





CALL FUNCTION '/BEV2/ED_GET_PRINT_PARAMETERS' EXPORTING i_yhvbart = lv_yhvbart i_uname = sy-uname i_repid = lv_repid * I_YHSLAGER = i_dialog = 'X' IMPORTING o_pri_params = params * o_fehlflag = EXCEPTIONS fix_params_not_found = 1 printer_not_found = 2 OTHERS = 3.

/BEV2/ED_REA_ED_FUNKTIONEN CALL FUNCTION '/BEV2/ED_REA_ED_FUNKTIONEN' EXPORTING i_tabnam = con_yh901 TABLES i_yh901 = xyh901 * i_select_yhvbart = vbsfunc EXCEPTIONS not_found = 1.

/BEV2/ED_DEFAULT_SCHWELL CALL FUNCTION '/BEV2/ED_DEFAULT_SCHWELL' EXPORTING * I_YHVBART = * I_REPID = i_reptyp = con_ver_pgm IMPORTING o_yhschwell = z_melde EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_DEFAULT_SCHWELL CALL FUNCTION '/BEV2/ED_DEFAULT_SCHWELL' EXPORTING * I_YHVBART = * I_REPID = i_reptyp = con_ver_pgm IMPORTING o_yhschwell = p_melde EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_KOSTS_ZU_EDTYP CALL FUNCTION '/BEV2/ED_REA_KOSTS_ZU_EDTYP' EXPORTING * I_TABNAM = /BEV2/ED916 i_kokrs = xmseg-kokrs i_bwart = xmseg-bwart i_kzbew = xmseg-kzbew i_kosts = xmseg-kostl i_yhvbart = xyhmse-yhvbart TABLES i_yh916 = xyh916 EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_SINGLE_SALES_DOC CALL FUNCTION '/BEV2/ED_REA_SINGLE_SALES_DOC' EXPORTING * I_TABNAM = VBAK i_vbeln = xyhmse-aufnr TABLES xvbak = xvbak EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_SINGLE_LIEF_KOPF CALL FUNCTION '/BEV2/ED_REA_SINGLE_LIEF_KOPF' EXPORTING * I_TABNAM = LIKP * i_vbeln = xmkpf-xblnr i_vbeln = lv_vbeln IMPORTING o_likp = xlikp * tables * t_lips = xlips EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_SINGLE_PARTNERROL CALL FUNCTION '/BEV2/ED_REA_SINGLE_PARTNERROL' EXPORTING * I_TABNAM = VBPA i_vbeln = xyhmse-aufnr * I_POSNR = i_parvw = /bev2/edinfo01-yhprwe " Partnerrolle WEmpf IMPORTING o_kunnr = xyhmse-wempf * o_lifnr = EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_SINGLE_SALES_POS CALL FUNCTION '/BEV2/ED_REA_SINGLE_SALES_POS' EXPORTING i_vbeln = lv_vbeln i_posnr = lv_posnr IMPORTING o_vbap = gv_vbap EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_GET_HERKUNFT_WEMPF CALL FUNCTION '/BEV2/ED_GET_HERKUNFT_WEMPF' EXPORTING i_severity = '4' i_mseg = xmseg i_mkpf = xmkpf IMPORTING o_location = herkunft o_attributes = lv_docattr * TABLES * T_EDWEMPF = * T_ED961 = CHANGING c_edmse = lv_edmse c_edwempf = gs_edwempf c_kna1 = lv_kna1 c_vbak = lv_vbak * c_vbpa = lv_vbpa c_likp = lv_likp * C_ED961 = * C_ED963 = * C_ED902 = .

/BEV2/ED_REA_KUNDEN_SLAGER * CALL FUNCTION '/BEV2/ED_REA_KUNDEN_SLAGER' * EXPORTING * i_tabnam = con_yh912 * i_bukrs = lv_bukrs * i_kunnr = lv_kunnr * i_yhvbart = lv_yhvbart * i_budat = lv_datum * TABLES * i_yh912 = lt_yh912 * EXCEPTIONS * not_found = 1.

/BEV2/ED_REA_SINGLE_KUNDE * CALL FUNCTION '/BEV2/ED_REA_SINGLE_KUNDE' * EXPORTING * i_tabnam = con_kna1 * i_kunnr = lv_kunnr * TABLES * i_kna1 = xkna1 * EXCEPTIONS * not_found = 1.

Y_HB1_REA_LIEFERUNG_KOPF ** call function 'Y_HB1_REA_LIEFERUNG_KOPF' ** exporting ** I_TABNAM = LIKP ** i_vbeln = lv_vbeln ** tables ** i_likp = xlikp ** exceptions ** not_found = 1 ** others = 2.

/BEV2/ED_REA_SINGLE_LIEF_KOPF * CALL FUNCTION '/BEV2/ED_REA_SINGLE_LIEF_KOPF' * EXPORTING ** I_TABNAM = LIKP * i_vbeln = xlikp-vbeln * IMPORTING * o_likp = xlikp ** tables ** T_LIPS = * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_GET_KUNDENGRUPPE * CALL FUNCTION '/BEV2/ED_GET_KUNDENGRUPPE' * EXPORTING * i_kunnr = lv_kunnr * i_vkorg = xvbak-vkorg * i_vtweg = xvbak-vtweg * i_spart = xvbak-spart * IMPORTING * o_kdgrp = lv_kdgrp * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_GET_SONDERKUNDEN_KZ * CALL FUNCTION '/BEV2/ED_GET_SONDERKUNDEN_KZ' * EXPORTING * i_kunnr = lv_kunnr " = Warenempfänger * i_kdgrp = lv_kdgrp " = Kundengruppe * i_datum = xmkpf-budat * IMPORTING * o_herkunft = herkunft * EXCEPTIONS * OTHERS = 1.

/BEV2/ED_REA_SINGLE_LAND CALL FUNCTION '/BEV2/ED_REA_SINGLE_LAND' EXPORTING i_tabnam = con_t005 i_land1 = lv_land TABLES i_t005 = xt005 EXCEPTIONS not_found = 1.

/BEV2/ED_GET_ALKOHOL_MATERIAL CALL FUNCTION '/BEV2/ED_GET_ALKOHOL_MATERIAL' EXPORTING i_matnr = lv_matnr1 i_werks = lv_werks1 i_lgort = lv_lgort1 i_charg = lv_charg1 i_datum = lv_datum IMPORTING o_yhalko = lv_yhalko1 TABLES t_yhmaa = xyhmaa t_yhmac = xyhmac EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_GET_ALKOHOL_MATERIAL CALL FUNCTION '/BEV2/ED_GET_ALKOHOL_MATERIAL' EXPORTING i_matnr = lv_matnr2 i_werks = lv_werks2 i_lgort = lv_lgort2 i_charg = lv_charg2 i_datum = lv_datum IMPORTING o_yhalko = lv_yhalko2 TABLES t_yhmaa = xyhmaa t_yhmac = xyhmac EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_BESTELL_ROLLE * CALL FUNCTION '/BEV2/ED_REA_BESTELL_ROLLE' * EXPORTING * i_tabnam = con_ekpa * i_ebeln = xmseg-ebeln * i_werks = xmseg-werks * i_parvw = /bev2/edinfo01-yhprlf * TABLES * i_ekpa = xekpa * EXCEPTIONS * not_found = 1.




/BEV2/ED_REA_BESTELL_POS CALL FUNCTION '/BEV2/ED_REA_BESTELL_POS' EXPORTING * I_TABNAM = EKPO i_ebeln = lv_ebeln i_ebelp = lv_ebelp TABLES i_ekpo = xekpo EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_BESTELL_KOPF CALL FUNCTION '/BEV2/ED_REA_BESTELL_KOPF' EXPORTING i_ebeln = lv_ebeln TABLES i_ekko = xekko EXCEPTIONS not_found = 1 OTHERS = 2.

DEQUEUE_/BEV2/EDMSE CALL FUNCTION 'DEQUEUE_/BEV2/EDMSE' * EXPORTING * MODE_/BEV2/EDMSE = 'E' * MANDT = SY-MANDT * MJAHR = p_mjahr * MBLNR = * ZEILE = * YHPOSNR = * YHVBART = * X_MJAHR = ' ' * X_MBLNR = ' ' * X_ZEILE = ' ' * X_YHPOSNR = ' ' * X_YHVBART = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

/BEV2/ED_REA_LIEF_STEUERLAGER * CALL FUNCTION '/BEV2/ED_REA_LIEF_STEUERLAGER' * EXPORTING * i_tabnam = con_yh913 ** i_bukrs = lv_bukrs " immer für alle Buch.Kreise lesen

/BEV2/ED_REA_SINGLE_LIEFERANT * CALL FUNCTION '/BEV2/ED_REA_SINGLE_LIEFERANT' * EXPORTING * i_tabnam = con_lfa1 * i_lifnr = p_lifnr * TABLES * i_lfa1 = xlfa1 * EXCEPTIONS * not_found = 1.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = xyhmse-yhstdat IMPORTING week = xyhmse-yhstkw EXCEPTIONS date_invalid = 1 OTHERS = 2.

/BEV2/ED_GET_ALKOHOL_MATERIAL CALL FUNCTION '/BEV2/ED_GET_ALKOHOL_MATERIAL' EXPORTING i_matnr = xyhmse-matnr i_werks = xyhmse-werks i_lgort = xyhmse-lgort i_charg = xyhmse-charg i_datum = xyhmse-yhstdat IMPORTING o_yhalko = xyhmse-yhalko TABLES t_yhmaa = xyhmaa t_yhmac = xyhmac EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_GET_LAST_ED_PERIODE CALL FUNCTION '/BEV2/ED_GET_LAST_ED_PERIODE' EXPORTING i_yhvbart = xyhmse-yhvbart i_yhslager = xyhmse-yhslager IMPORTING o_yh909 = o_yh909 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_GET_LAST_JPERIODE CALL FUNCTION '/BEV2/ED_GET_LAST_JPERIODE' EXPORTING i_yhvbart = xyhmse-yhvbart i_yhslager = xyhmse-yhslager IMPORTING o_yh928 = o_yh928 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_UMRECHNUNG_RAUMVOL CALL FUNCTION '/BEV2/ED_UMRECHNUNG_RAUMVOL' EXPORTING i_yhvbart = xyhmse-yhvbart i_material = xma_inh-matnr i_mengevon = menge_1 i_meinvon = lv_gef_base i_meinnach = xma_inh-meingi i_dezstellen = xyh901-yh_attr_gef_dez IMPORTING o_mengenach = lv_gefinh EXCEPTIONS conversion_not_found = 1 different_dimension = 2 division_by_zero = 3 material_not_found = 4 overflow = 5 t006d_entry_missing = 6 t006_entry_missing = 7 type_invalid = 8 units_missing = 9 others_unknown = 10 OTHERS = 11.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

/BEV2/ED_REA_EU_EXPORT_KUNDEN * CALL FUNCTION '/BEV2/ED_REA_EU_EXPORT_KUNDEN' ** exporting ** I_TABNAM = /BEV2/ED929 ** i_kunnr = lv_kunnr * TABLES * t_yh929 = xyh929 * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_REA_EU_EXPORT_LIEF * CALL FUNCTION '/BEV2/ED_REA_EU_EXPORT_LIEF' ** exporting ** I_TABNAM = /BEV2/ED930 ** i_lifnr = lv_lifnr * TABLES * t_yh930 = xyh930 * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_REA_SINGLE_SAP_WERK CALL FUNCTION '/BEV2/ED_REA_SINGLE_SAP_WERK' EXPORTING i_werks = lv_werks IMPORTING o_t001w = xt001w EXCEPTIONS not_exists = 1 OTHERS = 2.

ENQUEUE_/BEV2/EDMSE CALL FUNCTION 'ENQUEUE_/BEV2/EDMSE' * EXPORTING * MODE_/BEV2/EDMSE = 'E' * MANDT = SY-MANDT * MJAHR = * MBLNR = * ZEILE = * YHPOSNR = * YHVBART = * X_MJAHR = ' ' * X_MBLNR = ' ' * X_ZEILE = ' ' * X_YHPOSNR = ' ' * X_YHVBART = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

/BEV2/ED_REA_BESTELL_ENTW * CALL FUNCTION '/BEV2/ED_REA_BESTELL_ENTW' * EXPORTING ** I_TABNAM = EKBE * i_ebeln = lv_ebeln * i_ebelp = lv_ebelp ** I_ZEKKN = * i_vgabe = con_bentw_wa_umlag * IMPORTING * o_ekbe = o_ekbe ** tables ** T_EKBE = * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_REA_ED_ZU_MATBELEG * CALL FUNCTION '/BEV2/ED_REA_ED_ZU_MATBELEG' * EXPORTING * i_yhvbart = xyhmse-yhvbart * i_tabneu = 'X' * i_mjahr = lv_mjahr * i_mblnr = lv_mblnr * i_zeile = lv_zeile * TABLES * o_yhmse = lv_t_yhmse * EXCEPTIONS * notfound = 1 * OTHERS = 2.

/BEV2/ED_REA_SINGLE_MSEG * CALL FUNCTION '/BEV2/ED_REA_SINGLE_MSEG' * EXPORTING * i_mjahr = lv_mjahr * i_mblnr = lv_mblnr * i_zeile = lv_zeile * IMPORTING * o_mseg = lv_mseg * EXCEPTIONS * mseg_not_found = 1 * OTHERS = 2.

/BEV2/ED_GET_HERKUNFT_LIFNR CALL FUNCTION '/BEV2/ED_GET_HERKUNFT_LIFNR' EXPORTING i_severity = z_melde i_mseg = xmseg i_mkpf = xmkpf IMPORTING o_location = herkunft o_attributes = lv_docattr xekko = xekko "n_790158 xekpo = xekpo "n_790158 TABLES t_edlieft = gt_edlieft t_ed962 = gt_ed962 CHANGING c_edmse = lv_edmse.

/BEV2/ED_REA_ED_ZU_MATBELEG CALL FUNCTION '/BEV2/ED_REA_ED_ZU_MATBELEG' EXPORTING i_yhvbart = xyhmse-yhvbart * I_TABNEU = 'X' i_mjahr = xyhmse-mjahr i_mblnr = xyhmse-mblnr i_zeile = xyhmse-zeile TABLES o_yhmse = lt_yhmse EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_GET_STEUERBETRAG CALL FUNCTION '/BEV2/ED_GET_STEUERBETRAG' EXPORTING i_steuerwert_kz = xyh901-yh_steuerwert_kz i_land = xyh902-yhland i_yhzusatz1 = lv_zusatzabgabe CHANGING i_yhmse = xyhmse EXCEPTIONS input_unvollstaendig = 1 kein_steuersatz_hinterlegt = 2 keine_ermittlung_gefunden = 3 OTHERS = 4.

/BEV2/ED_CHK_RETROGR_SCHWUND CALL FUNCTION '/BEV2/ED_CHK_RETROGR_SCHWUND' EXPORTING i_yhvbart = xyhmse-yhvbart i_yhslager = xyhmse-yhslager i_yhlgbuch = xyhmse-yhlgbuch IMPORTING o_kenn_losew = lv_losew o_kenn_nlosew = lv_nlosew EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_UMRECHNUNG_RAUMVOL CALL FUNCTION '/BEV2/ED_UMRECHNUNG_RAUMVOL' EXPORTING i_yhvbart = xyhmse-yhvbart i_material = xmseg-matnr i_mengevon = xmseg-menge i_meinvon = xmseg-meins i_meinnach = xyhmse-yhabrmein IMPORTING o_mengenach = xyhmse-yhabrmeng EXCEPTIONS conversion_not_found = 1 different_dimension = 2 division_by_zero = 3 material_not_found = 4 overflow = 5 t006d_entry_missing = 6 t006_entry_missing = 7 type_invalid = 8 units_missing = 9 others_unknown = 10 OTHERS = 11.

/BEV2/ED_UMRECHNUNG_RAUMVOL CALL FUNCTION '/BEV2/ED_UMRECHNUNG_RAUMVOL' EXPORTING i_yhvbart = xyhmse-yhvbart i_material = xmseg-matnr i_mengevon = xmseg-menge i_meinvon = xmseg-meins i_meinnach = xyh915-yhaltmein IMPORTING o_mengenach = xyhmse-yhvolumrl EXCEPTIONS conversion_not_found = 1 different_dimension = 2 division_by_zero = 3 material_not_found = 4 overflow = 5 t006d_entry_missing = 6 t006_entry_missing = 7 type_invalid = 8 units_missing = 9 others_unknown = 10 OTHERS = 11.

/BEV2/ED_UMRECHNUNG_RAUMVOL CALL FUNCTION '/BEV2/ED_UMRECHNUNG_RAUMVOL' EXPORTING I_YHVBART = XYHMSE-YHVBART I_MATERIAL = GT_STUELI-IDNRK I_MENGEVON = XMSEG-MENGE I_MEINVON = GT_STUELI-MEINS I_MEINNACH = XYHMSE-YHABRMEIN IMPORTING O_MENGENACH = XYHMSE-YHABRMENG EXCEPTIONS CONVERSION_NOT_FOUND = 1 DIFFERENT_DIMENSION = 2 DIVISION_BY_ZERO = 3 MATERIAL_NOT_FOUND = 4 OVERFLOW = 5 T006D_ENTRY_MISSING = 6 T006_ENTRY_MISSING = 7 TYPE_INVALID = 8 UNITS_MISSING = 9 OTHERS_UNKNOWN = 10 OTHERS = 11.

/BEV2/ED_UMRECHNUNG_RAUMVOL CALL FUNCTION '/BEV2/ED_UMRECHNUNG_RAUMVOL' EXPORTING I_YHVBART = XYHMSE-YHVBART I_MATERIAL = GT_STUELI-IDNRK I_MENGEVON = XMSEG-MENGE I_MEINVON = GT_STUELI-MEINS I_MEINNACH = XYH915-YHALTMEIN IMPORTING O_MENGENACH = XYHMSE-YHVOLUMRL EXCEPTIONS CONVERSION_NOT_FOUND = 1 DIFFERENT_DIMENSION = 2 DIVISION_BY_ZERO = 3 MATERIAL_NOT_FOUND = 4 OVERFLOW = 5 T006D_ENTRY_MISSING = 6 T006_ENTRY_MISSING = 7 TYPE_INVALID = 8 UNITS_MISSING = 9 OTHERS_UNKNOWN = 10 OTHERS = 11.

/BEV2/ED_GET_LIEFERSCHEIN_NR CALL FUNCTION '/BEV2/ED_GET_LIEFERSCHEIN_NR' EXPORTING * I_MKPF = xmkpf i_mseg = xmseg IMPORTING o_vbeln = lv_vbeln o_posnn = lv_posnr EXCEPTIONS not_exists = 1 OTHERS = 2.

/BEV2/ED_REA_VERTRIEBBELEG * CALL FUNCTION '/BEV2/ED_REA_VERTRIEBBELEG' * EXPORTING * I_VBELN = XMSEG-MBLNR * I_POSNN = XMSEG-ZEILE ** i_vbtyp_v = 'C' * I_BWART = XMSEG-BWART * I_MATNR = XMSEG-MATNR * IMPORTING * O_VBELV = LV_VBELN_AP * O_POSNV = LV_POSNR_AP * EXCEPTIONS * NOT_EXISTS = 1 * NOT_UNIQUE = 2 * OTHERS = 3.

/BEV2/ED_REA_SINGLE_PARTNERTYP * CALL FUNCTION '/BEV2/ED_REA_SINGLE_PARTNERTYP' * EXPORTING * i_edpartner = p_edpartner * i_edart = p_edart ** I_SPRAS = SY-LANGU ** I_NOBUF = ' ' * TABLES * t_ed961 = gt_ed961 ** T_ED962 = * CHANGING * c_ed960 = gs_ed960 * EXCEPTIONS * partnertyp_unknown = 1 * ed961_notfound = 2 * ed962_notfound = 3 * OTHERS = 4 * .

/BEV2/ED_REA_EDSHIPTO_EU * CALL FUNCTION '/BEV2/ED_REA_EDSHIPTO_EU' ** EXPORTING ** I_EDSLAGER = ** I_BUKRS = ** I_WEMPF = ** I_EDART = ** I_BUDAT = ** IMPORTING ** E_EDWEMPF = * TABLES * t_edwempf_eu = st_edwempf_eu * EXCEPTIONS * not_found = 1 * missing_parameter = 2 * OTHERS = 3 * .

/BEV2/ED_REA_EDSHIPFROM_EU * CALL FUNCTION '/BEV2/ED_REA_EDSHIPFROM_EU' ** EXPORTING ** i_lifnr = ** I_EDART = ** I_BUKRS = ** I_EDSLAGER = ** I_BUDAT = ** IMPORTING ** E_EDLIEFT_EU = * TABLES * t_edlieft_eu = st_edlieft_eu * EXCEPTIONS * not_found = 1 * missing_parameter = 2 * OTHERS = 3 * .

/BEV2/ED_REA_SINGLE_PARTNERTYP * CALL FUNCTION '/BEV2/ED_REA_SINGLE_PARTNERTYP' * EXPORTING * i_edpartner = p_edpartner * i_edart = p_edart ** I_SPRAS = SY-LANGU ** I_NOBUF = ' ' * TABLES ** t_ed961 = * t_ed962 = gt_ed962 * CHANGING * c_ed960 = gs_ed960 * EXCEPTIONS * partnertyp_unknown = 1 * ed961_notfound = 2 * ed962_notfound = 3 * OTHERS = 4 * .

/BEV2/ED_REA_EDASSCNT_EU * CALL FUNCTION '/BEV2/ED_REA_EDASSCNT_EU' ** EXPORTING ** i_land_noneu = ** i_land_eu = ** I_EDART = ** I_BUDAT = SY-DATUM ** IMPORTING ** E_ED966 = * TABLES * t_ed966 = st_ed966 * EXCEPTIONS * not_found = 1 * missing_parameter = 2 * OTHERS = 3 * .

/BEV2/ED_REA_SINGLE_MSEG * CALL FUNCTION '/BEV2/ED_REA_SINGLE_MSEG' * EXPORTING * i_mblnr = lv_mblnr * i_mjahr = lv_mjahr * i_zeile = lv_zeile * IMPORTING * o_mseg = p_mseg * EXCEPTIONS * mseg_not_found = 1 * OTHERS = 2.

/BEV2/ED_REA_ED_ZU_MATBELEG * CALL FUNCTION '/BEV2/ED_REA_ED_ZU_MATBELEG' * EXPORTING * i_yhvbart = p_edart ** I_TABNEU = 'X' * i_mjahr = p_mjahr * i_mblnr = p_mblnr * i_zeile = p_zeile * TABLES * o_yhmse = lt_edmse * EXCEPTIONS * notfound = 1 * OTHERS = 2 * .

/BEV2/ED_REA_ED_ZU_MATBELEG * CALL FUNCTION '/BEV2/ED_REA_ED_ZU_MATBELEG' * EXPORTING ** I_YHVBART = p_edart ** I_TABNEU = 'X' * i_mjahr = p_mjahr * i_mblnr = p_mblnr * i_zeile = p_zeile * TABLES * o_yhmse = lt_edmse * EXCEPTIONS * notfound = 1 * OTHERS = 2 * .

/BEV2/ED_REA_EDSHIPFROM * CALL FUNCTION '/BEV2/ED_REA_EDSHIPFROM' * EXPORTING ** i_edslager = xyhmse-yhslager ** i_bukrs = xyhmse-bukrs * i_lifnr = xyhmse-lifnr ** i_edart = xyhmse-yhvbart ** i_budat = xyhmse-budat ** IMPORTING ** e_edlieft = gs_edlieft * TABLES * t_edlieft = lt_edlieft * EXCEPTIONS * not_found = 1 * parameter_e_edlieft_invalid = 2 * OTHERS = 3.

/BEV2/ED_REA_EDSHIPTO * CALL FUNCTION '/BEV2/ED_REA_EDSHIPTO' * EXPORTING ** i_edslager = xyhmse-yhslager ** i_bukrs = xyhmse-bukrs * i_wempf = xyhmse-wempf ** i_edart = xyhmse-yhvbart ** i_budat = xyhmse-budat ** IMPORTING ** e_edwempf = gs_edwempf * TABLES * t_edwempf = lt_edwempf * EXCEPTIONS * not_found = 1.

/BEV2/ED_REA_SINGLE_LIEF_KOPF * CALL FUNCTION '/BEV2/ED_REA_SINGLE_LIEF_KOPF' * EXPORTING ** I_TABNAM = LIKP * i_vbeln = xlikp-vbeln * IMPORTING * o_likp = xlikp ** tables ** T_LIPS = * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_GET_KUNDENGRUPPE * CALL FUNCTION '/BEV2/ED_GET_KUNDENGRUPPE' * EXPORTING * i_kunnr = lv_kunnr * i_vkorg = xvbak-vkorg * i_vtweg = xvbak-vtweg * i_spart = xvbak-spart * IMPORTING * o_kdgrp = lv_kdgrp * EXCEPTIONS * not_found = 1 * OTHERS = 2.

/BEV2/ED_REA_SPARTNER_KDGRP * CALL FUNCTION '/BEV2/ED_REA_SPARTNER_KDGRP' * EXPORTING * i_kunnr = lv_kunnr " = Warenempfänger * i_kdgrp = lv_kdgrp " = Kundengruppe * i_edart = xyhmse-yhvbart * i_datum = xmkpf-budat * IMPORTING * o_ed963 = gs_ed963 * EXCEPTIONS * OTHERS = 1.

/BEV2/ED_CHK_SUBSTITUTE_REPORT CALL FUNCTION '/BEV2/ED_CHK_SUBSTITUTE_REPORT' EXPORTING i_repid = ls_repid IMPORTING o_repid = ls_repid_kd EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_CHK_SUBSTITUTE_REPORT CALL FUNCTION '/BEV2/ED_CHK_SUBSTITUTE_REPORT' EXPORTING i_repid = ls_repid IMPORTING o_repid = ls_repid_kd EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_CHK_SUBSTITUTE_REPORT CALL FUNCTION '/BEV2/ED_CHK_SUBSTITUTE_REPORT' EXPORTING i_repid = ls_repid IMPORTING o_repid = ls_repid_kd EXCEPTIONS notfound = 1 OTHERS = 2.



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 /BEV2/EDMSESI0 or its description.