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

/BEV2/EDMSEL01 SAP ABAP Report - Evaluation of Excise Duty Documents







/BEV2/EDMSEL01 is a standard Executable ABAP Report 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/EDMSEL01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/BEV2/EDT3 - Excise Duty - Document Evaluation


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


Text pool values


ED individual documents acc. to stock ledger division
Selection Text: YHVBART = D .
Selection Text: UNTERSP = D .
Selection Text: STPER = D .
Selection Text: STEUERL = D .
Selection Text: STDATUM = D .
Selection Text: SPALTE = D .
Selection Text: P_VARI = D .
Selection Text: P_MEDIA = D .
Selection Text: PLATO = D .
Selection Text: NERWLAGB = D .
Selection Text: MATGRP_S = D .
Selection Text: MATGRP = D .
Selection Text: MATERIAL = D .
Selection Text: LGBUCH = D .
Selection Text: LBGRUPPE = D .
Selection Text: FEHLER = D .
Selection Text: BSTAT = D .
Selection Text: BEWEGART = D .
Selection Text: BESKZ = D .
Selection Text: BELEGNR = D .
Title: Evaluation of Excise Duty Documents
Text Symbol: TLE = Complete the document text and save it
Text Symbol: T04 = TimeDelimitation a. status
Text Symbol: T03 = Output Control
Text Symbol: T02 = Doc.Delimitation
Text Symbol: T01 = Tax Assignment
Text Symbol: I02 = Select just one entry
Text Symbol: I01 = Deleted documents will be excluded
Text Symbol: F05 = Really delete document?
Text Symbol: F04 = Delete Excise Duty document
Text Symbol: E02 = No ED document generated...
Text Symbol: E01 = Do not select several tax types
Text Symbol: 004 = Alco.Strength
Text Symbol: 003 = Doc./s w/o stock ledger entry
Text Symbol: 002 = Dep. Group Date Material Quan. Pc MVT Sta err Material doc./item .
Text Symbol: 001 = TWarehouse:


INCLUDES used within this REPORT /BEV2/EDMSEL01

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_F4_BESKZ_DYNP_READ CALL FUNCTION '/BEV2/ED_F4_BESKZ_DYNP_READ' EXPORTING i_yhvbart = yhvbart-low i_field_yhvbart = 'YHVBART-LOW' i_repid = gv_this_report i_dynnr = sy-dynnr IMPORTING e_yhbeskz = beskz-low EXCEPTIONS no_select = 0 OTHERS = 0.

/BEV2/ED_F4_BESKZ_DYNP_READ CALL FUNCTION '/BEV2/ED_F4_BESKZ_DYNP_READ' EXPORTING i_yhvbart = yhvbart-low i_field_yhvbart = 'YHVBART-LOW' i_repid = gv_this_report i_dynnr = sy-dynnr IMPORTING e_yhbeskz = beskz-high EXCEPTIONS no_select = 0 OTHERS = 0.

/BEV2/EDHP_PREPARE_REP_SUBST CALL FUNCTION '/BEV2/EDHP_PREPARE_REP_SUBST' * EXPORTING * I_VBSART_P = * I_SLAGER_P = IMPORTING e_vbsart = gv_subst_vbsart e_slager = gv_subst_slager TABLES i_vbsart_s = yhvbart i_slager_s = steuerl EXCEPTIONS 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 * O_YH999 = EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_EDDOC_SHOW CALL FUNCTION '/BEV2/ED_EDDOC_SHOW' EXPORTING i_yhvbart = beleg-yhvbart i_mjahr = beleg-mjahr i_mblnr = beleg-mblnr i_zeile = beleg-zeile i_yhposnr = beleg-yhposnr EXCEPTIONS notfound = 0 not_unique = 0 OTHERS = 0.

/BEV2/ED_EDDOC_SHOW CALL FUNCTION '/BEV2/ED_EDDOC_SHOW' EXPORTING i_yhvbart = beleg-yhvbart i_mjahr = beleg-mjahr i_mblnr = beleg-mblnr i_zeile = beleg-zeile i_yhposnr = beleg-yhposnr EXCEPTIONS notfound = 0 not_unique = 0 OTHERS = 0.

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

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

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDT2' i_action = '02' " Ändern EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDT2' i_action = '02' " Ändern EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_REA_TITELZEILEN CALL FUNCTION '/BEV2/ED_REA_TITELZEILEN' EXPORTING i_yhvbart = beleg-yhvbart i_yhslager = beleg-yhslager i_spras = sy-langu i_write = 'X' i_linesize = sy-linsz TABLES xyh922t = xyh922t EXCEPTIONS not_found = 0 OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/BEV2/EDMSEL01' dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

/BEV2/ED_F4_SLAGER CALL FUNCTION '/BEV2/ED_F4_SLAGER' IMPORTING e_yhslager = steuerl-low TABLES i_vbsart = yhvbart EXCEPTIONS noselect = 0 OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/BEV2/EDMSEL01' dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

/BEV2/ED_F4_SLAGER CALL FUNCTION '/BEV2/ED_F4_SLAGER' IMPORTING e_yhslager = steuerl-high TABLES i_vbsart = yhvbart EXCEPTIONS noselect = 0 OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/BEV2/EDMSEL01' dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

/BEV2/ED_F4_STPER CALL FUNCTION '/BEV2/ED_F4_STPER' * exporting * i_vbsart = * i_stlager = * display = IMPORTING e_stper = stper-low TABLES t_vbsart = yhvbart t_stlager = steuerl EXCEPTIONS noselect = 0 OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/BEV2/EDMSEL01' dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

/BEV2/ED_F4_STPER





CALL FUNCTION '/BEV2/ED_F4_STPER' * exporting * i_vbsart = * i_stlager = * display = IMPORTING e_stper = stper-high TABLES t_vbsart = yhvbart t_stlager = steuerl EXCEPTIONS noselect = 0 OTHERS = 0.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDT3' i_action = '02' " Ändern EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' textline1 = text-f04 textline2 = text-f05 titel = space * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = lv_answer EXCEPTIONS OTHERS = 0.

/BEV2/ED_DEL_SINGLE_BELEG CALL FUNCTION '/BEV2/ED_DEL_SINGLE_BELEG' EXPORTING * I_TABNAM = 'YHMSE' i_yhvbart = beleg-yhvbart i_mjahr = beleg-mjahr i_mblnr = beleg-mblnr i_zeile = beleg-zeile i_yhposnr = beleg-yhposnr EXCEPTIONS not_exists = 1 OTHERS = 2.

/BEV2/ED_REA_SINGLE_SLAGER CALL FUNCTION '/BEV2/ED_REA_SINGLE_SLAGER' EXPORTING i_yhvbart = beleg-yhvbart i_yhslager = beleg-yhslager * I_DATUM = SY-DATUM * importing * o_yh902 = EXCEPTIONS notfound = 1 OTHERS = 2.

RS_VARIANT_VALUES_TECH_DATA CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA' EXPORTING report = lv_repid variant = con_standardvar * SEL_TEXT = ' ' move_or_write = 'M' " -> Systemformat * SORTED = ' ' * importing * techn_data = lv_techn_data TABLES variant_values = lv_variant_values * VARIANT_TEXT = EXCEPTIONS variant_non_existent = 0 variant_obsolete = 0 OTHERS = 0.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDSL' i_action = '03' " Anzeigen EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDSL' i_action = '03' " Anzeigen EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = is_variant i_save = 'A' * it_default_fieldcat = IMPORTING e_exit = variant_exit es_variant = is_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = is_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

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

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING i_tcode = '/BEV2/EDT3' i_action = '02' " Ändern EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING i_tcode = '/BEV2/EDT2' i_action = '02' " Ändern EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING i_tcode = '/BEV2/EDT3' i_action = '02' " Ändern EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDDS' i_action = '02' "+ändern für zuordnen EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING i_tcode = '/BEV2/EDSL' i_action = '03' " Anzeigen EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/ED_REA_ED_PERIODE CALL FUNCTION '/BEV2/ED_REA_ED_PERIODE' EXPORTING i_yhvbart = xyh902-yhvbart i_yhslager = xyh902-yhslager i_yhstper = stper-low IMPORTING e_yh909 = syh909 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_ED_PERIODE CALL FUNCTION '/BEV2/ED_REA_ED_PERIODE' EXPORTING i_yhvbart = xyh902-yhvbart i_yhslager = xyh902-yhslager i_yhstper = stper-high IMPORTING e_yh909 = syh909 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' * exporting * I_TABNAM = /BEV2/ED903 * I_DATAB = * I_DATBI = TABLES * I_YH903 = i_yh902 = xyh902 i_select_yhvbart = yhvbart i_select_yhslager = steuerl EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ED_PERIODE CALL FUNCTION '/BEV2/ED_REA_ED_PERIODE' EXPORTING i_yhvbart = xyh902-yhvbart i_yhslager = xyh902-yhslager i_yhstper = stper-low IMPORTING e_yh909 = syh909 EXCEPTIONS notfound = 1 OTHERS = 2.




/BEV2/ED_REA_ED_PERIODE CALL FUNCTION '/BEV2/ED_REA_ED_PERIODE' EXPORTING i_yhvbart = xyh902-yhvbart i_yhslager = xyh902-yhslager i_yhstper = stper-high IMPORTING e_yh909 = syh909 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_READ_ARCHIVE_ENTRIES CALL FUNCTION '/BEV2/ED_READ_ARCHIVE_ENTRIES' EXPORTING i_vbart = xyh902-yhvbart i_slager = xyh902-yhslager IMPORTING e_end_check = lv_end_check TABLES t_datum = r_datum.



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