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

/BEV2/EDSTMAT SAP ABAP Report - Call Maintenance of Material Master Company Code







/BEV2/EDSTMAT 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/EDSTMAT 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/EDM1 - ED Material Master (Client)
/BEV2/EDM2 - ED Material Master (Company Code)
/BEV2/EDM3 - Excise Duty Material Master (Plant)


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


Text pool values


Selection Text: S_WERKS = D Plant
Selection Text: S_MATNR = D Material
Selection Text: S_BUKRS = D Company Code
Selection Text: P_VBSART = D Excise Duty Type
Title: Call Maintenance of Material Master Company Code
Text Symbol: T04 = Excise Duty Material Master
Text Symbol: ST3 = Material Master Excise Duty - Plant
Text Symbol: ST2 = Material Master Excise Duty - Company Code
Text Symbol: ST1 = Material Master Excise Duty - Client
Text Symbol: BW1 = Plant Selection
Text Symbol: BM1 = Select Material
Text Symbol: BB1 = Choose Company Codes
Text Symbol: 004 = Plant Data
Text Symbol: 003 = Company Code Data


INCLUDES used within this REPORT /BEV2/EDSTMAT

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_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' * exporting * I_TABNAM = /BEV2/ED903 * I_DATAB = * I_DATBI = TABLES i_yh903 = lt_yh903 i_yh902 = lt_yh902 * i_select_yhvbart = * I_SELECT_YHSLAGER = EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ED_FUNKTIONEN CALL FUNCTION '/BEV2/ED_REA_ED_FUNKTIONEN' * EXPORTING * I_TABNAM = /BEV2/ED901 TABLES i_yh901 = pt_yh901 * I_SELECT_YHVBART = EXCEPTIONS not_found = 1 OTHERS = 2.

VIEW_AUTHORITY_CHECK CALL FUNCTION 'VIEW_AUTHORITY_CHECK' EXPORTING view_action = action view_name = view * NO_WARNING_FOR_CLIENTINDEP = ' ' * CHANGING * ORG_CRIT_INST = EXCEPTIONS invalid_action = 1 no_authority = 2 no_clientindependent_authority = 3 table_not_found = 4 no_linedependent_authority = 5 OTHERS = 6 .

VIEW_GET_DDIC_INFO CALL FUNCTION 'VIEW_GET_DDIC_INFO' EXPORTING viewname = view * VARIANT_FOR_SELECTION = ' ' TABLES sellist = sellist x_header = x_header x_namtab = x_namtab EXCEPTIONS no_tvdir_entry = 1 table_not_found = 2 OTHERS = 3 .

/BEV2/EDHP_RANGETAB_TO_SELLIST CALL FUNCTION '/BEV2/EDHP_RANGETAB_TO_SELLIST' EXPORTING i_fieldname = 'YHVBART' * I_AND_OR = ' ' TABLES t_sellist = sellist r_rangetab = lrg .

/BEV2/EDHP_RANGETAB_TO_SELLIST CALL FUNCTION '/BEV2/EDHP_RANGETAB_TO_SELLIST' EXPORTING i_fieldname = 'MATNR' i_and_or = 'AND' TABLES t_sellist = sellist r_rangetab = s_matnr.

VIEW_MAINTENANCE CALL FUNCTION 'VIEW_MAINTENANCE' EXPORTING * CORR_NUMBER = ' ' view_action = p_action view_name = p_view * RFC_DESTINATION_FOR_UPGRADE = ' ' * CLIENT_FOR_UPGRADE = ' ' complex_selconds_used = 'X' * NO_WARNING_FOR_CLIENTINDEP = ' ' * OC_INST = TABLES dba_sellist = sellist excl_cua_funct = excl_cua_funct x_header = x_header x_namtab = x_namtab * DPL_SELLIST = EXCEPTIONS missing_corr_number = 1 no_database_function = 2 no_editor_function = 3 no_value_for_subset_ident = 4 OTHERS = 5 .

/BEV2/EDHP_RANGETAB_TO_SELLIST CALL FUNCTION '/BEV2/EDHP_RANGETAB_TO_SELLIST' EXPORTING i_fieldname = 'BUKRS' i_and_or = 'AND' TABLES t_sellist = sellist r_rangetab = lrg.

/BEV2/EDHP_RANGETAB_TO_SELLIST CALL FUNCTION '/BEV2/EDHP_RANGETAB_TO_SELLIST' EXPORTING i_fieldname = 'WERKS' i_and_or = 'AND' TABLES t_sellist = sellist r_rangetab = lrg.



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