SAP HR_PSF_FP1_FILL_STRUCTURE Function Module for









HR_PSF_FP1_FILL_STRUCTURE is a standard hr psf fp1 fill structure 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 hr psf fp1 fill structure FM, simply by entering the name HR_PSF_FP1_FILL_STRUCTURE into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_PSF_FP1_FILL_STRUCTURE 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_PSF_FP1_FILL_STRUCTURE'"
EXPORTING
ID_PERNR = "
ID_CORPS = "
ID_DATEV = "
* ID_COCIB = "
* ID_GRCIB = "
* ID_MODAC = "
* ID_EXERC = "

IMPORTING
ES_HRFRPBS_FP1 = "

TABLES
* CT_P0001 = "
* CT_P0429 = "
* CT_P0008 = "

EXCEPTIONS
ERROR_CORPS = 1 ERROR_GRADE = 2 ERROR_IT0001 = 3 ERROR_IT0429 = 4 ERROR_IT0008 = 5 WRONG_CORPS = 6
.



IMPORTING Parameters details for HR_PSF_FP1_FILL_STRUCTURE

ID_PERNR -

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

ID_CORPS -

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

ID_DATEV -

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

ID_COCIB -

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

ID_GRCIB -

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

ID_MODAC -

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

ID_EXERC -

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

EXPORTING Parameters details for HR_PSF_FP1_FILL_STRUCTURE

ES_HRFRPBS_FP1 -

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

TABLES Parameters details for HR_PSF_FP1_FILL_STRUCTURE

CT_P0001 -

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

CT_P0429 -

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

CT_P0008 -

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

EXCEPTIONS details

ERROR_CORPS -

Data type:
Optional: No
Call by Reference: Yes

ERROR_GRADE -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IT0001 -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IT0429 -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IT0008 -

Data type:
Optional: No
Call by Reference: Yes

WRONG_CORPS -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_PSF_FP1_FILL_STRUCTURE 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_ct_p0001  TYPE STANDARD TABLE OF P0001, "   
lv_id_pernr  TYPE P0001-PERNR, "   
lv_error_corps  TYPE P0001, "   
lv_es_hrfrpbs_fp1  TYPE HRFRPBS_FP1, "   
lt_ct_p0429  TYPE STANDARD TABLE OF P0429, "   
lv_id_corps  TYPE P06_CORPS, "   
lv_error_grade  TYPE P06_CORPS, "   
lt_ct_p0008  TYPE STANDARD TABLE OF HRFRPBS4_INFTY0008, "   
lv_id_datev  TYPE P06_DATEV, "   
lv_error_it0001  TYPE P06_DATEV, "   
lv_id_cocib  TYPE P06_COCIB, "   
lv_error_it0429  TYPE P06_COCIB, "   
lv_id_grcib  TYPE P06_GRCIB, "   
lv_error_it0008  TYPE P06_GRCIB, "   
lv_id_modac  TYPE P06_MODAC, "   
lv_wrong_corps  TYPE P06_MODAC, "   
lv_id_exerc  TYPE P06_EXERC. "   

  CALL FUNCTION 'HR_PSF_FP1_FILL_STRUCTURE'  "
    EXPORTING
         ID_PERNR = lv_id_pernr
         ID_CORPS = lv_id_corps
         ID_DATEV = lv_id_datev
         ID_COCIB = lv_id_cocib
         ID_GRCIB = lv_id_grcib
         ID_MODAC = lv_id_modac
         ID_EXERC = lv_id_exerc
    IMPORTING
         ES_HRFRPBS_FP1 = lv_es_hrfrpbs_fp1
    TABLES
         CT_P0001 = lt_ct_p0001
         CT_P0429 = lt_ct_p0429
         CT_P0008 = lt_ct_p0008
    EXCEPTIONS
        ERROR_CORPS = 1
        ERROR_GRADE = 2
        ERROR_IT0001 = 3
        ERROR_IT0429 = 4
        ERROR_IT0008 = 5
        WRONG_CORPS = 6
. " HR_PSF_FP1_FILL_STRUCTURE




ABAP code using 7.40 inline data declarations to call FM HR_PSF_FP1_FILL_STRUCTURE

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 P0001 INTO @DATA(ld_id_pernr).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!