SAP Reports / Programs

MVER_DI SAP ABAP Report - Main Program for Direct Input (Consumption Values)







MVER_DI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for Importing Consumption Values by Direct Input This program is presently released for internal use only...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter MVER_DI 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 MVER_DI. "Basic submit
SUBMIT MVER_DI AND RETURN. "Return to original report after report execution complete
SUBMIT MVER_DI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Main Program for Direct Input (Consumption Values)
Text Symbol: 880 = File access
Text Symbol: 881 = Using logical file name:
Text Symbol: 884 = Using physical file name:
Text Symbol: 885 = Code Page of File
Text Symbol: 886 = UTF-8
Text Symbol: 887 = NON-Unicode


INCLUDES used within this REPORT MVER_DI

INCLUDE RMMMBIMC.
INCLUDE RMDATINDSELE.


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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "#EC EXISTS EXPORTING logical_filename = lds_name_int CHANGING physical_filename = ds_name EXCEPTIONS OTHERS = 1.

MVER_MAINTAIN_DARK CALL FUNCTION 'MVER_MAINTAIN_DARK' * EXPORTING * SPERRMODUS = ' ' * MAX_ERRORS = 0 TABLES amveg_ueb = amveg_ueb amveu_ueb = amveu_ueb amerrdat_f = amerrdat_f EXCEPTIONS update_error = 1 internal_error = 2 too_many_errors = 3 OTHERS = 4.

T100_SINGLE_READ CALL FUNCTION 'T100_SINGLE_READ' EXPORTING * KZRFB = ' ' t100_sprsl = sy-langu t100_arbgb = amerrdat_f-msgid t100_msgnr = t100-msgnr IMPORTING wt100 = t100 EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events TABLES t_outtab = gt_mver_di EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

/SAPDMC/DATAELEMENT_GET_TEXTS CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS' EXPORTING name = iv_dataelement IMPORTING text_header = xv_text_head text_middle = xv_text_mid text_long = xv_text_long text_short = xv_text_short EXCEPTIONS not_found = 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 MVER_DI or its description.