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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ARC_DAS_CON_RW_BI_UPLOAD 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 MV_LOGPATH Constant Private Type reference (TYPE) CHAR_LG_60 'ILM_EXCHANGE_PATH' logical Path 20071217
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_VIEWS_AS_RELATIONS Static method Private Method "Views" may also be used as "relations" (=> BW infosets) 20110323
2 CHECK_WP_NAME Static method Public Method Check if the external Audit Package name is unique 20071214
3 CONVERT_P6_TO_TIME Static method Private Method Time format conversiion p6->TIMS 20071214
4 CREATE_METADATA Static method Private Method Create Metadata from XMLDAS 20071218
5 CREATE_STRUC_ENTRY_FOR_VIEW Static method Private Method 20081218
6 CREATE_WORK_PACKAGE_FROM_FILE Static method Public Method Create a new audit package 20071217
7 CREATE_WORK_PACKAGE_FROM_LIST Static method Public Method Create a new audit package 20081215
8 CREATE_WORK_PACKAGE_WITH_JOB Static method Public Method Create a new audit package 20090724
9 EXCLUDE_EXISTING_WORK_PACKAGES Static method Private Method Exclude existing Audit Packages 20071214
10 GET_FILES Static method Public Method Get the files from Retention Manager 20071214
11 GET_FILE_INFO Static method Private Method Get file info from XML DAS 20071218
12 GET_FILE_LIST Static method Private Method Get the files within the directory 20071214
13 GET_PATH Static method Private Method 20091021
14 GET_URIS_FROM_FILE Static method Private Method Get the uris from a file 20071217
15 GET_USAGETYPE_TEXT Static method Public Method Get the text for the usage type 20071219
16 GET_XMLDAS_NAMETAB Static method Private Method Get Nametab from XMLDAS 20071218
17 INSERT_WORK_PACKAGE Static method Public Method Create a new audit package 20071218
18 LOCK_PROCESS Static method Public Method Locks the Process for creating Audit Packages 20071214
19 SET_MARKFLAGS_FROM_PATTERN Static method Private Method Mark structures, views and relations from template 20081217
20 UNLOCK_PROCESS 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 Changing CT_RELATION Call by reference Type reference (TYPE) TTY_RELATION 20110323
2 Importing 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 Importing I_WORK_PACKAGE_EXT Call by reference Type reference (TYPE) IWP_WORK_PACKAGE_EXT Work Package 20071214
# Exception Resumable Description Created on
1 ALREADY_EXISTING 20071214
2 NOT_ALLOWED 20080207
3 NO_VALUE 20071219

Method CONVERT_P6_TO_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting MOD_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20071214
2 Exporting MOD_TIME Call by reference Type reference (TYPE) CHAR8 Field of type TIMS 20071214
3 Importing 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 Exporting ET_C_STRC Call by reference Type reference (TYPE) TTY_C_STRC 20071218
2 Exporting ET_C_STRCT Call by reference Type reference (TYPE) TTY_C_STRCT 20071218
3 Exporting ET_DD07T Call by reference Type reference (TYPE) TTY_DD07T 20071218
4 Exporting ET_DD07V Call by reference Type reference (TYPE) TTY_DD07V 20071218
5 Exporting ET_METADATA Call by reference Type reference (TYPE) TTY_METADATA 20071218
6 Exporting ET_RELATION Call by reference Type reference (TYPE) TTY_RELATION 20071218
7 Exporting ET_SNMETA Call by reference Type reference (TYPE) IWP_T_SNMETA Table type for IWP_SNMETA 20081218
8 Importing IV_URI Call by reference Type reference (TYPE) STRING 20071218
# Exception Resumable Description Created on
1 ERROR_OCCURED 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 Changing CT_STRUC Call by reference Type reference (TYPE) IWP_T_WP_STRUC Table of structures of a workpackage 20081218
2 Importing IR_METADATA Call by reference Object reference (TYPE REF TO) DATA 20081218
3 Importing I_DVIEW Call by reference Type reference (TYPE) IWP_STRUC Structure 20081218
# Exception Resumable Description Created on
1 ERROR_OCCURED 20081218

Method CREATE_WORK_PACKAGE_FROM_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20090115
2 Exporting E_WORK_PACKAGE Call by reference Type reference (TYPE) IWP_WORK_PACKAGE Unique Identifier of a work package 20071217
3 Importing IS_FILE Call by reference Type reference (TYPE) IWP_S_FILE File structure to create a new work package 20071217
4 Importing IT_ORIGIN_RANGE Call by reference Type reference (TYPE) IWP_T_ORIGIN_RANGE Origin Range Values 20120721
5 Importing I_AUTHGRP Call by reference Type reference (TYPE) IWP_AUTHGRP Authority Group 20071217
6 Importing I_DB_SAVE Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE boolsche Variable (X=true, -=false, space=unknown) 20080116
7 Importing I_TEMPLATE Call by reference Type reference (TYPE) IWP_TEMPLATE Work Package used as Template 20080729
8 Importing I_USAGETYPE Call by reference Type reference (TYPE) IWP_USETYP Usage of the Work Package 20071217
9 Importing I_WORK_PACKAGE_EXT Call by reference Type reference (TYPE) IWP_WORK_PACKAGE_EXT Work Package 20071217
10 Importing I_WP_DESCR Call by reference Type reference (TYPE) IWP_DESCR Description 20080204
11 Importing I_WP_PATTERN Call by reference Type reference (TYPE) IWP_WP_PATTERN Audit package pattern 20081218
# Exception Resumable Description Created on
1 ERROR_OCCURED 20071217

Method CREATE_WORK_PACKAGE_FROM_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20090115
2 Exporting E_WORK_PACKAGE Call by reference Type reference (TYPE) IWP_WORK_PACKAGE Unique Identifier of a work package 20081215
3 Importing IT_ORIGINS_RANGE Call by reference Type reference (TYPE) IWP_T_ORIGIN_RANGE Origin Range Values 20120721
4 Importing 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 Importing I_AUTHGRP Call by reference Type reference (TYPE) IWP_AUTHGRP Authority Group 20081215
6 Importing I_DB_SAVE Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE boolsche Variable (X=true, -=false, space=unknown) 20081215
7 Importing I_TEMPLATE Call by reference Type reference (TYPE) IWP_TEMPLATE Work Package used as Template 20081215
8 Importing I_USAGETYPE Call by reference Type reference (TYPE) IWP_USETYP Usage of the Work Package 20081215
9 Importing I_WORK_PACKAGE_EXT Call by reference Type reference (TYPE) IWP_WORK_PACKAGE_EXT Work Package 20081215
10 Importing I_WP_DESCR Call by reference Type reference (TYPE) IWP_DESCR Description 20081215
11 Importing I_WP_PATTERN Call by reference Type reference (TYPE) IWP_WP_PATTERN Audit package pattern 20081215
# Exception Resumable Description Created on
1 ERROR_OCCURED 20081215

Method CREATE_WORK_PACKAGE_WITH_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20090724
2 Importing IT_ORIGIN_RANGE Call by reference Type reference (TYPE) IWP_T_ORIGIN_RANGE Origin Range Values 20120721
3 Importing 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 Importing I_AUTHGRP Call by reference Type reference (TYPE) IWP_AUTHGRP Authority Group 20090724
5 Importing I_TEMPLATE Call by reference Type reference (TYPE) IWP_TEMPLATE Work Package used as Template 20090724
6 Importing I_USAGETYPE Call by reference Type reference (TYPE) IWP_USETYP Usage of the Work Package 20090724
7 Importing I_WORK_PACKAGE_EXT Call by reference Type reference (TYPE) IWP_WORK_PACKAGE_EXT Work Package 20090724
8 Importing I_WP_DESCR Call by reference Type reference (TYPE) IWP_DESCR Description 20090724
9 Importing I_WP_PATTERN Call by reference Type reference (TYPE) IWP_WP_PATTERN Audit package pattern 20090724
# Exception Resumable Description Created on
1 ERROR_OCCURED 20090724

Method EXCLUDE_EXISTING_WORK_PACKAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing 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 Exporting ET_FILELIST Call by reference Type reference (TYPE) IWP_T_FILE Tabletype for IWP_S_FILE 20071214
# Exception Resumable Description Created on
1 ERROR_DURING_FILE_SELECTION 20071214

Method GET_FILE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ARURI Call by reference Type reference (TYPE) STRING 20071218
2 Returning RS_ARURI_INFO Value transfer Type reference (TYPE) TY_ARURI_INFO 20071218
# Exception Resumable Description Created on
1 ERROR_OCCURED error occured 20071218

Method GET_FILE_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FILELIST Call by reference Type reference (TYPE) IWP_T_FILE Tabletype for IWP_S_FILE 20071214
2 Importing I_DIRECTORY Call by reference Type reference (TYPE) STRING 20071214
# Exception Resumable Description Created on
1 FILE_ERROR 20080102

Method GET_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_PATH Value transfer Type reference (TYPE) STRING 20091021
2 Importing 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 Changing CS_FILE_INFO Call by reference Type reference (TYPE) IWP_S_FILE File structure to create a new work package 20071217
2 Exporting ET_ARURI Call by reference Type reference (TYPE) IWP_T_STRING List of Uris 20071217
# Exception Resumable Description Created on
1 FILE_ERROR File not readable 20071217
2 TRANSFORMATION_FAILED Transformation failed 20071217

Method GET_USAGETYPE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TEXT Call by reference Type reference (TYPE) STRING 30 Characters 20071219
2 Importing 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 Exporting ET_NAMETAB Call by reference Type reference (TYPE) TTY_XMLDAS_NAMETAB 20080313
2 Importing 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20090115
2 Exporting EV_WORK_PACKAGE Call by reference Type reference (TYPE) IWP_WORK_PACKAGE Unique Identifier of a work package 20071218
3 Importing IS_FILE Call by reference Type reference (TYPE) IWP_S_FILE File 20071227
4 Importing IT_ARURI Call by reference Type reference (TYPE) IWP_T_STRING List of Uris 20071218
5 Importing IT_ORIGIN_RANGE Call by reference Type reference (TYPE) IWP_T_ORIGIN_RANGE Origin Range Values 20120721
6 Importing IV_AUTHGRP Call by reference Type reference (TYPE) IWP_AUTHGRP Authority Group 20071218
7 Importing IV_DB_SAVE Call by reference Type reference (TYPE) BOOLEAN SPACE Boolean Variable (X=True, -=False, Space=Unknown) 20071218
8 Importing IV_TEMPLATE Call by reference Type reference (TYPE) IWP_TEMPLATE Work Package used as Template 20080729
9 Importing IV_USAGETYPE Call by reference Type reference (TYPE) IWP_USETYP Usage of the Work Package 20071218
10 Importing IV_WORK_PACKAGE_EXT Call by reference Type reference (TYPE) IWP_WORK_PACKAGE_EXT Work Package 20071218
11 Importing IV_WP_DESCR Call by reference Type reference (TYPE) IWP_DESCR Description 20080204
12 Importing IV_WP_PATTERN Call by reference Type reference (TYPE) IWP_WP_PATTERN Audit package pattern 20081218
# Exception Resumable Description Created on
1 ERROR_OCCURED 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 ENQUEUE_ERROR 20071214

Method SET_MARKFLAGS_FROM_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RELANAMES Call by reference Type reference (TYPE) IWP_T_RELANAMES List of relation names 20081217
2 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20090714
3 Changing CT_VIEWS Call by reference Type reference (TYPE) IWP_T_WP_VIEW Tabletype for iwp_wp_view 20081217
4 Changing CT_WP_PTH_STRC Call by reference Type reference (TYPE) IWP_T_WP_PTH_STRC Table of structures of pathes 20081217
5 Importing IT_PATH_OTTYPE Call by reference Type reference (TYPE) TTY_PATH_OBJECTTYPE 20090305
6 Importing 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