GRFN_MDUG 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 GRFN_MDUG into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
GRFN_MDUG - Master Data Upload Generator
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.
Selection Text: GENERATE = Generate Template
Selection Text: P_FILE = File Name
Selection Text: P_FINDID = Find ID by name
Selection Text: P_IMPBK = Import in background
Selection Text: P_INCREG = Include Regulation data
Selection Text: P_MLANG = Multiple languages
Selection Text: S_MLANG = Select languages
Selection Text: UPLOAD = Upload Data
Selection Text: USE_ID = Maintain ID manually
Title: Master Data Upload Generator
Text Symbol: 001 = Mode
Text Symbol: 002 = Entities
Text Symbol: 003 = Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = lv_job_name IMPORTING jobcount = lv_job_number EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = lv_job_number jobname = lv_job_name strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.
APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = cl_grfn_io_log=>gc_al_object object_attribute = 1 subobject = cl_grfn_io_log=>gc_al_subobject-import subobject_attribute = 1 external_number = ' ' external_number_attribute = 0 column_selection = ls_column_selection date_from = sy-datum "#EC DOM_EQUAL date_to = sy-datum "#EC DOM_EQUAL time_to = '235959' "#EC DOM_EQUAL external_number_display_length = 20 i_variant_report = lv_repid EXCEPTIONS no_authority = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.