SAP ABAP Class /IWFND/CL_TRANSACTION_HANDLER (Gateway Consumption class)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CS (Application Component) IWF Common Services
     /IWFND/COS_TRANSACT_HANDLING (Package) GW Framework - Transaction Handling
Properties
Class /IWFND/CL_TRANSACTION_HANDLER  
Short Description Gateway Consumption class    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWFND/COS_TRANSACT_HANDLING   GW Framework - Transaction Handling 
Created 20101112   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWFND/IF_SRD_REQUEST_CONTEXT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /IWFND/CL_TRANSACTION_HANDLER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 /IWFND/CL_LOGGER 20101112 Logger for AppsLog and CCMS
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_AGENT Constant Public Type reference (TYPE) /IWFND/SUP_IW_AGENT 'TRANSACTION_HANDLER' SCL Agent or Component 20140402
2 GO_TRANS_HANDLER Static Attribute Public Object reference (TYPE REF TO) /IWFND/CL_TRANSACTION_HANDLER Gateway Consumption class 20101112
3 MO_SERVICE_GROUP Instance attribute Protected Object reference (TYPE REF TO) /IWFND/IF_MED_MDL_SERVICE_GRP Internal Service Group Interface 20101112
4 MT_ALL_REQUEST_PARAMS Instance attribute Private Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20130108
5 MV_BASE_URL Instance attribute Private Type reference (TYPE) STRING Absolute Base URL 20111205
6 MV_CONSUMER_TYPE Instance attribute Protected Type reference (TYPE) /IWFND/COR_CONSUMER_ID Consumer Type Code ID 20101112
7 MV_EXTERNAL_NAME Instance attribute Protected Type reference (TYPE) /IWFND/MED_MDL_SERVICE_GRP_ID External Service Group Name 20101118
8 MV_GSDO_CONTEXT Instance attribute Protected Type reference (TYPE) /IWFND/COR_GSDO_CONTEXT Context of a SCL Business Object Type 20101112
9 MV_GSDO_TYPE Instance attribute Protected Type reference (TYPE) /IWFND/COR_GSDO_TYPE SCL Business Object 20101112
10 MV_HOST_NAME Instance attribute Private Type reference (TYPE) STRING http (virtual) host name 20120906
11 MV_INTERNAL_SRG_ID Instance attribute Private Type reference (TYPE) /IWFND/MED_MDL_SRG_IDENTIFIER Internal Service Group ID 20110228
12 MV_IS_MDC Instance attribute Private Type reference (TYPE) ABAP_BOOL TRUE if the service is called as Multi Destin Composition 20111122
13 MV_LOG_LEVEL Instance attribute Protected Type reference (TYPE) /IWFND/SUP_LOG_LEVEL SCL global log level for the Application Log 20101112
14 MV_LOG_STATE Instance attribute Protected Type reference (TYPE) C 20101112
15 MV_METADATA_REQUEST Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE TRUE (X) if it is a metadata request 20120926
16 MV_NAMESPACE Instance attribute Protected Type reference (TYPE) /IWFND/MED_MDL_NAMESPACE Namespace 20101208
17 MV_REQUEST_ID Instance attribute Protected Type reference (TYPE) /IWFND/IFL_CONS_REQU_ID SCL Framework: Consumer Request ID 20101112
18 MV_RESET_DP Instance attribute Private Type reference (TYPE) ABAP_BOOL Reset DP flag 20131129
19 MV_SOFTSTATE_MODE Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED Softstate mode flag 20131129
20 MV_SYSTEM_ALIAS Instance attribute Private Type reference (TYPE) /IWFND/DEFI_SYSTEM_ALIAS SAP System Alias fixed for this request 20111125
21 MV_TRANSACTION_FAILED Instance attribute Protected Type reference (TYPE) BOOLEAN Transaction Failed Flag 20101116
22 MV_VERBOSE_METADATA Instance attribute Private Type reference (TYPE) /IWFND/MGW_VERBOSE_METADATA Verbose Metadata 20120913
23 MV_VERSION Instance attribute Protected Type reference (TYPE) /IWFND/MED_MDL_VERSION version of meta model entity 20101118
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Protected Constructor 20101112
2 FINALIZE Instance method Public Method Finalizes the runtime processes 20101112
3 GET_ALL_REQUEST_PARAMS Instance method Public Method Get all http request (header) parameters 20130108
4 GET_BASE_URL Instance method Public Method Returns absolute base url of current service call 20111205
5 GET_BUD_PROVIDER Instance method Public Method Get BUD Provider - Only via /IWFND/CL_TRANSACTION_HANDL_GC 20101112
6 GET_CONSUMER_TYPE Instance method Public Method Retrieve name of current consumer type 20120228
7 GET_EXTEND_OF_METADATA Instance method Public Method Returns A, B, C or -; see domain /IWFND/MGW_VERBOSE_METADATA 20140507
8 GET_HOST_NAME Instance method Public Method Retrieve name of http (virtual) host name 20120906
9 GET_INTERNAL_SERVICE_GROUP_ID Instance method Public Method Get the Service Group set globally for current transaction 20110228
10 GET_IS_DP_RESET_REQUIRED Instance method Public Method Returns TRUE if the service iDP has to be reset 20131129
11 GET_IS_MDC Instance method Public Method Returns TRUE if the service is run as Multi Destin. Compos. 20111122
12 GET_IS_SOFTSTATE_MODE Instance method Public Method Returns TRUE if the service is run in softstate mode 20131129
13 GET_REQUEST_ID Instance method Public Method Retrieve the Request ID 20110831
14 GET_SERVICE_GROUP_METADATA Instance method Public Method Retrieve the Meta data instance for the service group 20101118
15 GET_SERVICE_NAME Instance method Public Method Retrieve name of current service call 20110721
16 GET_SERVICE_NAMESPACE Instance method Public Method Retrieves namespace of current service call 20110721
17 GET_SERVICE_VERSION Instance method Public Method Retrieves version of current service call 20110721
18 GET_SYSTEM_ALIAS Instance method Public Method Returns TRUE if the service is run as Multi Destin. Compos. 20111125
19 GET_TRANSACTION_HANDLER Static method Public Method Get the singleton transaction handler instance 20101112
20 INITIALIZE Instance method Public Method Initialize the processes and instances for the runtime 20101112
21 RESET_SYSTEM_ALIAS Instance method Public Method Reset System Alias 20121015
22 SET_CONSUMER_TYPE Instance method Public Method Sets the Consumer type for the BUD provider 20101119
23 SET_GSDO_CONTEXT Instance method Public Method Sets the GSDO Context for the BUD provider 20101119
24 SET_GSDO_TYPE Instance method Public Method Sets the GSDO type for the BUD provider 20101119
25 SET_LOG_LEVEL Instance method Private Method Used by the logger to set the log level for the current proc 20101112
26 SET_LOG_STATE Instance method Private Method Used by the logger to set the log state for the current proc 20101112
27 SET_METADATA_REQUEST Instance method Public Method Set metadata request to true 20120926
28 SET_TRANSACTION_FAILED Instance method Public Method The current transaction failed. Will trigger a Roll Back 20101116
Events
# Event Type Visibility Description Created on
1 AFTER_COMMIT Instance Event
(0)
Public
(2)
20101112
2 AFTER_ROLLBACK Instance Event
(0)
Public
(2)
20101112
Types
Class /IWFND/CL_TRANSACTION_HANDLER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /IWFND/CL_TRANSACTION_HANDLER has no parameter.
Method CONSTRUCTOR on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method FINALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IS_BUD_DATA_PROCESSED Call by reference Type reference (TYPE) ABAP_BOOL SPACE Flag if business data has been processed - controls COMMIT 20110302

Method FINALIZE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_ALL_REQUEST_PARAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_ALL_REQUEST_PARAMS Value transfer Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20130108

Method GET_ALL_REQUEST_PARAMS on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_BASE_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_BASE_URL Value transfer Type reference (TYPE) STRING 20111205

Method GET_BASE_URL on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_BUD_PROVIDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_BUD_PROVIDER Value transfer Object reference (TYPE REF TO) OBJECT BUD Provider - /IWFND/IF_IFL_BUD_PROVIDER 20101112
# Exception Resumable Description Created on
1 /IWFND/CX_FW_BASE Gateway Base Exception - Contains /IWFND/CX_IFL_BUD_PROVIDER 20120124

Method GET_CONSUMER_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CONSUMER_TYPE Value transfer Type reference (TYPE) /IWFND/COR_CONSUMER_ID Consumer Type Code ID 20120228

Method GET_CONSUMER_TYPE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_EXTEND_OF_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_IS_VERBOSE_METADATA Value transfer Type reference (TYPE) /IWFND/MGW_VERBOSE_METADATA Verbose Metadata 20140507

Method GET_EXTEND_OF_METADATA on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_HOST_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_HOST_NAME Value transfer Type reference (TYPE) STRING http (virtual) host name 20120906

Method GET_HOST_NAME on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_INTERNAL_SERVICE_GROUP_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SERVICE_IDENTIFIER Value transfer Type reference (TYPE) /IWFND/MED_MDL_SRG_IDENTIFIER Service Document Identifier 20110228
# Exception Resumable Description Created on
1 /IWFND/CX_MED_MDL_ACCESS Exception class for meta data access 20120119

Method GET_IS_DP_RESET_REQUIRED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESET_DP Value transfer Type reference (TYPE) ABAP_BOOL 20131129

Method GET_IS_DP_RESET_REQUIRED on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_IS_MDC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_IS_MDC Value transfer Type reference (TYPE) ABAP_BOOL TRUE if the service is run as Multi. Destin. Composition 20111122

Method GET_IS_MDC on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_IS_SOFTSTATE_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SOFTSTATE_MODE Value transfer Type reference (TYPE) ABAP_BOOL 20131129

Method GET_IS_SOFTSTATE_MODE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_REQUEST_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_REQUEST_ID Value transfer Type reference (TYPE) /IWFND/IFL_CONS_REQU_ID SCL Framework: Consumer Request ID 20110831

Method GET_REQUEST_ID on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_SERVICE_GROUP_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_SERVICE_GROUP Value transfer Object reference (TYPE REF TO) /IWFND/IF_MED_MDL_SERVICE_GRP Internal Service Group Interface 20101118
# Exception Resumable Description Created on
1 /IWFND/CX_MED_MDL_ACCESS Exception class for meta data access 20101118

Method GET_SERVICE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NAME Value transfer Type reference (TYPE) /IWFND/MED_MDL_SERVICE_GRP_ID External Service Document Name 20110721

Method GET_SERVICE_NAME on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_SERVICE_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NAMESPACE Value transfer Type reference (TYPE) /IWFND/MED_MDL_NAMESPACE Namespace 20110721

Method GET_SERVICE_NAMESPACE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_SERVICE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_VERSION Value transfer Type reference (TYPE) /IWFND/MED_MDL_VERSION Version of Meta Model Entity 20110721

Method GET_SERVICE_VERSION on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_SYSTEM_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SYSTEM_ALIAS Value transfer Type reference (TYPE) /IWFND/DEFI_SYSTEM_ALIAS System Alias to be used for this request 20111125

Method GET_SYSTEM_ALIAS on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method GET_TRANSACTION_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BASE_URL Call by reference Type reference (TYPE) STRING 20140207
2 Returning RO_TRANS_HANDLER Value transfer Object reference (TYPE REF TO) /IWFND/CL_TRANSACTION_HANDLER Gateway Consumption class 20101112

Method GET_TRANSACTION_HANDLER on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ALL_REQUEST_PARAMS Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework Table - all request parameters 20130108
2 Importing IV_BASE_URL Call by reference Type reference (TYPE) STRING 20111205
3 Importing IV_CONSUMER_TYPE Call by reference Type reference (TYPE) /IWFND/COR_CONSUMER_ID Consumer Type Code ID 20101112
4 Importing IV_EXTERNAL_SRV_GRP_NAME Call by reference Type reference (TYPE) /IWFND/MED_MDL_SERVICE_GRP_ID External Service Group Name 20101118
5 Importing IV_GSDO_CONTEXT Call by reference Type reference (TYPE) /IWFND/COR_GSDO_CONTEXT Context of a SCL Business Object Type 20101112
6 Importing IV_GSDO_TYPE Call by reference Type reference (TYPE) /IWFND/COR_GSDO_TYPE SCL Business Object 20101112
7 Importing IV_HOST_NAME Call by reference Type reference (TYPE) STRING http (virtual) host name 20120906
8 Importing IV_IS_MDC Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE TRUE if service is run as Multi Destin. Composition 20111122
9 Importing IV_NAMESPACE Call by reference Type reference (TYPE) /IWFND/MED_MDL_NAMESPACE Namespace 20110721
10 Importing IV_REQUEST_ID Call by reference Type reference (TYPE) /IWFND/IFL_CONS_REQU_ID SCL Framework: Consumer Request ID 20101112
11 Importing IV_RESET_DP Call by reference Type reference (TYPE) ABAP_BOOL Reset the DP 20131129
12 Importing IV_SOFTSTATE_MODE Call by reference Type reference (TYPE) ABAP_BOOL Processing in softstate mode 20131129
13 Importing IV_SYSTEM_ALIAS Call by reference Type reference (TYPE) /IWFND/DEFI_SYSTEM_ALIAS SAP System Alias 20111125
14 Importing IV_VERBOSE_METADATA Call by reference Type reference (TYPE) /IWFND/MGW_VERBOSE_METADATA Verbose Metadata 20120913
15 Importing IV_VERSION Call by reference Type reference (TYPE) /IWFND/MED_MDL_VERSION version of meta model entity 20110721
16 Returning RO_LOGGER Value transfer Object reference (TYPE REF TO) /IWFND/CL_LOGGER Logger for AppsLog and CCMS 20101116

Method INITIALIZE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method RESET_SYSTEM_ALIAS Signature

Method RESET_SYSTEM_ALIAS on class /IWFND/CL_TRANSACTION_HANDLER has no parameter.
Method RESET_SYSTEM_ALIAS on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_CONSUMER_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONSUMER_TYPE Call by reference Type reference (TYPE) /IWFND/COR_CONSUMER_ID 20101119

Method SET_CONSUMER_TYPE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_GSDO_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GSDO_CONTEXT Call by reference Type reference (TYPE) /IWFND/COR_GSDO_CONTEXT 20101119

Method SET_GSDO_CONTEXT on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_GSDO_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GSDO_TYPE Call by reference Type reference (TYPE) /IWFND/COR_GSDO_TYPE 20101119

Method SET_GSDO_TYPE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_LOG_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOG_LEVEL Call by reference Type reference (TYPE) /IWFND/SUP_LOG_LEVEL SCL global log level for the Application Log 20101112

Method SET_LOG_LEVEL on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_LOG_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOG_STATE Call by reference Type reference (TYPE) C 20101112

Method SET_LOG_STATE on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_METADATA_REQUEST Signature

Method SET_METADATA_REQUEST on class /IWFND/CL_TRANSACTION_HANDLER has no parameter.
Method SET_METADATA_REQUEST on class /IWFND/CL_TRANSACTION_HANDLER has no exception.

Method SET_TRANSACTION_FAILED Signature

Method SET_TRANSACTION_FAILED on class /IWFND/CL_TRANSACTION_HANDLER has no parameter.
Method SET_TRANSACTION_FAILED on class /IWFND/CL_TRANSACTION_HANDLER has no exception.
Event Signatures

Event AFTER_COMMIT Signature
Event AFTER_COMMIT on class /IWFND/CL_TRANSACTION_HANDLER has no parameter.
Event AFTER_ROLLBACK Signature
Event AFTER_ROLLBACK on class /IWFND/CL_TRANSACTION_HANDLER has no parameter.
History
Last changed by/on SAP  20141120 
SAP Release Created in 200