SAP ACEPS5_PERIODIC_POSTING_START Function Module for Start Periodic Postings
ACEPS5_PERIODIC_POSTING_START is a standard aceps5 periodic posting start SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Start Periodic Postings 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 aceps5 periodic posting start FM, simply by entering the name ACEPS5_PERIODIC_POSTING_START into the relevant SAP transaction such as SE37 or SE38.
Function Group: ACEPS5
Program Name: SAPLACEPS5
Main Program: SAPLACEPS5
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ACEPS5_PERIODIC_POSTING_START 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 'ACEPS5_PERIODIC_POSTING_START'"Start Periodic Postings.
EXPORTING
IX_PPOST_PARAMS = "
* ID_SERVER_GROUP = "Server Group for Parallel Processing
* IB_COMMIT = 'X' "
* ID_REPORT_NAME = "
* ID_LOG_EXTERNAL_NUMBER = "Application Log: External Identification
* ID_LOG_CREATE_DATE = "Date and Time, Current (Application Server) Date
* ID_LOG_CREATE_TIME = "Date and Time, Current Application Server Time
* ID_FILL_RESULT_TABLES = "Flag: Display a List of Results
* ID_CREATE_APPLLOG = 'X' "
IMPORTING
ET_AMOUNTS = "Periodic Accrual Values
ET_DOCITEMS = "Accrual Engine Line Items with Error Handling
ET_AGGDOC = "Aggregated Accrual Engine Line Items
ET_RETURN = "Return Table
ET_ACEDOC_RETURN = "Table with Messages About Specific ACE Documents
ET_ACCDOC_RETURN = "
ED_APPL_LOG_ERROR = "
IMPORTING Parameters details for ACEPS5_PERIODIC_POSTING_START
IX_PPOST_PARAMS -
Data type: ACE_PPOST_PARAMSOptional: No
Call by Reference: Yes
ID_SERVER_GROUP - Server Group for Parallel Processing
Data type: SPTA_RFCGROptional: Yes
Call by Reference: Yes
IB_COMMIT -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_REPORT_NAME -
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_LOG_EXTERNAL_NUMBER - Application Log: External Identification
Data type: BALHDR-EXTNUMBEROptional: Yes
Call by Reference: Yes
ID_LOG_CREATE_DATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: Yes
Call by Reference: Yes
ID_LOG_CREATE_TIME - Date and Time, Current Application Server Time
Data type: SY-UZEITOptional: Yes
Call by Reference: Yes
ID_FILL_RESULT_TABLES - Flag: Display a List of Results
Data type: ACEPS_FINAL_LIST_DISPOptional: Yes
Call by Reference: Yes
ID_CREATE_APPLLOG -
Data type: FLAGDefault: 'X'
Optional: No
Call by Reference: Yes
EXPORTING Parameters details for ACEPS5_PERIODIC_POSTING_START
ET_AMOUNTS - Periodic Accrual Values
Data type: ACEDS_ACE_DOC_AMOUNTS_TOptional: No
Call by Reference: Yes
ET_DOCITEMS - Accrual Engine Line Items with Error Handling
Data type: ACEPS_ACE_DOC_EXTENDED_TOptional: No
Call by Reference: Yes
ET_AGGDOC - Aggregated Accrual Engine Line Items
Data type: ACEPS_ACE_DOC_AGGREGATED_TOptional: No
Call by Reference: Yes
ET_RETURN - Return Table
Data type: BAPIRET2_TOptional: No
Call by Reference: Yes
ET_ACEDOC_RETURN - Table with Messages About Specific ACE Documents
Data type: ACE_ACEDOC_RETURN_TOptional: No
Call by Reference: Yes
ET_ACCDOC_RETURN -
Data type: ACE_ACCDOC_RETURN_TOptional: No
Call by Reference: Yes
ED_APPL_LOG_ERROR -
Data type: FLAGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ACEPS5_PERIODIC_POSTING_START 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_et_amounts | TYPE ACEDS_ACE_DOC_AMOUNTS_T, " | |||
| lv_ix_ppost_params | TYPE ACE_PPOST_PARAMS, " | |||
| lv_et_docitems | TYPE ACEPS_ACE_DOC_EXTENDED_T, " | |||
| lv_id_server_group | TYPE SPTA_RFCGR, " | |||
| lv_et_aggdoc | TYPE ACEPS_ACE_DOC_AGGREGATED_T, " | |||
| lv_ib_commit | TYPE FLAG, " 'X' | |||
| lv_et_return | TYPE BAPIRET2_T, " | |||
| lv_id_report_name | TYPE SY-REPID, " | |||
| lv_et_acedoc_return | TYPE ACE_ACEDOC_RETURN_T, " | |||
| lv_id_log_external_number | TYPE BALHDR-EXTNUMBER, " | |||
| lv_et_accdoc_return | TYPE ACE_ACCDOC_RETURN_T, " | |||
| lv_id_log_create_date | TYPE SY-DATUM, " | |||
| lv_ed_appl_log_error | TYPE FLAG, " | |||
| lv_id_log_create_time | TYPE SY-UZEIT, " | |||
| lv_id_fill_result_tables | TYPE ACEPS_FINAL_LIST_DISP, " | |||
| lv_id_create_appllog | TYPE FLAG. " 'X' |
|   CALL FUNCTION 'ACEPS5_PERIODIC_POSTING_START' "Start Periodic Postings |
| EXPORTING | ||
| IX_PPOST_PARAMS | = lv_ix_ppost_params | |
| ID_SERVER_GROUP | = lv_id_server_group | |
| IB_COMMIT | = lv_ib_commit | |
| ID_REPORT_NAME | = lv_id_report_name | |
| ID_LOG_EXTERNAL_NUMBER | = lv_id_log_external_number | |
| ID_LOG_CREATE_DATE | = lv_id_log_create_date | |
| ID_LOG_CREATE_TIME | = lv_id_log_create_time | |
| ID_FILL_RESULT_TABLES | = lv_id_fill_result_tables | |
| ID_CREATE_APPLLOG | = lv_id_create_appllog | |
| IMPORTING | ||
| ET_AMOUNTS | = lv_et_amounts | |
| ET_DOCITEMS | = lv_et_docitems | |
| ET_AGGDOC | = lv_et_aggdoc | |
| ET_RETURN | = lv_et_return | |
| ET_ACEDOC_RETURN | = lv_et_acedoc_return | |
| ET_ACCDOC_RETURN | = lv_et_accdoc_return | |
| ED_APPL_LOG_ERROR | = lv_ed_appl_log_error | |
| . " ACEPS5_PERIODIC_POSTING_START | ||
ABAP code using 7.40 inline data declarations to call FM ACEPS5_PERIODIC_POSTING_START
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_ib_commit) | = 'X'. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_id_report_name). | ||||
| "SELECT single EXTNUMBER FROM BALHDR INTO @DATA(ld_id_log_external_number). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_id_log_create_date). | ||||
| "SELECT single UZEIT FROM SY INTO @DATA(ld_id_log_create_time). | ||||
| DATA(ld_id_create_appllog) | = 'X'. | |||
Search for further information about these or an SAP related objects