MV12AF0G 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 MV12AF0G into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RV_TABLE_READ CALL FUNCTION 'RV_TABLE_READ' EXPORTING TR_LANGU = SY-LANGU TR_TABLE = GDT_TABLE TABLES DD03V_TAB = DD03V_TAB DD04V_TAB = DD04V_TAB DFIES_TAB = DFIES_TAB EXCEPTIONS OTHERS = 01.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING NAME = T681-KOTAB LANGU = SY-LANGU IMPORTING DD02V_WA = DD02V EXCEPTIONS OTHERS = 1.
RV_COND_TABLE_READ CALL FUNCTION 'RV_COND_TABLE_READ' EXPORTING CTR_KVEWE = T681-KVEWE CTR_KOTABNR = T681-KOTABNR TABLES VAKE_FLD_TAB = DD03V_TAB VAKE_DTL_TAB = DD04V_TAB KOND_DFIES_TAB = KOND_DFIES_TAB KOND_FLD_TAB = KOND_FLD_TAB VAKE_DFIES_TAB = VAKE_DFIES_TAB EXCEPTIONS OTHERS = 1.
RV_COND_TABLE_NUMBER_ASSIGN CALL FUNCTION 'RV_COND_TABLE_NUMBER_ASSIGN' EXPORTING KVEWE = T681-KVEWE KOTABNR_LOW = GRENZE_NIEDRIG KOTABNR_HIGH = GRENZE_HOCH IMPORTING KOTABNR = T681-KOTABNR.
RV_TABLE_NAME_SET CALL FUNCTION 'RV_TABLE_NAME_SET' EXPORTING RT_KVEWE = T681-KVEWE RT_KOTABNR = T681-KOTABNR IMPORTING RT_KOTAB = T681-KOTAB.
RV_COND_DEFINITION_WRITE CALL FUNCTION 'RV_COND_DEFINITION_WRITE' EXPORTING CDW_T681 = T681 CDW_TMC1T_GSTXT = MV12A-KOTAB_TEXT CDW_T681S = T681S CDW_T681T_VTEXT = T681T-VTEXT CDW_TMC1 = TMC1 TABLES T681E_TAB = T681E_TAB TMC1D_TAB = TMC1D_TAB TMC1K_TAB = TMC1K_TAB EXCEPTIONS STOP_WORK = 01. "#EC *
RKE_FILL_FIELD_TABLE CALL FUNCTION 'RKE_FILL_FIELD_TABLE' EXPORTING ERKRS = ERKRS TABNAME = TABNAME TABLES FIELDTAB = X_FIELDTAB EXCEPTIONS LEDGER_NOT_DEF = 1 LEDGER_NOT_FOUND = 2 TABLE_NOT_FOUND = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.