SAP ABAP Class /ASU/CL_CONTENT_MANAGER (Manage ASU content)
Hierarchy
ST-PI (Software Component) SAP Solution Tools Plug-In
   SV-SMG-ASU (Application Component) Application-Specific Upgrade
     /ASU/MAIN (Package) Application-Specific Upgrade
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /ASU/IF_XML_TAGS ASU XML Tags Definition 20080507
Properties
Class /ASU/CL_CONTENT_MANAGER  
Short Description Manage ASU content    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /ASU/MAIN   Application-Specific Upgrade 
Created 20070327   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /ASU/CL_CUSTOMIZING Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 /ASU/IF_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 CL_IXML Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 CL_UACC_FRAMEWORK_MANAGER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
6 IXML Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 SBDST Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 /ASU/IF_XML_TAGS ASU XML Tags Definition 20080507
Friends
Class /ASU/CL_CONTENT_MANAGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CCCATEGORY_CUSTOMIZING Constant Protected Type reference (TYPE) CCCATEGORY 'C' Client control: Role of client (production, test,...) 20080513
2 GC_CCCATEGORY_DEMO Constant Protected Type reference (TYPE) CCCATEGORY 'D' Client control: Role of client (production, test,...) 20080513
3 GC_CCCATEGORY_PRODUCTION Constant Protected Type reference (TYPE) CCCATEGORY 'P' Client control: Role of client (production, test,...) 20080513
4 GC_CCCATEGORY_REFERENCE Constant Protected Type reference (TYPE) CCCATEGORY 'S' Client control: Role of client (production, test,...) 20080513
5 GC_CCCATEGORY_TEST Constant Protected Type reference (TYPE) CCCATEGORY 'T' Client control: Role of client (production, test,...) 20080513
6 GC_CCCATEGORY_TRAINING Constant Protected Type reference (TYPE) CCCATEGORY 'E' Client control: Role of client (production, test,...) 20080513
7 GC_INSERT Constant Public Type reference (TYPE) CHAR1 'I' Insert Mode 20080908
8 GC_MODIFY Constant Public Type reference (TYPE) CHAR1 'M' Modify Mode 20080908
9 GT_ATTRIBUTES Static Attribute Protected Type reference (TYPE) /ASU/ATTRIBUTE_CUSTOMIZING_T Table Type: ASU Attribut Customizing 20080929
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_VERSION Instance method Public Method Check if ASU Content Version is newer than installed one 20070910
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080929
3 CONCATENATE_DIR_FILE Instance method Protected Method Concatenate Directory & Filename to get full filename 20071119
4 COPY_VERSION Instance method Public Method Copy an existing ASU Content Version to a new one 20080723
5 CREATE_BDS_CONTENT Instance method Protected Method Store Office documents on BDS 20090429
6 CREATE_VERSION Instance method Public Method Create new ASU Content Version 20070907
7 DELETE_VERSION Instance method Public Method Delete existing ASU Content Version 20070910
8 FILE_EXISTS Instance method Protected Method File Exists (Presentation Server / Application Server) 20071107
9 FILE_UPLOAD Instance method Public Method Frontend Upload of new ASU Content Version 20070910
10 FILE_UPLOAD_FROM_AS Instance method Protected Method Upload file from Application Server 20071106
11 GET_HIGHEST_INSTALLED_CT_VERS Static method Public Method Get version with highest installed version number 20070906
12 GET_PATH_AND_NAME Static method Public Method Get path and filename 20070907
13 HANDLE_CLIENT_DEPENDENCCY Instance method Protected Method Handle client dependency of a client-dependent step 20080508
14 PROCESS_DOM Instance method Protected Method Process DOM iXML 20070911
15 READ_ALL_VERSIONS Static method Public Method Read add ASU Content Version stored on database 20070906
16 READ_OBJECT Static method Public Method Read an existing ASU Content Version according to given keys 20071008
17 READ_OBJECTS Static method Public Method Read existing ASU Content Versions according to given keys 20070906
18 READ_VERSION Instance method Public Method Read existing ASU Content Version 20070907
19 UPDATE_TASKLIST Instance method Public Method Update existing Tasklist in ASU Content Version 20070910
20 UPDATE_VERSION Instance method Public Method Update existing ASU Content Version 20070910
21 XML_TRANSFORMATION Instance method Public Method Transform given ASU XML file to corresponding ABAP types 20070910
Events
Class /ASU/CL_CONTENT_MANAGER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_CONTENT_VERSION_TEXT Protected See coding 20070626
2 TY_OBJECT_ITEM_TEXT Protected See coding 20070622
Method Signatures

Method CHECK_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HIGHEST_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION_HEADER Application Specific Upgrade: Content Version 20071106
2 Importing IM_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070910
3 Importing IM_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070910
4 Importing IM_XML_DEP_TAB Call by reference Type reference (TYPE) /ASU/XML_DEPENDENCY_T Table Type /ASU/XML_DEPENDENCY 20080605
# Exception Resumable Description Created on
1 OLD_VERSION That's an old version 20070910
2 WRONG_DEPENDENCY Step Dependency definition not consistent 20080605

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class /ASU/CL_CONTENT_MANAGER has no parameter.
Method CLASS_CONSTRUCTOR on class /ASU/CL_CONTENT_MANAGER has no exception.

Method CONCATENATE_DIR_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DIRECTORY Call by reference Type reference (TYPE) STRING Directory 20071119
2 Importing IM_FILENAME Call by reference Type reference (TYPE) STRING Filename 20071119
3 Returning RE_FILE Value transfer Type reference (TYPE) STRING Full Filename with Path 20071119
# Exception Resumable Description Created on
1 FILENAME_ERROR Error when deriving full filename 20071119

Method COPY_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CT_VERSION_H Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION_HEADER Application Specific Upgrade: Content Version 20080723
2 Returning RE_COPIED_CT_VERSION Value transfer Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20080723
# Exception Resumable Description Created on
1 CONTENT_VERSION_NOT_FOUND Reference ASU Content Version doesn't exists 20080723
2 DEPENDENCY_ERROR Error within defined dependency steps 20080723
3 UPDATE_ERROR Error when updating database tables 20080723

Method CREATE_BDS_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_TEXTS Call by reference Type reference (TYPE) /ASU/CONTENT_LAISO_TEXT_T Table Type ASU Text Definitions 20090429
2 Importing IM_DIRECTORY Call by reference Type reference (TYPE) STRING Directory to read from the Office Files 20090429
3 Importing IM_UPLOAD_FROM_AS Call by reference Type reference (TYPE) BOOLE_D ' ' Upload IM_FILENAME from Application Server 20090429
# Exception Resumable Description Created on
1 GENERAL_ERROR General Error 20090429
2 MIMETYPE_MISSING Mimetype of description file is missing 20090429
3 MISSING_AUTHORIZATION Some authorizations are missing 20090429
4 UNKNOWN_MIMETYPE Mimetype not defined within SAP table TOADD 20090429

Method CREATE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070907
2 Importing IM_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070907
3 Importing IM_REFERENCE_CT_VERSION_H Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION_HEADER Reference ASU CT Version 20080804
4 Importing IM_XML_DEP_TAB Call by reference Type reference (TYPE) /ASU/XML_DEPENDENCY_T Table Type /ASU/XML_DEPENDENCY 20080605
# Exception Resumable Description Created on
1 DEPENDENCY_ERROR Error within defined dependency steps 20080604
2 UPDATE_ERROR Error when updating database tables 20070907

Method DELETE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20080709
2 Importing IM_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070910
# Exception Resumable Description Created on
1 NOT_FOUND Not found 20080709
2 UPDATE_ERROR Update Error 20080709

Method FILE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DIRECTORY Call by reference Type reference (TYPE) STRING Directory on Presentation Server 20071113
2 Importing IM_FILENAME Call by reference Type reference (TYPE) BDS_FILENA Business Document Service: File names 20071107
3 Importing IM_UPLOAD_FROM_AS Call by reference Type reference (TYPE) BOOLE_D ' ' Upload IM_FILENAME from Application Server 20071107
# Exception Resumable Description Created on
1 FILE_NOT_FOUND File not found 20071107

Method FILE_UPLOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070910
2 Exporting EX_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070910
3 Exporting EX_XML_DEP_TAB Call by reference Type reference (TYPE) /ASU/XML_DEPENDENCY_T Dependency Table 20080605
4 Importing IM_FILENAME Call by reference Type reference (TYPE) STRING 20070910
5 Importing IM_UPLOAD_FROM_AS Call by reference Type reference (TYPE) BOOLE_D ' ' Upload IM_FILENAME from Application Server 20071106
6 Importing IM_XML Call by reference Type reference (TYPE) XSTRING 20070910
# Exception Resumable Description Created on
1 ERROR_WHEN_READING_FILE Error when reading file from frontend 20070910
2 FILE_NOT_FOUND Description File not found on frontend 20070910
3 GENERAL_ERROR General Error 20070910
4 MIMETYPE_MISSING Mimetype of description file is missing 20070910
5 MISSING_AUTHORIZATION Some authorizations are missing 20070910
6 UNKNOWN_MIMETYPE Mimetype not defined within SAP table TOADD 20070910

Method FILE_UPLOAD_FROM_AS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BDS_TAB Call by reference Type reference (TYPE) BOOLEAN ' ' BSD Tab as result required 20071113
2 Changing DATA_TAB Call by reference Type reference (TYPE) /ASU/BIN8000_T Table Typ - Application Specific Upgrade BIN8000 20071106
3 Changing DATA_TAB_1022 Call by reference Type reference (TYPE) SBDST_CONTENT Table Type - BDS like 20071113
4 Importing DIRECTORY Call by reference Type reference (TYPE) STRING SPACE Directory 20071119
5 Exporting FILELENGTH Call by reference Type reference (TYPE) I Filelength 20071106
6 Importing FILENAME Call by reference Type reference (TYPE) STRING Filename 20071106
# Exception Resumable Description Created on
1 ERROR_WHEN_READING_FILE Error when reading file from frontend 20071106
2 FILE_NOT_FOUND Description File not found on frontend 20071106

Method GET_HIGHEST_INSTALLED_CT_VERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SCENARIO Call by reference Type reference (TYPE) /ASU/SCENARIO Application Specific Upgrade: Scenario 20070907
2 Returning RE_CONTENT_VERSION Value transfer Type reference (TYPE) /ASU/CONTENT_VERSION_HEADER Application Specific Upgrade: Content Version 20070907
# Exception Resumable Description Created on
1 NOT_FOUND CT version not found 20070906

Method GET_PATH_AND_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXTENSION Call by reference Type reference (TYPE) STRING File Extension 20070907
2 Exporting EX_FILE_NAME Call by reference Type reference (TYPE) STRING File Name 20070907
3 Exporting EX_PATH_NAME Call by reference Type reference (TYPE) STRING Path name 20070907
4 Importing IM_COMPLETE_PATH Call by reference Type reference (TYPE) STRING Complete path (incl. filename) 20070907

Method GET_PATH_AND_NAME on class /ASU/CL_CONTENT_MANAGER has no exception.

Method HANDLE_CLIENT_DEPENDENCCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20080508
2 Importing IM_CT_OBJECT Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT Application Specific Upgrade. Single ASU Content Object 20080508

Method HANDLE_CLIENT_DEPENDENCCY on class /ASU/CL_CONTENT_MANAGER has no exception.

Method PROCESS_DOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070911
2 Exporting EX_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070911
3 Exporting EX_XML_DEP_TAB Call by reference Type reference (TYPE) /ASU/XML_DEPENDENCY_T Dependency Table 20080605
4 Importing IM_IXML_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20070911

Method PROCESS_DOM on class /ASU/CL_CONTENT_MANAGER has no exception.

Method READ_ALL_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU R/3 System, current language 20070907
2 Returning RE_ASU_VERSION_TAB Value transfer Type reference (TYPE) /ASU/CONTENTV_DESCR_T Table Type - Application Specific Upgrade: Content Version 20070907

Method READ_ALL_VERSIONS on class /ASU/CL_CONTENT_MANAGER has no exception.

Method READ_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT Application Specific Upgrade. Single ASU Content Object 20071008
2 Exporting EX_CT_OBJECT_DEP_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_DEP_T Table Type /ASU/XML_DEPENDENCY 20080605
3 Importing IM_CT_KEY Call by reference Type reference (TYPE) /ASU/CONTENT_KEY Application Specific Upgrade. Key of a ASU Content Object 20071008
# Exception Resumable Description Created on
1 NOT_FOUND Given CT Version not found 20071008

Method READ_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT_DEP_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_DEP_T Table Type /ASU/XML_DEPENDENCY 20080605
2 Exporting EX_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070906
3 Importing IM_CT_KEY_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_KEY_T Application Specific Upgrade: Content Version 20070906
# Exception Resumable Description Created on
1 NOT_FOUND Given CT Version not found 20070906

Method READ_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT_DEP_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_DEP_T Table Type - ASU Dependency of ASU Content Step 20080605
2 Exporting EX_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070907
3 Exporting EX_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070907
4 Importing IM_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION_HEADER Application Specific Upgrade: Content Version 20070907
# Exception Resumable Description Created on
1 CONTENT_VERSION_NOT_FOUND ASU Content Version not found 20070907

Method UPDATE_TASKLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CT_VERSION_H Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION_HEADER Application Specific Upgrade: Content Version 20070910
2 Importing IM_TASKLIST Call by reference Type reference (TYPE) PEPPROFILE Schedule Manager: Task lis 20070910
# Exception Resumable Description Created on
1 GENERAL_ERROR General Error 20070910
2 NOT_FOUND Content Version not found on database 20070910
3 UPDATE_ERROR Update Error 20070910

Method UPDATE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Objects which have to be updated 20080702
2 Exporting EX_UPDATED_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Additional Changed Objects when updating CH_CT_OBJECT_TAB 20080807
3 Importing IM_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070910
4 Importing IM_MODUS Call by reference Type reference (TYPE) CHAR1 Single-character flag 20080908
# Exception Resumable Description Created on
1 NOT_FOUND Not found 20070910
2 UPDATE_ERROR Upadte Error 20070910

Method XML_TRANSFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CT_OBJECT_TAB Call by reference Type reference (TYPE) /ASU/CONTENT_OBJECT_T Table Type - Application Specific Upgrade. Single ASU Object 20070910
2 Exporting EX_CT_VERSION Call by reference Type reference (TYPE) /ASU/CONTENT_VERSION Application Specific Upgrade: Content Version 20070910
3 Exporting EX_XML_DEP_TAB Call by reference Type reference (TYPE) /ASU/XML_DEPENDENCY_T Dependency Table 20080605
4 Importing IM_XML Call by reference Type reference (TYPE) /ASU/BIN8000_T Table Typ - Application Specific Upgrade BIN1024 20070910
5 Importing IM_XML_LENGTH Call by reference Type reference (TYPE) I Length of the XML file 20070911
# Exception Resumable Description Created on
1 ERROR_WITHIN_XML Error with ASU XML definition file 20070911
History
Last changed by/on SAP  20140121 
SAP Release Created in 2005_1_620