SAP XFCC_TASKLIST_SCHEDULE_SINGLE Function Module for Scheduling of Tasks









XFCC_TASKLIST_SCHEDULE_SINGLE is a standard xfcc tasklist schedule single SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Scheduling of Tasks 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 xfcc tasklist schedule single FM, simply by entering the name XFCC_TASKLIST_SCHEDULE_SINGLE into the relevant SAP transaction such as SE37 or SE38.

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



Function XFCC_TASKLIST_SCHEDULE_SINGLE 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 'XFCC_TASKLIST_SCHEDULE_SINGLE'"Scheduling of Tasks
EXPORTING
IR_ITEM = "Schedule Manager: Task List
* ID_FROM_BKG = ' ' "Single-Character Flag
* ID_JOB_OWNER = "Job Owner
* I_IMMEDIATE_START = 'X' "Immed.Start
I_START_DATE = "Start Date
I_START_TIME = "Start Time
* I_RELEASED = 'X' "
* IS_PRI_PARAMS = "Structure for Passing Print Parameters
* IS_ARC_PARAMS = "ImageLink structure
* I_MODE = 'N' "
* IR_LOGGER_MANAGER = "Update Status Management

EXCEPTIONS
TASK_NOT_FOUND = 1 TASK_NOT_SCHEDULABLE = 2 REPORT_NOT_FOUND = 3 VARIANT_NOT_FOUND = 4 SEQUENCE_NOT_FOUND = 5 SCHEDULED_TIME_INVALID = 6 ERROR_OCCURED = 7 RT_ERROR_OCCURED = 8 TASK_NOT_SCHEDULED = 9
.



IMPORTING Parameters details for XFCC_TASKLIST_SCHEDULE_SINGLE

IR_ITEM - Schedule Manager: Task List

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

ID_FROM_BKG - Single-Character Flag

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: Yes

ID_JOB_OWNER - Job Owner

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

I_IMMEDIATE_START - Immed.Start

Data type: CHAR1
Default: 'X'
Optional: No
Call by Reference: Yes

I_START_DATE - Start Date

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

I_START_TIME - Start Time

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

I_RELEASED -

Data type: CHAR1
Default: 'X'
Optional: No
Call by Reference: Yes

IS_PRI_PARAMS - Structure for Passing Print Parameters

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

IS_ARC_PARAMS - ImageLink structure

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

I_MODE -

Data type: CHAR1
Default: 'N'
Optional: Yes
Call by Reference: Yes

IR_LOGGER_MANAGER - Update Status Management

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

EXCEPTIONS details

TASK_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

TASK_NOT_SCHEDULABLE - The task cannot be scheduled

Data type:
Optional: No
Call by Reference: Yes

REPORT_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

VARIANT_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

SEQUENCE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

SCHEDULED_TIME_INVALID -

Data type:
Optional: No
Call by Reference: Yes

ERROR_OCCURED -

Data type:
Optional: No
Call by Reference: Yes

RT_ERROR_OCCURED -

Data type:
Optional: No
Call by Reference: Yes

TASK_NOT_SCHEDULED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for XFCC_TASKLIST_SCHEDULE_SINGLE 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_ir_item  TYPE CL_FCC_CITEMX, "   
lv_task_not_found  TYPE CL_FCC_CITEMX, "   
lv_id_from_bkg  TYPE CHAR1, "   ' '
lv_id_job_owner  TYPE UNAME, "   
lv_i_immediate_start  TYPE CHAR1, "   'X'
lv_task_not_schedulable  TYPE CHAR1, "   
lv_i_start_date  TYPE SYDATUM, "   
lv_report_not_found  TYPE SYDATUM, "   
lv_i_start_time  TYPE SYUZEIT, "   
lv_variant_not_found  TYPE SYUZEIT, "   
lv_i_released  TYPE CHAR1, "   'X'
lv_sequence_not_found  TYPE CHAR1, "   
lv_is_pri_params  TYPE PRI_PARAMS, "   
lv_scheduled_time_invalid  TYPE PRI_PARAMS, "   
lv_error_occured  TYPE PRI_PARAMS, "   
lv_is_arc_params  TYPE ARC_PARAMS, "   
lv_i_mode  TYPE CHAR1, "   'N'
lv_rt_error_occured  TYPE CHAR1, "   
lv_ir_logger_manager  TYPE CL_FCC_APP_LOG_MANAGER, "   
lv_task_not_scheduled  TYPE CL_FCC_APP_LOG_MANAGER. "   

  CALL FUNCTION 'XFCC_TASKLIST_SCHEDULE_SINGLE'  "Scheduling of Tasks
    EXPORTING
         IR_ITEM = lv_ir_item
         ID_FROM_BKG = lv_id_from_bkg
         ID_JOB_OWNER = lv_id_job_owner
         I_IMMEDIATE_START = lv_i_immediate_start
         I_START_DATE = lv_i_start_date
         I_START_TIME = lv_i_start_time
         I_RELEASED = lv_i_released
         IS_PRI_PARAMS = lv_is_pri_params
         IS_ARC_PARAMS = lv_is_arc_params
         I_MODE = lv_i_mode
         IR_LOGGER_MANAGER = lv_ir_logger_manager
    EXCEPTIONS
        TASK_NOT_FOUND = 1
        TASK_NOT_SCHEDULABLE = 2
        REPORT_NOT_FOUND = 3
        VARIANT_NOT_FOUND = 4
        SEQUENCE_NOT_FOUND = 5
        SCHEDULED_TIME_INVALID = 6
        ERROR_OCCURED = 7
        RT_ERROR_OCCURED = 8
        TASK_NOT_SCHEDULED = 9
. " XFCC_TASKLIST_SCHEDULE_SINGLE




ABAP code using 7.40 inline data declarations to call FM XFCC_TASKLIST_SCHEDULE_SINGLE

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_id_from_bkg) = ' '.
 
 
DATA(ld_i_immediate_start) = 'X'.
 
 
 
 
 
 
DATA(ld_i_released) = 'X'.
 
 
 
 
 
 
DATA(ld_i_mode) = 'N'.
 
 
 
 


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!