SAP RE_TIME_DEPENDENT_AREA_2 Function Module for









RE_TIME_DEPENDENT_AREA_2 is a standard re time dependent area 2 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 re time dependent area 2 FM, simply by entering the name RE_TIME_DEPENDENT_AREA_2 into the relevant SAP transaction such as SE37 or SE38.

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



Function RE_TIME_DEPENDENT_AREA_2 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 'RE_TIME_DEPENDENT_AREA_2'"
EXPORTING
I_DIALOGMODUS = "
I_PROGNAME = "
I_DYNNR_HEADER = "
I_FLG_MAINDATA_LOCKED = "
I_INTRENO = "
I_FLG_PRUEFLAUF = "
* I_FLG_DATA_CHANGED = 'X' "
* I_POPUP_TITLE = ' ' "
I_VIOB01 = "

IMPORTING
E_OK_CODE = "
E_SICHERN_FL = "
E_ABBRUCH_PRUEFLAUF = "
E_SAVE_CONFIRM = "

TABLES
T_XVIOB40 = "
T_XVIOB41 = "
T_INT_FLARTEN = "
TT_VIMI01 = "
.



IMPORTING Parameters details for RE_TIME_DEPENDENT_AREA_2

I_DIALOGMODUS -

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

I_PROGNAME -

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

I_DYNNR_HEADER -

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

I_FLG_MAINDATA_LOCKED -

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

I_INTRENO -

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

I_FLG_PRUEFLAUF -

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

I_FLG_DATA_CHANGED -

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

I_POPUP_TITLE -

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

I_VIOB01 -

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

EXPORTING Parameters details for RE_TIME_DEPENDENT_AREA_2

E_OK_CODE -

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

E_SICHERN_FL -

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

E_ABBRUCH_PRUEFLAUF -

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

E_SAVE_CONFIRM -

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

TABLES Parameters details for RE_TIME_DEPENDENT_AREA_2

T_XVIOB40 -

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

T_XVIOB41 -

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

T_INT_FLARTEN -

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

TT_VIMI01 -

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

Copy and paste ABAP code example for RE_TIME_DEPENDENT_AREA_2 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_ok_code  TYPE STRING, "   
lt_t_xviob40  TYPE STANDARD TABLE OF AVIOB40, "   
lv_i_dialogmodus  TYPE AVIOB40, "   
lt_t_xviob41  TYPE STANDARD TABLE OF AVIOB41, "   
lv_i_progname  TYPE SY-CPROG, "   
lv_e_sichern_fl  TYPE SY, "   
lt_t_int_flarten  TYPE STANDARD TABLE OF TIV08, "   
lv_i_dynnr_header  TYPE SY-DYNNR, "   
lv_e_abbruch_prueflauf  TYPE SY, "   
lt_tt_vimi01  TYPE STANDARD TABLE OF VIMI01, "   
lv_e_save_confirm  TYPE VIMI01, "   
lv_i_flg_maindata_locked  TYPE VIMI01, "   
lv_i_intreno  TYPE VIOB02-INTRENO, "   
lv_i_flg_prueflauf  TYPE VIOB02, "   
lv_i_flg_data_changed  TYPE VIOB02, "   'X'
lv_i_popup_title  TYPE VIOB02, "   SPACE
lv_i_viob01  TYPE VIOB01. "   

  CALL FUNCTION 'RE_TIME_DEPENDENT_AREA_2'  "
    EXPORTING
         I_DIALOGMODUS = lv_i_dialogmodus
         I_PROGNAME = lv_i_progname
         I_DYNNR_HEADER = lv_i_dynnr_header
         I_FLG_MAINDATA_LOCKED = lv_i_flg_maindata_locked
         I_INTRENO = lv_i_intreno
         I_FLG_PRUEFLAUF = lv_i_flg_prueflauf
         I_FLG_DATA_CHANGED = lv_i_flg_data_changed
         I_POPUP_TITLE = lv_i_popup_title
         I_VIOB01 = lv_i_viob01
    IMPORTING
         E_OK_CODE = lv_e_ok_code
         E_SICHERN_FL = lv_e_sichern_fl
         E_ABBRUCH_PRUEFLAUF = lv_e_abbruch_prueflauf
         E_SAVE_CONFIRM = lv_e_save_confirm
    TABLES
         T_XVIOB40 = lt_t_xviob40
         T_XVIOB41 = lt_t_xviob41
         T_INT_FLARTEN = lt_t_int_flarten
         TT_VIMI01 = lt_tt_vimi01
. " RE_TIME_DEPENDENT_AREA_2




ABAP code using 7.40 inline data declarations to call FM RE_TIME_DEPENDENT_AREA_2

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 CPROG FROM SY INTO @DATA(ld_i_progname).
 
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_i_dynnr_header).
 
 
 
 
 
"SELECT single INTRENO FROM VIOB02 INTO @DATA(ld_i_intreno).
 
 
DATA(ld_i_flg_data_changed) = 'X'.
 
DATA(ld_i_popup_title) = ' '.
 
 


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!