SAP ABAP Class CL_GRFN_AM_JOBSTEP_DESIGN (Job Step Runtime - Scheduler Utility)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_AUTO_MONITOR (Package) GRC Automated Monitoring Framework
Properties
Class CL_GRFN_AM_JOBSTEP_DESIGN  
Short Description Job Step Runtime - Scheduler Utility    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_AUTO_MONITOR   GRC Automated Monitoring Framework 
Created 20100608   SAP 
Last change 20141106    
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)
2 GRFN0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GRFN_AM_JOBSTEP_DESIGN has no interface implemented.
Friends
Class CL_GRFN_AM_JOBSTEP_DESIGN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_MSGID Constant Private Type reference (TYPE) SYMSGID 'GRFN_AUTO_MONITOR' Message Class 20100611
2 PLAN_DATE_BEGIN Instance attribute Private Type reference (TYPE) SWW_LSD Plan Begin Date 20100901
3 SUBMIT_RC_CLOSESM37FAIL Constant Public Type reference (TYPE) SYSUBRC 31 Return Value of SUBMIT method 20100819
4 SUBMIT_RC_NONEWJS Constant Public Type reference (TYPE) SYSUBRC 11 Return Value of SUBMIT method 20100819
5 SUBMIT_RC_OPENORSUBMITSM37FAIL Constant Public Type reference (TYPE) SYSUBRC 13 Return Value of SUBMIT method 20100819
6 SUBMIT_RC_RETRIEVEJSFAIL Constant Public Type reference (TYPE) SYSUBRC 12 Return Value of SUBMIT method 20100819
7 SUBMIT_RC_UPDATEJFAIL Constant Public Type reference (TYPE) SYSUBRC 33 Return Value of SUBMIT method 20100819
8 SUBMIT_RC_UPDATEJSEXECFAIL Constant Public Type reference (TYPE) SYSUBRC 32 Return Value of SUBMIT method 20100819
9 SUBMIT_RC_UPDATEJSSTATUSFAIL Constant Public Type reference (TYPE) SYSUBRC 14 Return Value of SUBMIT method 20100819
Methods
# Method Level Visibility Method type Description Created on
1 CREATE Instance method Public Method Create a new Job Schedule 20100620
2 CREATE_STANDALONE Instance method Public Method Create standalone jobs 20120202
3 GENERATE_JOBSTEPS Instance method Public Method Generate Job Steps 20100616
4 GENERATE_JOBSTEPS_ES Instance method Private Method [GENERATE_JOBSTEPS] - Job Execution Type E, S 20100626
5 GENERATE_JOBSTEPS_XDB Instance method Private Method [GENERATE_JOBSTEPS] - Job Execution Type X, D, B 20100626
6 GENERATE_JOBSTEPS_XDB_SA Instance method Private Method [GENERATE_JOBSTEPS] - Job Execution Type X, D, B 20120202
7 GET_EXECUTION_STAMP Instance method Private Method [GENERATE_JOBSTEPS] 20100611
8 GET_JOBSTEP_CONTEXT Instance method Private Method [GENERATE_JOBSTEPS] 20100620
9 GET_PERIOD_LIST Instance method Private Method [GENERATE_JOBSTEPS] Split the jobs 20100611
10 JOB_SETUP Instance method Private Method [CREATE] 20100630
11 PLANNER_CONTROL_BR Instance method Private Method [PLANNER_INTG] 20100722
12 PLANNER_INTG Instance method Public Method Wrapper between Planner and AM Job 20100721
13 PLANNER_JOB_SETUP Instance method Private Method [PLANNER_INTG] 20100722
14 PLANNER_SHARED_REG Instance method Private Method [PLANNER_INTG] 20100722
15 SUBMIT Instance method Public Method Submit Job Step to SM37 20100621
16 _CREATE_SUBMIT_INIT Instance method Private Method [CREATE] 20100906
17 _I2HOUR Instance method Private Method [GET_PERIOD_LIST] 20100625
18 _PLANNER_CLIMB_CONTROL Instance method Private Method [PLANNER_CONTROL_BR] 20100722
Events
Class CL_GRFN_AM_JOBSTEP_DESIGN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_STEP_CLOSE Private See coding 20100817 BEGIN OF s_step_close, jobstep_id type grfn_api_object_id, jobcount TYPE btcjobcnt, s_jobstep TYPE grfn_s_jobdetail_create, END OF s_step_close
Method Signatures

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_JOB_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Job ID 20100620
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100620
3 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB Job Header info 20100722
4 Importing IT_CONTROL_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100620
5 Importing IT_JOB_SHARED_REG Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Job Shared Regulations 20100620
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100620

Method CREATE_STANDALONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_JOB_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID 20120202
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION 20120202
3 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB 20120202
4 Importing IT_JOB_SHARED_REG Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID 20120202
5 Importing IT_SA_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_SA_BR Table of business rule 20120607
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 20120202

Method GENERATE_JOBSTEPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_JOBSTEP Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100620
2 Exporting ET_JOBSTEP_CONTEXT Call by reference Type reference (TYPE) GRFN_T_JOBSTEPCONTEXT Job Step Context 20100620
3 Exporting ET_JOBSTEP_SUBMIT Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100620
4 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100621
5 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB Job - header info 20100722
6 Importing IT_CONTROL_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100616
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100616

Method GENERATE_JOBSTEPS_ES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_JOBSTEP Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100628
2 Exporting ET_JOBSTEP_CONTEXT Call by reference Type reference (TYPE) GRFN_T_JOBSTEPCONTEXT Job Step Context 20100628
3 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100628
4 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB Job - header info 20100722
5 Importing IT_CONTROL_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100628
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100628

Method GENERATE_JOBSTEPS_XDB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_JOBSTEP Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100626
2 Exporting ET_JOBSTEP_CONTEXT Call by reference Type reference (TYPE) GRFN_T_JOBSTEPCONTEXT Job Step Context 20100626
3 Exporting ET_JOBSTEP_SUBMIT Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100626
4 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100626
5 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB Job - header info 20100722
6 Importing IT_CONTROL_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100626
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100626

Method GENERATE_JOBSTEPS_XDB_SA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_JOBSTEP Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20120202
2 Exporting ET_JOBSTEP_CONTEXT Call by reference Type reference (TYPE) GRFN_T_JOBSTEPCONTEXT Job Step Context 20120202
3 Exporting ET_JOBSTEP_SUBMIT Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20120202
4 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20120202
5 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB Job - header info 20120202
6 Importing IT_SA_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_SA_BR Job Step: Control and Business Rule 20120607
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120202

Method GET_EXECUTION_STAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_EXEC_DATE Call by reference Type reference (TYPE) SY-DATUM Current Date of Application Server 20100611
2 Changing CV_EXEC_TIME Call by reference Type reference (TYPE) SY-UZEIT Current Time of Application Server 20100611
3 Changing CV_START_NOW Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100611

Method GET_EXECUTION_STAMP on class CL_GRFN_AM_JOBSTEP_DESIGN has no exception.

Method GET_JOBSTEP_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_JOBSTEP_CONTEXT Call by reference Type reference (TYPE) GRFN_JOBSTEP_CONTEXT Job step context 20100620
2 Importing IS_CONTROL Call by reference Type reference (TYPE) GRFN_S_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100620

Method GET_JOBSTEP_CONTEXT on class CL_GRFN_AM_JOBSTEP_DESIGN has no exception.

Method GET_PERIOD_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PERIOD_LIST Call by reference Type reference (TYPE) GRFN_T_TF_TIMEFRAME Timeframe Details 20100611
2 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB Job - header info 20100722
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100611

Method JOB_SETUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB AMF - Job 20100722

Method JOB_SETUP on class CL_GRFN_AM_JOBSTEP_DESIGN has no exception.

Method PLANNER_CONTROL_BR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONTROL_BR Call by reference Type reference (TYPE) GRFN_T_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100722
2 Importing IO_LOG Call by reference Object reference (TYPE REF TO) CL_GRFN_APPLOG_JOB_DESIGN Application Log for Job Design Time 20100901
3 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100722
4 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_API_JOB AMF - Job 20100722
5 Importing IT_CONTROL Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Control ID 20100722
6 Importing IV_ORGUNIT Call by reference Type reference (TYPE) HROBJID Organization Unit 20100722
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100722

Method PLANNER_INTG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PLAN Call by reference Type reference (TYPE) GRFN_S_TASKPLAN Data for task plan 20100722
2 Importing IT_CONTROL Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Control IDs selected 20100721
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100721

Method PLANNER_JOB_SETUP 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) GRFN_S_API_JOB AMF - Job 20100722
2 Importing IS_PLAN Call by reference Type reference (TYPE) GRFN_S_TASKPLAN structure for task plan 20100722
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100722

Method PLANNER_SHARED_REG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_JOB_SHARED_REG Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20100722
2 Importing IS_PLAN Call by reference Type reference (TYPE) GRFN_S_TASKPLAN Data for task plan 20100722
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100722

Method SUBMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100819
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100705
3 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_JOB_HEADER Job - header info 20100621
4 Importing IT_JOBSTEP Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100621
5 Importing IV_NO_NEXT_JOBSTEP Call by reference Type reference (TYPE) ABAP_BOOL SPACE Do not submit the next Job Step 20100720
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100621

Method _CREATE_SUBMIT_INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_JOB Call by reference Type reference (TYPE) GRFN_S_JOB_HEADER Job - header info 20100906
2 Importing IT_JOBSTEP Call by reference Type reference (TYPE) GRFN_T_JOBDETAIL_CREATE Job Step Creation List 20100906

Method _CREATE_SUBMIT_INIT on class CL_GRFN_AM_JOBSTEP_DESIGN has no exception.

Method _I2HOUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HOUR Call by reference Type reference (TYPE) I 20100625
2 Returning RV_HOUR Value transfer Type reference (TYPE) SHL3_HOUR Hours 20100625

Method _I2HOUR on class CL_GRFN_AM_JOBSTEP_DESIGN has no exception.

Method _PLANNER_CLIMB_CONTROL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CONTROL_BR Call by reference Type reference (TYPE) GRFN_S_JOBSTEP_CONTROL_BR Job Step: Control and Business Rule 20100722
2 Importing IO_LOG Call by reference Object reference (TYPE REF TO) CL_GRFN_APPLOG_JOB_DESIGN Application Log for Job Design Time 20100901
3 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100722
4 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100722

Method _PLANNER_CLIMB_CONTROL on class CL_GRFN_AM_JOBSTEP_DESIGN has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 600