SAP ABAP Class CL_FDT_BRS_SERVICES (FDT: Business Rule Service Services)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_BRS_CORE (Package) Business Rule Services: Runtime Services
Properties
Class CL_FDT_BRS_SERVICES  
Short Description FDT: Business Rule Service Services    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_BRS_CORE   Business Rule Services: Runtime Services 
Created 20111118   SAP 
Last change 20141121    
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 CL_FDT_BRS_TRACE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_FDT_LEAN_TRACE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 SEOC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_FDT_BRS_SERVICES has no interface implemented.
Friends
Class CL_FDT_BRS_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ACTIVITY_CUTOFF Constant Public Type reference (TYPE) FDT_AUTH_ACTIVITY_MS 03 Delete service deployments based on cutoff date 20120621
2 GC_ACTIVITY_DELETE Constant Public Type reference (TYPE) FDT_AUTH_ACTIVITY_MS 02 Delete service 20120621
3 GC_ACTIVITY_DEPLOY Constant Public Type reference (TYPE) FDT_AUTH_ACTIVITY_MS 01 Deploy service 20120621
4 GC_ACTIVITY_GET_CLASS Constant Public Type reference (TYPE) FDT_AUTH_ACTIVITY_MS 05 Get deployment classes 20120621
5 GC_ACTIVITY_GET_TRACE Constant Public Type reference (TYPE) FDT_AUTH_ACTIVITY_MS 06 Get deployment traces 20120621
6 GC_ACTIVITY_GET_XML Constant Public Type reference (TYPE) FDT_AUTH_ACTIVITY_MS 04 Get deployment XML 20120621
7 GC_DEFAULT_UUID Constant Private Type reference (TYPE) FDT_BRS_S_TRACE_RECORD-PARENT_ID '00000000000000000000000000000000' FDT: Universal Unique Identifier 20130926
8 GV_NON_PRODUCTIVE_MODE Static Attribute Public Type reference (TYPE) BOOLE_D ABAP_TRUE: Use non productive mode 20120828
Methods
# Method Level Visibility Method type Description Created on
1 CLEAN_UP_DB Static method Public Method Delete scrap data 20120621
2 CLEAN_UP_OLD_UTS Static method Public Method Delete unit test data 20120621
3 CONVERT_HEX_TO_INT Static method Private Method Obsolete 20131011
4 CREATE_SB_FROM_TAB Static method Public Method Creates a sourcebind table from the DO def table 20120621
5 DELETE_DUPLICATE_TRACE_RECORDS Static method Public Method 20130926
6 DELETE_GENERATED_HANA_OBJECTS Static method Public Method 20130521
7 DEL_AND_ADJUST_DEPLOYMENT Static method Private Method Deletes a single deployment and adjsuts the time frames 20121018
8 DISCARD_DEPLOYMENTS Static method Public Method Discard old and future deployments 20120621
9 GET_DESCRIPTOR Static method Private Method Returns the descriptor for a do description 20120621
10 GET_ID_INFO_FROM_DB Static method Private Method Get infos for an ID from the database 20130926
11 GET_ID_INFO_FROM_DB_ADMN Static method Private Method Get infos for an ID from the database 20130926
12 GET_ID_INFO_FROM_DB_EXPR Static method Private Method Get infos for an ID from the database 20130926
13 GET_INSTALLED_SERVICES Static method Public Method Return all installed services from this managed system 20120621
14 GET_JSON_VALUE_4_TRACE_RECORD Static method Public Method 20131011
15 GET_LOC_SERVICE_DATA Static method Public Method Returns the desired local service IDs and a counter 20130521
16 GET_TRACE_CHILD_RECORDS Static method Private Method Get the Trace child records of a parent out of some records 20130926
17 IS_TRACE_MODE_LEAN Static method Public Method Returns true, if trace mode behaves like the Lean Trace 20131011
18 IS_TRACE_MODE_SUPPORTED Static method Public Method Returns true, if the trace mode is supported 20131011
19 MODIFY_TRACE_RECORDS_BY_MODE Static method Public Method Modify trace records based on the trace mode 20130927
20 SAVE_AND_CHECK_CLASS Static method Public Method Save and check a generated class 20120621
21 SAVE_GENERATED_HANA_OBJECTS Static method Public Method Save generated HANA artifacts 20130521
22 VERIFY_SIGNATURE Static method Private Method Verifies a signed class 20120621
23 XML_TO_FILE Static method Public Method Saves a XML to file 20120621
Events
Class CL_FDT_BRS_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_ID_INFO Private See coding 20130926 BEGIN OF s_id_info, id TYPE if_fdt_types=>id, object_type TYPE if_fdt_types=>object_type, expr_type_id TYPE if_fdt_types=>id, END OF s_id_info
2 S_ID_INFO_ADMN Private See coding 20130926 BEGIN OF s_id_info_admn, id TYPE if_fdt_types=>id, object_type TYPE if_fdt_types=>object_type, END OF s_id_info_admn
3 S_ID_INFO_EXPR Private See coding 20130926 BEGIN OF s_id_info_expr, id TYPE if_fdt_types=>id, expr_type_id TYPE if_fdt_types=>id, END OF s_id_info_expr
4 TH_ID_INFO Private See coding 20130926 th_id_info TYPE HASHED TABLE OF s_id_info WITH UNIQUE KEY id
5 TH_ID_INFO_ADMN Private See coding 20130926 th_id_info_admn TYPE HASHED TABLE OF s_id_info_admn WITH UNIQUE KEY id
6 TH_ID_INFO_EXPR Private See coding 20130926 th_id_info_expr TYPE HASHED TABLE OF s_id_info_expr WITH UNIQUE KEY id
7 T_CC_0003 Public See coding 20130524 t_cc_0003 TYPE STANDARD TABLE OF fdt_brs_cc_0003 WITH DEFAULT KEY
8 T_CC_0006 Public See coding 20130524 t_cc_0006 TYPE STANDARD TABLE OF fdt_brs_cc_0006 WITH DEFAULT KEY
Method Signatures

Method CLEAN_UP_DB Signature

Method CLEAN_UP_DB on class CL_FDT_BRS_SERVICES has no parameter.
Method CLEAN_UP_DB on class CL_FDT_BRS_SERVICES has no exception.

Method CLEAN_UP_OLD_UTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACKAGE_SIZE Call by reference Type reference (TYPE) I 300 Default package size 20120621

Method CLEAN_UP_OLD_UTS on class CL_FDT_BRS_SERVICES has no exception.

Method CONVERT_HEX_TO_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HEX Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_RECORD-SEQNR 20131011
2 Returning RV_INT Value transfer Type reference (TYPE) INT4 Natural number 20131011

Method CONVERT_HEX_TO_INT on class CL_FDT_BRS_SERVICES has no exception.

Method CREATE_SB_FROM_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOURCE_BIND Call by reference Type reference (TYPE) ABAP_TRANS_SRCBIND_TAB Exporting source bind 20120621
2 Importing IT_DO_DEF Call by reference Type reference (TYPE) FDT_T_DO_DEFINITION Data object definition 20120621
3 Importing IV_IS_RESULT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Result? 20120621

Method CREATE_SB_FROM_TAB on class CL_FDT_BRS_SERVICES has no exception.

Method DELETE_DUPLICATE_TRACE_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_RECORD Call by reference Type reference (TYPE) CL_FDT_BRS_TRACE=>TS_TRACE_RECORD BRFplus: Lean Trace Record structure 20130926
2 Importing IS_PARENT_RECORD Call by reference Type reference (TYPE) CL_FDT_BRS_TRACE=>S_TRACE_RECORD Trace Record 20130926
3 Importing ITH_TEMP_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Object IDs as hashed table 20131114

Method DELETE_DUPLICATE_TRACE_RECORDS on class CL_FDT_BRS_SERVICES has no exception.

Method DELETE_GENERATED_HANA_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) MANDT SPACE Client 20130521
2 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) FDT_UUID FDT: Universal Unique Identifier 20130522
3 Importing IV_GEN_CODE_ID Call by reference Type reference (TYPE) FDT_GEN_CODE_ID FDT: Semantical ID for generated coding 20130521
4 Importing IV_NON_PRODUCTIVE_MODE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130521
5 Importing IV_WITHOUT_COMMIT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130521

Method DELETE_GENERATED_HANA_OBJECTS on class CL_FDT_BRS_SERVICES has no exception.

Method DEL_AND_ADJUST_DEPLOYMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SERVICE_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Service ID 20121018
2 Importing IV_VALID_FROM Call by reference Type reference (TYPE) TIMESTAMP Validity period start 20121018

Method DEL_AND_ADJUST_DEPLOYMENT on class CL_FDT_BRS_SERVICES has no exception.

Method DISCARD_DEPLOYMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITH_OBJECT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Any unstructured table of object IDs 20120621
2 Importing IV_DELETE_COMPLETE Call by reference Type reference (TYPE) ABAP_BOOL Delete the complete service 20120621
3 Importing IV_VALID_AFTER Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP All classes after this timestamp are discarded 20120621
4 Importing IV_VALID_BEFORE Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP All classes prior this timestamp are discarded 20120621
5 Importing IV_VALID_FROM Call by reference Type reference (TYPE) TIMESTAMP Delete deployment with this validity period starting point 20121018
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20121018

Method GET_DESCRIPTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_DATA_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Typedescriptor 20120621
2 Importing IS_CURRENT_LINE Call by reference Type reference (TYPE) FDT_S_DO_DEFINITION Working line 20120621
3 Importing IT_DO_DEF Call by reference Type reference (TYPE) FDT_T_DO_DEFINITION Do definition table 20120621

Method GET_DESCRIPTOR on class CL_FDT_BRS_SERVICES has no exception.

Method GET_ID_INFO_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_ID_INFO Call by reference Type reference (TYPE) TH_ID_INFO 20130926
2 Importing ITH_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Object IDs as sorted table 20130926
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version, UTC) 20130926

Method GET_ID_INFO_FROM_DB on class CL_FDT_BRS_SERVICES has no exception.

Method GET_ID_INFO_FROM_DB_ADMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITH_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Object IDs as sorted table 20130926
2 Returning RTH_ID_INFO_ADMN Value transfer Type reference (TYPE) TH_ID_INFO_ADMN 20130926

Method GET_ID_INFO_FROM_DB_ADMN on class CL_FDT_BRS_SERVICES has no exception.

Method GET_ID_INFO_FROM_DB_EXPR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITH_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Object IDs as sorted table 20130926
2 Returning RTH_ID_INFO_EXPR Value transfer Type reference (TYPE) TH_ID_INFO_EXPR 20130926

Method GET_ID_INFO_FROM_DB_EXPR on class CL_FDT_BRS_SERVICES has no exception.

Method GET_INSTALLED_SERVICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_INSTALLED_SERVICE Value transfer Type reference (TYPE) FDT_T_BRS_SERVICE_NAME Installed services 20120621

Method GET_INSTALLED_SERVICES on class CL_FDT_BRS_SERVICES has no exception.

Method GET_JSON_VALUE_4_TRACE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IA_DATA Call by reference Type reference (TYPE) ANY 20131011
2 Importing IV_MAX_TABLE_LINES Call by reference Type reference (TYPE) INT4 CL_FDT_BRS_TRACE=>GC_INFINITE_VALUE_LINES Natural number 20131011
3 Returning RV_JSON Value transfer Type reference (TYPE) STRING 20131011

Method GET_JSON_VALUE_4_TRACE_RECORD on class CL_FDT_BRS_SERVICES has no exception.

Method GET_LOC_SERVICE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SERVICE Call by reference Type reference (TYPE) FDT_T_SERV_APP_INFO Found service IDs 20130521
2 Exporting EV_SERVICE_COUNT Call by reference Type reference (TYPE) I Number of possible hits 20130521
3 Importing IV_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Return active services 20130521
4 Importing IV_SCOPE Call by reference Type reference (TYPE) FDT_OBJECT_TYPE Object Scope 20130702
5 Importing IV_SEARCH_STRING Call by reference Type reference (TYPE) STRING Search string 20130521

Method GET_LOC_SERVICE_DATA on class CL_FDT_BRS_SERVICES has no exception.

Method GET_TRACE_CHILD_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_CHILD_RECORD Call by reference Type reference (TYPE) CL_FDT_BRS_TRACE=>TS_TRACE_RECORD BRFplus: Lean Trace Header 20130926
2 Importing IS_PARENT_RECORD Call by reference Type reference (TYPE) CL_FDT_BRS_TRACE=>S_TRACE_RECORD BRFplus: Lean Trace Record structure 20130926
3 Importing ITS_ALL_RECORD Call by reference Type reference (TYPE) CL_FDT_BRS_TRACE=>TS_TRACE_RECORD BRFplus: Lean Trace Header 20130926

Method GET_TRACE_CHILD_RECORDS on class CL_FDT_BRS_SERVICES has no exception.

Method IS_TRACE_MODE_LEAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TRACE_MODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>TRACE_MODE Trace Mode 20131011
2 Returning RV_TRACE_MODE_IS_LEAN Value transfer Type reference (TYPE) ABAP_BOOL 20131011
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20131011

Method IS_TRACE_MODE_SUPPORTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TRACE_MODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>TRACE_MODE Trace Mode 20131011
2 Returning RV_TRACE_MODE_IS_SUPPORTED Value transfer Type reference (TYPE) ABAP_BOOL 20131011

Method IS_TRACE_MODE_SUPPORTED on class CL_FDT_BRS_SERVICES has no exception.

Method MODIFY_TRACE_RECORDS_BY_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_RECORD Call by reference Type reference (TYPE) CL_FDT_BRS_TRACE=>TS_TRACE_RECORD Lean Trace Record 20130927
2 Importing IV_TRACE_MODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>TRACE_MODE Trace Mode 20130927

Method MODIFY_TRACE_RECORDS_BY_MODE on class CL_FDT_BRS_SERVICES has no exception.

Method SAVE_AND_CHECK_CLASS 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) FDT_T_MESSAGE Messages 20120621
2 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE: Syntax error in generated class 20120621
3 Importing IS_CLASS Call by reference Type reference (TYPE) FDT_S_CLASS Class Metadata 20120621
4 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Function ID 20120621

Method SAVE_AND_CHECK_CLASS on class CL_FDT_BRS_SERVICES has no exception.

Method SAVE_GENERATED_HANA_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CC_0003 Call by reference Type reference (TYPE) T_CC_0003 20130524
2 Exporting ET_CC_0006 Call by reference Type reference (TYPE) T_CC_0006 20130524
3 Exporting ET_MESSAGE Call by reference Type reference (TYPE) FDT_T_MESSAGE Messages 20130524
4 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130524
5 Importing ITH_HANA_DDBV Call by reference Type reference (TYPE) FDT_HANA_TH_DDBV BRFplus: Generated Dynamic Database Views for HANA 20130926
6 Importing IV_CR_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version, UTC) 20130521
7 Importing IV_CR_USER Call by reference Type reference (TYPE) SY-UNAME ABAP System Field: Name of Current User 20130521
8 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20130521
9 Importing IV_GEN_CODE_ID Call by reference Type reference (TYPE) FDT_GEN_CODE_ID FDT: Semantical ID for generated coding 20130521
10 Importing IV_NON_PRODUCTIVE_MODE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130521
# Exception Resumable Description Created on
1 CX_FDT_GEN_ERROR FDT: Error during Generation 20130524
2 CX_FDT_INPUT FDT: Invalid Input 20130524
3 CX_FDT_SYSTEM FDT: System Failure 20130524

Method VERIFY_SIGNATURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CLASS Call by reference Type reference (TYPE) FDT_S_CLASS Class to be verified 20120621
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20120621

Method XML_TO_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XML_STRING Call by reference Type reference (TYPE) STRING Incoming XML string 20120621
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20120621
History
Last changed by/on SAP  20141121 
SAP Release Created in 740