SAP ABAP Class CL_CPRO_WEBDAV_UTILS (Help Class for WebDAV Functionality in CPRO)
Hierarchy
☛ CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   ⤷ PLM (Application Component) Product Lifecycle Management
     ⤷ CPRO (Package) Interface for File Explorer Integration
Properties
Class CL_CPRO_WEBDAV_UTILS  
Short Description Help Class for WebDAV Functionality in CPRO    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CPRO   Interface for File Explorer Integration 
Created 20050309   SAP 
Last change 20141109    
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 CPRO1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SKWHC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CPRO_WEBDAV_UTILS has no interface implemented.
Friends
Class CL_CPRO_WEBDAV_UTILS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SC_APPL_ID_CFOLDERS Constant Public Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID 'CFX' WebDAV Identifier for Application 20050313
2 SC_APPL_ID_CPROJECTS Constant Public Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID 'DPR' WebDAV Identifier for Application 20050313
3 SC_ERR_CFX_API Constant Public Type reference (TYPE) INT4 1001 CFX: Error when Calling an API 20050321
4 SC_ERR_DPR_BAPI Constant Public Type reference (TYPE) INT4 2001 DPR: Error when Calling a BAPI 20050321
5 S_HAS_REFRESHED_BUFFERS Static Attribute Private Type reference (TYPE) CPRO_API_T_FLAG Single-Character Field; Can Also Be Used as Boolean (X=True) 20050320
6 S_IS_STATEFUL_SESSION Static Attribute Private Type reference (TYPE) CPRO_API_T_FLAG SPACE Single-Character Field; Can Also Be Used as Boolean (X=True) 20050311
7 S_LAST_REFRESH_TIMESTAMP Static Attribute Private Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20050317
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_NAME Static method Private Method Prüfen, ob der Name enthält vebotene Zeichen 20100301
2 CHECK_SUCCESS Static method Public Method Checks Whether Status Code of Response is 2xx (= Success) 20050802
3 GET_CPROW_CUST Static method Private Method Gets Customizing Entry from CPROW_CUST 20050314
4 GET_EXTERNAL_ID Static method Public Method Returns External ID of a cFolders/cProjects Object 20050315
5 GET_INDEX_USER Static method Public Method Gets User Name Specified in Customizing (Index Service) 20050311
6 GET_REFRESH_TIME Static method Private Method Gets Cache Invalidation Time from Customizing 20050316
7 GET_UNIQUE_NAME Static method Public Method Gets Unique Name of a cFolders/cProjects Object 20050322
8 GET_WEBDAV_URL Static method Public Method Constructs WebDAV URL for Specified Object 20050309
9 HANDLE_ERROR Static method Public Method Checks Handling of Errors 20050321
10 IS_IN_RETRY_MODE Static method Public Method Checks Whether Process Works with Current Data in Cache 20050320
11 IS_WEBDAV_CFX_ACTIVE Static method Public Method Gets Switch Value: WebDAV for cFolders Is Active 20050311
12 IS_WEBDAV_DPR_ACTIVE Static method Public Method Gets Switch Value: WebDAV for cProjects Is Active 20050311
13 REFRESH_BUFFERS Static method Public Method Deletes Buffered Application Data from Cache 20050320
14 SET_SERVER_IDENTIFICATION Static method Public Method Sets 'X Features Field in Response to an HTTP Request 20050801
15 SET_SESSION_STATE Static method Public Method Checks Whether WebDAV Connection Is Dependent on Condition 20050311
16 UNESCAPE_INPUT_UTF8 Static method Public Method Executes URL Escaping on a String 20050519
Events
Class CL_CPRO_WEBDAV_UTILS has no event.
Types
Class CL_CPRO_WEBDAV_UTILS has no local type.
Method Signatures

Method CHECK_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100301
2 Returning RV_OK Value transfer Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20100301

Method CHECK_NAME on class CL_CPRO_WEBDAV_UTILS has no exception.

Method CHECK_SUCCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20050802
2 Returning R_IS_SUCCESS Value transfer Type reference (TYPE) CPRO_API_T_FLAG einstelliges Feld; auch als Boolean verwendbar (X=true) 20050802

Method CHECK_SUCCESS on class CL_CPRO_WEBDAV_UTILS has no exception.

Method GET_CPROW_CUST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CPROW_CUST Call by reference Type reference (TYPE) CPROW_CUST Einstellungen zur WebDAV-Schnittstelle festlegen 20050314
# Exception Resumable Description Created on
1 NO_CUSTOMIZING_ENTRY_FOUND Kein Customizing-Eintrag zur WebDAV-Schnittstelle vorhanden 20050314

Method GET_EXTERNAL_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL_ID Call by reference Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID WebDAV Identifikator der Anwendung 20050315
2 Importing I_GUID Call by reference Type reference (TYPE) GUID_32 GUID im 'CHAR' Format in Großschreibung 20050315
3 Importing I_OBJECT_TYPE Call by reference Type reference (TYPE) CPRO_WEBDAV_T_OBJECT_TYPE Objekttyp 20050315
4 Returning R_EXTERNAL_ID Value transfer Type reference (TYPE) STRING Externe ID 20050315
# Exception Resumable Description Created on
1 EXTERNAL_NUMBERS_USED_UP Die letzte Nummer des Nummernkreis-Intervalls wurde vergeben 20050315
2 RETRIEVING_EXTERNAL_ID_FAILED Fehler beim Vergeben einer externen Nummer 20050315

Method GET_INDEX_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_INDEX_USER Value transfer Type reference (TYPE) CPRO_WEBDAV_T_INDEX_USER Benutzername für Index Service 20050311
# Exception Resumable Description Created on
1 NO_INDEX_USER_FOUND Kein Benutzer als Index Service Benutzer definiert 20050311

Method GET_REFRESH_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_REFRESH_TIME Value transfer Type reference (TYPE) CPRO_WEBDAV_T_REFRESH_TIME Nach dieser Zeit werden Caches invalidiert 20050316

Method GET_REFRESH_TIME on class CL_CPRO_WEBDAV_UTILS has no exception.

Method GET_UNIQUE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_GUID_UNIQUE_NAME Call by reference Type reference (TYPE) CPRO_WEBDAV_TT_GUID_UNIQU_NAME Tabelle: Objekt-GUIDs mit zugehörigen WebDAV-Namen 20050322
# Exception Resumable Description Created on
1 NO_UNIQUE_NAME Fehler beim Holen der externen IDs für die eindeutigen Namen 20050322

Method GET_WEBDAV_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NUMBERS_NEARLY_USED_UP Call by reference Type reference (TYPE) CPRO_API_T_FLAG einstelliges Feld; auch als Boolean verwendbar (X=true) 20050310
2 Exporting E_WEBDAV_URL Call by reference Type reference (TYPE) STRING WebDAV URL 20050309
3 Importing I_APPL_ID Call by reference Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID WebDAV Identifikator der Anwendung 20050313
4 Importing I_GUID Call by reference Type reference (TYPE) GUID_32 GUID im 'CHAR' Format in Großschreibung 20050309
5 Importing I_NAME Call by reference Type reference (TYPE) STRING Name des Objekts 20050315
6 Importing I_OBJECT_TYPE Call by reference Type reference (TYPE) CPRO_WEBDAV_T_OBJECT_TYPE Objekttyp 20050309
# Exception Resumable Description Created on
1 BUILDING_WEBDAV_URL_FAILED Fehler beim Zusammenbau der WebDAV URL 20050310
2 EXTERNAL_NUMBERS_USED_UP Die letzte Nummer des Nummernkreis-Intervalls wurde vergeben 20050310
3 NO_URL_FOUND Keine WebDAV URL definiert 20050314

Method HANDLE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CPRO_FAULT Call by reference Type reference (TYPE) CPRO_API_TS_RETURN_CODE Allgemeine Rückgabestruktur mit Fehlerbeschreibung 20050321
2 Importing IS_CFX_FAULT Call by reference Type reference (TYPE) CFX_API_TS_FAULT Fehler in Anlehnung an SOAP 20050321
3 Importing IS_CPRO_FAULT Call by reference Type reference (TYPE) CPRO_API_TS_RETURN_CODE Allgemeine Rückgabestruktur mit Fehlerbeschreibung 20050321
4 Importing I_APPL_ID Call by reference Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID WebDAV Identifikator der Anwendung 20050321
5 Importing I_CFX_FAULTSTRING Call by reference Type reference (TYPE) CFX_API_T_FAULTSTRING Kurzer Fehlertext für Anwender 20050321

Method HANDLE_ERROR on class CL_CPRO_WEBDAV_UTILS has no exception.

Method IS_IN_RETRY_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_IS_IN_RETRY_MODE Value transfer Type reference (TYPE) CPRO_API_T_FLAG einstelliges Feld; auch als Boolean verwendbar (X=true) 20050320

Method IS_IN_RETRY_MODE on class CL_CPRO_WEBDAV_UTILS has no exception.

Method IS_WEBDAV_CFX_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_WEBDAV_CFX_ACTIVE Value transfer Type reference (TYPE) CPRO_API_T_FLAG einstelliges Feld; auch als Boolean verwendbar (X=true) 20050311

Method IS_WEBDAV_CFX_ACTIVE on class CL_CPRO_WEBDAV_UTILS has no exception.

Method IS_WEBDAV_DPR_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_WEBDAV_DPR_ACTIVE Value transfer Type reference (TYPE) CPRO_API_T_FLAG einstelliges Feld; auch als Boolean verwendbar (X=true) 20050311

Method IS_WEBDAV_DPR_ACTIVE on class CL_CPRO_WEBDAV_UTILS has no exception.

Method REFRESH_BUFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CPRO_FAULT Call by reference Type reference (TYPE) CPRO_API_TS_RETURN_CODE Allgemeine Rückgabestruktur mit Fehlerbeschreibung 20050321
2 Importing I_APPL_ID Call by reference Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID WebDAV Identifikator der Anwendung 20050320

Method REFRESH_BUFFERS on class CL_CPRO_WEBDAV_UTILS has no exception.

Method SET_SERVER_IDENTIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20050801

Method SET_SERVER_IDENTIFICATION on class CL_CPRO_WEBDAV_UTILS has no exception.

Method SET_SESSION_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CPRO_FAULT Call by reference Type reference (TYPE) CPRO_API_TS_RETURN_CODE Allgemeine Rückgabestruktur mit Fehlerbeschreibung 20050321
2 Importing IP_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20050322
3 Importing I_APPL_ID Call by reference Type reference (TYPE) CPRO_WEBDAV_T_APPL_ID WebDAV Identifikator der Anwendung 20050320

Method SET_SESSION_STATE on class CL_CPRO_WEBDAV_UTILS has no exception.

Method UNESCAPE_INPUT_UTF8 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_UTF8_ESCAPED Call by reference Type reference (TYPE) STRING UTF-8-kodierter String 20050519
2 Returning R_UNESCAPED Value transfer Type reference (TYPE) STRING Unkodierter String 20050519

Method UNESCAPE_INPUT_UTF8 on class CL_CPRO_WEBDAV_UTILS has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 400