SAP RH_DATE_VIEW_FILL Function Module for Fill Authorization Interval Table









RH_DATE_VIEW_FILL is a standard rh date view fill 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 Authorization Interval Table 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 rh date view fill FM, simply by entering the name RH_DATE_VIEW_FILL into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHAC
Program Name: SAPLRHAC
Main Program: SAPLRHAC
Appliation area: H
Release date: 03-Sep-1999
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_DATE_VIEW_FILL 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 'RH_DATE_VIEW_FILL'"Fill Authorization Interval Table
EXPORTING
FCODE = "
PLVAR = "Plan version
OTYPE = "Object type
OBJID = "Object ID

TABLES
DATE_VIEW = "Authorization Interval Table

EXCEPTIONS
NO_STRU_AUTHORITY_AT_ALL = 1
.



IMPORTING Parameters details for RH_DATE_VIEW_FILL

FCODE -

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

PLVAR - Plan version

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

OTYPE - Object type

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

OBJID - Object ID

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

TABLES Parameters details for RH_DATE_VIEW_FILL

DATE_VIEW - Authorization Interval Table

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

EXCEPTIONS details

NO_STRU_AUTHORITY_AT_ALL -

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

Copy and paste ABAP code example for RH_DATE_VIEW_FILL 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_fcode  TYPE STRING, "   
lt_date_view  TYPE STANDARD TABLE OF HRVIEW, "   
lv_no_stru_authority_at_all  TYPE HRVIEW, "   
lv_plvar  TYPE HRVIEW, "   
lv_otype  TYPE HRVIEW, "   
lv_objid  TYPE HRVIEW. "   

  CALL FUNCTION 'RH_DATE_VIEW_FILL'  "Fill Authorization Interval Table
    EXPORTING
         FCODE = lv_fcode
         PLVAR = lv_plvar
         OTYPE = lv_otype
         OBJID = lv_objid
    TABLES
         DATE_VIEW = lt_date_view
    EXCEPTIONS
        NO_STRU_AUTHORITY_AT_ALL = 1
. " RH_DATE_VIEW_FILL




ABAP code using 7.40 inline data declarations to call FM RH_DATE_VIEW_FILL

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.

 
 
 
 
 
 


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!