SAP ABAP Class CL_FIN_UI_DECO (Frontend-Backend Decoupling Central)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI (Application Component) Financial Accounting
     FIN_UI_DECO_SERVICES (Package) Generic Services for UI Decoupling
Properties
Class CL_FIN_UI_DECO  
Short Description Frontend-Backend Decoupling Central    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package FIN_UI_DECO_SERVICES   Generic Services for UI Decoupling 
Created 20110412   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)
Interfaces
Class CL_FIN_UI_DECO has no interface implemented.
Friends
Class CL_FIN_UI_DECO has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_DYNPROHEADER Static Attribute Private Type reference (TYPE) TY_T_DYNPROHEADER 20120305
2 MT_EXCL_TAB Static Attribute Public Type reference (TYPE) TT_EXCL_TAB 20110511
3 MT_FUN_BUFFER Static Attribute Private Type reference (TYPE) TY_FUN_TAB Command Type Buffer 20120308
4 MT_FUN_STATUS_BUFFER Static Attribute Private Type reference (TYPE) TY_FUN_STATUS_TAB Command Active Buffer 20120308
5 MT_SCREEN Static Attribute Public Type reference (TYPE) FIN_DECO_T_SCREEN SCREEN - Table for UI-Decoupling 20110412
6 MT_SCREEN_DEF Static Attribute Public Type reference (TYPE) FIN_DECO_T_SCREEN SCREEN - Table for UI-Decoupling 20110719
7 MV_DISPLAY_MODE Static Attribute Public Type reference (TYPE) BOOLEAN Document is being displayed 20120110
8 MV_DYNNR Static Attribute Public Type reference (TYPE) SYDYNNR Current Screen Number 20110412
9 MV_DYNNR_COBL Static Attribute Public Type reference (TYPE) COBL_DYNNR Subscreen for Coding Block 20110822
10 MV_MODE Static Attribute Public Type reference (TYPE) BOOLEAN Decoupling Mode? 20110412
11 MV_PARAM_TCODE Static Attribute Public Type reference (TYPE) TCODE Transaction Code 20110927
12 MV_PFKEY Static Attribute Public Type reference (TYPE) SYPFKEY Current GUI Status 20110511
13 MV_PFKEY_REPID Static Attribute Public Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20110511
14 MV_PROGN_COBL Static Attribute Public Type reference (TYPE) SYCPROG Calling Program 20110822
15 MV_RESET_CLEARING Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120308
16 MV_SIMULATION_MODE Static Attribute Public Type reference (TYPE) BOOLEAN Simulate Before Save 20120307
17 MV_SYCPROG Static Attribute Private Type reference (TYPE) SYCPROG Calling Program 20120305
18 MV_SYDYNGR Static Attribute Private Type reference (TYPE) SYDYNGR Screen Group of Current Screen 20120305
19 MV_SYDYNNR Static Attribute Private Type reference (TYPE) SYDYNNR Current Screen Number 20120305
20 MV_SYTCODE Static Attribute Private Type reference (TYPE) SYTCODE Current Transaction Code 20120305
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Static method Public Method Add a message to the message handler 20110428
2 CHECK_COMMAND Static method Public Method 20110511
3 CHECK_COMMAND_FR_BUFFER Static method Private Method Check if FCODE active: Read from buffer 20120308
4 CHECK_MESSAGE Static method Public Method Check messages to be ignored 20110811
5 CONVERT_MESSAGE Static method Public Method 20111208
6 GET_COMMAND_TYPE Static method Public Method 20110511
7 GET_COMMAND_TYPE_FR_BUFFER Static method Private Method Get type of OK-Code: Read from buffer 20120308
8 GET_DATA Static method Public Method Get data from current buffer 20120305
9 GET_DYNPRO_HEADER_INFO Static method Private Method Get screen attributes 20120305
10 GET_MESSAGE Static method Public Method Get all messages from the message handler 20110428
11 HANDLE_MESSAGE Static method Public Method Handle messages 20110811
12 RESET_FIELDS Static method Public Method Reset the fields to be assigned to the message 20110428
13 SET_DATA Static method Public Method set all attributes (like sy-fields, screen table, ...) 20120305
14 SET_DECO_MODE Static method Public Method Set Decoupling Mode 20110412
15 SET_FIELD Static method Public Method Set field to be assigned to a message 20110428
16 SET_INITIAL_DATA Static method Public Method Set and buffer current transaction code 20120305
17 SET_MESSAGE_ID Static method Public Method Set the default message ID 20110428
18 SET_PFKEY Static method Public Method Set the current GUI status 20110511
19 SYCPROG Static method Public Method Return "SY-CPROG" 20120305
20 SYDYNGR Static method Public Method Return "SY-DYNGR" 20120305
21 SYDYNNR Static method Public Method Return "SY-DYNNR" 20120305
22 SYTCODE Static method Public Method Return "SY-TCODE" 20120305
Events
Class CL_FIN_UI_DECO has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_EXCL_TAB Public See coding 20110511 tt_excl_tab TYPE TABLE OF ty_excl_tab
2 TY_EXCL_TAB Public See coding 20110511 BEGIN OF ty_excl_tab, fcode TYPE syucomm, END OF ty_excl_tab
3 TY_FUN Private See coding 20120308 BEGIN OF ty_fun, prog TYPE trdir-name, code TYPE gui_func, type TYPE cua_funtyp, END OF ty_fun
4 TY_FUN_STATUS Private See coding 20120308 BEGIN OF ty_fun_status, prog TYPE trdir-name, pfkey TYPE sypfkey, fcode TYPE gui_func, active TYPE cua_mentyp, END OF ty_fun_status
5 TY_FUN_STATUS_TAB Private See coding 20120308 ty_fun_status_tab TYPE SORTED TABLE OF ty_fun_status WITH UNIQUE KEY prog pfkey fcode
6 TY_FUN_TAB Private See coding 20120308 ty_fun_tab TYPE SORTED TABLE OF ty_fun WITH UNIQUE KEY prog code
7 TY_S_DYNPROHEADER Public Type reference (TYPE) D020S System table D020S (screen sources) 20120305
8 TY_T_DYNPROHEADER Public See coding 20120305 ty_t_dynproheader TYPE TABLE OF d020s
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BAPIRET Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110428

Method ADD_MESSAGE on class CL_FIN_UI_DECO has no exception.

Method CHECK_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OKCODE Call by reference Type reference (TYPE) SYUCOMM Coomand 20110511
2 Returning RV_ACTIVE Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110511

Method CHECK_COMMAND on class CL_FIN_UI_DECO has no exception.

Method CHECK_COMMAND_FR_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL Active 20120308
2 Exporting EV_FOUND Call by reference Type reference (TYPE) ABAP_BOOL Found in buffer 20120308
3 Importing IV_FCODE Call by reference Type reference (TYPE) GUI_FUNC Function code 20120308
4 Importing IV_PFKEY Call by reference Type reference (TYPE) SYPFKEY GUI Status 20120308
5 Importing IV_PROG Call by reference Type reference (TYPE) TRDIR-NAME ABAP Program Name 20120308

Method CHECK_COMMAND_FR_BUFFER on class CL_FIN_UI_DECO has no exception.

Method CHECK_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110811
2 Returning RV_IGNORE_MESSAGE Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110811

Method CHECK_MESSAGE on class CL_FIN_UI_DECO has no exception.

Method CONVERT_MESSAGE Signature

Method CONVERT_MESSAGE on class CL_FIN_UI_DECO has no parameter.
Method CONVERT_MESSAGE on class CL_FIN_UI_DECO has no exception.

Method GET_COMMAND_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OKCODE Call by reference Type reference (TYPE) GUI_CODE 20110511
2 Returning RV_COMMAND_TYPE Value transfer Type reference (TYPE) CUA_MENTYP 20110511

Method GET_COMMAND_TYPE on class CL_FIN_UI_DECO has no exception.

Method GET_COMMAND_TYPE_FR_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FOUND Call by reference Type reference (TYPE) ABAP_BOOL Found in buffer 20120308
2 Exporting EV_TYPE Call by reference Type reference (TYPE) TY_FUN-TYPE Type of OK-Code 20120308
3 Importing IV_CODE Call by reference Type reference (TYPE) TY_FUN-CODE OK-Code 20120308
4 Importing IV_PROG Call by reference Type reference (TYPE) TY_FUN-PROG Program 20120308

Method GET_COMMAND_TYPE_FR_BUFFER on class CL_FIN_UI_DECO has no exception.

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SCREEN Call by reference Type reference (TYPE) FIN_DECO_T_SCREEN SCREEN - Table for UI-Decoupling 20120305
2 Exporting EV_DYNNR Call by reference Type reference (TYPE) SYDYNNR Current Screen Number 20120305
3 Exporting EV_DYNNR_COBL Call by reference Type reference (TYPE) SYDYNNR Current Screen Number 20120305
4 Exporting EV_PROGN_COBL Call by reference Type reference (TYPE) PROGN Program Name 20120305

Method GET_DATA on class CL_FIN_UI_DECO has no exception.

Method GET_DYNPRO_HEADER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) D020S System table D020S (screen sources) 20120305
2 Importing IV_DYNNR Call by reference Type reference (TYPE) SYDYNNR Current Screen Number 20120305
3 Importing IV_REPID Call by reference Type reference (TYPE) PROGNAME ABAP Program Name 20120305
# Exception Resumable Description Created on
1 EXC_INSUFFICIENT_PARAMETERS 20120305
2 EXC_NO_HEADER_INFO 20120305

Method GET_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DELETE_MESSAGES Call by reference Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110428
2 Returning RT_MESSAGE Value transfer Type reference (TYPE) BAPIRET2_T Return parameter table 20110428

Method GET_MESSAGE on class CL_FIN_UI_DECO has no exception.

Method HANDLE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20110811
2 Changing CV_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110811
3 Importing IS_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110811
4 Importing IV_DELETE_MESSAGES Call by reference Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20111007
5 Importing IV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20110811

Method HANDLE_MESSAGE on class CL_FIN_UI_DECO has no exception.

Method RESET_FIELDS Signature

Method RESET_FIELDS on class CL_FIN_UI_DECO has no parameter.
Method RESET_FIELDS on class CL_FIN_UI_DECO has no exception.

Method SET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SCREEN Call by reference Type reference (TYPE) FIN_DECO_T_SCREEN SCREEN - Table for UI-Decoupling 20120305
2 Importing IV_DYNNR Call by reference Type reference (TYPE) SYDYNNR Next Screen Number 20120305
3 Importing IV_REPID Call by reference Type reference (TYPE) REPID ABAP Program Name 20120305
4 Importing IV_SYDYNGR Call by reference Type reference (TYPE) SYDYNGR Screen Group of Current Screen 20120305
5 Importing IV_SYDYNNR Call by reference Type reference (TYPE) SYDYNNR Current Screen Number 20120305

Method SET_DATA on class CL_FIN_UI_DECO has no exception.

Method SET_DECO_MODE Signature

Method SET_DECO_MODE on class CL_FIN_UI_DECO has no parameter.
Method SET_DECO_MODE on class CL_FIN_UI_DECO has no exception.

Method SET_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20110428

Method SET_FIELD on class CL_FIN_UI_DECO has no exception.

Method SET_INITIAL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CPROG Call by reference Type reference (TYPE) SYCPROG CALL program 20120305
2 Importing IV_TCODE Call by reference Type reference (TYPE) SYTCODE Current Transaction Code 20120305

Method SET_INITIAL_DATA on class CL_FIN_UI_DECO has no exception.

Method SET_MESSAGE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSGID Call by reference Type reference (TYPE) MSGID Message identification 20110428

Method SET_MESSAGE_ID on class CL_FIN_UI_DECO has no exception.

Method SET_PFKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EXCL_TAB Call by reference Type reference (TYPE) ANY TABLE 20110511
2 Importing IV_PFKEY Call by reference Type reference (TYPE) SYPFKEY Current GUI Status 20110511
3 Importing IV_REPID Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20110511

Method SET_PFKEY on class CL_FIN_UI_DECO has no exception.

Method SYCPROG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LENGTH Call by reference Type reference (TYPE) I 20120305
2 Returning RV_CPROG Value transfer Type reference (TYPE) SYCPROG Current Transaction Code 20120305

Method SYCPROG on class CL_FIN_UI_DECO has no exception.

Method SYDYNGR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LENGTH Call by reference Type reference (TYPE) I 20120305
2 Returning RV_DYNGR Value transfer Type reference (TYPE) SYDYNGR 20120305

Method SYDYNGR on class CL_FIN_UI_DECO has no exception.

Method SYDYNNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LENGTH Call by reference Type reference (TYPE) I 20120305
2 Returning RV_DYNNR Value transfer Type reference (TYPE) SYDYNNR Current Screen Number 20120305

Method SYDYNNR on class CL_FIN_UI_DECO has no exception.

Method SYTCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LENGTH Call by reference Type reference (TYPE) I 20120305
2 Returning RV_TCODE Value transfer Type reference (TYPE) SYTCODE Current Transaction Code 20120305

Method SYTCODE on class CL_FIN_UI_DECO has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606