Ansicht
Dokumentation

KKDR0002 - Drill down: Derivation of virtual chars and key figures

KKDR0002 - Drill down: Derivation of virtual chars and key figures

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Expansion of drilldown reporting: Virtual characteristics, key figures and elimination key figures (elimination of internal business volume).

With this expansion it is possible to define and evaluate virtual characteristics or basic key figures which are user defined.

The Components

The components of the expansion are the function modules EXIT_SAPMKCBF_001, EXIT_SAPMKCBF_002, EXIT_SAPMKCBF_003 and. As Drill- EXIT_SAPMKCBF_004. As drilldown reporting is used by various different applications, the function module must be selected independent of the application.

EXIT_SAPMKCBF_001 in EC-EIS

EXIT_SAPMKCBF_002 in CO_PA

EXIT_SAPMKCBF_003 remaining users of drilldown

EXIT_SAPMKCBF_004 Elimination key figure (only supported in EC-EIS)

Use of the expansion 001 bis 003:

First of all, you must define all the characteristics or key figures within the application.

The customer-specific coding is put in Include programs. The Include programs ZXYEXU04 and ZXYEXF04 are intended for the function module EXIT_SAPMKCBF_001, programs ZXYEXU05 and ZXYEXF05 are intended for EXIT_SAPMKCBF_002, and programs ZXYEXU06 and ZXYEXF06 are intended for EXIT_SAPMKCBF_003.

You list the fields to be edited (characteristics or key figures) in the Include program ZXYEXU04 (and ZXYEXU05, ZXYEXU06).

You must create a form USER_CFnnn or USER_CE0nnnn for each structure (i.e. aspect, operating concern) in Include ZXYEXF04 (and ZXYEXF05, ZXYEXF06). The specific coding for the virtual characteristic or the virtual key figure is to be stored in this form. For these programs to be recognized by the SAPLXYEX program, you must create Include ZXYEXZZZ and incorporate ZXYEXF04 (and ZXYEXF05, ZXYEXF06) into it.

Those characteristics entered in the Include are not passed on to the Select-Statement at the start of the drilldown report. It is, therefore, possible to change this after the reading of the data record. Finally, the selection criteria of the form are checked.

Note that the transferred data records can be of different aggregation levels depending on the reading process used (totals records or delta read process).

After activating the expansion, those reports for which the expansion is to be used, have to be regenerated.

Example

Example coding can be found set in comment characters in the source text of the function modules. The coding must be either aspect or operating concern-specific.

If, for example, you want to sort by report name, you can use field RKB1D-REPID for this.






General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2743 Date: 20240511 Time: 042619     sap01-206 ( 53 ms )