SAP ABAP Class CL_FCC_UTIL_RWF (remote workflow utility)
Hierarchy
FCCO (Software Component) Financial Closing Cockpit 200
   CA-GTF-FCC (Application Component) Financial Closing cockpit Add-on
     FCC_CLOSING (Package) Financial Closing Cockpit - SAPGUI and backend
Properties
Class CL_FCC_UTIL_RWF  
Short Description remote workflow utility    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FCC_CLOSING   Financial Closing Cockpit - SAPGUI and backend 
Created 20121210   SAP 
Last change 20141108    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_FCC_UTIL_RWF has no interface implemented.
Friends
Class CL_FCC_UTIL_RWF has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_HEADER_STEP_NUM Constant Public Type reference (TYPE) INT2 1 2 byte integer (signed) 20121214
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_JOBSTAT_TO_USERSTAT Static method Public Method Convert Job Status to Application Status 20121217
2 CREATE_SCHEDULE_ENTRY Static method Public Method 20121211
3 CREATE_UNSCHEDULE_ENTRY Static method Public Method 20121217
4 CREATE_WF_FOR_MANUAL_CHANGE Static method Public Method Manual change 20121213
5 GET_CURRENT_WF Static method Public Method Get the current workflow ID 20121212
6 GET_JOB_INFO Static method Public Method 20121210
7 GET_STATUS Static method Public Method Get the status of the remote workflow 20121212
8 SCHEDULE_TASKS Static method Public Method schedule 20121210
9 SCHEDULE_TASK_INTERNAL Static method Private Method 20121221
10 UNSCHEDULE_TASK Static method Public Method 20121210
11 UPDATE_STATUS Static method Public Method Update the status 20121212
Events
Class CL_FCC_UTIL_RWF has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 FCC_S_NOTI Protected See coding 20121221 BEGIN OF fcc_s_noti, ritem TYPE REF TO cl_fcc_citemx, bkg TYPE boolean, immediate TYPE boolean, END OF fcc_s_noti
2 FCC_T_NOTI Protected See coding 20121221 fcc_t_noti TYPE TABLE OF fcc_s_noti
3 FCC_T_RWF_ID Public See coding 20121211 fcc_t_rwf_id TYPE TABLE OF fcc_rwf_id
4 RWF_T_ID Protected See coding 20121221 rwf_t_id TYPE TABLE OF fcc_rwf_id
5 S_ITEM Protected See coding 20121221 BEGIN OF s_item, item TYPE REF TO cl_fcc_citemx, rfc_id TYPE fcc_rfc_id, start_date TYPE sy-datum, start_time TYPE sy-uzeit, fake_sched TYPE boolean, sched_id TYPE fcc_rwf_id-sched_id, * schetmpstmp TYPE timestampl, * timestamp TYPE timestampl, * immediate_start TYPE boolean, END OF s_item
6 T_ITEM Protected See coding 20121221 t_item TYPE TABLE OF s_item
Method Signatures

Method CONVERT_JOBSTAT_TO_USERSTAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPLSTAT Call by reference Type reference (TYPE) BTCSTATUS State of Background Job 20121217
2 Importing IV_JOBSTAT Call by reference Type reference (TYPE) BTCSTATUS State of Background Job 20121217
3 Returning RV_STAT Value transfer Type reference (TYPE) SCHEDMAN_JOB_STATI Job Status from a Business View 20121217

Method CONVERT_JOBSTAT_TO_USERSTAT on class CL_FCC_UTIL_RWF has no exception.

Method CREATE_SCHEDULE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20121217
2 Importing IT_RWF_ID Call by reference Type reference (TYPE) FCC_T_RWF_ID Remote Workflow ID 20121211

Method CREATE_SCHEDULE_ENTRY on class CL_FCC_UTIL_RWF has no exception.

Method CREATE_UNSCHEDULE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RWF_ID Call by reference Type reference (TYPE) FCC_RWF_ID Remote Workflow ID 20121217

Method CREATE_UNSCHEDULE_ENTRY on class CL_FCC_UTIL_RWF has no exception.

Method CREATE_WF_FOR_MANUAL_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RWF_ID Call by reference Type reference (TYPE) FCC_RWF_ID Remote Workflow ID 20121213
2 Importing IS_TASK Call by reference Type reference (TYPE) FCC_INST_ITEM Administration of a Job (Report/Transaction or Workflow).... 20121213
3 Importing IV_STARTDATE Call by reference Type reference (TYPE) D 20121213
4 Importing IV_STARTTIME Call by reference Type reference (TYPE) T 20121213
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20121213

Method CREATE_WF_FOR_MANUAL_CHANGE on class CL_FCC_UTIL_RWF has no exception.

Method GET_CURRENT_WF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RWF_ID Call by reference Type reference (TYPE) FCC_RWF_ID Remote Workflow ID 20121212
2 Exporting EV_NOT_EXIST Call by reference Type reference (TYPE) ABAP_BOOL Successfully get the current workflow id 20121212
3 Importing IS_ITEM Call by reference Type reference (TYPE) FCC_INST_ITEM Administration of a Job (Report/Transaction or Workflow).... 20121212

Method GET_CURRENT_WF on class CL_FCC_UTIL_RWF has no exception.

Method GET_JOB_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_JOB Call by reference Type reference (TYPE) FCC_RWF_ID Job Info for remote workflow 20121210
2 Exporting EV_NOT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121210
3 Importing IS_ITEM Call by reference Type reference (TYPE) FCC_INST_ITEM Administration of a Job (Report/Transaction or Workflow) 20121210

Method GET_JOB_INFO on class CL_FCC_UTIL_RWF has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_OUTPUT Call by reference Type reference (TYPE) SMOUTPUT Output Structure of the Monitor 20121212
2 Changing CT_SMOUTPUT Call by reference Type reference (TYPE) FCC_T_SMOUTPUT Itab for SM Output 20121212
3 Exporting EV_END_DATE Call by reference Type reference (TYPE) DATUM Start Time 20121212
4 Exporting EV_END_TIME Call by reference Type reference (TYPE) UZEIT End Date 20121212
5 Exporting EV_SET_MANUALLY Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20140319
6 Exporting EV_START_DATE Call by reference Type reference (TYPE) DATUM Status 20121212
7 Exporting EV_START_TIME Call by reference Type reference (TYPE) UZEIT Start Date 20121212
8 Exporting EV_STATUS Call by reference Type reference (TYPE) CHAR1 Single-Character Flag 20121212
9 Exporting EV_USERNAME Call by reference Type reference (TYPE) SY-UNAME End Time 20121212
10 Importing IS_ITEM Call by reference Type reference (TYPE) FCC_INST_ITEM Administration of a Job (Report/Transaction or Workflow).... 20121212

Method GET_STATUS on class CL_FCC_UTIL_RWF has no exception.

Method SCHEDULE_TASKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_SCENARIO_CONTAINER Call by reference Object reference (TYPE REF TO) CL_FCC_NOTI_SCE_CONTAINER Container of Scenarios (for Web Dynpro Application) 20121218
2 Exporting ET_ITEMS_NOT_SCHED Call by reference Type reference (TYPE) FCC_ITEMS Item table 20121210
3 Exporting ET_ITEMS_SCHED Call by reference Type reference (TYPE) FCC_ITEMS Item table 20121210
4 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FCC_T_MESSAGE Table Type for Messages 20121210
5 Importing IV_FROM_BKGRD Call by reference Type reference (TYPE) CHAR1 ' ' Single-Character Flag 20121211
6 Importing IV_NOW Call by reference Type reference (TYPE) CHAR1 Single-Character Flag 20121211
7 Importing IV_START_DATE Call by reference Type reference (TYPE) SY-DATUM Current Date of Application Server 20121210
8 Importing IV_START_IMMD Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121210
9 Importing IV_START_TIME Call by reference Type reference (TYPE) SY-UZEIT Current Time of Application Server 20121210
10 Importing LT_RWF_ITEMS Call by reference Type reference (TYPE) FCC_ITEMS Item table 20121210

Method SCHEDULE_TASKS on class CL_FCC_UTIL_RWF has no exception.

Method SCHEDULE_TASK_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS_NOT_SCHED Call by reference Type reference (TYPE) FCC_ITEMS Item table 20121221
2 Changing CT_ITEMS_SCHED Call by reference Type reference (TYPE) FCC_ITEMS Item table 20121221
3 Changing CT_MESSAGE Call by reference Type reference (TYPE) FCC_T_MESSAGE Table Type for Messages 20121221
4 Changing CT_NOTI_STRUCTURE Call by reference Type reference (TYPE) FCC_T_NOTI 20121221
5 Changing CT_RWF_ID Call by reference Type reference (TYPE) RWF_T_ID 20121221
6 Importing IT_ITEMS Call by reference Type reference (TYPE) T_ITEM 20121221
7 Importing IT_RWF_SCHEDULE Call by reference Type reference (TYPE) FCC2_T_RWF_SCHEDULE_INFO Remote workflow schedule information 20121221
8 Importing IV_FROM_BKGRD Call by reference Type reference (TYPE) CHAR1 ' ' Single-Character Flag 20121221
9 Importing IV_RFC_ID Call by reference Type reference (TYPE) FCC_RFC_ID Remote System 20121221
10 Importing IV_START_IMMD Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20121221

Method SCHEDULE_TASK_INTERNAL on class CL_FCC_UTIL_RWF has no exception.

Method UNSCHEDULE_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FCC_T_MESSAGE Table Type for Messages 20121210
2 Importing LV_FCC_ITEM Call by reference Object reference (TYPE REF TO) CL_FCC_CITEMX Task Item Element 20121210

Method UNSCHEDULE_TASK on class CL_FCC_UTIL_RWF has no exception.

Method UPDATE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RWF_ID Call by reference Type reference (TYPE) FCC_RWF_ID Remote Workflow ID 20121212
2 Importing IV_CHANGE_STAMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20121212
3 Importing IV_JOBTEXT Call by reference Type reference (TYPE) TEXT70 Error message text - long text of the error 20130205
4 Importing IV_NEW_STATUS Call by reference Type reference (TYPE) CHAR1 Single-Character Flag 20121212
5 Importing IV_NEW_STATUS_TEXT Call by reference Type reference (TYPE) SM_STATUS_TXT Status Change Reason 20121212
6 Importing IV_TASKOWNER Call by reference Type reference (TYPE) SCMATASK_OWNER Schedule Manager: Task Owner 20130205

Method UPDATE_STATUS on class CL_FCC_UTIL_RWF has no exception.
History
Last changed by/on SAP  20141108 
SAP Release Created in 200