SAP ABAP Class CL_FDT_APPLICATION_EXIT (FDT: Services for the application exit)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_SERVICE (Package) BRFplus: Services
Properties
Class CL_FDT_APPLICATION_EXIT  
Short Description FDT: Services for the application exit    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_SERVICE   BRFplus: Services 
Created 20061225   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_APPLICATION_EXIT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_FDT_APPLICATION_SETTINGS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FDT_FORMULA Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_FDT_LEAN_TRACE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_APPLICATION_EXIT has no interface implemented.
Friends
Class CL_FDT_APPLICATION_EXIT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_MAX_EXIT_CALLSTACK_LEVEL Constant Private Type reference (TYPE) I 3 Max. allowed call stack level 20090520
2 GC_METHOD_ACTIVATION_VETO Constant Public Type reference (TYPE) SEOMTDNAME 'ACTIVATION_VETO' Method name 20090918
3 GC_METHOD_AUTHORITY_CHECK Constant Public Type reference (TYPE) SEOMTDNAME 'AUTHORITY_CHECK' Method name 20090918
4 GC_METHOD_CHANGE_NOTIFICATION Constant Public Type reference (TYPE) SEOMTDNAME 'CHANGE_NOTIFICATION' Method name 20090918
5 GC_METHOD_CHECK Constant Public Type reference (TYPE) SEOMTDNAME 'CHECK' Method name 20090918
6 GC_METHOD_DELETE_TRACE_VETO Constant Public Type reference (TYPE) SEOMTDNAME 'DELETE_TRACE_VETO' 20120327
7 GC_METHOD_GET_CALENDAR Constant Public Type reference (TYPE) SEOMTDNAME 'GET_CALENDAR' Method name 20090918
8 GC_METHOD_GET_CHANGEABILITY Constant Public Type reference (TYPE) SEOMTDNAME 'GET_CHANGEABILITY' Method name 20100427
9 GC_METHOD_GET_ELEMENT_VALUES Constant Public Type reference (TYPE) SEOMTDNAME 'GET_ELEMENT_VALUES' Method name 20090918
10 GC_METHOD_GET_FORMULA_FUNC Constant Public Type reference (TYPE) SEOMTDNAME 'GET_FORMULA_FUNCTIONALS' Method name 20090918
11 GC_METHOD_SAVE_NOTIFICATION Constant Public Type reference (TYPE) SEOMTDNAME 'SAVE_NOTIFICATION' Method name 20090918
12 GTH_APPL Static Attribute Private Type reference (TYPE) TH_APPL Application per ID 20061225
13 GTH_EXIT Static Attribute Private Type reference (TYPE) TH_EXIT Exit overview per application id 20061225
14 GTH_EXIT_CALLSTACK Static Attribute Private Type reference (TYPE) TH_EXIT_CALLSTACK Stack of called application exits 20090520
15 GV_EXIT_CALLED Static Attribute Public Type reference (TYPE) ABAP_BOOL Flag if first exit method is called 20090520
16 MC_LOG_OBJECT Constant Public Type reference (TYPE) BALOBJ_D 'FDT' Application log: Object name (Application code) 20070919
17 MC_LOG_SUBOBJECT Constant Public Type reference (TYPE) BALSUBOBJ 'FDT_APPLICATION_EXIT' Application Log: Subobject 20070919
18 MV_LOG_ENABLED Static Attribute Public Type reference (TYPE) ABAP_BOOL Flag to specify whether application exit calls are logged 20070921
19 MV_LOG_HANDLE Static Attribute Public Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20070919
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATION_VETO Static method Public Method Possibility to Veto the Activation of an Object 20061225
2 AUTHORITY_CHECK Static method Public Method Perform an Authority Check (AUTHORITY-CHECK) 20061225
3 CHANGE_NOTIFICATION Static method Public Method Notify when an object has been changed 20061225
4 CHECK Static method Public Method Possibility to Veto the Activation of an Object 20090617
5 CHECK_EXIT_CALL Static method Private Method Check if exit is actually implemented 20090918
6 CLASS_CONSTRUCTOR Static method Public Constructor 20070921
7 CLEANUP_CALLSTACK Static method Private Method Cleanup the callstack in case of an exception 20090520
8 CLOSE_LOG Static method Public Method Closes current application log 20100226
9 CREATE_LOG Static method Private Method Creates a new application log 20070919
10 DELETE_TRACE_VETO Static method Public Method Check lean trace before deletion 20120327
11 DETERMINE_CALLED_APPL_EXITS Static method Public Method Returns the previously called application exits 20070921
12 DISCARD_BUFFER Static method Public Method Discard internal buffer 20061225
13 GET_APPLICATION Static method Public Method Get the application of an object 20061225
14 GET_CALENDAR Static method Public Method Get Calendar for Date & Time Functions 20061225
15 GET_CHANGEABILITY Static method Public Method Overrule the default changeability settings for customizing 20100427
16 GET_ELEMENT_VALUES Static method Public Method Get the values for an elementary data object 20061225
17 GET_FORMULA_FUNCTIONALS Static method Public Method Get Formula Functionals 20061225
18 GET_LOG_ENTRIES_MEMORY Static method Private Method Returns the log entries from memory 20070921
19 HAS_GET_ELEMENT_VALUES Static method Public Method Is there a get element values exit? 20070103
20 POP_CALLSTACK Static method Private Method Pop entry from callstack 20090520
21 PUSH_CALLSTACK Static method Private Method Push entry on callstack if max. level is still not reached 20090520
22 SAVE_NOTIFICATION Static method Public Method Notify when an object is saved 20061225
23 SET_LOG_ENABLED Static method Public Method Set whether log is enabled 20100226
24 WRITE_LOG_ENTRY Static method Private Method Writes a log entry describing an exit call 20070919
25 WRITE_LOG_INFO Static method Private Method Writes a log entry describing an exit call 20090527
Events
Class CL_FDT_APPLICATION_EXIT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_APPL Private See coding Application per ID 20061225 BEGIN OF s_appl, id TYPE if_fdt_types=>id, appl_id TYPE if_fdt_types=>id, END OF s_appl
2 S_EXIT Public See coding Application Exit 20070921 BEGIN OF s_exit, application_id TYPE if_fdt_types=>id, classname TYPE classname, activation_veto TYPE abap_bool, activation_veto_x TYPE abap_bool, authority_check TYPE abap_bool, authority_check_x TYPE abap_bool, change_notification TYPE abap_bool, change_notification_x TYPE abap_bool, get_calendar TYPE abap_bool, get_calendar_x TYPE abap_bool, get_element_values TYPE abap_bool, get_element_values_x TYPE abap_bool, get_formula_functionals TYPE abap_bool, get_formula_functionals_x TYPE abap_bool, save_notification TYPE abap_bool, save_notification_x TYPE abap_bool, get_changeability TYPE abap_bool, "note1462550 get_changeability_x TYPE abap_bool, "note1462550 check TYPE abap_bool, check_x TYPE abap_bool, delete_trace_veto TYPE abap_bool, delete_trace_veto_x TYPE abap_bool, END OF s_exit
3 S_EXIT_CALLSTACK Private See coding Stack entry of called application exits 20090520 BEGIN OF s_exit_callstack , classname TYPE seoclname, methodname TYPE seomtdname, id TYPE if_fdt_types=>id, level TYPE i, first TYPE abap_bool, END OF s_exit_callstack
4 TH_APPL Private See coding Application per ID 20061225 th_appl TYPE HASHED TABLE OF s_appl WITH UNIQUE KEY id
5 TH_EXIT Public See coding Application Exit 20070921 th_exit TYPE HASHED TABLE OF s_exit WITH UNIQUE KEY application_id
6 TH_EXIT_CALLSTACK Private See coding Stack of called application exits 20090520 th_exit_callstack TYPE HASHED TABLE OF s_exit_callstack WITH UNIQUE KEY classname methodname id
Method Signatures

Method ACTIVATION_VETO 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) IF_FDT_TYPES=>T_MESSAGE 20061225
2 Exporting EV_VETO Call by reference Type reference (TYPE) ABAP_BOOL 20061225
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20061225
4 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>OBJECT_TYPE 20061225
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method AUTHORITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MESSAGE Call by reference Type reference (TYPE) IF_FDT_APPLICATION_SETTINGS=>S_MESSAGE 20071121
2 Exporting EV_PASSED Call by reference Type reference (TYPE) ABAP_BOOL 20061225
3 Exporting EV_SKIP_CHECK Call by reference Type reference (TYPE) ABAP_BOOL 20061225
4 Exporting EV_SKIP_REFERENCED Call by reference Type reference (TYPE) ABAP_BOOL 20080312
5 Importing IS_SUB_ACTIVITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>S_SUB_ACTIVITY Subactivty for AUTHORITY-CHECK 20100528
6 Importing IV_ACTIVITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>ACTIVITY 20061225
7 Importing IV_DEEP Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20061225
8 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20061225
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method CHANGE_NOTIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANGES_DISCARDED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20061225
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20061225
3 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>OBJECT_TYPE 20061225
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20090520

Method CHECK 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) IF_FDT_TYPES=>T_MESSAGE 20090617
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20090617
3 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>OBJECT_TYPE 20090617
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20090617

Method CHECK_EXIT_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EXIT_NAME Call by reference Type reference (TYPE) SEOMTDNAME Method name 20090918
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090918
3 Returning RV_CLASSNAME Value transfer Type reference (TYPE) CLASSNAME Object Type Name 20090918

Method CHECK_EXIT_CALL on class CL_FDT_APPLICATION_EXIT has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CLEANUP_CALLSTACK Signature

Method CLEANUP_CALLSTACK on class CL_FDT_APPLICATION_EXIT has no parameter.
Method CLEANUP_CALLSTACK on class CL_FDT_APPLICATION_EXIT has no exception.

Method CLOSE_LOG Signature

Method CLOSE_LOG on class CL_FDT_APPLICATION_EXIT has no parameter.
Method CLOSE_LOG on class CL_FDT_APPLICATION_EXIT has no exception.

Method CREATE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EXTERNAL_ID Call by reference Type reference (TYPE) BALNREXT Application Log: External ID 20070919
2 Exporting EV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20070919

Method CREATE_LOG on class CL_FDT_APPLICATION_EXIT has no exception.

Method DELETE_TRACE_VETO 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) IF_FDT_TYPES=>T_MESSAGE Structure of message variables 20120327
2 Exporting EV_VETO Call by reference Type reference (TYPE) ABAP_BOOL Do not delete 20120327
3 Importing IV_TRACE_HEADER Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_HEADER Trace to be deleted 20120327
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20120327

Method DETERMINE_CALLED_APPL_EXITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_APPLICATION_EXIT Call by reference Type reference (TYPE) CL_FDT_APPLICATION_EXIT=>TH_EXIT Application Exit 20070921

Method DETERMINE_CALLED_APPL_EXITS on class CL_FDT_APPLICATION_EXIT has no exception.

Method DISCARD_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPLICATION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Application ID 20080507
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Object ID (for all IDs when IV_ID is empty) 20061225

Method DISCARD_BUFFER on class CL_FDT_APPLICATION_EXIT has no exception.

Method GET_APPLICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Object ID 20061225
2 Returning RV_APPLICATION_ID Value transfer Type reference (TYPE) IF_FDT_TYPES=>ID Application ID 20061225

Method GET_APPLICATION on class CL_FDT_APPLICATION_EXIT has no exception.

Method GET_CALENDAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CALENDAR_UUID Call by reference Type reference (TYPE) UUID 20061225
2 Exporting EV_FCALID Call by reference Type reference (TYPE) WFCID Factory Calendar 20091008
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070102
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method GET_CHANGEABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE Explanatory messages 20100427
2 Changing CV_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE: Object is not changeable 20100427
3 Changing CV_CHANGE_RECORDING Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE: Change recording is required 20100427
4 Importing IV_APPLICATION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20100427
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Object ID 20100823
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20100427

Method GET_ELEMENT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUE Call by reference Type reference (TYPE) IF_FDT_APPLICATION_SETTINGS=>T_VALUE Values in the Value Help 20061225
2 Exporting EV_APPLICABLE Call by reference Type reference (TYPE) ABAP_BOOL If the Value help is applicable 20061225
3 Exporting EV_NO_CHECKLIST Call by reference Type reference (TYPE) ABAP_BOOL If no values are available 20061225
4 Importing IO_SELECTION Call by reference Object reference (TYPE REF TO) CL_FDT_SELECTION_PARAMETER FDT: to pass the selection parameter for context value help 20071127
5 Importing ITR_TEXT Call by reference Type reference (TYPE) IF_FDT_APPLICATION_SETTINGS=>TR_TEXT Input Text for Value Help 20061225
6 Importing ITR_VALUE Call by reference Type reference (TYPE) IF_FDT_APPLICATION_SETTINGS=>TR_VALUE Imput Value for Value Help 20061225
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Element ID 20061225
8 Importing IV_LANGU Call by reference Type reference (TYPE) LANGU SY-LANGU Language 20061225
9 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP FDT: Timestamp 20061225
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method GET_FORMULA_FUNCTIONALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FUNCTIONAL_CATEGORY Call by reference Type reference (TYPE) IF_FDT_FORMULA=>T_FUNCTIONAL_CATEG 20061225
2 Changing CT_FUNCTIONAL_DEFINITION Call by reference Type reference (TYPE) IF_FDT_FORMULA=>T_FUNCTIONAL_DEF 20061225
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Formula ID 20070102
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method GET_LOG_ENTRIES_MEMORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAL_MSG Call by reference Type reference (TYPE) FDT_T_BAL_MSG FDT:Table Type for a Message in the Application Log 20070921
2 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20070921

Method GET_LOG_ENTRIES_MEMORY on class CL_FDT_APPLICATION_EXIT has no exception.

Method HAS_GET_ELEMENT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Element ID 20070103
2 Returning RV_BOOLEAN Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE: exit method is imlpemented 20070103
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method POP_CALLSTACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASSNAME Call by reference Type reference (TYPE) SEOCLNAME Class Name 20090520
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090520
3 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOMTDNAME Method name 20090520
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20090520

Method PUSH_CALLSTACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASSNAME Call by reference Type reference (TYPE) SEOCLNAME Class Name 20090520
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090520
3 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOMTDNAME Method name 20090520
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20090520

Method SAVE_NOTIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20061225
2 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>OBJECT_TYPE 20061225
# Exception Resumable Description Created on
1 CX_FDT_SYSTEM FDT: System Failure 20071109

Method SET_LOG_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENABLED Call by reference Type reference (TYPE) ABAP_BOOL 20100226

Method SET_LOG_ENABLED on class CL_FDT_APPLICATION_EXIT has no exception.

Method WRITE_LOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>S_MESSAGE Meldung 20090527
2 Importing IT_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE Messages 20090527
3 Importing IX_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_FDT FDT: Abstract Exception Class 20090527

Method WRITE_LOG_ENTRY on class CL_FDT_APPLICATION_EXIT has no exception.

Method WRITE_LOG_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASSNAME Call by reference Type reference (TYPE) SEOCLSNAME Object Type Name 20090527
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Object ID 20090527
3 Importing IV_METHOD Call by reference Type reference (TYPE) SEOMTDNAME 20090527
4 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>OBJECT_TYPE Objekttyp 20090527

Method WRITE_LOG_INFO on class CL_FDT_APPLICATION_EXIT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 710