SAP RSD_KYFTP_DATATP_CHECK Function Module for Checks the Combination of Data Type and Key Figure Type









RSD_KYFTP_DATATP_CHECK is a standard rsd kyftp datatp check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Checks the Combination of Data Type and Key Figure Type 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 rsd kyftp datatp check FM, simply by entering the name RSD_KYFTP_DATATP_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function RSD_KYFTP_DATATP_CHECK 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 'RSD_KYFTP_DATATP_CHECK'"Checks the Combination of Data Type and Key Figure Type
EXPORTING
* I_KYFNM = ' ' "Key Figure
* I_DOMANM = ' ' "Key Figure Domain If Not Generated (New in 30B SP10)

IMPORTING
E_DATATP_ALLOWED = "Data Type for Key Figure Permitted (Indicator)
E_T_DATATP = "Table of Valid Data Types (for Key Figure Type)
E_S_MSG = "Message

CHANGING
C_KYFTP = "Key Figure Type
* C_DATATP = "Data Type

EXCEPTIONS
ILLEGAL_KYFTP = 1
.



IMPORTING Parameters details for RSD_KYFTP_DATATP_CHECK

I_KYFNM - Key Figure

Data type: RSKYFNM
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_DOMANM - Key Figure Domain If Not Generated (New in 30B SP10)

Data type: DOMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSD_KYFTP_DATATP_CHECK

E_DATATP_ALLOWED - Data Type for Key Figure Permitted (Indicator)

Data type: RS_BOOL
Optional: No
Call by Reference: Yes

E_T_DATATP - Table of Valid Data Types (for Key Figure Type)

Data type: RSD_T_C30
Optional: No
Call by Reference: Yes

E_S_MSG - Message

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

CHANGING Parameters details for RSD_KYFTP_DATATP_CHECK

C_KYFTP - Key Figure Type

Data type: RSKYFTP
Optional: No
Call by Reference: Yes

C_DATATP - Data Type

Data type: DATATYPE_D
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

ILLEGAL_KYFTP - Invalid Key Figure Type

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

Copy and paste ABAP code example for RSD_KYFTP_DATATP_CHECK 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_c_kyftp  TYPE RSKYFTP, "   
lv_i_kyfnm  TYPE RSKYFNM, "   SPACE
lv_illegal_kyftp  TYPE RSKYFNM, "   
lv_e_datatp_allowed  TYPE RS_BOOL, "   
lv_c_datatp  TYPE DATATYPE_D, "   
lv_i_domanm  TYPE DOMNAME, "   SPACE
lv_e_t_datatp  TYPE RSD_T_C30, "   
lv_e_s_msg  TYPE BAL_S_MSG. "   

  CALL FUNCTION 'RSD_KYFTP_DATATP_CHECK'  "Checks the Combination of Data Type and Key Figure Type
    EXPORTING
         I_KYFNM = lv_i_kyfnm
         I_DOMANM = lv_i_domanm
    IMPORTING
         E_DATATP_ALLOWED = lv_e_datatp_allowed
         E_T_DATATP = lv_e_t_datatp
         E_S_MSG = lv_e_s_msg
    CHANGING
         C_KYFTP = lv_c_kyftp
         C_DATATP = lv_c_datatp
    EXCEPTIONS
        ILLEGAL_KYFTP = 1
. " RSD_KYFTP_DATATP_CHECK




ABAP code using 7.40 inline data declarations to call FM RSD_KYFTP_DATATP_CHECK

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_kyfnm) = ' '.
 
 
 
 
DATA(ld_i_domanm) = ' '.
 
 
 


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!