SAP RSDV_READ_VALIDTAB Function Module for Read the validity table for a Infocube









RSDV_READ_VALIDTAB is a standard rsdv read validtab 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 validity table for a Infocube 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 rsdv read validtab FM, simply by entering the name RSDV_READ_VALIDTAB into the relevant SAP transaction such as SE37 or SE38.

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



Function RSDV_READ_VALIDTAB 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 'RSDV_READ_VALIDTAB'"Read the validity table for a Infocube
EXPORTING
* I_INFOCUBE = "InfoCube Name
* I_NCUMTIM = "Return table on this granularity
* I_FISCVARNT_SID = "SID of the business variant
* I_ABSOLUTE = RS_C_TRUE "return relative values as absolute date?
* I_MOST_RECENT = ' ' "
* I_S_MRC_REQUID = "
* I_T_NO_VALID = "validity characteristic on which aggregation is done
* I_TSX_SELDR = "Selection to the Data Manager

IMPORTING
E_T_VALID = "Validity intervals

EXCEPTIONS
X_MESSAGE = 1
.



IMPORTING Parameters details for RSDV_READ_VALIDTAB

I_INFOCUBE - InfoCube Name

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

I_NCUMTIM - Return table on this granularity

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

I_FISCVARNT_SID - SID of the business variant

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

I_ABSOLUTE - return relative values as absolute date?

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

I_MOST_RECENT -

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

I_S_MRC_REQUID -

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

I_T_NO_VALID - validity characteristic on which aggregation is done

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

I_TSX_SELDR - Selection to the Data Manager

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

EXPORTING Parameters details for RSDV_READ_VALIDTAB

E_T_VALID - Validity intervals

Data type: STANDARD TABLE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

X_MESSAGE -

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

Copy and paste ABAP code example for RSDV_READ_VALIDTAB 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_e_t_valid  TYPE STANDARD TABLE, "   
lv_x_message  TYPE STANDARD TABLE, "   
lv_i_infocube  TYPE RSD_INFOCUBE, "   
lv_i_ncumtim  TYPE RSD_IOBJNM, "   
lv_i_fiscvarnt_sid  TYPE RSSID, "   
lv_i_absolute  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_most_recent  TYPE RS_CHAR1, "   SPACE
lv_i_s_mrc_requid  TYPE RSDR0_S_REQUID, "   
lv_i_t_no_valid  TYPE STANDARD TABLE, "   
lv_i_tsx_seldr  TYPE RSDD_TSX_SELDR. "   

  CALL FUNCTION 'RSDV_READ_VALIDTAB'  "Read the validity table for a Infocube
    EXPORTING
         I_INFOCUBE = lv_i_infocube
         I_NCUMTIM = lv_i_ncumtim
         I_FISCVARNT_SID = lv_i_fiscvarnt_sid
         I_ABSOLUTE = lv_i_absolute
         I_MOST_RECENT = lv_i_most_recent
         I_S_MRC_REQUID = lv_i_s_mrc_requid
         I_T_NO_VALID = lv_i_t_no_valid
         I_TSX_SELDR = lv_i_tsx_seldr
    IMPORTING
         E_T_VALID = lv_e_t_valid
    EXCEPTIONS
        X_MESSAGE = 1
. " RSDV_READ_VALIDTAB




ABAP code using 7.40 inline data declarations to call FM RSDV_READ_VALIDTAB

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_absolute) = RS_C_TRUE.
 
DATA(ld_i_most_recent) = ' '.
 
 
 
 


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!