SAP ABAP Class CL_GRRM_FH_UTIL (Forecasting Horizons API)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_UTILITY (Package) Utility classes for Risk Management
Properties
Class CL_GRRM_FH_UTIL  
Short Description Forecasting Horizons API    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_UTILITY   Utility classes for Risk Management 
Created 20110729   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRRM_FH_UTIL has no forward declaration.
Interfaces
Class CL_GRRM_FH_UTIL has no interface implemented.
Friends
Class CL_GRRM_FH_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ACTION_ARCH Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'ARCH' FH log action 20110916
2 C_ACTION_CANS Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'CANS' FH log action 20120105
3 C_ACTION_CREA Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'CREA' FH log action 20110916
4 C_ACTION_DELE Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'DELE' FH log action 20110916
5 C_ACTION_EDIT Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'EDIT' FH log action 20110916
6 C_ACTION_JOBR Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'JOBR' FH log action 20120105
7 C_ACTION_NOTF Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'NOTF' FH log action 20110916
8 C_ACTION_ROLL Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'ROLL' FH log action 20110916
9 C_ACTION_SCHE Constant Public Type reference (TYPE) GRRM_FH_LOG_ACTION 'SCHE' FH log action 20120105
10 C_EXECUTE_DIRECT Constant Public Type reference (TYPE) GRRM_SHIFTING_EXECUTE ' ' Execution mode for shifting 20120105
11 C_EXECUTE_SCHEDULED Constant Public Type reference (TYPE) GRRM_SHIFTING_EXECUTE 'S' Execution mode for shifting 20120105
12 C_FH_STATUS_ARCHIVED Constant Public Type reference (TYPE) GRRM_FH_STATUS 'A' Forecasting horizon: Status 20110729
13 C_FH_STATUS_CLOSED Constant Public Type reference (TYPE) GRRM_FH_STATUS 'C' Forecasting horizon: Status 20110729
14 C_FH_STATUS_DRAFT Constant Public Type reference (TYPE) GRRM_FH_STATUS ' ' Forecasting horizon: Status 20110729
15 C_FH_STATUS_OPEN Constant Public Type reference (TYPE) GRRM_FH_STATUS 'O' Forecasting horizon: Status 20110729
16 C_SHIFTING_JOB Constant Private Type reference (TYPE) BTCJOB 'GRRM_FH_SHIFTING_JOB' Background job name 20120105
17 C_SHIFTING_REPORT Constant Private Type reference (TYPE) EDPROGRAM 'GRRM_FH_SHIFTING' EDIC: Program name 20120105
18 MT_FH Static Attribute Private Type reference (TYPE) GRRM_T_FH Forecasting Horizon 20110729
19 M_LANGU Static Attribute Private Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20110907
20 M_LEADING_FH Static Attribute Private Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20140627
21 M_LOCKED Static Attribute Private Type reference (TYPE) AS4FLAG Flag (X or Blank) 20120105
Methods
# Method Level Visibility Method type Description Created on
1 CANCEL_SCHEDULING Static method Public Method Cancel scheduled shifting 20120105
2 CHECK_LOCKED Static method Private Method 20120105
3 CHECK_SCHEDULING Static method Public Method Checks if there is a scheduled job -> exception 20120105
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20110729
5 FH_ACTION_BLOCK Static method Public Method Date of the last blocking item 20110916
6 FH_ARCHIVE Static method Public Method Archive FH & save 20110916
7 FH_CREATE Static method Public Method Create FH & save 20110916
8 FH_DELETE Static method Public Method Delete FH & save 20110916
9 FH_EDIT Static method Public Method Change single FH & save 20110916
10 FH_LOG_RETRIEVE Static method Public Method Retrieves change log 20110916
11 FH_MOVE_DOWN Static method Public Method Move FH down & save 20110916
12 FH_MOVE_UP Static method Public Method Move FH up & save 20110916
13 FH_NOTIFICATION_PREPARE Static method Public Method Get notification text and recipient list 20110921
14 FH_NOTIFICATION_SEND Static method Public Method Send notification to responsibles 20110921
15 FH_RELEASE Static method Public Method Release lock and roll back all changes 20110916
16 FH_RETRIEVE Static method Public Method Retrieve FHs and lock 20110916
17 FH_ROLL Static method Public Method Roll forward FHs & save 20110916
18 FH_ROLL_JOB_PREPARE Static method Public Method Retrieve FHs and lock - for job execution 20120123
19 FH_ROLL_SCHEDULE Static method Public Method Schedule Roll forward FHs 20120105
20 GEN_FH_LOG_DETAIL Static method Private Method 20110921
21 GET Static method Public Method Get Forecasting Horizon 20110729
22 GET_ANALYSIS_MODE Static method Public Method Get analysis mode for FH - TODO!!!!!! 20110823
23 GET_DEFAULT_FH Static method Public Method Get system-wide default FH 20140627
24 GET_LIST Static method Public Method Get all Forecasting Horizons 20110729
25 GET_NAME Static method Public Method Get Forecasting Horizon Name 20110921
26 GET_NEW_ID Static method Private Method New id 20110817
27 GET_ROLL_DESCR Static method Private Method Schedule Roll forward FHs 20120105
28 GET_SCHEDULING_DESCR Static method Public Method Get description of the scheduling 20120105
29 LOG_ACTION Static method Private Method Create action log entry 20110919
30 READ_FROM_DB Static method Private Method Internal 20110729
31 RELEASE_LOCK Static method Private Method 20120105
32 RELESE_LOCK Static method Private Method 20120105
33 ROLL_ANALYSIS Static method Private Method Execute rolling of the analysis for all risks 20110818
34 ROLL_ANALYSIS_API Static method Private Method Obsolete 20111212
35 SET_LANGUAGE Static method Public Method Set output language 20110907
36 UPDATE_AND_SAVE Static method Private Method OBSOLETE!!!!!!!!!!!!!!!! 20110729
Events
Class CL_GRRM_FH_UTIL has no event.
Types
Class CL_GRRM_FH_UTIL has no local type.
Method Signatures

Method CANCEL_SCHEDULING Signature

Method CANCEL_SCHEDULING on class CL_GRRM_FH_UTIL has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120105

Method CHECK_LOCKED Signature

Method CHECK_LOCKED on class CL_GRRM_FH_UTIL has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120105

Method CHECK_SCHEDULING Signature

Method CHECK_SCHEDULING on class CL_GRRM_FH_UTIL has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120105

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_GRRM_FH_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRRM_FH_UTIL has no exception.

Method FH_ACTION_BLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_BLOCK Value transfer Type reference (TYPE) GRRM_FH_BLOCK FH block until 20110916

Method FH_ACTION_BLOCK on class CL_GRRM_FH_UTIL has no exception.

Method FH_ARCHIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110916
2 Importing IV_TS Call by reference Type reference (TYPE) TZNTSTMPS Current Date of Application Server 20111009
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_FH_ID Value transfer Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110916
2 Importing IS_FH Value transfer Type reference (TYPE) GRRM_S_FH Forecasting Horizon 20110916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_EDIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FH Call by reference Type reference (TYPE) GRRM_S_FH Forecasting Horizon 20110916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_LOG_RETRIEVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOG Call by reference Type reference (TYPE) GRRM_T_FH_LOG_ITEM FH Log 20110916

Method FH_LOG_RETRIEVE on class CL_GRRM_FH_UTIL has no exception.

Method FH_MOVE_DOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon ID 20110916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_MOVE_UP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon ID 20110916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_NOTIFICATION_PREPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECIPIENT Call by reference Type reference (TYPE) GRRM_T_FH_NOTIF_RECIPIENT Recipients of FH notification 20110921
2 Exporting EV_TEXT Call by reference Type reference (TYPE) STRING 20110921
3 Exporting EV_TITLE Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20110921
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110921

Method FH_NOTIFICATION_SEND 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) BAPIRETTAB Table with BAPI Return Information 20111102
2 Importing IT_RECIPIENT Call by reference Type reference (TYPE) GRRM_T_FH_NOTIF_RECIPIENT Recipients of FH notification 20110921
3 Importing IV_TEXT Call by reference Type reference (TYPE) STRING 20110921
4 Importing IV_TITLE Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20110921
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110921

Method FH_RELEASE Signature

Method FH_RELEASE on class CL_GRRM_FH_UTIL has no parameter.
Method FH_RELEASE on class CL_GRRM_FH_UTIL has no exception.

Method FH_RETRIEVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FH Value transfer Type reference (TYPE) GRRM_T_FH Forecasting Horizon 20110916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_ROLL 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) BAPIRETTAB Table with BAPI Return Information 20110916
2 Importing IT_FH_CLOSE Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20110916
3 Importing IT_FH_OPEN Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20110916
4 Importing IT_ROLLING Call by reference Type reference (TYPE) GRRM_T_FH_ROLLING Rolling FH 20110916
5 Importing IV_JOB Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20120105
6 Importing IV_TS Call by reference Type reference (TYPE) TZNTSTMPS 20111009
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110917

Method FH_ROLL_JOB_PREPARE Signature

Method FH_ROLL_JOB_PREPARE on class CL_GRRM_FH_UTIL has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120123

Method FH_ROLL_SCHEDULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FH_CLOSE Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20120105
2 Importing IT_FH_OPEN Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20120105
3 Importing IT_ROLLING Call by reference Type reference (TYPE) GRRM_T_FH_ROLLING Rolling FH 20120105
4 Importing IV_DATE Call by reference Type reference (TYPE) D Time of schedule 20120105
5 Importing IV_TIME Call by reference Type reference (TYPE) T 20120105
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120105

Method GEN_FH_LOG_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DETAIL Value transfer Type reference (TYPE) STRING 20110921
2 Importing IS_FH Call by reference Type reference (TYPE) GRRM_S_FH Forecasting Horizon 20110921

Method GEN_FH_LOG_DETAIL on class CL_GRRM_FH_UTIL has no exception.

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AS_OF_DATE Value transfer Type reference (TYPE) SYDATE Date data element for SYST 20110729
2 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110729
3 Importing IV_TS Call by reference Type reference (TYPE) TZNTSTMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20111009
4 Returning RS_FH Value transfer Type reference (TYPE) GRRM_S_FH Forecasting Horizon 20110729
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110729

Method GET_ANALYSIS_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IMPACT_MODE Call by reference Type reference (TYPE) GRRM_ANALYSIS_MODE Analysis Mode 20110823
2 Exporting EV_PROB_MODE Call by reference Type reference (TYPE) GRRM_ANALYSIS_MODE Analysis Mode 20110823
3 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110823

Method GET_ANALYSIS_MODE on class CL_GRRM_FH_UTIL has no exception.

Method GET_DEFAULT_FH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FH_ID Value transfer Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20140627

Method GET_DEFAULT_FH on class CL_GRRM_FH_UTIL has no exception.

Method GET_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AS_OF_DATE Value transfer Type reference (TYPE) SYDATE Date data element for SYST 20110729
2 Importing IV_OPEN_ONLY Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110902
3 Importing IV_TS Call by reference Type reference (TYPE) TZNTSTMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20111009
4 Importing IV_VISIBLE_ONLY Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110830
5 Returning RT_FH Value transfer Type reference (TYPE) GRRM_T_FH Forecasting Horizon 20110729

Method GET_LIST on class CL_GRRM_FH_UTIL has no exception.

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FH_ID Call by reference Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110921
2 Returning RV_NAME Value transfer Type reference (TYPE) STRING 20110921

Method GET_NAME on class CL_GRRM_FH_UTIL has no exception.

Method GET_NEW_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FH_ID Value transfer Type reference (TYPE) GRRM_FH_ID Forecasting Horizon 20110817

Method GET_NEW_ID on class CL_GRRM_FH_UTIL has no exception.

Method GET_ROLL_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DESCR Value transfer Type reference (TYPE) STRING 20120105
2 Importing IS_EXECUTE Call by reference Type reference (TYPE) GRRM_S_SHIFTING_EXECUTE Execution details for shifting 20120105
3 Importing IT_FH_CLOSE Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20120105
4 Importing IT_FH_OPEN Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20120105
5 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120105
6 Importing IT_ROLLING Call by reference Type reference (TYPE) GRRM_T_FH_ROLLING Rolling FH 20120105

Method GET_ROLL_DESCR on class CL_GRRM_FH_UTIL has no exception.

Method GET_SCHEDULING_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DESCR Value transfer Type reference (TYPE) STRING 20120105
2 Importing IS_EXECUTE Call by reference Type reference (TYPE) GRRM_S_SHIFTING_EXECUTE Execution details for shifting 20120105

Method GET_SCHEDULING_DESCR on class CL_GRRM_FH_UTIL has no exception.

Method LOG_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FH Call by reference Type reference (TYPE) GRRM_S_FH 20110919
2 Importing IV_ACTION Call by reference Type reference (TYPE) GRRM_FH_LOG_ACTION FH log action 20110919
3 Importing IV_BLOCK Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20110919
4 Importing IV_DETAIL Call by reference Type reference (TYPE) STRING 20110921

Method LOG_ACTION on class CL_GRRM_FH_UTIL has no exception.

Method READ_FROM_DB Signature

Method READ_FROM_DB on class CL_GRRM_FH_UTIL has no parameter.
Method READ_FROM_DB on class CL_GRRM_FH_UTIL has no exception.

Method RELEASE_LOCK Signature

Method RELEASE_LOCK on class CL_GRRM_FH_UTIL has no parameter.
Method RELEASE_LOCK on class CL_GRRM_FH_UTIL has no exception.

Method RELESE_LOCK Signature

Method RELESE_LOCK on class CL_GRRM_FH_UTIL has no parameter.
Method RELESE_LOCK on class CL_GRRM_FH_UTIL has no exception.

Method ROLL_ANALYSIS 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) BAPIRETTAB Table with BAPI Return Information 20110830
2 Importing IT_OPEN_FH Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20110916
3 Importing IT_ROLLING Call by reference Type reference (TYPE) GRRM_T_FH_ROLLING Rolling FH 20110818
4 Importing IV_TS Call by reference Type reference (TYPE) TZNTSTMPS 20111009
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110830

Method ROLL_ANALYSIS_API 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) BAPIRETTAB Table with BAPI Return Information 20111212
2 Importing IT_OPEN_FH Call by reference Type reference (TYPE) GRRM_T_FH_ID Forecasting Horizon 20111212
3 Importing IT_ROLLING Call by reference Type reference (TYPE) GRRM_T_FH_ROLLING Rolling FH 20111212
4 Importing IV_TS Call by reference Type reference (TYPE) TZNTSTMPS 20111212
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20111212

Method SET_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20110907

Method SET_LANGUAGE on class CL_GRRM_FH_UTIL has no exception.

Method UPDATE_AND_SAVE 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) BAPIRETTAB Table with BAPI Return Information 20110831
2 Importing IT_FH Call by reference Type reference (TYPE) GRRM_T_FH Forecasting Horizon 20110729
3 Importing IT_ROLLING Call by reference Type reference (TYPE) GRRM_T_FH_ROLLING Rolling FH 20110831
4 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM SY-DATUM Current Date of Application Server 20110818
5 Importing IV_EXECUTE_ROLLING Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110831
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110729
History
Last changed by/on SAP  20141106 
SAP Release Created in V1100