SAP EIS_REPORT_GET_DEFINITION Function Module for









EIS_REPORT_GET_DEFINITION is a standard eis report get definition SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 eis report get definition FM, simply by entering the name EIS_REPORT_GET_DEFINITION into the relevant SAP transaction such as SE37 or SE38.

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



Function EIS_REPORT_GET_DEFINITION 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 'EIS_REPORT_GET_DEFINITION'"
EXPORTING
* APPLCLASS = 'KC' "Application class
REPID = "Report name
* SUBCLASS = '02' "Substructure
TABNAME = "Table name

TABLES
* CHARACTERISTICS = "Table of characteristics
* KEY_FIGURES = "Key figure table
* KEY_TEXT = "Texts for key figure table
* VARIABLES = "Variables
* ATTRIBUTES = "

EXCEPTIONS
NO_AUTHORITY = 1 NO_REPORT = 2 REPORT_CHECK_FAILURE = 3 REPORT_IMPORT_ENQUEUE_FAILURE = 4 REPORT_INCORRECT_DEFINITION = 5 REPORT_NOT_CONVERTED = 6
.



IMPORTING Parameters details for EIS_REPORT_GET_DEFINITION

APPLCLASS - Application class

Data type: RKB1D-APPLCLASS
Default: 'KC'
Optional: Yes
Call by Reference: No ( called with pass by value option)

REPID - Report name

Data type: RKB1D-REPID
Optional: No
Call by Reference: No ( called with pass by value option)

SUBCLASS - Substructure

Data type: RKB1D-SUBCLASS
Default: '02'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABNAME - Table name

Data type: RKB1D-TABNAME
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EIS_REPORT_GET_DEFINITION

CHARACTERISTICS - Table of characteristics

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

KEY_FIGURES - Key figure table

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

KEY_TEXT - Texts for key figure table

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

VARIABLES - Variables

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

ATTRIBUTES -

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

EXCEPTIONS details

NO_AUTHORITY -

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

NO_REPORT - Report does not exist

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

REPORT_CHECK_FAILURE - Report structure needs to be changed

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

REPORT_IMPORT_ENQUEUE_FAILURE - Report could not be imported

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

REPORT_INCORRECT_DEFINITION - Report is not compatible with field catalog

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

REPORT_NOT_CONVERTED - Report needs to be converted before you can execute it

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

Copy and paste ABAP code example for EIS_REPORT_GET_DEFINITION 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_applclass  TYPE RKB1D-APPLCLASS, "   'KC'
lv_no_authority  TYPE RKB1D, "   
lt_characteristics  TYPE STANDARD TABLE OF EIS_CHAR, "   
lv_repid  TYPE RKB1D-REPID, "   
lv_no_report  TYPE RKB1D, "   
lt_key_figures  TYPE STANDARD TABLE OF EIS_KEYFIG, "   
lt_key_text  TYPE STANDARD TABLE OF EIS_KEYTXT, "   
lv_subclass  TYPE RKB1D-SUBCLASS, "   '02'
lv_report_check_failure  TYPE RKB1D, "   
lv_tabname  TYPE RKB1D-TABNAME, "   
lt_variables  TYPE STANDARD TABLE OF EIS_VAR, "   
lv_report_import_enqueue_failure  TYPE EIS_VAR, "   
lt_attributes  TYPE STANDARD TABLE OF EIS_ATTR, "   
lv_report_incorrect_definition  TYPE EIS_ATTR, "   
lv_report_not_converted  TYPE EIS_ATTR. "   

  CALL FUNCTION 'EIS_REPORT_GET_DEFINITION'  "
    EXPORTING
         APPLCLASS = lv_applclass
         REPID = lv_repid
         SUBCLASS = lv_subclass
         TABNAME = lv_tabname
    TABLES
         CHARACTERISTICS = lt_characteristics
         KEY_FIGURES = lt_key_figures
         KEY_TEXT = lt_key_text
         VARIABLES = lt_variables
         ATTRIBUTES = lt_attributes
    EXCEPTIONS
        NO_AUTHORITY = 1
        NO_REPORT = 2
        REPORT_CHECK_FAILURE = 3
        REPORT_IMPORT_ENQUEUE_FAILURE = 4
        REPORT_INCORRECT_DEFINITION = 5
        REPORT_NOT_CONVERTED = 6
. " EIS_REPORT_GET_DEFINITION




ABAP code using 7.40 inline data declarations to call FM EIS_REPORT_GET_DEFINITION

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.

"SELECT single APPLCLASS FROM RKB1D INTO @DATA(ld_applclass).
DATA(ld_applclass) = 'KC'.
 
 
 
"SELECT single REPID FROM RKB1D INTO @DATA(ld_repid).
 
 
 
 
"SELECT single SUBCLASS FROM RKB1D INTO @DATA(ld_subclass).
DATA(ld_subclass) = '02'.
 
 
"SELECT single TABNAME FROM RKB1D INTO @DATA(ld_tabname).
 
 
 
 
 
 


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!