SAP ABAP Class CL_IWP_WORK_PACKAGE_CREATION (Creating an Audit Package)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
BC-ILM-RW (Application Component) Retention Warehouse
⤷
IWP_BASIC (Package) ILM Workpackage: Basic Functions
⤷
⤷
Properties
| Class | CL_IWP_WORK_PACKAGE_CREATION | |
| Short Description | Creating an Audit Package | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | IWP_BASIC | ILM Workpackage: Basic Functions |
| Created | 20071214 | SAP |
| Last change | 20131127 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_IWP_WORK_PACKAGE_CREATION has no interface implemented.
Friends
Class CL_IWP_WORK_PACKAGE_CREATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | CHAR_LG_60 | 'ILM_EXCHANGE_PATH' | logical Path | 20071217 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | "Views" may also be used as "relations" (=> BW infosets) | 20110323 | |
| 2 | Static method | Public | Method | Check if the external Audit Package name is unique | 20071214 | |
| 3 | Static method | Private | Method | Time format conversiion p6->TIMS | 20071214 | |
| 4 | Static method | Private | Method | Create Metadata from XMLDAS | 20071218 | |
| 5 | Static method | Private | Method | 20081218 | ||
| 6 | Static method | Public | Method | Create a new audit package | 20071217 | |
| 7 | Static method | Public | Method | Create a new audit package | 20081215 | |
| 8 | Static method | Public | Method | Create a new audit package | 20090724 | |
| 9 | Static method | Private | Method | Exclude existing Audit Packages | 20071214 | |
| 10 | Static method | Public | Method | Get the files from Retention Manager | 20071214 | |
| 11 | Static method | Private | Method | Get file info from XML DAS | 20071218 | |
| 12 | Static method | Private | Method | Get the files within the directory | 20071214 | |
| 13 | Static method | Private | Method | 20091021 | ||
| 14 | Static method | Private | Method | Get the uris from a file | 20071217 | |
| 15 | Static method | Public | Method | Get the text for the usage type | 20071219 | |
| 16 | Static method | Private | Method | Get Nametab from XMLDAS | 20071218 | |
| 17 | Static method | Public | Method | Create a new audit package | 20071218 | |
| 18 | Static method | Public | Method | Locks the Process for creating Audit Packages | 20071214 | |
| 19 | Static method | Private | Method | Mark structures, views and relations from template | 20081217 | |
| 20 | Static method | Public | Method | Unlocks the process | 20071214 |
Events
Class CL_IWP_WORK_PACKAGE_CREATION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TTY_PATH_OBJECTTYPE | Private | See coding | 20090304 | tty_PATH_OBJECTTYPE type table of ty_path_objecttype
|
||
| 2 | TY_PATH_OBJECTTYPE | Private | See coding | 20090304 | begin of TY_PATH_OBJECTTYPE,
pathid type IWP_PATH_ID,
object_type type iwp_wpp_s-object_type,
end of ty_path_objecttype
|
Method Signatures
Method APPEND_VIEWS_AS_RELATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RELATION | Call by reference | Type reference (TYPE) | TTY_RELATION | 20110323 | ||||
| 2 | IV_WP_PATTERN | Call by reference | Type reference (TYPE) | IWP_WP_PATTERN | Audit Package Template | 20110323 |
Method APPEND_VIEWS_AS_RELATIONS on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method CHECK_WP_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WORK_PACKAGE_EXT | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE_EXT | Work Package | 20071214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071214 | |||
| 2 | 20080207 | |||
| 3 | 20071219 |
Method CONVERT_P6_TO_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MOD_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20071214 | |||
| 2 | MOD_TIME | Call by reference | Type reference (TYPE) | CHAR8 | Field of type TIMS | 20071214 | |||
| 3 | MTIME | Call by reference | Type reference (TYPE) | ANY | 20071214 |
Method CONVERT_P6_TO_TIME on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method CREATE_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_C_STRC | Call by reference | Type reference (TYPE) | TTY_C_STRC | 20071218 | ||||
| 2 | ET_C_STRCT | Call by reference | Type reference (TYPE) | TTY_C_STRCT | 20071218 | ||||
| 3 | ET_DD07T | Call by reference | Type reference (TYPE) | TTY_DD07T | 20071218 | ||||
| 4 | ET_DD07V | Call by reference | Type reference (TYPE) | TTY_DD07V | 20071218 | ||||
| 5 | ET_METADATA | Call by reference | Type reference (TYPE) | TTY_METADATA | 20071218 | ||||
| 6 | ET_RELATION | Call by reference | Type reference (TYPE) | TTY_RELATION | 20071218 | ||||
| 7 | ET_SNMETA | Call by reference | Type reference (TYPE) | IWP_T_SNMETA | Table type for IWP_SNMETA | 20081218 | |||
| 8 | IV_URI | Call by reference | Type reference (TYPE) | STRING | 20071218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error occured | 20071218 |
Method CREATE_STRUC_ENTRY_FOR_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_STRUC | Call by reference | Type reference (TYPE) | IWP_T_WP_STRUC | Table of structures of a workpackage | 20081218 | |||
| 2 | IR_METADATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20081218 | ||||
| 3 | I_DVIEW | Call by reference | Type reference (TYPE) | IWP_STRUC | Structure | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081218 |
Method CREATE_WORK_PACKAGE_FROM_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090115 | |||
| 2 | E_WORK_PACKAGE | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE | Unique Identifier of a work package | 20071217 | |||
| 3 | IS_FILE | Call by reference | Type reference (TYPE) | IWP_S_FILE | File structure to create a new work package | 20071217 | |||
| 4 | IT_ORIGIN_RANGE | Call by reference | Type reference (TYPE) | IWP_T_ORIGIN_RANGE | Origin Range Values | 20120721 | |||
| 5 | I_AUTHGRP | Call by reference | Type reference (TYPE) | IWP_AUTHGRP | Authority Group | 20071217 | |||
| 6 | I_DB_SAVE | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | boolsche Variable (X=true, -=false, space=unknown) | 20080116 | ||
| 7 | I_TEMPLATE | Call by reference | Type reference (TYPE) | IWP_TEMPLATE | Work Package used as Template | 20080729 | |||
| 8 | I_USAGETYPE | Call by reference | Type reference (TYPE) | IWP_USETYP | Usage of the Work Package | 20071217 | |||
| 9 | I_WORK_PACKAGE_EXT | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE_EXT | Work Package | 20071217 | |||
| 10 | I_WP_DESCR | Call by reference | Type reference (TYPE) | IWP_DESCR | Description | 20080204 | |||
| 11 | I_WP_PATTERN | Call by reference | Type reference (TYPE) | IWP_WP_PATTERN | Audit package pattern | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071217 |
Method CREATE_WORK_PACKAGE_FROM_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090115 | |||
| 2 | E_WORK_PACKAGE | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE | Unique Identifier of a work package | 20081215 | |||
| 3 | IT_ORIGINS_RANGE | Call by reference | Type reference (TYPE) | IWP_T_ORIGIN_RANGE | Origin Range Values | 20120721 | |||
| 4 | IT_URIS | Call by reference | Type reference (TYPE) | CL_ARC_DAS_CON_RW_BI_UPLOAD=>TT_RESULT_URIS | File structure to create a new work package | 20081215 | |||
| 5 | I_AUTHGRP | Call by reference | Type reference (TYPE) | IWP_AUTHGRP | Authority Group | 20081215 | |||
| 6 | I_DB_SAVE | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | boolsche Variable (X=true, -=false, space=unknown) | 20081215 | ||
| 7 | I_TEMPLATE | Call by reference | Type reference (TYPE) | IWP_TEMPLATE | Work Package used as Template | 20081215 | |||
| 8 | I_USAGETYPE | Call by reference | Type reference (TYPE) | IWP_USETYP | Usage of the Work Package | 20081215 | |||
| 9 | I_WORK_PACKAGE_EXT | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE_EXT | Work Package | 20081215 | |||
| 10 | I_WP_DESCR | Call by reference | Type reference (TYPE) | IWP_DESCR | Description | 20081215 | |||
| 11 | I_WP_PATTERN | Call by reference | Type reference (TYPE) | IWP_WP_PATTERN | Audit package pattern | 20081215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081215 |
Method CREATE_WORK_PACKAGE_WITH_JOB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090724 | |||
| 2 | IT_ORIGIN_RANGE | Call by reference | Type reference (TYPE) | IWP_T_ORIGIN_RANGE | Origin Range Values | 20120721 | |||
| 3 | IT_URIS | Call by reference | Type reference (TYPE) | CL_ARC_DAS_CON_RW_BI_UPLOAD=>TT_RESULT_URIS | File structure to create a new work package | 20090724 | |||
| 4 | I_AUTHGRP | Call by reference | Type reference (TYPE) | IWP_AUTHGRP | Authority Group | 20090724 | |||
| 5 | I_TEMPLATE | Call by reference | Type reference (TYPE) | IWP_TEMPLATE | Work Package used as Template | 20090724 | |||
| 6 | I_USAGETYPE | Call by reference | Type reference (TYPE) | IWP_USETYP | Usage of the Work Package | 20090724 | |||
| 7 | I_WORK_PACKAGE_EXT | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE_EXT | Work Package | 20090724 | |||
| 8 | I_WP_DESCR | Call by reference | Type reference (TYPE) | IWP_DESCR | Description | 20090724 | |||
| 9 | I_WP_PATTERN | Call by reference | Type reference (TYPE) | IWP_WP_PATTERN | Audit package pattern | 20090724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090724 |
Method EXCLUDE_EXISTING_WORK_PACKAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_FILE | Call by reference | Type reference (TYPE) | IWP_T_FILE | Tabletype for IWP_S_FILE | 20071214 |
Method EXCLUDE_EXISTING_WORK_PACKAGES on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method GET_FILES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FILELIST | Call by reference | Type reference (TYPE) | IWP_T_FILE | Tabletype for IWP_S_FILE | 20071214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071214 |
Method GET_FILE_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARURI | Call by reference | Type reference (TYPE) | STRING | 20071218 | ||||
| 2 | RS_ARURI_INFO | Value transfer | Type reference (TYPE) | TY_ARURI_INFO | 20071218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error occured | 20071218 |
Method GET_FILE_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FILELIST | Call by reference | Type reference (TYPE) | IWP_T_FILE | Tabletype for IWP_S_FILE | 20071214 | |||
| 2 | I_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20071214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080102 |
Method GET_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_PATH | Value transfer | Type reference (TYPE) | STRING | 20091021 | ||||
| 2 | I_URI | Call by reference | Type reference (TYPE) | STRING | 20091021 |
Method GET_PATH on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method GET_URIS_FROM_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_FILE_INFO | Call by reference | Type reference (TYPE) | IWP_S_FILE | File structure to create a new work package | 20071217 | |||
| 2 | ET_ARURI | Call by reference | Type reference (TYPE) | IWP_T_STRING | List of Uris | 20071217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File not readable | 20071217 | ||
| 2 | Transformation failed | 20071217 |
Method GET_USAGETYPE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TEXT | Call by reference | Type reference (TYPE) | STRING | 30 Characters | 20071219 | |||
| 2 | I_USAGETYPE | Call by reference | Type reference (TYPE) | IWP_USETYP | Work Package Used For | 20071219 |
Method GET_USAGETYPE_TEXT on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method GET_XMLDAS_NAMETAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NAMETAB | Call by reference | Type reference (TYPE) | TTY_XMLDAS_NAMETAB | 20080313 | ||||
| 2 | IV_ARURI | Call by reference | Type reference (TYPE) | STRING | 20071218 |
Method GET_XMLDAS_NAMETAB on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method INSERT_WORK_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090115 | |||
| 2 | EV_WORK_PACKAGE | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE | Unique Identifier of a work package | 20071218 | |||
| 3 | IS_FILE | Call by reference | Type reference (TYPE) | IWP_S_FILE | File | 20071227 | |||
| 4 | IT_ARURI | Call by reference | Type reference (TYPE) | IWP_T_STRING | List of Uris | 20071218 | |||
| 5 | IT_ORIGIN_RANGE | Call by reference | Type reference (TYPE) | IWP_T_ORIGIN_RANGE | Origin Range Values | 20120721 | |||
| 6 | IV_AUTHGRP | Call by reference | Type reference (TYPE) | IWP_AUTHGRP | Authority Group | 20071218 | |||
| 7 | IV_DB_SAVE | Call by reference | Type reference (TYPE) | BOOLEAN | SPACE | Boolean Variable (X=True, -=False, Space=Unknown) | 20071218 | ||
| 8 | IV_TEMPLATE | Call by reference | Type reference (TYPE) | IWP_TEMPLATE | Work Package used as Template | 20080729 | |||
| 9 | IV_USAGETYPE | Call by reference | Type reference (TYPE) | IWP_USETYP | Usage of the Work Package | 20071218 | |||
| 10 | IV_WORK_PACKAGE_EXT | Call by reference | Type reference (TYPE) | IWP_WORK_PACKAGE_EXT | Work Package | 20071218 | |||
| 11 | IV_WP_DESCR | Call by reference | Type reference (TYPE) | IWP_DESCR | Description | 20080204 | |||
| 12 | IV_WP_PATTERN | Call by reference | Type reference (TYPE) | IWP_WP_PATTERN | Audit package pattern | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error occured | 20071218 |
Method LOCK_PROCESS Signature
Method LOCK_PROCESS on class CL_IWP_WORK_PACKAGE_CREATION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071214 |
Method SET_MARKFLAGS_FROM_PATTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RELANAMES | Call by reference | Type reference (TYPE) | IWP_T_RELANAMES | List of relation names | 20081217 | |||
| 2 | CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090714 | |||
| 3 | CT_VIEWS | Call by reference | Type reference (TYPE) | IWP_T_WP_VIEW | Tabletype for iwp_wp_view | 20081217 | |||
| 4 | CT_WP_PTH_STRC | Call by reference | Type reference (TYPE) | IWP_T_WP_PTH_STRC | Table of structures of pathes | 20081217 | |||
| 5 | IT_PATH_OTTYPE | Call by reference | Type reference (TYPE) | TTY_PATH_OBJECTTYPE | 20090305 | ||||
| 6 | IV_WP_PATTERN | Call by reference | Type reference (TYPE) | IWP_WP_PATTERN | Audit package pattern | 20081217 |
Method SET_MARKFLAGS_FROM_PATTERN on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
Method UNLOCK_PROCESS Signature
Method UNLOCK_PROCESS on class CL_IWP_WORK_PACKAGE_CREATION has no parameter.
Method UNLOCK_PROCESS on class CL_IWP_WORK_PACKAGE_CREATION has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 711 |