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 | 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 | Constant | Public | Type reference (TYPE) | UXB_APPLICATION | 'SAP_FINB_FORMULA' | Application | 20021219 | ||
| 2 | Constant | Private | Type reference (TYPE) | C | 'D' | 20040309 | |||
| 3 | Constant | Private | Type reference (TYPE) | C | 'I' | 20040309 | |||
| 4 | Constant | Private | Type reference (TYPE) | C | 'U' | 20040309 | |||
| 5 | Instance attribute | Public | Attribute reference (LIKE) | 20021219 | |||||
| 6 | Instance attribute | Private | Type reference (TYPE) | YTH_FORMULA | 20040309 | ||||
| 7 | Instance attribute | Public | Attribute reference (LIKE) | 20021219 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Save Formulas | 20030107 | |
| 2 | Instance method | Public | Method | 20030107 | ||
| 3 | Instance method | Public | Method | 20030107 | ||
| 4 | Instance method | Public | Method | 20030319 | ||
| 5 | Instance method | Public | Method | 20030113 | ||
| 6 | Instance method | Public | Method | Read Formula Description of DB in Buffer | 20030115 | |
| 7 | Instance method | Public | Method | Instantiate Formula Objects (PRE_READ Is Optional) | 20030107 | |
| 8 | Instance method | Private | Method | 20040309 | ||
| 9 | 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 | 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 | IT_FORMULA_IDS | Call by reference | Type reference (TYPE) | UAB_T_FUNCTION_ID | 20030107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030113 |
Method ENQUEUE_SGL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ID | Call by reference | Type reference (TYPE) | UAB_FUNCTION_ID | ID einer Funktion | 20030319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030319 |
Method IS_CHANGEABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ID | Call by reference | Type reference (TYPE) | UAB_FUNCTION_ID | ID der Formel | 20030113 | |||
| 2 | RD_IS_CHANGEABLE | Value transfer | Type reference (TYPE) | UAB_BOOLEAN | X=Formel ist änderbar | 20030113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040309 |
Method PRE_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ENQUEUE | Call by reference | Type reference (TYPE) | UAB_BOOLEAN | ABAP_FALSE | 'X' = Formeln sperren | 20030115 | ||
| 2 | IT_FORMULA_IDS | Call by reference | Type reference (TYPE) | UAB_T_FUNCTION_ID | Liste von Formel-IDs | 20030115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030115 |
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ENQUEUE | Call by reference | Type reference (TYPE) | UAB_BOOLEAN | 'X' = Formeln sperren | 20030107 | |||
| 2 | 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 | IO_MD_FACTORY | Call by reference | Object reference (TYPE REF TO) | IF_FINB_MD_CHAR_FACTORY | 20050405 | ||||
| 4 | IT_FORMULA_IDS | Call by reference | Type reference (TYPE) | UAB_T_FUNCTION_ID | Liste von Formel-IDs | 20030107 | |||
| 5 | RT_FORMULAS | Value transfer | Type reference (TYPE) | UAB_T_FORMULAS | 20030107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030107 |
Method READ_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | IO_TR_FACTORY | Call by reference | Object reference (TYPE REF TO) | CL_FINB_TR_OBJ_FACTORY | 20050819 | ||||
| 2 | IO_TR_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_FINB_TR_OBJECT | 20050819 | ||||
| 3 | IT_FORMULAS | Call by reference | Type reference (TYPE) | UAB_T_FORMULAS | Formeln | 20030107 | |||
| 4 | IT_FORMULAS_FOR_DELETION | Call by reference | Type reference (TYPE) | UAB_T_FORMULAS | zu löschende Formeln | 20030314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030107 |
History
| Last changed by/on | SAP | 20060208 |
| SAP Release Created in | 350 |