SAP ABAP Class CF_FAA_ASSET (Management of Instances of Asset Master Records)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
FI-AA-AA (Application Component) Basic Functions
⤷
FAA_BL_CA (Package) Process Logic for General Objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CF_FAA_OBJECT | NOT USED!! Static Class for Object Generation | 20031105 |
Properties
| Class | CF_FAA_ASSET | |
| Short Description | Management of Instances of Asset Master Records | |
| Super Class | CF_FAA_OBJECT | NOT USED!! Static Class for Object Generation |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FAA_BL_CA | Process Logic for General Objects |
| Created | 20031105 | SAP |
| Last change | 20050411 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CF_FAA_ASSET has no interface implemented.
Friends
Class CF_FAA_ASSET has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR7 | 'INTERN-' | Start of a Temporary Internal Number | 20040219 | ||
| 2 | Constant | Public | Type reference (TYPE) | BF_ANLN2 | '0000' | Subnumber of Main Asset with Internal Number Assignment | 20040213 | ||
| 3 | Static Attribute | Private | Type reference (TYPE) | NUMC5 | '00000' | Counter for Temporary Internal Number | 20040219 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks Authorization (Generic) | 20031223 | |
| 2 | Static method | Public | Method | Checks If Asset with Same Key Already Exists | 20040301 | |
| 3 | Static method | Public | Method | Checks the Externally Assigned Subnumber | 20040302 | |
| 4 | Static method | Public | Method | Checks the Newly Created Asset Key | 20040217 | |
| 5 | Static method | Public | Method | Generates a New Asset ID | 20041117 | |
| 6 | Static method | Public | Method | Creates a New Main Asset Number | 20040212 | |
| 7 | Static method | Public | Method | Creates a New Asset Subnumber | 20040212 | |
| 8 | Static method | Public | Method | Delivers Instance of Asset Object Using Asset ID | 20041208 | |
| 9 | Static method | Public | Method | Delivers Instance of Asset Object Using Asset Key | 20041208 | |
| 10 | Static method | Public | Method | Gets a List of Asset Instances | 20040114 | |
| 11 | Static method | Public | Method | Gets a List of Asset Instances | 20040225 | |
| 12 | Static method | Public | Method | Lock Main Number and All Subnumbers | 20041117 | |
| 13 | Static method | Public | Method | Unlock Main Number and All Subnumbers | 20041117 | |
| 14 | Static method | Private | Method | Gets Instance of Asset Using Basic Data | 20031223 | |
| 15 | Static method | Private | Method | Gets Instance of Asset Using Basic Data | 20040226 | |
| 16 | Static method | Private | Method | Gets a New Temporary Main Asset Number | 20040219 |
Events
Class CF_FAA_ASSET has no event.
Types
Class CF_FAA_ASSET has no local type.
Method Signatures
Method CHECK_AUTHORITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | FAACA_ACTIVITY-DISPLAY | Aktivität | 20031223 | ||
| 2 | ID_ASSETCLASS | Call by reference | Type reference (TYPE) | BF_ANLKL | Anlagenklasse | 20031223 | |||
| 3 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20040113 | |||
| 4 | ID_BUS_AREA | Call by reference | Type reference (TYPE) | GSBER | Geschäftsbereich | 20031223 | |||
| 5 | ID_COMPANY_CODE | Call by reference | Type reference (TYPE) | FAA_ORG_CA | Führende Organisationseinheit Anlagenbuchhaltung | 20031223 | |||
| 6 | ID_COSTCENTER | Call by reference | Type reference (TYPE) | KOSTL | Kostenstelle | 20031223 | |||
| 7 | ID_IS_GROUP_ASSET | Call by reference | Type reference (TYPE) | XANLGR_1 | Kennzeichen: Anlage ist ein Anlagenkomplex | 20031223 | |||
| 8 | ID_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20031223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Berechtigungsprüfung fehlgeschlagen | 20040105 |
Method CHECK_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_ASSET_KEY | Schlüsselfelder zur Identifikation einer Anlage | 20040301 | |||
| 2 | RB_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | Anlage existiert | 20040301 |
Method CHECK_EXISTENCE on class CF_FAA_ASSET has no exception.
Method CHECK_EXTERNAL_SUBNUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_EXTERNAL_SUBNUMBER | Call by reference | Type reference (TYPE) | ANLN2 | Anlagenunternummer | 20040302 | |||
| 2 | IS_MAIN_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_MAIN_ASSET_KEY | Schlüsselfelder zur Identifikation einer Hauptanlage | 20040302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040302 |
Method CHECK_KEY_TO_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_NUMBER_RANGE | Call by reference | Type reference (TYPE) | NUMKR | Nummernkreis | 20040218 | |||
| 2 | ID_ORGUNIT_NUMBERDETERM | Call by reference | Type reference (TYPE) | BUKRSN | Buchungskreis für Nummernvergabe | 20040218 | |||
| 3 | IS_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_ASSET_KEY | Schlüsselfelder zur Identifikation einer Anlage | 20040217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für eine Anlage | 20040301 | ||
| 2 | Nummernkreisobjekt generisch | 20040218 |
Method CREATE_ASSET_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RD_ASSET_ID | Value transfer | Type reference (TYPE) | FAA_ASSET_ID | GUID, der eine Anlage eindeutig identifiziert | 20041117 |
Method CREATE_ASSET_ID on class CF_FAA_ASSET has no exception.
Method CREATE_MAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Berechtigungsprüfungen durchführen? | 20040212 | ||
| 2 | ID_ASSETCLASS | Call by reference | Type reference (TYPE) | BF_ANLKL | Anlagenklasse | 20040213 | |||
| 3 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20040212 | |||
| 4 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20040212 | ||
| 5 | IO_REF_ASSET | Call by reference | Object reference (TYPE REF TO) | IF_FAA_ASSET | Referenzanlage | 20040212 | |||
| 6 | IS_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_ASSET_KEY | Schlüsselfelder zur Identifikation einer Anlage | 20040213 | |||
| 7 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FAA_ASSET | Anlage | 20040212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für eine Anlage | 20040212 |
Method CREATE_SUB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Berechtigungsprüfungen durchführen? | 20040212 | ||
| 2 | ID_ASSETCLASS_OF_SUB | Call by reference | Type reference (TYPE) | BF_ANLKL | Anlagenklasse der Unternummer | 20040227 | |||
| 3 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20040212 | |||
| 4 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20040212 | ||
| 5 | ID_EXTERNAL_SUBNUMBER | Call by reference | Type reference (TYPE) | ANLN2 | externe Anlagenunternummer | 20040227 | |||
| 6 | IO_MAIN_ASSET | Call by reference | Object reference (TYPE REF TO) | IF_FAA_ASSET | Hauptanlage im Ändernmodus | 20041004 | |||
| 7 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FAA_ASSET | Anlage | 20040212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für eine Anlage | 20040212 |
Method FIND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Berechtigungsprüfungen durchführen? | 20041208 | ||
| 2 | IB_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20041208 | |||
| 3 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | FAACA_ACTIVITY-DISPLAY | Aktivität: Ändern/Anzeigen | 20041208 | ||
| 4 | ID_ASSET_ID | Call by reference | Type reference (TYPE) | FAA_ASSET_ID | 20041208 | ||||
| 5 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20041208 | |||
| 6 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20041208 | ||
| 7 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FAA_ASSET | Anlage | 20041208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme bei Verwaltung von Instanzen von Anlagenstämmen | 20041208 |
Method FIND_BY_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Berechtigungsprüfungen durchführen? | 20041208 | ||
| 2 | IB_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20041208 | |||
| 3 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | FAACA_ACTIVITY-DISPLAY | Aktivität: Ändern/Anzeigen | 20041208 | ||
| 4 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20041208 | |||
| 5 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20041208 | ||
| 6 | IS_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_ASSET_KEY | Schlüsselfelder zur Identifikation einer Anlage | 20041208 | |||
| 7 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FAA_ASSET | Anlage | 20041208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme bei Verwaltung von Instanzen von Anlagenstämmen | 20041208 |
Method FIND_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Berechtigungsprüfungen durchführen? | 20040114 | ||
| 2 | IB_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20041117 | |||
| 3 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | FAACA_ACTIVITY-DISPLAY | Aktivität: Ändern/Anzeigen | 20040114 | ||
| 4 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20040114 | |||
| 5 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20040114 | ||
| 6 | IT_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_T_ASSET_KEY | Tabelle von Anlagenschlüsselfeldern | 20040114 | |||
| 7 | RT_INSTANCE | Value transfer | Type reference (TYPE) | FAA_T_IF_ASSET | Tabelle mit Instanzen des Interfaces IF_FAA_ASSET | 20040114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen bezüglich einer Anlage | 20040114 |
Method FIND_SUBNUMBERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Berechtigungsprüfungen durchführen? | 20040225 | ||
| 2 | IB_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20041117 | |||
| 3 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | FAACA_ACTIVITY-DISPLAY | Aktivität: Ändern/Anzeigen | 20040225 | ||
| 4 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20040225 | |||
| 5 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20040225 | ||
| 6 | IS_MAIN_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_MAIN_ASSET_KEY | Schlüsselfelder zur Identifikation einer Hauptanlage | 20040225 | |||
| 7 | RT_INSTANCE | Value transfer | Type reference (TYPE) | FAA_T_IF_ASSET | Tabelle mit Instanzen des Interfaces IF_FAA_ASSET | 20040225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen bezüglich einer Anlage | 20040225 |
Method LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_LOCKSTATE | Call by reference | Type reference (TYPE) | ENQMODE | FAABL_LOCKSTATE-OPTIMISTIC | Sperrmodus | 20041213 | ||
| 2 | IS_MAIN_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_MAIN_ASSET_KEY | Schlüsselfelder zur Identifikation einer Hauptanlage | 20041117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen bezüglich einer Hauptanlage | 20041117 |
Method UNLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_LOCKSTATE | Call by reference | Type reference (TYPE) | ENQMODE | FAABL_LOCKSTATE-EXCLUSIVE | Sperrmodus | 20041213 | ||
| 2 | IS_MAIN_ASSET_KEY | Call by reference | Type reference (TYPE) | FAA_S_MAIN_ASSET_KEY | Schlüsselfelder zur Identifikation einer Hauptanlage | 20041117 |
Method UNLOCK on class CF_FAA_ASSET has no exception.
Method _FIND_BY_ASSET_BASIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | Tech: Default-Berechtigungsprüfungen durchführen? | 20031223 | |||
| 2 | IB_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041117 | ||||
| 3 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | Aktivität: Ändern/Anzeigen | 20031223 | |||
| 4 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20040107 | ||
| 5 | IS_ASSET_BASIC | Call by reference | Type reference (TYPE) | FAA_S_ASSET_BASIC | Basisdaten zu einer Anlagen ID | 20031223 | |||
| 6 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FAA_ASSET | Anlage | 20031223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verwaltung Instanzen von Anlagenstämmen | 20040105 |
Method _FIND_BY_ASSET_BASIC_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_AUTH_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | Tech: Default-Berechtigungsprüfungen durchführen? | 20040226 | |||
| 2 | IB_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041117 | ||||
| 3 | ID_ACTIVITY | Call by reference | Type reference (TYPE) | FAACA_ACTIVITY | Aktivität: Ändern/Anzeigen | 20040226 | |||
| 4 | ID_ASSET_VIEW | Call by reference | Type reference (TYPE) | FIAA_VIEW_NEU | Anlagensicht | 20040226 | |||
| 5 | ID_EVLTN_DATE | Call by reference | Type reference (TYPE) | BZDAT | SY-DATLO | Bezugsdatum | 20040226 | ||
| 6 | ITS_ASSET_BASIC | Call by reference | Type reference (TYPE) | FAA_TS_ASSET_BASIC | Basisdaten zu einer Anlagen ID | 20040226 | |||
| 7 | RT_INSTANCE | Value transfer | Type reference (TYPE) | FAA_T_IF_ASSET | Tabelle mit Instanzen des Interfaces IF_FAA_ASSET | 20040226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verwaltung Instanzen von Anlagenstämmen | 20040226 |
Method _GET_NEW_TEMP_ASSET_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RD_ASSETMAIN | Value transfer | Type reference (TYPE) | BF_ANLN1 | Anlagen-Hauptnummer | 20040219 |
Method _GET_NEW_TEMP_ASSET_NUMBER on class CF_FAA_ASSET has no exception.
History
| Last changed by/on | SAP | 20050411 |
| SAP Release Created in | 500 |