SAP RSD_FILL_TIME_INTERVAL Function Module for Fill Time Interval with All Valid Interim Values









RSD_FILL_TIME_INTERVAL is a standard rsd fill time interval SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill Time Interval with All Valid Interim Values 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 fill time interval FM, simply by entering the name RSD_FILL_TIME_INTERVAL into the relevant SAP transaction such as SE37 or SE38.

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



Function RSD_FILL_TIME_INTERVAL 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_FILL_TIME_INTERVAL'"Fill Time Interval with All Valid Interim Values
EXPORTING
I_TIMNM = "Name of Time Characteristic
* I_FORMAT = RSR_C_FORMAT-INTERN "Output in Internal/External Format
I_T_SELOPT = "Selections
* I_READ_TEXT = RS_C_TRUE "Read Texts

IMPORTING
E_TX_RETURN = "Output Table
E_T_CHAVLINFO = "

EXCEPTIONS
ILLEGAL_INPUT = 1 INVALID_IOBJ = 2 INVALID_SELECTION = 3 X_MESSAGE = 4
.



IMPORTING Parameters details for RSD_FILL_TIME_INTERVAL

I_TIMNM - Name of Time Characteristic

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

I_FORMAT - Output in Internal/External Format

Data type: RSR_FORMAT
Default: RSR_C_FORMAT-INTERN
Optional: No
Call by Reference: Yes

I_T_SELOPT - Selections

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

I_READ_TEXT - Read Texts

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

EXPORTING Parameters details for RSD_FILL_TIME_INTERVAL

E_TX_RETURN - Output Table

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

E_T_CHAVLINFO -

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

EXCEPTIONS details

ILLEGAL_INPUT - Invalid Entry

Data type:
Optional: No
Call by Reference: Yes

INVALID_IOBJ - Invalid InfoObject

Data type:
Optional: No
Call by Reference: Yes

INVALID_SELECTION - Invalid Selection Condition

Data type:
Optional: No
Call by Reference: Yes

X_MESSAGE - X Message

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSD_FILL_TIME_INTERVAL 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_timnm  TYPE RSD_CHANM, "   
lv_e_tx_return  TYPE RSDM_TX_SHLPRETURN, "   
lv_illegal_input  TYPE RSDM_TX_SHLPRETURN, "   
lv_i_format  TYPE RSR_FORMAT, "   RSR_C_FORMAT-INTERN
lv_invalid_iobj  TYPE RSR_FORMAT, "   
lv_e_t_chavlinfo  TYPE RSDM_T_CHAVLINFO, "   
lv_i_t_selopt  TYPE RSDM_T_SHLPSELOPT, "   
lv_invalid_selection  TYPE RSDM_T_SHLPSELOPT, "   
lv_x_message  TYPE RSDM_T_SHLPSELOPT, "   
lv_i_read_text  TYPE RS_BOOL. "   RS_C_TRUE

  CALL FUNCTION 'RSD_FILL_TIME_INTERVAL'  "Fill Time Interval with All Valid Interim Values
    EXPORTING
         I_TIMNM = lv_i_timnm
         I_FORMAT = lv_i_format
         I_T_SELOPT = lv_i_t_selopt
         I_READ_TEXT = lv_i_read_text
    IMPORTING
         E_TX_RETURN = lv_e_tx_return
         E_T_CHAVLINFO = lv_e_t_chavlinfo
    EXCEPTIONS
        ILLEGAL_INPUT = 1
        INVALID_IOBJ = 2
        INVALID_SELECTION = 3
        X_MESSAGE = 4
. " RSD_FILL_TIME_INTERVAL




ABAP code using 7.40 inline data declarations to call FM RSD_FILL_TIME_INTERVAL

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_format) = RSR_C_FORMAT-INTERN.
 
 
 
 
 
 
DATA(ld_i_read_text) = RS_C_TRUE.
 


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!