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

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







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

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_MSEG_IN_ZEITRAUM CALL FUNCTION '/BEV2/ED_REA_MSEG_IN_ZEITRAUM' EXPORTING I_TSTLO_VON = GV_TSTLO_S032 I_TSTLO_BIS = GV_TSTLO_S466 I_BUDAT_VON = LV_TAG_VON I_BUDAT_BIS = LV_TAG_BIS TABLES * t_matnr = gv_mattab " Alte Logik I_MAT_TAB = GV_ITAB_VBS_MAT " Neue Logik T_WERKS = S_WERKS T_LGORT = S_LGORT I_YH903 = XYH903 T_MSEG = XMSEG1 EXCEPTIONS NOTFOUND = 1 OTHERS = 2.

/BEV2/ED_REA_MSEG_IN_ZEITRAUM CALL FUNCTION '/BEV2/ED_REA_MSEG_IN_ZEITRAUM' EXPORTING I_TSTLO_VON = GV_TSTLO_S032 I_TSTLO_BIS = GV_TSTLO_S465 I_BUDAT_VON = Z_DAT_VON I_BUDAT_BIS = Z_DAT_BIS TABLES * t_matnr = gv_mattab " Alte Logik I_MAT_TAB = GV_ITAB_VBS_MAT " Neue Logik T_WERKS = S_WERKS T_LGORT = S_LGORT I_YH903 = XYH903 T_MSEG = XMSEG2 EXCEPTIONS NOTFOUND = 1 OTHERS = 2.

/BEV2/ED_REA_ED_FUNKTIONEN_TXT CALL FUNCTION '/BEV2/ED_REA_ED_FUNKTIONEN_TXT' * exporting * I_TABNAM = /BEV2/ED901T TABLES I_YH901T = XYH901T i_select_yhvbart = lr_vbsart EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

/BEV2/ED_REA_ED_EINHEITEN CALL FUNCTION '/BEV2/ED_REA_ED_EINHEITEN' EXPORTING I_TABNAM = '/BEV2/ED915' i_yhvbart = p_vbsart TABLES I_YH915 = XYH915 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' EXPORTING * I_TABNAM = /BEV2/ED903 I_DATAB = LP_TAG I_DATBI = LP_TAG TABLES I_YH903 = XYH903 I_YH902 = XYH902 * E_YH902T = I_SELECT_YHVBART = LR_VBSART I_SELECT_YHSLAGER = LP_S_SLAGER EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

/BEV2/ED_REA_STEUERSATZ CALL FUNCTION '/BEV2/ED_REA_STEUERSATZ' EXPORTING I_YHVBART = LP_VBSART I_YHLAND = LT_LAENDER-LAND1 I_STDATUM = LP_TAG TABLES O_YH918 = LT_YH918 EXCEPTIONS NOTFOUND = 1 OTHERS = 2.

/BEV2/ED_REA_ED_MATERIALIEN CALL FUNCTION '/BEV2/ED_REA_ED_MATERIALIEN' TABLES i_sel_yhvbart = lr_vbsart I_SEL_MATNR = S_MATNR O_YHMAA = XYHMAA EXCEPTIONS YHMAA_NOT_FOUND = 1 OTHERS = 2.

/BEV2/ED_REA_ED_MATNR_BKRS CALL FUNCTION '/BEV2/ED_REA_ED_MATNR_BKRS' TABLES * i_sel_matnr = gv_mattab " Alte Logik I_MAT_TAB = GV_ITAB_VBS_MAT " Neue Logik O_YHMAB = XYHMAB EXCEPTIONS YHMAB_NOT_FOUND = 1 OTHERS = 2.

/BEV2/ED_REA_ED_MATNR_WERK CALL FUNCTION '/BEV2/ED_REA_ED_MATNR_WERK' TABLES * i_sel_matnr = gv_mattab " Alte Logik I_MAT_TAB = GV_ITAB_VBS_MAT " Neue Logik O_YHMAC = XYHMAC EXCEPTIONS YHMAC_NOT_FOUND = 1 OTHERS = 2.

/BEV2/ED_REA_LIS_STATISTIK CALL FUNCTION '/BEV2/ED_REA_LIS_STATISTIK' * exporting * I_BESTDATUM = SY-DATUM IMPORTING O_TSTLO = GV_TSTLO_S032 TABLES * i_gv_mattab = gv_mattab " Alte Logik I_MAT_TAB = GV_ITAB_VBS_MAT " Neue logik I_WERKS_TAB = S_WERKS I_LGORT_TAB = S_LGORT I_YH903 = XYH903 O_S032 = XS032 EXCEPTIONS NOT_FOUND = 1 DB_BUSY = 2 OTHERS = 3.

/BEV2/ED_GET_GEFAESSINHALT CALL FUNCTION '/BEV2/ED_GET_GEFAESSINHALT' EXPORTING I_MATNR = LP_MATNR I_BME = LP_BME I_YHVBART = LP_VBART IMPORTING E_YHGEFINH = LV_GEFAESSINHALT E_DECIMALS = LV_DECIMALS EXCEPTIONS CONVERSION_NOT_FOUND_FATAL = 1 CONVERSION_NOT_FOUND = 2 TAX_NOT_RELEVANT = 3 OTHERS = 4.



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