SAP HRXSS_US_EFFR_INITIALIZE_DATA Function Module for US Effort Reporting : Initialize Data









HRXSS_US_EFFR_INITIALIZE_DATA is a standard hrxss us effr initialize data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for US Effort Reporting : Initialize Data 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 hrxss us effr initialize data FM, simply by entering the name HRXSS_US_EFFR_INITIALIZE_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRXSS_US_EFFREP_RFC
Program Name: SAPLHRXSS_US_EFFREP_RFC
Main Program: SAPLHRXSS_US_EFFREP_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HRXSS_US_EFFR_INITIALIZE_DATA 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 'HRXSS_US_EFFR_INITIALIZE_DATA'"US Effort Reporting : Initialize Data
EXPORTING
PERNR = "Personnel Number
* PERIOD_FROM = SY-DATLO "Current Date of Application Server
* PERIOD_TO = 99991231 "Current Date of Application Server
IS_IT0001 = "ESS Employee Header Data

IMPORTING
VALID_PARTICIPANT = "Indicator for Valid Participant . Valid if = 'X'
FUND_ACTIVE = "Indicator for Funds Management. IF = 'X' Active
GRANT_ACTIVE = "Indicator forGrants Management. IF = 'X' Active
FCTR_ACTIVE = "Indicator for Fund Center
FAREA_ACTIVE = "Indicator for Functional Area
FUNDED_PROG_ACTIVE = "Indicator for Funded Program
ET_IT0001 = "HR Master Record: Infotype 0001 (Organizational Assignment)
ET_RETURN = "Return Table

TABLES
* ET_VALUES = "Generated Table for View DD07V
.



IMPORTING Parameters details for HRXSS_US_EFFR_INITIALIZE_DATA

PERNR - Personnel Number

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

PERIOD_FROM - Current Date of Application Server

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

PERIOD_TO - Current Date of Application Server

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

IS_IT0001 - ESS Employee Header Data

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

EXPORTING Parameters details for HRXSS_US_EFFR_INITIALIZE_DATA

VALID_PARTICIPANT - Indicator for Valid Participant . Valid if = 'X'

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

FUND_ACTIVE - Indicator for Funds Management. IF = 'X' Active

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

GRANT_ACTIVE - Indicator forGrants Management. IF = 'X' Active

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

FCTR_ACTIVE - Indicator for Fund Center

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

FAREA_ACTIVE - Indicator for Functional Area

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

FUNDED_PROG_ACTIVE - Indicator for Funded Program

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

ET_IT0001 - HR Master Record: Infotype 0001 (Organizational Assignment)

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

ET_RETURN - Return Table

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

TABLES Parameters details for HRXSS_US_EFFR_INITIALIZE_DATA

ET_VALUES - Generated Table for View DD07V

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

Copy and paste ABAP code example for HRXSS_US_EFFR_INITIALIZE_DATA 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_pernr  TYPE PERNR_D, "   
lt_et_values  TYPE STANDARD TABLE OF DD07V, "   
lv_valid_participant  TYPE CHAR1, "   
lv_fund_active  TYPE CHAR1, "   
lv_period_from  TYPE SYDATUM, "   SY-DATLO
lv_period_to  TYPE SYDATUM, "   99991231
lv_grant_active  TYPE CHAR1, "   
lv_is_it0001  TYPE ESS_EMP, "   
lv_fctr_active  TYPE CHAR1, "   
lv_farea_active  TYPE CHAR1, "   
lv_funded_prog_active  TYPE CHAR1, "   
lv_et_it0001  TYPE P0001_TAB, "   
lv_et_return  TYPE BAPIRET1_TAB. "   

  CALL FUNCTION 'HRXSS_US_EFFR_INITIALIZE_DATA'  "US Effort Reporting : Initialize Data
    EXPORTING
         PERNR = lv_pernr
         PERIOD_FROM = lv_period_from
         PERIOD_TO = lv_period_to
         IS_IT0001 = lv_is_it0001
    IMPORTING
         VALID_PARTICIPANT = lv_valid_participant
         FUND_ACTIVE = lv_fund_active
         GRANT_ACTIVE = lv_grant_active
         FCTR_ACTIVE = lv_fctr_active
         FAREA_ACTIVE = lv_farea_active
         FUNDED_PROG_ACTIVE = lv_funded_prog_active
         ET_IT0001 = lv_et_it0001
         ET_RETURN = lv_et_return
    TABLES
         ET_VALUES = lt_et_values
. " HRXSS_US_EFFR_INITIALIZE_DATA




ABAP code using 7.40 inline data declarations to call FM HRXSS_US_EFFR_INITIALIZE_DATA

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_period_from) = SY-DATLO.
 
DATA(ld_period_to) = 99991231.
 
 
 
 
 
 
 
 


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!