SAP RKD_REPORT_START Function Module for









RKD_REPORT_START is a standard rkd report start 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 rkd report start FM, simply by entering the name RKD_REPORT_START into the relevant SAP transaction such as SE37 or SE38.

Function Group: KYP4_UC
Program Name: SAPLKYP4_UC
Main Program: SAPLKYP4_UC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RKD_REPORT_START 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 'RKD_REPORT_START'"
EXPORTING
APPLCLASS = "
* FUNCTION = 'EXEC' "
REPID = "
* I_VARIANT = "
* RSTI_CALL = ' ' "
* SMODUS = 'N' "
SUBCLASS = "
TABNAME = "
* I_INFOMODE = ' ' "

CHANGING
* C_TS_VRANGE = "

TABLES
* P_VARTAB = "
* E_TECHTAB = "
.



IMPORTING Parameters details for RKD_REPORT_START

APPLCLASS -

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

FUNCTION -

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

REPID -

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

I_VARIANT -

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

RSTI_CALL -

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

SMODUS -

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

SUBCLASS -

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

TABNAME -

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

I_INFOMODE -

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

CHANGING Parameters details for RKD_REPORT_START

C_TS_VRANGE -

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

TABLES Parameters details for RKD_REPORT_START

P_VARTAB -

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

E_TECHTAB -

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

Copy and paste ABAP code example for RKD_REPORT_START 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:
lt_p_vartab  TYPE STANDARD TABLE OF CFBVP01, "   
lv_applclass  TYPE RKB1D-APPLCLASS, "   
lv_c_ts_vrange  TYPE RKD_TS_VRANGE, "   
lv_function  TYPE RKD_TS_VRANGE, "   'EXEC'
lt_e_techtab  TYPE STANDARD TABLE OF RKD_TS_VRANGE, "   
lv_repid  TYPE RKB1D-REPID, "   
lv_i_variant  TYPE RKB1D-VARIANTE, "   
lv_rsti_call  TYPE RKB1D, "   SPACE
lv_smodus  TYPE RKB1D-SMODUS, "   'N'
lv_subclass  TYPE RKB1D-SUBCLASS, "   
lv_tabname  TYPE RKB1D-TABNAME, "   
lv_i_infomode  TYPE CHAR1. "   ' '

  CALL FUNCTION 'RKD_REPORT_START'  "
    EXPORTING
         APPLCLASS = lv_applclass
         FUNCTION = lv_function
         REPID = lv_repid
         I_VARIANT = lv_i_variant
         RSTI_CALL = lv_rsti_call
         SMODUS = lv_smodus
         SUBCLASS = lv_subclass
         TABNAME = lv_tabname
         I_INFOMODE = lv_i_infomode
    CHANGING
         C_TS_VRANGE = lv_c_ts_vrange
    TABLES
         P_VARTAB = lt_p_vartab
         E_TECHTAB = lt_e_techtab
. " RKD_REPORT_START




ABAP code using 7.40 inline data declarations to call FM RKD_REPORT_START

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_function) = 'EXEC'.
 
 
"SELECT single REPID FROM RKB1D INTO @DATA(ld_repid).
 
"SELECT single VARIANTE FROM RKB1D INTO @DATA(ld_i_variant).
 
DATA(ld_rsti_call) = ' '.
 
"SELECT single SMODUS FROM RKB1D INTO @DATA(ld_smodus).
DATA(ld_smodus) = 'N'.
 
"SELECT single SUBCLASS FROM RKB1D INTO @DATA(ld_subclass).
 
"SELECT single TABNAME FROM RKB1D INTO @DATA(ld_tabname).
 
DATA(ld_i_infomode) = ' '.
 


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!