SAP ACE_SCHEDMAN_SELKRIT_FILL Function Module for Fill Selection Criteria When Calling Schedule Manager
ACE_SCHEDMAN_SELKRIT_FILL is a standard ace schedman selkrit fill SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill Selection Criteria When Calling Schedule Manager 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 ace schedman selkrit fill FM, simply by entering the name ACE_SCHEDMAN_SELKRIT_FILL into the relevant SAP transaction such as SE37 or SE38.
Function Group: ACE_SCHEDMAN
Program Name: SAPLACE_SCHEDMAN
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ACE_SCHEDMAN_SELKRIT_FILL 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 'ACE_SCHEDMAN_SELKRIT_FILL'"Fill Selection Criteria When Calling Schedule Manager.
EXPORTING
* IT_BUKRS_RANGE = "Select Options for Company Code
* IS_GENRC_REFKEY_RANGES = "Transfer Structure for RefKey Selection Conditions
* IT_ACCRULE_RANGE = "Accounting Principles
* IT_ACRTYPE_RANGE = "Accrual Types
* IT_FISC_YEAR_RANGE = "Range for fiscal years
* IT_ACEDOCNR_RANGE = "
* IT_REFKEY_RANGE = "Table with Select Options for Reference
* IT_REFSUBKEY_RANGE = "Select Options for Reference SubKey
* IT_OBJID_RANGE = "Accrual Objects
* IT_SUBID_RANGE = "Select Options for SUBID in ACE
TABLES
ET_SELKRIT = "Selection Criteria for a Job: Overall Structure
IMPORTING Parameters details for ACE_SCHEDMAN_SELKRIT_FILL
IT_BUKRS_RANGE - Select Options for Company Code
Data type: ACE_DS_BUKRS_RANGE_TOptional: Yes
Call by Reference: Yes
IS_GENRC_REFKEY_RANGES - Transfer Structure for RefKey Selection Conditions
Data type: ACE_COMP_SPECIFIC_OBJ_RANGESOptional: Yes
Call by Reference: Yes
IT_ACCRULE_RANGE - Accounting Principles
Data type: ACE_ACCRULE_RANGE_TOptional: Yes
Call by Reference: Yes
IT_ACRTYPE_RANGE - Accrual Types
Data type: ACE_ACRTYPE_RANGE_TOptional: Yes
Call by Reference: Yes
IT_FISC_YEAR_RANGE - Range for fiscal years
Data type: ACE_GJAHR_RANGE_TOptional: Yes
Call by Reference: Yes
IT_ACEDOCNR_RANGE -
Data type: ACEPS_DOCNR_RANGE_TOptional: Yes
Call by Reference: Yes
IT_REFKEY_RANGE - Table with Select Options for Reference
Data type: ACE_DS_REFKEY_RANGE_TOptional: Yes
Call by Reference: Yes
IT_REFSUBKEY_RANGE - Select Options for Reference SubKey
Data type: ACE_DS_REFSUBKEY_RANGE_TOptional: Yes
Call by Reference: Yes
IT_OBJID_RANGE - Accrual Objects
Data type: ACE_OBJID_RANGE_TOptional: Yes
Call by Reference: Yes
IT_SUBID_RANGE - Select Options for SUBID in ACE
Data type: ACEPS_SUBID_RANGE_TOptional: Yes
Call by Reference: Yes
TABLES Parameters details for ACE_SCHEDMAN_SELKRIT_FILL
ET_SELKRIT - Selection Criteria for a Job: Overall Structure
Data type: ACE_SCHEDMAN_SELKRIT_TOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ACE_SCHEDMAN_SELKRIT_FILL 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_et_selkrit | TYPE STANDARD TABLE OF ACE_SCHEDMAN_SELKRIT_T, " | |||
| lv_it_bukrs_range | TYPE ACE_DS_BUKRS_RANGE_T, " | |||
| lv_is_genrc_refkey_ranges | TYPE ACE_COMP_SPECIFIC_OBJ_RANGES, " | |||
| lv_it_accrule_range | TYPE ACE_ACCRULE_RANGE_T, " | |||
| lv_it_acrtype_range | TYPE ACE_ACRTYPE_RANGE_T, " | |||
| lv_it_fisc_year_range | TYPE ACE_GJAHR_RANGE_T, " | |||
| lv_it_acedocnr_range | TYPE ACEPS_DOCNR_RANGE_T, " | |||
| lv_it_refkey_range | TYPE ACE_DS_REFKEY_RANGE_T, " | |||
| lv_it_refsubkey_range | TYPE ACE_DS_REFSUBKEY_RANGE_T, " | |||
| lv_it_objid_range | TYPE ACE_OBJID_RANGE_T, " | |||
| lv_it_subid_range | TYPE ACEPS_SUBID_RANGE_T. " |
|   CALL FUNCTION 'ACE_SCHEDMAN_SELKRIT_FILL' "Fill Selection Criteria When Calling Schedule Manager |
| EXPORTING | ||
| IT_BUKRS_RANGE | = lv_it_bukrs_range | |
| IS_GENRC_REFKEY_RANGES | = lv_is_genrc_refkey_ranges | |
| IT_ACCRULE_RANGE | = lv_it_accrule_range | |
| IT_ACRTYPE_RANGE | = lv_it_acrtype_range | |
| IT_FISC_YEAR_RANGE | = lv_it_fisc_year_range | |
| IT_ACEDOCNR_RANGE | = lv_it_acedocnr_range | |
| IT_REFKEY_RANGE | = lv_it_refkey_range | |
| IT_REFSUBKEY_RANGE | = lv_it_refsubkey_range | |
| IT_OBJID_RANGE | = lv_it_objid_range | |
| IT_SUBID_RANGE | = lv_it_subid_range | |
| TABLES | ||
| ET_SELKRIT | = lt_et_selkrit | |
| . " ACE_SCHEDMAN_SELKRIT_FILL | ||
ABAP code using 7.40 inline data declarations to call FM ACE_SCHEDMAN_SELKRIT_FILL
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.Search for further information about these or an SAP related objects