SAP ACE_SCHEDMAN_START Function Module for Start Schedule Manager









ACE_SCHEDMAN_START is a standard ace schedman 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 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 start FM, simply by entering the name ACE_SCHEDMAN_START 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_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 'ACE_SCHEDMAN_START'"Start Schedule Manager
EXPORTING
ID_REPID = "Predefined Type
* ID_SERVER_GROUP = "Server Group for Parallel Processing
* IT_FISC_YEAR_RANGE = "Range for fiscal years
* IT_BUKRS_RANGE = "Select Options for Company Code
* IT_ACCRULE_RANGE = "Accounting Principles
* IT_ACRTYPE_RANGE = "Accrual Types
* IT_ACEDOCNR_RANGE = "
* IT_OBJID_RANGE = "Accrual Objects
* IT_SUBID_RANGE = "Select Options for SUBID in ACE
* IT_REFKEY_RANGE = "Table with Select Options for Reference
* IT_REFSUBKEY_RANGE = "Select Options for Reference SubKey
ID_WF_WITEM = "Transfer of a Workflow ID
* IS_GENRC_REFKEY_RANGES = "Transfer Structure for RefKey Selection Conditions
* ID_TESTRUN = "Test Run
ID_WF_WLIST = "Transfer of a Workflow ID
ID_COMP = "Application Component for Accrual
* ID_EFFDATE = "Posting Date / Key Date for Accruals
* ID_MANUAL_PERIOD = "Manually Entered Posting Period in Financial Accounting
* ID_FISC_YEAR = "Fiscal Year
* ID_RUNTYPE = "Run Type of Periodic Posting Program
* ID_RUNID_TO_REVERS = "Run ID of the Posting Run To Be Reversed

IMPORTING
ES_SCHEDMAN_KEY = "Key Fields in the Table for the Schedule Manager Monitor

TABLES
* IT_SELKRIT = "Additional Component-Specific Selection Options
* IT_PARAM = "Additional Component-Specific Parameters
.



IMPORTING Parameters details for ACE_SCHEDMAN_START

ID_REPID - Predefined Type

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

ID_SERVER_GROUP - Server Group for Parallel Processing

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

IT_FISC_YEAR_RANGE - Range for fiscal years

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

IT_BUKRS_RANGE - Select Options for Company Code

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

IT_ACCRULE_RANGE - Accounting Principles

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

IT_ACRTYPE_RANGE - Accrual Types

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

IT_ACEDOCNR_RANGE -

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

IT_OBJID_RANGE - Accrual Objects

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

IT_SUBID_RANGE - Select Options for SUBID in ACE

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

IT_REFKEY_RANGE - Table with Select Options for Reference

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

IT_REFSUBKEY_RANGE - Select Options for Reference SubKey

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

ID_WF_WITEM - Transfer of a Workflow ID

Data type: SCMA_WITEM-WF_WITEM
Optional: No
Call by Reference: Yes

IS_GENRC_REFKEY_RANGES - Transfer Structure for RefKey Selection Conditions

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

ID_TESTRUN - Test Run

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

ID_WF_WLIST - Transfer of a Workflow ID

Data type: SCMA_WITEM-WF_WLIST
Optional: No
Call by Reference: Yes

ID_COMP - Application Component for Accrual

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

ID_EFFDATE - Posting Date / Key Date for Accruals

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

ID_MANUAL_PERIOD - Manually Entered Posting Period in Financial Accounting

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

ID_FISC_YEAR - Fiscal Year

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

ID_RUNTYPE - Run Type of Periodic Posting Program

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

ID_RUNID_TO_REVERS - Run ID of the Posting Run To Be Reversed

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

EXPORTING Parameters details for ACE_SCHEDMAN_START

ES_SCHEDMAN_KEY - Key Fields in the Table for the Schedule Manager Monitor

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

TABLES Parameters details for ACE_SCHEDMAN_START

IT_SELKRIT - Additional Component-Specific Selection Options

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

IT_PARAM - Additional Component-Specific Parameters

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

Copy and paste ABAP code example for ACE_SCHEDMAN_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_id_repid  TYPE SY-REPID, "   
lt_it_selkrit  TYPE STANDARD TABLE OF SCHEDMAN_SELKRIT, "   
lv_es_schedman_key  TYPE SCHEDMAN_KEY, "   
lv_id_server_group  TYPE SPTA_RFCGR, "   
lv_it_fisc_year_range  TYPE ACE_GJAHR_RANGE_T, "   
lv_it_bukrs_range  TYPE ACE_DS_BUKRS_RANGE_T, "   
lv_it_accrule_range  TYPE ACE_ACCRULE_RANGE_T, "   
lv_it_acrtype_range  TYPE ACE_ACRTYPE_RANGE_T, "   
lv_it_acedocnr_range  TYPE ACEPS_DOCNR_RANGE_T, "   
lv_it_objid_range  TYPE ACE_OBJID_RANGE_T, "   
lv_it_subid_range  TYPE ACEPS_SUBID_RANGE_T, "   
lv_it_refkey_range  TYPE ACE_DS_REFKEY_RANGE_T, "   
lv_it_refsubkey_range  TYPE ACE_DS_REFSUBKEY_RANGE_T, "   
lt_it_param  TYPE STANDARD TABLE OF SCHEDMAN_SELKRIT, "   
lv_id_wf_witem  TYPE SCMA_WITEM-WF_WITEM, "   
lv_is_genrc_refkey_ranges  TYPE ACE_COMP_SPECIFIC_OBJ_RANGES, "   
lv_id_testrun  TYPE ACE_TESTRUN, "   
lv_id_wf_wlist  TYPE SCMA_WITEM-WF_WLIST, "   
lv_id_comp  TYPE ACE_COMP, "   
lv_id_effdate  TYPE ACE_EFFDATE, "   
lv_id_manual_period  TYPE ACEPS_MANUAL_PERIOD, "   
lv_id_fisc_year  TYPE GJAHR, "   
lv_id_runtype  TYPE ACE_RUNTYPE, "   
lv_id_runid_to_revers  TYPE ACEPS_RUNID_TO_REVERS. "   

  CALL FUNCTION 'ACE_SCHEDMAN_START'  "Start Schedule Manager
    EXPORTING
         ID_REPID = lv_id_repid
         ID_SERVER_GROUP = lv_id_server_group
         IT_FISC_YEAR_RANGE = lv_it_fisc_year_range
         IT_BUKRS_RANGE = lv_it_bukrs_range
         IT_ACCRULE_RANGE = lv_it_accrule_range
         IT_ACRTYPE_RANGE = lv_it_acrtype_range
         IT_ACEDOCNR_RANGE = lv_it_acedocnr_range
         IT_OBJID_RANGE = lv_it_objid_range
         IT_SUBID_RANGE = lv_it_subid_range
         IT_REFKEY_RANGE = lv_it_refkey_range
         IT_REFSUBKEY_RANGE = lv_it_refsubkey_range
         ID_WF_WITEM = lv_id_wf_witem
         IS_GENRC_REFKEY_RANGES = lv_is_genrc_refkey_ranges
         ID_TESTRUN = lv_id_testrun
         ID_WF_WLIST = lv_id_wf_wlist
         ID_COMP = lv_id_comp
         ID_EFFDATE = lv_id_effdate
         ID_MANUAL_PERIOD = lv_id_manual_period
         ID_FISC_YEAR = lv_id_fisc_year
         ID_RUNTYPE = lv_id_runtype
         ID_RUNID_TO_REVERS = lv_id_runid_to_revers
    IMPORTING
         ES_SCHEDMAN_KEY = lv_es_schedman_key
    TABLES
         IT_SELKRIT = lt_it_selkrit
         IT_PARAM = lt_it_param
. " ACE_SCHEDMAN_START




ABAP code using 7.40 inline data declarations to call FM ACE_SCHEDMAN_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.

"SELECT single REPID FROM SY INTO @DATA(ld_id_repid).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single WF_WITEM FROM SCMA_WITEM INTO @DATA(ld_id_wf_witem).
 
 
 
"SELECT single WF_WLIST FROM SCMA_WITEM INTO @DATA(ld_id_wf_wlist).
 
 
 
 
 
 
 


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!