SAP RSKPI_CAT_READ Function Module for Read the KPI Catalog









RSKPI_CAT_READ is a standard rskpi cat read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read the KPI Catalog processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rskpi cat read FM, simply by entering the name RSKPI_CAT_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSKPI_CATALOG
Program Name: SAPLRSKPI_CATALOG
Main Program: SAPLRSKPI_CATALOG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSKPI_CAT_READ pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RSKPI_CAT_READ'"Read the KPI Catalog
EXPORTING
* I_PARENT_ID = "Technical Name of Node in KPI Catalog
* I_MAX_LEVEL = 1 "maximum number of levels to read (relative to parent); 0: all levels
* I_WITH_ENTRIES = RS_C_FALSE "read additional entries in the KPI nodes

IMPORTING
E_T_UI_CAT_NODE = "Node in KPI Catalog
E_T_UI_CAT_ENTRY = "Entries in KPI Catalog
E_TX_UI_KPI = "Information for Displaying KPI in KPI Catalog
E_T_MESSAGE = "Structure for Messages
E_SUBRC = "Return Value from ABAP Statements
.



IMPORTING Parameters details for RSKPI_CAT_READ

I_PARENT_ID - Technical Name of Node in KPI Catalog

Data type: RSKPI_NODE_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MAX_LEVEL - maximum number of levels to read (relative to parent); 0: all levels

Data type: I
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_ENTRIES - read additional entries in the KPI nodes

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RSKPI_CAT_READ

E_T_UI_CAT_NODE - Node in KPI Catalog

Data type: RSKPI_T_UI_CAT_NODE
Optional: No
Call by Reference: No ( called with pass by value option)

E_T_UI_CAT_ENTRY - Entries in KPI Catalog

Data type: RSKPI_T_UI_CAT_ENTRY
Optional: No
Call by Reference: No ( called with pass by value option)

E_TX_UI_KPI - Information for Displaying KPI in KPI Catalog

Data type: RSKPI_TX_UI_KPI
Optional: No
Call by Reference: No ( called with pass by value option)

E_T_MESSAGE - Structure for Messages

Data type: RSDAS_T_MESSAGE
Optional: No
Call by Reference: No ( called with pass by value option)

E_SUBRC - Return Value from ABAP Statements

Data type: SYSUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSKPI_CAT_READ Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_parent_id  TYPE RSKPI_NODE_ID, "   
lv_e_t_ui_cat_node  TYPE RSKPI_T_UI_CAT_NODE, "   
lv_i_max_level  TYPE I, "   1
lv_e_t_ui_cat_entry  TYPE RSKPI_T_UI_CAT_ENTRY, "   
lv_e_tx_ui_kpi  TYPE RSKPI_TX_UI_KPI, "   
lv_i_with_entries  TYPE RS_BOOL, "   RS_C_FALSE
lv_e_t_message  TYPE RSDAS_T_MESSAGE, "   
lv_e_subrc  TYPE SYSUBRC. "   

  CALL FUNCTION 'RSKPI_CAT_READ'  "Read the KPI Catalog
    EXPORTING
         I_PARENT_ID = lv_i_parent_id
         I_MAX_LEVEL = lv_i_max_level
         I_WITH_ENTRIES = lv_i_with_entries
    IMPORTING
         E_T_UI_CAT_NODE = lv_e_t_ui_cat_node
         E_T_UI_CAT_ENTRY = lv_e_t_ui_cat_entry
         E_TX_UI_KPI = lv_e_tx_ui_kpi
         E_T_MESSAGE = lv_e_t_message
         E_SUBRC = lv_e_subrc
. " RSKPI_CAT_READ




ABAP code using 7.40 inline data declarations to call FM RSKPI_CAT_READ

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
DATA(ld_i_max_level) = 1.
 
 
 
DATA(ld_i_with_entries) = RS_C_FALSE.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!