SAP ABAP Class CL_UA_FORMULA_LOADER (Services to Load and Save Formulas)
Hierarchy
FINBASIS (Software Component) Fin. Basis
   FIN-FB-SRV (Application Component) Services
     UA_FORMULA (Package) Costing Solutions: Formula Editor
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_UA_FORMULA_BOOLEANS TRUE/FALSE 20021219
Properties
Class CL_UA_FORMULA_LOADER  
Short Description Services to Load and Save Formulas    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package UA_FORMULA   Costing Solutions: Formula Editor 
Created 20021219   SAP 
Last change 20060208   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
# Interface Abstract Final Description Created on
1 IF_UA_FORMULA_BOOLEANS TRUE/FALSE 20021219
Friends
Class CL_UA_FORMULA_LOADER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CD_APPLICATION Constant Public Type reference (TYPE) UXB_APPLICATION 'SAP_FINB_FORMULA' Application 20021219
2 CD_STATUS_DELETE Constant Private Type reference (TYPE) C 'D' 20040309
3 CD_STATUS_INSERT Constant Private Type reference (TYPE) C 'I' 20040309
4 CD_STATUS_UPDATE Constant Private Type reference (TYPE) C 'U' 20040309
5 FALSE Instance attribute Public Attribute reference (LIKE) 20021219
6 MTH_FORMULA Instance attribute Private Type reference (TYPE) YTH_FORMULA 20040309
7 TRUE Instance attribute Public Attribute reference (LIKE) 20021219
Methods
# Method Level Visibility Method type Description Created on
1 COMMIT Instance method Public Method Save Formulas 20030107
2 DEQUEUE Instance method Public Method 20030107
3 ENQUEUE Instance method Public Method 20030107
4 ENQUEUE_SGL Instance method Public Method 20030319
5 IS_CHANGEABLE Instance method Public Method 20030113
6 PRE_READ Instance method Public Method Read Formula Description of DB in Buffer 20030115
7 READ Instance method Public Method Instantiate Formula Objects (PRE_READ Is Optional) 20030107
8 READ_FROM_DB Instance method Private Method 20040309
9 SAVE Instance method Public Method Save New or Changed Formulas; Removes Enqueue 20030107
Events
Class CL_UA_FORMULA_LOADER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_FORMULA Private See coding 20040309 BEGIN OF ys_formula, mandt TYPE mandt, relid TYPE indx_relid, guid TYPE uxp_guid, version TYPE uxp_version, sap_object TYPE uxp_sap_object, application TYPE uxb_application, id TYPE uxp_id, xml TYPE string, formula TYPE REF TO cl_ua_formula_, status(1) TYPE c, is_enqueued TYPE boole_d, END OF ys_formula
2 YTH_FORMULA Private See coding 20040309 yth_formula TYPE HASHED TABLE OF ys_formula WITH UNIQUE KEY id
Method Signatures

Method COMMIT Signature

Method COMMIT on class CL_UA_FORMULA_LOADER has no parameter.
Method COMMIT on class CL_UA_FORMULA_LOADER has no exception.

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FORMULA_IDS Call by reference Type reference (TYPE) UAB_T_FUNCTION_ID 20030107

Method DEQUEUE on class CL_UA_FORMULA_LOADER has no exception.

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FORMULA_IDS Call by reference Type reference (TYPE) UAB_T_FUNCTION_ID 20030107
# Exception Resumable Description Created on
1 CX_UA_FORMULA_EXCEPTION 20030113

Method ENQUEUE_SGL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ID Call by reference Type reference (TYPE) UAB_FUNCTION_ID ID einer Funktion 20030319
# Exception Resumable Description Created on
1 CX_UA_FORMULA_EXCEPTION 20030319

Method IS_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ID Call by reference Type reference (TYPE) UAB_FUNCTION_ID ID der Formel 20030113
2 Returning RD_IS_CHANGEABLE Value transfer Type reference (TYPE) UAB_BOOLEAN X=Formel ist änderbar 20030113
# Exception Resumable Description Created on
1 CX_UA_FORMULA_EXCEPTION 20040309

Method PRE_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ENQUEUE Call by reference Type reference (TYPE) UAB_BOOLEAN ABAP_FALSE 'X' = Formeln sperren 20030115
2 Importing IT_FORMULA_IDS Call by reference Type reference (TYPE) UAB_T_FUNCTION_ID Liste von Formel-IDs 20030115
# Exception Resumable Description Created on
1 CX_UA_FORMULA_EXCEPTION 20030115

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ENQUEUE Call by reference Type reference (TYPE) UAB_BOOLEAN 'X' = Formeln sperren 20030107
2 Importing IO_BUILD_ENVIRONMENT Call by reference Object reference (TYPE REF TO) CL_UA_FORMULA_BUILD_ENV nötig, falls Formel Anwendungseigene Methoden enthält 20030107
3 Importing IO_MD_FACTORY Call by reference Object reference (TYPE REF TO) IF_FINB_MD_CHAR_FACTORY 20050405
4 Importing IT_FORMULA_IDS Call by reference Type reference (TYPE) UAB_T_FUNCTION_ID Liste von Formel-IDs 20030107
5 Returning RT_FORMULAS Value transfer Type reference (TYPE) UAB_T_FORMULAS 20030107
# Exception Resumable Description Created on
1 CX_UA_FORMULA_EXCEPTION 20030107

Method READ_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ID Call by reference Type reference (TYPE) UAB_T_FUNCTION_ID 20040309

Method READ_FROM_DB on class CL_UA_FORMULA_LOADER has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_TR_FACTORY Call by reference Object reference (TYPE REF TO) CL_FINB_TR_OBJ_FACTORY 20050819
2 Importing IO_TR_OBJECT Call by reference Object reference (TYPE REF TO) IF_FINB_TR_OBJECT 20050819
3 Importing IT_FORMULAS Call by reference Type reference (TYPE) UAB_T_FORMULAS Formeln 20030107
4 Importing IT_FORMULAS_FOR_DELETION Call by reference Type reference (TYPE) UAB_T_FORMULAS zu löschende Formeln 20030314
# Exception Resumable Description Created on
1 CX_UA_FORMULA_EXCEPTION 20030107
History
Last changed by/on SAP  20060208 
SAP Release Created in 350