SAP ABAP Class CL_USMD_DELETE_DATA_MODEL (Deletion of an Active Data Model)
Hierarchy
☛
MDG_FND (Software Component) MDG Foundation
⤷
CA-MDG-AF (Application Component) Application Framework
⤷
USMD1 (Package) Master Data: Data Modeling
⤷
⤷
Properties
| Class | CL_USMD_DELETE_DATA_MODEL | |
| Short Description | Deletion of an Active Data Model | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | USMD1 | Master Data: Data Modeling |
| Created | 20110207 | SAP |
| Last change | 20130531 | 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
Class CL_USMD_DELETE_DATA_MODEL has no interface implemented.
Friends
Class CL_USMD_DELETE_DATA_MODEL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR1 | 'A' | After-Import Mode | 20110303 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR1 | 'R' | Deletion Program | 20110303 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | USMD_FLG | X = Dialog Allowed | 20110207 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_USMD_APPL_LOG | Application Log | 20110207 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_USMD_MODEL_GEN_ADAPTER | Accesses for Model Generation | 20110207 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | LTY_T_USMD010C | Edition Types of Data Model | 20110207 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | LTY_T_CRTYPE | Change Request Types of Data Model | 20110207 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | LTY_T_TABCOUNTER | Tables with Total Number of Deleted Data Records | 20110222 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | MSGTY | Status of Deletion Process | 20110207 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | STRING | Dummy Text | 20110207 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Execution Mode | 20110303 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | USMD_MODEL | Data Model | 20110207 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | X = Active Data Model Version Exists | 20110209 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | LTY_COUNTER_N2 | Counter for Deletion Steps | 20110207 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check Deletion Prerequisites | 20110207 | |
| 2 | Instance method | Private | Method | Commit Deletions and Deletion Log | 20110207 | |
| 3 | Instance method | Public | Constructor | Constructor | 20110207 | |
| 4 | Instance method | Private | Method | Delete Change Requests of Data Model | 20110207 | |
| 5 | Instance method | Private | Method | Deletion of Change Request Types and Dependent Data | 20110207 | |
| 6 | Instance method | Private | Method | Deletion of Customizing Settings of Data Model | 20110207 | |
| 7 | Instance method | Private | Method | Deletion of Editions and Edition Types | 20110207 | |
| 8 | Instance method | Private | Method | Deletion of Generated Objects | 20110207 | |
| 9 | Instance method | Private | Method | Deletion of Internal Data | 20110207 | |
| 10 | Instance method | Public | Method | Delete Data Model | 20110207 | |
| 11 | Instance method | Private | Method | Deletion of Active Data Model Version | 20110207 | |
| 12 | Instance method | Private | Method | Deletion of Personalization Data of Data Model | 20110207 | |
| 13 | Instance method | Private | Method | Deletion of Staging Data | 20110207 | |
| 14 | Instance method | Private | Method | Deletion of UI Data of Data Model | 20110207 | |
| 15 | Instance method | Private | Method | Write Total of Deleted Data Records to Deletion Log | 20110207 | |
| 16 | Instance method | Private | Method | Write List of Messages to Deletion Log | 20110207 | |
| 17 | Instance method | Private | Method | Write Deletion Step to Deletion Log | 20110207 | |
| 18 | Instance method | Private | Method | Write SY Message to Deletion Log | 20110207 | |
| 19 | Instance method | Private | Method | Write Text to Deletion Log | 20110207 | |
| 20 | Instance method | Private | Method | Write Total of Deleted Data Records to Deletion Log | 20110222 | |
| 21 | Instance method | Private | Method | Execute Deletions | 20110207 |
Events
Class CL_USMD_DELETE_DATA_MODEL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_COUNTER_N2 | Private | See coding | Numeric Counter | 20110207 | lty_counter_n2(2) type n
|
|
| 2 | LTY_CRTYPE | Private | See coding | Change Request Type with Client | 20110207 | begin of lty_crtype,
mandt type mandt,
usmd_creq_type type usmd_crequest_type,
end of lty_crtype
|
|
| 3 | LTY_S_TABCOUNTER | Private | See coding | Table Name with Counter | 20110222 | begin of lty_s_tabcounter,
tabname type tabname,
counter type i,
end of lty_s_tabcounter
|
|
| 4 | LTY_T_CRTYPE | Private | See coding | List of Change Request Types with Client | 20110207 | lty_t_crtype type standard table of lty_crtype
|
|
| 5 | LTY_T_TABCOUNTER | Private | See coding | List of Table Names with Counters | 20110222 | LTY_T_TABCOUNTER type sorted table of lty_s_tabcounter
WITH UNIQUE KEY tabname
|
|
| 6 | LTY_T_USMD010C | Private | See coding | List of Edition Types | 20110207 | lty_t_usmd010c type standard table of usmd010c
|
Method Signatures
Method CHECK_PRECONDITIONS Signature
Method CHECK_PRECONDITIONS on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method CHECK_PRECONDITIONS on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method COMMIT Signature
Method COMMIT on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method COMMIT on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_DIALOG | Call by reference | Type reference (TYPE) | USMD_FLG | X = Dailog allowed | 20110207 | |||
| 2 | I_MODE | Call by reference | Type reference (TYPE) | CHAR1 | Excecution-Mode (see constants) | 20110303 | |||
| 3 | I_MODEL | Call by reference | Type reference (TYPE) | USMD_MODEL | Datenmodell | 20110207 |
Method CONSTRUCTOR on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_CREQUEST_DATA Signature
Method DELETE_CREQUEST_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_CREQUEST_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_CRTYPE_DATA Signature
Method DELETE_CRTYPE_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_CRTYPE_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_CUSTOMIZING_DATA Signature
Method DELETE_CUSTOMIZING_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_CUSTOMIZING_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_EDITIONS_AND_TYPES Signature
Method DELETE_EDITIONS_AND_TYPES on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_EDITIONS_AND_TYPES on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_GENERATED_OBJECTS Signature
Method DELETE_GENERATED_OBJECTS on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_GENERATED_OBJECTS on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_INTERNAL_DATA Signature
Method DELETE_INTERNAL_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_INTERNAL_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DELETION_STATUS | Call by reference | Type reference (TYPE) | MSGTY | Status des Löschvorganges | 20110207 |
Method DELETE_MODEL on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_MODEL_DATA Signature
Method DELETE_MODEL_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_MODEL_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_PERSONALISATION_DATA Signature
Method DELETE_PERSONALISATION_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_PERSONALISATION_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_STAGING_DATA Signature
Method DELETE_STAGING_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_STAGING_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method DELETE_UI_DATA Signature
Method DELETE_UI_DATA on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method DELETE_UI_DATA on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method LOG_ADD_DELETED_LINES Signature
Method LOG_ADD_DELETED_LINES on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method LOG_ADD_DELETED_LINES on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method LOG_ADD_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Meldungen | 20110207 |
Method LOG_ADD_MESSAGES on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method LOG_ADD_STEP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STEP_TEXT | Call by reference | Type reference (TYPE) | STRING | Beschreibung des Löschschrittes | 20110207 |
Method LOG_ADD_STEP on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method LOG_ADD_SY_MESSAGE Signature
Method LOG_ADD_SY_MESSAGE on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method LOG_ADD_SY_MESSAGE on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method LOG_ADD_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'S' | Nachrichtentyp | 20110207 | ||
| 2 | I_TEXT | Call by reference | Type reference (TYPE) | STRING | Text | 20110207 |
Method LOG_ADD_TEXT on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method LOG_COLLECT_DELETED_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DELETED_LINES | Call by reference | Type reference (TYPE) | SYDBCNT | SY-DBCNT | Anzahl gelöschter Datensätze | 20110222 | ||
| 2 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20110222 |
Method LOG_COLLECT_DELETED_LINES on class CL_USMD_DELETE_DATA_MODEL has no exception.
Method PERFORM_DELETIONS Signature
Method PERFORM_DELETIONS on class CL_USMD_DELETE_DATA_MODEL has no parameter.
Method PERFORM_DELETIONS on class CL_USMD_DELETE_DATA_MODEL has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |