SAP HR_AUPBS_FILL_INFTY Function Module for Assign Infotype and Initialization









HR_AUPBS_FILL_INFTY is a standard hr aupbs fill infty SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Assign Infotype and Initialization 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 hr aupbs fill infty FM, simply by entering the name HR_AUPBS_FILL_INFTY into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_AUPBS_FILL_INFTY 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 'HR_AUPBS_FILL_INFTY'"Assign Infotype and Initialization
EXPORTING
GEN_PERNR = "Personnel number
* GEN_DATE = "Date and time, current (application server) date

TABLES
GEN_P0000 = "HR Master Record: Infotype 0000 (Actions)
* GEN_P2001 = "HR Time Record: Infotype 2001 (Absences)
* GEN_T559L = "Automatic Absence Quota Generation
GEN_P0001 = "HR Master Record: Infotype 0001 (Org. Assignment)
GEN_P0002 = "HR Master Record: Infotype 0002 (Personal Data)
GEN_P0007 = "HR Master Record: Infotype 0007 (Planned Working Time)
GEN_P0008 = "HR Master Record: Infotype 0008 (Basic Pay)
* GEN_P0019 = "HR Master Record: Infotype 0019 (Monitoring of Dates)
* GEN_P0041 = "HR Master Record: Infotype 0041 (Date Specifications)
* GEN_P0508 = "HR-AU-PS: Master Data (Prior Service)
* GEN_P0568 = "Anniversary Date History
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPL3QP7A_003 Customer Exit for LWOP and UNAL Calculations
EXIT_SAPL3QP7_001 Customer Exit for Transfer
EXIT_SAPL3QP7_002 Customer Exit for Reduction
EXIT_SAPL3QP7_004 Customer Enhancement for Quota Generation: Base Entitlement

IMPORTING Parameters details for HR_AUPBS_FILL_INFTY

GEN_PERNR - Personnel number

Data type: PERNR-PERNR
Optional: No
Call by Reference: Yes

GEN_DATE - Date and time, current (application server) date

Data type: SY-DATUM
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for HR_AUPBS_FILL_INFTY

GEN_P0000 - HR Master Record: Infotype 0000 (Actions)

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

GEN_P2001 - HR Time Record: Infotype 2001 (Absences)

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

GEN_T559L - Automatic Absence Quota Generation

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

GEN_P0001 - HR Master Record: Infotype 0001 (Org. Assignment)

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

GEN_P0002 - HR Master Record: Infotype 0002 (Personal Data)

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

GEN_P0007 - HR Master Record: Infotype 0007 (Planned Working Time)

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

GEN_P0008 - HR Master Record: Infotype 0008 (Basic Pay)

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

GEN_P0019 - HR Master Record: Infotype 0019 (Monitoring of Dates)

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

GEN_P0041 - HR Master Record: Infotype 0041 (Date Specifications)

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

GEN_P0508 - HR-AU-PS: Master Data (Prior Service)

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

GEN_P0568 - Anniversary Date History

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

Copy and paste ABAP code example for HR_AUPBS_FILL_INFTY 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:
lt_gen_p0000  TYPE STANDARD TABLE OF P0000, "   
lv_gen_pernr  TYPE PERNR-PERNR, "   
lt_gen_p2001  TYPE STANDARD TABLE OF P2001, "   
lt_gen_t559l  TYPE STANDARD TABLE OF T559L, "   
lv_gen_date  TYPE SY-DATUM, "   
lt_gen_p0001  TYPE STANDARD TABLE OF P0001, "   
lt_gen_p0002  TYPE STANDARD TABLE OF P0002, "   
lt_gen_p0007  TYPE STANDARD TABLE OF P0007, "   
lt_gen_p0008  TYPE STANDARD TABLE OF P0008, "   
lt_gen_p0019  TYPE STANDARD TABLE OF P0019, "   
lt_gen_p0041  TYPE STANDARD TABLE OF P0041, "   
lt_gen_p0508  TYPE STANDARD TABLE OF P0508, "   
lt_gen_p0568  TYPE STANDARD TABLE OF P0568. "   

  CALL FUNCTION 'HR_AUPBS_FILL_INFTY'  "Assign Infotype and Initialization
    EXPORTING
         GEN_PERNR = lv_gen_pernr
         GEN_DATE = lv_gen_date
    TABLES
         GEN_P0000 = lt_gen_p0000
         GEN_P2001 = lt_gen_p2001
         GEN_T559L = lt_gen_t559l
         GEN_P0001 = lt_gen_p0001
         GEN_P0002 = lt_gen_p0002
         GEN_P0007 = lt_gen_p0007
         GEN_P0008 = lt_gen_p0008
         GEN_P0019 = lt_gen_p0019
         GEN_P0041 = lt_gen_p0041
         GEN_P0508 = lt_gen_p0508
         GEN_P0568 = lt_gen_p0568
. " HR_AUPBS_FILL_INFTY




ABAP code using 7.40 inline data declarations to call FM HR_AUPBS_FILL_INFTY

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 PERNR FROM PERNR INTO @DATA(ld_gen_pernr).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_gen_date).
 
 
 
 
 
 
 
 
 


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!