SAP Message BRAIN518 - Display generated report


This is the ABAP program that is generated for a query.
An ABAP expert will certainly be able to highlight problems in theprogram. As a rule, the logic becomes clear during debugging.
The template for this program is 'RSRDUMMY'. The three-digit numbers inRSRDUMMY are interpreted in the form DUMMYLOOP in RRI2. ForMultiProviders and non-cumulative cubes, this program contains 'guestcoding', which is generated by the data manager and jumped to duringruntime.
The OLAP processor can make all selection checks not only with the KEYbut also with the SID, and also with the hierarchy nodes as well astheir expanded nodes. You can change the type of selection checkdynamically for each data package. For this reason, all fields andconstants are identified using field symbols that you can assignaccording to your current requirements using ASSIGN. This methodalso solves the problem of optional variables.
INCLUDE BRAIN-SELECT0 OBJECT DOKU ID TX LANGUAGE DE
Notes on areas of interest:
  • G_S_DATA : Structure in which the data is transferred from the data
  • manager to the OLAP processor.
    • G_S_Q, G_S_C and G_S_F: Structures that control currency translation.

    • G_SX_S: Structure that contains the data in the query cube and the
    • cache. The key G_S_K corresponds to the free characteristics, orREPORT-CHAFREE. The individual containersG_T_Dnnn are described by REPORT-WGR.
      • G_SX_VAR: Structure in which the generated program receives the
      • variable values from the variable input to check the data (validation).
        • Form USER_EXIT: Exit jump for virtual characteristics and key figures.

        • Form ASSIGN_VARIABLEN: Enable/disable optional variables.

        • Perform VARCHAVL_INIT: Calculation with attributes.

        • Form SELECT_1: Check of all conditions of FEMS '0000'. You can
        • deactivate the check dynamically. The check has to be deactivated whenselecting constants.
          • = BIT-AND :

          • MOVE all affected characteristics to G_S_K.
            • Perform GET_FACTOR: Procurement of currency translation factors.

            • Form SELECT_4: Collection of

            • Form CHECK : Check for all FEMSN conditions and distribution of these
            • to the various containers of FORM MOVE_Z_SP_%FEMS. All formulacomponents that can or must be executed before aggregation arecalculated in FORM
              %FORMNM .
              • Form A_%F_K FORM A_%F_S: Toggle between KEY and SID

              • Form COLLECT_S: Call-back when a G_TAX_S is aggregated.

              • Form L1_%WGR, FORM L2_%WGR: Special routines for processing
              • non-cumulatives.