SAP HR_SEN_PSF_PROCESS_LOGIC_ACO1 Function Module for
HR_SEN_PSF_PROCESS_LOGIC_ACO1 is a standard hr sen psf process logic aco1 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 sen psf process logic aco1 FM, simply by entering the name HR_SEN_PSF_PROCESS_LOGIC_ACO1 into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRSENFPBS_FSLID1
Program Name: SAPLHRSENFPBS_FSLID1
Main Program: SAPLHRSENFPBS_FSLID1
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_SEN_PSF_PROCESS_LOGIC_ACO1 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_SEN_PSF_PROCESS_LOGIC_ACO1'".
EXPORTING
ID_MOLGA = "
* ID_ENDDA = "
* IS_DURATION = "
* ID_PROTO = "
ID_PROCE = "
ID_PERNR = "
* ID_SEL_DATE = SY-DATUM "
* ID_AUTHO = "
ID_CRULE = "
* IT_PSTEP_TSPST = "
* ID_CALTY = "
* ID_BEGDA = "
IMPORTING
ED_DATE = "
ES_DURATION = "
EXCEPTIONS
NO_RESULT_FOR_CALTY = 1 ERROR_OF_OTHER_FUNCTIONS = 2
IMPORTING Parameters details for HR_SEN_PSF_PROCESS_LOGIC_ACO1
ID_MOLGA -
Data type: T525P-MOLGAOptional: No
Call by Reference: No ( called with pass by value option)
ID_ENDDA -
Data type: ENDDAOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_DURATION -
Data type: PSEN_DURATIONOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_PROTO -
Data type: PSEN_PROTOOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_PROCE -
Data type: T525P-PROCEOptional: No
Call by Reference: No ( called with pass by value option)
ID_PERNR -
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
ID_SEL_DATE -
Data type: BEGDADefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_AUTHO -
Data type: T525P-AUTHOOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_CRULE -
Data type: T525P-CRULEOptional: No
Call by Reference: No ( called with pass by value option)
IT_PSTEP_TSPST -
Data type: HRSEN00_PSTEP_TSPSTOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_CALTY -
Data type: PSEN_CALTYOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_BEGDA -
Data type: BEGDAOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_SEN_PSF_PROCESS_LOGIC_ACO1
ED_DATE -
Data type: ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
ES_DURATION -
Data type: PSEN_DURATION_DECOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_RESULT_FOR_CALTY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_OF_OTHER_FUNCTIONS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_SEN_PSF_PROCESS_LOGIC_ACO1 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_ed_date | TYPE ENDDA, " | |||
| lv_id_molga | TYPE T525P-MOLGA, " | |||
| lv_no_result_for_calty | TYPE T525P, " | |||
| lv_id_endda | TYPE ENDDA, " | |||
| lv_is_duration | TYPE PSEN_DURATION, " | |||
| lv_id_proto | TYPE PSEN_PROTO, " | |||
| lv_id_proce | TYPE T525P-PROCE, " | |||
| lv_es_duration | TYPE PSEN_DURATION_DEC, " | |||
| lv_error_of_other_functions | TYPE PSEN_DURATION_DEC, " | |||
| lv_id_pernr | TYPE PERNR-PERNR, " | |||
| lv_id_sel_date | TYPE BEGDA, " SY-DATUM | |||
| lv_id_autho | TYPE T525P-AUTHO, " | |||
| lv_id_crule | TYPE T525P-CRULE, " | |||
| lv_it_pstep_tspst | TYPE HRSEN00_PSTEP_TSPST, " | |||
| lv_id_calty | TYPE PSEN_CALTY, " | |||
| lv_id_begda | TYPE BEGDA. " |
|   CALL FUNCTION 'HR_SEN_PSF_PROCESS_LOGIC_ACO1' " |
| EXPORTING | ||
| ID_MOLGA | = lv_id_molga | |
| ID_ENDDA | = lv_id_endda | |
| IS_DURATION | = lv_is_duration | |
| ID_PROTO | = lv_id_proto | |
| ID_PROCE | = lv_id_proce | |
| ID_PERNR | = lv_id_pernr | |
| ID_SEL_DATE | = lv_id_sel_date | |
| ID_AUTHO | = lv_id_autho | |
| ID_CRULE | = lv_id_crule | |
| IT_PSTEP_TSPST | = lv_it_pstep_tspst | |
| ID_CALTY | = lv_id_calty | |
| ID_BEGDA | = lv_id_begda | |
| IMPORTING | ||
| ED_DATE | = lv_ed_date | |
| ES_DURATION | = lv_es_duration | |
| EXCEPTIONS | ||
| NO_RESULT_FOR_CALTY = 1 | ||
| ERROR_OF_OTHER_FUNCTIONS = 2 | ||
| . " HR_SEN_PSF_PROCESS_LOGIC_ACO1 | ||
ABAP code using 7.40 inline data declarations to call FM HR_SEN_PSF_PROCESS_LOGIC_ACO1
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 MOLGA FROM T525P INTO @DATA(ld_id_molga). | ||||
| "SELECT single PROCE FROM T525P INTO @DATA(ld_id_proce). | ||||
| "SELECT single PERNR FROM PERNR INTO @DATA(ld_id_pernr). | ||||
| DATA(ld_id_sel_date) | = SY-DATUM. | |||
| "SELECT single AUTHO FROM T525P INTO @DATA(ld_id_autho). | ||||
| "SELECT single CRULE FROM T525P INTO @DATA(ld_id_crule). | ||||
Search for further information about these or an SAP related objects