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

/BEV2/EDXSEPF3 SAP ABAP INCLUDE - documentation and ABAP source code







/BEV2/EDXSEPF3 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/EDXSEPF3 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/EDXSEPF3. "Basic submit
SUBMIT /BEV2/EDXSEPF3 AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV2/EDXSEPF3 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 /BEV2/EDXSEPF3

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_EDDOC_SHOW CALL FUNCTION '/BEV2/ED_EDDOC_SHOW' EXPORTING i_yhvbart = yhmse_old-yhvbart i_mjahr = yhmse_old-mjahr i_mblnr = yhmse_old-mblnr i_zeile = yhmse_old-zeile i_yhposnr = yhmse_old-yhposnr EXCEPTIONS * notfound = 1 * not_unique = 2 OTHERS = 0.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'MB03' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' EXPORTING * I_TABNAM = /BEV2/ED903 i_datab = lp_datvon i_datbi = lp_datbis TABLES i_yh903 = xyh903 i_yh902 = xyh902 * E_YH902T = i_select_yhvbart = lr_vbs i_select_yhslager = lr_stlag EXCEPTIONS * not_found = 1 OTHERS = 0.

/BEV2/ED_REA_ED_EINHEITEN CALL FUNCTION '/BEV2/ED_REA_ED_EINHEITEN' EXPORTING i_tabnam = '/BEV2/ED915' i_yhvbart = lp_vbs TABLES i_yh915 = xyh915 EXCEPTIONS * not_found = 1 OTHERS = 0.

/BEV2/ED_REA_ED_MATERIALIEN CALL FUNCTION '/BEV2/ED_REA_ED_MATERIALIEN' TABLES * i_sel_yhvbart = i_vbs i_sel_matnr = gr_matnr o_yhmaa = xyhmaa EXCEPTIONS * yhmaa_not_found = 1 OTHERS = 0.

/BEV2/ED_REA_ED_MATNR_BKRS CALL FUNCTION '/BEV2/ED_REA_ED_MATNR_BKRS' TABLES i_sel_matnr = gr_matnr o_yhmab = xyhmab EXCEPTIONS * yhmab_not_found = 1 OTHERS = 0.

/BEV2/ED_REA_LB_GRUPPEN_TEX CALL FUNCTION '/BEV2/ED_REA_LB_GRUPPEN_TEX' * exporting * I_TABNAM = /BEV2/ED907T TABLES i_yh907kt = xyh907t * i_select_yhvbart = lr_vbs EXCEPTIONS * not_found = 1 OTHERS = 0.

/BEV2/ED_REA_BWTYPE_TXT CALL FUNCTION '/BEV2/ED_REA_BWTYPE_TXT' * exporting * I_TABNAM = /BEV2/ED914T TABLES i_yh914t = xyh914t EXCEPTIONS * notfound = 1 OTHERS = 0.

/BEV2/ED_REA_ED_FEHLERTEXTE CALL FUNCTION '/BEV2/ED_REA_ED_FEHLERTEXTE' EXPORTING i_tabneu = 'X' * I_YHERROR = i_spras = sy-langu TABLES o_yh999t = xyh999t EXCEPTIONS * notfound = 1 OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'YHLGBUCH' TABLES i_seltab = lr_lgbuch o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'MATNR' TABLES i_seltab = gr_matnr o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'BUDAT' TABLES i_seltab = gr_budat o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'YHSLAGER' TABLES i_seltab = lr_stlag o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'WERKS' TABLES i_seltab = gr_werks o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'LGORT' TABLES i_seltab = gr_lgort o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' EXPORTING i_flagnew = ' ' i_varname = 'YHBESKZ' TABLES i_seltab = gr_beskz o_whtab = whtab EXCEPTIONS OTHERS = 0.

/BEV2/ED_CREA_WTAB_FROM_SEL * CALL FUNCTION '/BEV2/ED_CREA_WTAB_FROM_SEL' * EXPORTING * I_FLAGNEW = ' ' * I_VARNAME = 'YHALKO' * TABLES * I_SELTAB = GR_ALKO * O_WHTAB = WHTAB * EXCEPTIONS * OTHERS = 1.

/BEV2/ED_EDDOC_REA_WTAB CALL FUNCTION '/BEV2/ED_EDDOC_REA_WTAB' EXPORTING i_yhvbart = lp_vbs i_geloeschte = '?' i_tabneu = 'X' TABLES i_whtab = whtab o_yhmse = xyhmse EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_MKPF_MSEG_BUDAT





CALL FUNCTION '/BEV2/ED_REA_MKPF_MSEG_BUDAT' TABLES i_budat = gr_budat i_matnr = gr_matnr i_werks = lr_werks i_lgort = lr_lgort i_bwart = gr_bwart o_mkpf = xmkpf o_mseg = xmseg EXCEPTIONS * notfound = 1 OTHERS = 0.

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

/BEV2/ED_GET_ALKOHOL_MATERIAL CALL FUNCTION '/BEV2/ED_GET_ALKOHOL_MATERIAL' EXPORTING i_matnr = xmseg-matnr i_werks = xmseg-werks i_lgort = xmseg-lgort i_charg = xmseg-charg i_datum = xmkpf-budat IMPORTING o_yhalko = z_yhmse-yhalko TABLES t_yhmaa = lt_yhmaa t_yhmac = lt_yhmac EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_SINGLE_MSEG CALL FUNCTION '/BEV2/ED_REA_SINGLE_MSEG' EXPORTING i_mblnr = xyhmse-mblnr i_mjahr = xyhmse-mjahr i_zeile = xyhmse-zeile IMPORTING o_mseg = xmseg EXCEPTIONS * mseg_not_found = 1 OTHERS = 0.

/BEV2/ED_MENGEN_UMRECHNEN CALL FUNCTION '/BEV2/ED_MENGEN_UMRECHNEN' EXPORTING i_vbsart = z_yhmse-yhvbart i_bukrs = z_yhmse-bukrs i_menge = xmseg-menge i_meins = xmseg-meins i_erfmg = xmseg-erfmg i_erfme = xmseg-erfme i_matnr = z_yhmse-matnr i_alternative_umr = xyhmaa-yhkaltumr i_alko = z_yhmse-yhalko i_runden = 'X' IMPORTING e_abrmenge = z_yhmse-yhabrmeng e_abrmein = z_yhmse-yhabrmein TABLES o_yh915 = xyh915 EXCEPTIONS conversion_not_found = 1 OTHERS = 2.

/BEV2/ED_GET_PRINT_PARAMETERS CALL FUNCTION '/BEV2/ED_GET_PRINT_PARAMETERS' EXPORTING i_yhvbart = lp_vbs i_uname = sy-uname i_repid = lv_repid i_yhslager = lp_stlag i_dialog = space i_mode = lp_media i_listform = con_l IMPORTING o_pri_params = params o_arc_params = arc_parameter o_fehlflag = z_fehlflag o_listtyp = lv_listtyp EXCEPTIONS fix_params_not_found = 1 arc_params_not_found = 2 listform_false = 3 not_entry_toaom = 4 printer_not_found = 5 OTHERS = 6.

/BEV2/ED_WRITE_ARCDOC_ID CALL FUNCTION '/BEV2/ED_WRITE_ARCDOC_ID' EXPORTING i_listform = con_l i_listtyp = lv_listtyp is_params = arc_parameter i_vbart = lp_vbs i_slager = lp_stlag IMPORTING out_arc_params = arc_parameter TABLES it_budat = lt_budat * it_vbart = * it_slager = EXCEPTIONS budat_false = 1 budat_not_find = 2 not_entry_toaom = 3 OTHERS = 4.

/BEV2/ED_REA_TITELZEILEN CALL FUNCTION '/BEV2/ED_REA_TITELZEILEN' EXPORTING i_yhvbart = lp_vbs i_yhslager = lp_slager i_spras = sy-langu i_write = con_x i_linesize = gv_list_width TABLES xyh922t = xyh922t EXCEPTIONS * not_found = 1 OTHERS = 0.



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