SAP ABAP Class CL_FDT_BRMS_CONNECTOR (FDT: BRMS Connector)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_EXPRESSIONS (Package) BRFplus: Expressions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FDT_EXPRESSION FDT: Abstract Expression Class 20080130
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FDT_BRMS_CONNECTOR FDT: BRMS Connector 20080130
Properties
Class CL_FDT_BRMS_CONNECTOR  
Short Description FDT: BRMS Connector    
Super Class CL_FDT_EXPRESSION FDT: Abstract Expression Class 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_EXPRESSIONS   BRFplus: Expressions 
Created 20080130   SAP 
Last change 20130531   SAP 
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_MAINTENANCE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_FDT_BRMS_CONNECTOR 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 IF_IXML Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_FDT_BRMS_CONNECTOR FDT: BRMS Connector 20080130
Friends
# Friend Modeled only Created on Description
1 CL_FDT_FACTORY 20080130 FDT: Factory
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BASIC_LOGGING Constant Private Type reference (TYPE) STRING 'B' 20081229
2 GC_DEFAULT_PROCESSING_FM Constant Public Type reference (TYPE) RS38L_FNAM 'FDT_EXT_BRMS_CONNECTOR_EXECUTE' Default External BRMS processing function module 20080401
3 GC_EXPR_4000 Constant Private Type reference (TYPE) TABNAME 'FDT_EXPR_4000' Table Name 20080130
4 GC_EXPR_4001 Constant Private Type reference (TYPE) TABNAME 'FDT_EXPR_4001' Table Name 20080130
5 GC_EXPR_4003 Constant Private Type reference (TYPE) TABNAME 'FDT_EXPR_4003' Table Name 20080520
6 GC_PARAMETER_TYPE_CHANGING Constant Public Type reference (TYPE) PARAMETER_TYPE 'C' BRMS call parameter type Changing 20080515
7 GC_PARAMETER_TYPE_EXPORTING Constant Public Type reference (TYPE) PARAMETER_TYPE 'E' BRMS call parameter type Importing 20080319
8 GC_PARAMETER_TYPE_IMPORTING Constant Public Type reference (TYPE) PARAMETER_TYPE 'I' BRMS call parameter type Importing 20080319
9 GV_BASE_CURRENCY Static Attribute Private Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_CURRENCY Base Currency 20080428
10 MS_BUFFER Instance attribute Private Type reference (TYPE) S_BUFFER Transactional Buffer 20080130
11 MS_BUFFER_DB Instance attribute Private Type reference (TYPE) S_BUFFER Transactional Buffer 20080130
12 MV_ID Instance attribute Private Attribute reference (LIKE) 20080130
13 MV_MS_BUFFER_DB_LOADED Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_TRUE: MS_BUFFER_DB is loaded 20080130
14 MV_MS_BUFFER_LOADED Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_TRUE: MS_BUFFER is loaded 20080130
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ANNOTATION Instance method Private Method Adds annotation in the XSD 20080306
2 ANALYSE_CHANGES_IN_VERSION Instance method Private Method Analyses the changes in two different version 20080428
3 APPEND_DATA_OBJECT Instance method Private Method Add context data object to the XML document 20080130
4 APPEND_DATA_OBJECTS_XSD Instance method Private Method Appends XSD of the supplied data objects at desired place 20080220
5 APPEND_ELEMENT_XSD Instance method Private Method Append Element schema information 20080221
6 APPEND_STRUCTURE_XSD Instance method Private Method Append the structure schema 20080221
7 APPEND_TABLE_XSD Instance method Private Method Append the table info to the schema 20080221
8 EXECUTE_CALL Instance method Private Method Call BRMS connector and get the result 20080304
9 GET_ABAP_ELEM_FROM_XML Instance method Private Method Converts the result XML to ABAP 20081203
10 GET_BASE_CURRENCY Static method Public Method Returns the Base Currency use in XSLT of result 20080428
11 GET_CONTENT_XML Instance method Public Method Get XML for the context 20080221
12 LOAD_BUFFER Instance method Private Method Load the buffer 20080130
13 LOAD_BUFFER_DB Instance method Private Method Load the buffer from Database 20080130
14 REMOVE_NS_ENTITIES Instance method Private Method Removes Namespace Prefix and not required attributes 20081203
15 SAVE_BUFFER_DB Instance method Private Method Save the buffer into the Database 20080130
16 SET_BUFFER Instance method Private Method Set the buffer 20080130
Events
Class CL_FDT_BRMS_CONNECTOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PARAMETER_TYPE Public Type reference (TYPE) FDT_PARAMETER_TYPE FDT: BRMS Connector Parameter Type 20080319
2 S_BRMS_CONNC_PROP_XML Private See coding 20080318 BEGIN OF s_brms_connc_prop_xml, connection_setting TYPE if_fdt_brms_connector=>s_connection_setting, call_parameter_properties TYPE if_fdt_brms_connector=>ts_call_parameter_properties, " TS is dropped as the name appears in the XML call_parameter TYPE if_fdt_brms_connector=>ts_call_parameter, connection_currency TYPE if_fdt_types=>element_currency, END OF s_brms_connc_prop_xml
3 S_BUFFER Private See coding Transactional Buffer 20080130 BEGIN OF s_buffer, conn_type_id TYPE if_fdt_brms_connector=>connection_type_id, ts_call_setting TYPE if_fdt_brms_connector=>ts_call_parameter_properties, ts_call_param TYPE if_fdt_brms_connector=>ts_call_parameter, importing_param TYPE if_fdt_types=>id, ts_exporting_param TYPE if_fdt_brms_connector=>ts_parameter, ts_changing_param TYPE if_fdt_brms_connector=>ts_parameter, s_conn_setting TYPE if_fdt_brms_connector=>s_connection_setting, connection_currency TYPE if_fdt_types=>element_currency, END OF s_buffer
Method Signatures

Method ADD_ANNOTATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ADMIN_DATA Call by reference Object reference (TYPE REF TO) IF_FDT_ADMIN_DATA FDT: Administrative Data 20080306
2 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent XSD element 20080306
3 Importing IV_APPL_INFO Call by reference Type reference (TYPE) STRING Application Info string 20080306
4 Importing IV_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: The Object can be changed in external BRMS 20080401
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080306
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080306

Method ANALYSE_CHANGES_IN_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHANGE_INFO Call by reference Type reference (TYPE) CL_FDT_MAINTENANCE=>T_CHANGE_INFO Change infos 20080428
2 Importing IS_BUFFER_EARLIER Call by reference Type reference (TYPE) S_BUFFER Transactional Buffer 20080428
3 Importing IS_BUFFER_LATER Call by reference Type reference (TYPE) S_BUFFER Transactional Buffer 20080428
4 Importing IV_1ST_VRS_TMSTMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080428
5 Importing IV_2ND_VRS_TMSTMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080428

Method ANALYSE_CHANGES_IN_VERSION on class CL_FDT_BRMS_CONNECTOR has no exception.

Method APPEND_DATA_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IA_VALUE Call by reference Type reference (TYPE) ANY Element value 20080423
2 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20080201
3 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent Node 20080130
4 Importing IO_PROCESSOR Call by reference Object reference (TYPE REF TO) IF_FDT_PROCESSOR FDT: Processor 20080227
5 Importing IT_OBJECT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_OBJECT_ID Object IDs as unsorted index table 20080221
6 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Data Object ID 20080201
7 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080221
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20080311
2 CX_FDT_INPUT FDT: Invalid Input 20080304

Method APPEND_DATA_OBJECTS_XSD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent element where XSD informarion needs to appended 20080220
2 Importing ITS_PARAMETER Call by reference Type reference (TYPE) IF_FDT_BRMS_CONNECTOR=>TS_PARAMETER Data Object id's whose information is to be appended 20080519
3 Importing IV_IS_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE:Object can be changed in external BRMS 20080414
4 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Data Object id whose information is to be appended 20080220
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080220
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080306

Method APPEND_ELEMENT_XSD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ELEMENT Call by reference Object reference (TYPE REF TO) IF_FDT_ELEMENT FDT: Data Object of Type Element 20080221
2 Importing IO_INFO_ELEMENT Call by reference Object reference (TYPE REF TO) IF_FDT_ADMIN_DATA Object to be used for application info 20080709
3 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent element 20080221
4 Importing IR_DATA Call by reference Object reference (TYPE REF TO) DATA Structure data for element 20080221
5 Importing IV_IS_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Object is changeable in external BRMS 20080414
6 Importing IV_NAME Call by reference Type reference (TYPE) STRING Schema element name 20080221
7 Importing IV_TABLE_LINE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Indiactes a table line element 20080221
8 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080221
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080306

Method APPEND_STRUCTURE_XSD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_INFO_ELEMENT Call by reference Object reference (TYPE REF TO) IF_FDT_ADMIN_DATA Object to be used for application info 20080709
2 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent element 20080221
3 Importing IO_STRUCTURE Call by reference Object reference (TYPE REF TO) IF_FDT_STRUCTURE FDT: Data Object of Type Element 20080221
4 Importing IR_DATA Call by reference Type reference (TYPE) DATA Structure data 20080221
5 Importing IV_IS_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Object is changeable in external BRMS 20080414
6 Importing IV_NAME Call by reference Type reference (TYPE) STRING XSD element name 20080221
7 Importing IV_TABLE_LINE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Is a table element 20080221
8 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080221

Method APPEND_STRUCTURE_XSD on class CL_FDT_BRMS_CONNECTOR has no exception.

Method APPEND_TABLE_XSD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_INFO_ELEMENT Call by reference Object reference (TYPE REF TO) IF_FDT_ADMIN_DATA Object to be used for application info 20080709
2 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent element 20080221
3 Importing IO_TABLE Call by reference Object reference (TYPE REF TO) IF_FDT_TABLE FDT: Data Object of Type Element 20080221
4 Importing IR_DATA Call by reference Type reference (TYPE) DATA Table data 20080221
5 Importing IV_IS_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Object is changeable in external BRMS 20080414
6 Importing IV_NAME Call by reference Type reference (TYPE) STRING XSD element name 20080221
7 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080221
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080306

Method EXECUTE_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EA_VALUE Call by reference Type reference (TYPE) ANY 20080304
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE Messages 20080304
3 Exporting EV_OUTPUT_XML Call by reference Type reference (TYPE) STRING XML output string 20080304
4 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20080519
5 Importing IO_TRACE Call by reference Object reference (TYPE REF TO) IF_FDT_TRACE_WRITE FDT: Trace (Write Interface) 20081212
6 Importing IV_INPUT_XML_STRING Call by reference Type reference (TYPE) STRING XML input string 20080306
7 Importing IV_INPUT_XML_XSTRING Call by reference Type reference (TYPE) XSTRING XML input xstring 20080306
8 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080304
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080304
2 CX_FDT_PROCESSING FDT: Processing Error 20080401

Method GET_ABAP_ELEM_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EA_ABAP Call by reference Type reference (TYPE) ANY 20081203
2 Exporting EV_NO_ELEMENT Call by reference Type reference (TYPE) ABAP_BOOL 20081203
3 Exporting EV_NO_VALUE Call by reference Type reference (TYPE) ABAP_BOOL 20081203
4 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT IF_IXML_ELEMENT 20081203
5 Importing IV_NAME Call by reference Type reference (TYPE) CLIKE 20081203
6 Importing IV_NAMESPACE_URI Call by reference Type reference (TYPE) STRING 20081203

Method GET_ABAP_ELEM_FROM_XML on class CL_FDT_BRMS_CONNECTOR has no exception.

Method GET_BASE_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BASE_CURRENCY Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_CURRENCY Base Currency 20080428

Method GET_BASE_CURRENCY on class CL_FDT_BRMS_CONNECTOR has no exception.

Method GET_CONTENT_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CONTENT_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT XML as Document 20080221
2 Exporting EV_XML_STRING Call by reference Type reference (TYPE) STRING XML as string 20080306
3 Exporting EV_XML_XSTRING Call by reference Type reference (TYPE) XSTRING XML as Xstring 20080306
4 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20080221
5 Importing IO_PROCESSOR Call by reference Object reference (TYPE REF TO) IF_FDT_PROCESSOR FDT: Processor 20080227
6 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080221
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080307

Method LOAD_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP 20080130
2 Importing IV_VERSION Call by reference Type reference (TYPE) IF_FDT_TYPES=>VERSION 20080130
3 Returning RS_BUFFER Value transfer Type reference (TYPE) S_BUFFER 20080130
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20080130

Method LOAD_BUFFER_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VERSION Call by reference Type reference (TYPE) IF_FDT_TYPES=>VERSION 20080130
2 Returning RS_BUFFER Value transfer Type reference (TYPE) S_BUFFER 20080130
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20080130

Method REMOVE_NS_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_NODE Parent Node 20081203

Method REMOVE_NS_ENTITIES on class CL_FDT_BRMS_CONNECTOR has no exception.

Method SAVE_BUFFER_DB Signature

Method SAVE_BUFFER_DB on class CL_FDT_BRMS_CONNECTOR has no parameter.
Method SAVE_BUFFER_DB on class CL_FDT_BRMS_CONNECTOR has no exception.

Method SET_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BUFFER Call by reference Type reference (TYPE) S_BUFFER 20080130
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20080130
History
Last changed by/on SAP  20130531 
SAP Release Created in 711