SAP ABAP Class /SRMERP/CL_OCI_UTILITY (Utility Class for OCI Integration)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-SSP (Application Component) Self-Service Procurement
     /SRMERP/OL_BO_CTLG_CTRL (Package) Catalog controller objects
Properties
Class /SRMERP/CL_OCI_UTILITY  
Short Description Utility Class for OCI Integration    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /SRMERP/OL_BO_CTLG_CTRL   Catalog controller objects 
Created 20100615   SAP 
Last change 20130531   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)
Interfaces
Class /SRMERP/CL_OCI_UTILITY has no interface implemented.
Friends
Class /SRMERP/CL_OCI_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_CAT_ENTRY Static Attribute Private Type reference (TYPE) TT_CATALOG_ENTITY 20100708
2 MT_CAT_VALUES Static Attribute Private Type reference (TYPE) WSI_CALLSTRUC_T Table Type Call Structure 20100708
3 MV_USE_URL_INB_HDLR Static Attribute Public Type reference (TYPE) ABAP_BOOL 'X' 20100615
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CATALOG_REACHABLE Static method Public Method Check whether catalog is reachable 20110617
2 CHECK_MATERIAL_EXISTENCE Static method Public Method Check the existence of a material 20101025
3 CREATE_CAR Static method Public Method create catalog access result object 20100727
4 DECOMPOSE_URL Static method Private Method extract host port scheme and path from a URL 20100813
5 GET_CATALOG_LIST Static method Public Method get the list of valid catalogs for the curent user 20101013
6 GET_CATALOG_PARAMETERS Static method Public Method Get Catalog Parameter as Launchpad Parameter 20100615
7 GET_CATALOG_URL Static method Public Method Get Catalog URL as String 20100615
8 GET_CURRENT_URL Static method Protected Method Get current URLas String 20100615
9 GET_FORWARD_PARAM_TECH Static method Public Method Get Forwarding Parameter Technique for Catalog 20100708
10 GET_PLANT_USER_DATA Static method Public Method get plant, plant description and plant currency for the user 20101025
11 GET_RETURN_URL Static method Public Method Get Return URL as Launchpad Parameter 20100615
12 GET_RETURN_URL_INB_HDLR Static method Protected Method Get Return URL for Inbound Handler as String 20100615
13 LINE_PREFETCH Static method Private Method checks if there are Name/ValuePairs for one more line 20100726
14 MAP_FIELDS_TO_STRUCTURE Static method Private Method Maps HTTP name/Value Pairs to a given DDIC structure 20100726
15 MAP_XML_TO_STRUCTURE Static method Private Method 20100804
16 VALIDATE_PRODUCT Static method Public Method perform the oci product validation 20100805
Events
Class /SRMERP/CL_OCI_UTILITY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_CATALOG_ENTITY Private See coding 20100708 TT_CATALOG_ENTITY type standard table of WSI_ENTITY
Method Signatures

Method CHECK_CATALOG_REACHABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20110617

Method CHECK_CATALOG_REACHABLE on class /SRMERP/CL_OCI_UTILITY has no exception.

Method CHECK_MATERIAL_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MATNR Call by reference Type reference (TYPE) WSI_OCI_PRODUCT Material Number 20101026
2 Importing IV_PLANT_ID Call by reference Type reference (TYPE) WERKS_D Plant Table for National (Centrally Agreed) Contracts 20101026
3 Returning RV_MATERIAL_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20101026

Method CHECK_MATERIAL_EXISTENCE on class /SRMERP/CL_OCI_UTILITY has no exception.

Method CREATE_CAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ROOT_NODE_KEY Call by reference Type reference (TYPE) /BOBF/S_FRW_KEY Node Key 20100727
2 Importing IV_BO_KEY Call by reference Type reference (TYPE) /BOBF/OBM_BO_KEY Business Object 20100727
3 Importing IV_INDEX_ID Call by reference Type reference (TYPE) /SRMERP/CCS_INDX_SRTFD Key for INDX Table 20100727

Method CREATE_CAR on class /SRMERP/CL_OCI_UTILITY has no exception.

Method DECOMPOSE_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing EV_HOST Call by reference Type reference (TYPE) STRING 20100813
2 Changing EV_PATH Call by reference Type reference (TYPE) STRING 20100813
3 Changing EV_PORT Call by reference Type reference (TYPE) STRING 20100813
4 Changing EV_SCHEME Call by reference Type reference (TYPE) I 20100813
5 Importing IV_URL Call by reference Type reference (TYPE) STRING 20100813

Method DECOMPOSE_URL on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_CATALOG_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CAT_WS_LIST Value transfer Type reference (TYPE) WSI_WS_LIST_T Table Type List of Web Services 20101013

Method GET_CATALOG_LIST on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_CATALOG_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20100615
2 Returning RT_LPD_CATALOG_PARAMETERS Value transfer Type reference (TYPE) APB_LPD_T_PARAMS Key/Value Pairs 20100615

Method GET_CATALOG_PARAMETERS on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_CATALOG_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20100615
2 Returning RV_CATALOG_URL Value transfer Type reference (TYPE) APB_LPD_STRING String case sensitive 20100615

Method GET_CATALOG_URL on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_CURRENT_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FPM Call by reference Object reference (TYPE REF TO) IF_FPM Interface for accessing FPM functionality 20100816
2 Returning RV_URL Value transfer Type reference (TYPE) STRING 20100615

Method GET_CURRENT_URL on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_FORWARD_PARAM_TECH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20100708
2 Returning RV_FORWARD_PARAMETERS Value transfer Type reference (TYPE) APB_LPD_PARAM_FORWARDING Portal Navigation forwarding mode 20100708

Method GET_FORWARD_PARAM_TECH on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_PLANT_USER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CURRENCY Call by reference Type reference (TYPE) HWAER Local Currency 20101025
2 Exporting EV_PLANT_ID Call by reference Type reference (TYPE) WERKS_D Plant 20101025
3 Exporting EV_PLANT_NAME Call by reference Type reference (TYPE) STRING Plant description 20101025
4 Importing IV_USERNAME Call by reference Type reference (TYPE) SY-UNAME SY-UNAME User Name 20101025

Method GET_PLANT_USER_DATA on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_RETURN_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FPM Call by reference Object reference (TYPE REF TO) IF_FPM Interface for accessing FPM functionality 20100816
2 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20100615
3 Importing IV_EVENT_ID Call by reference Type reference (TYPE) STRING 20100722
4 Importing IV_EVENT_NAME Call by reference Type reference (TYPE) STRING 20100722
5 Importing IV_INDEX_ID Call by reference Type reference (TYPE) /SRMERP/CCS_INDX_SRTFD Key for INDX Table 20100723
6 Returning RV_LPD_RETURN_ULR_PARAMETER Value transfer Type reference (TYPE) APB_LPD_T_PARAMS Key/Value Pairs 20100615

Method GET_RETURN_URL on class /SRMERP/CL_OCI_UTILITY has no exception.

Method GET_RETURN_URL_INB_HDLR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20100615
2 Importing IV_EVENT_ID Call by reference Type reference (TYPE) STRING 20100722
3 Importing IV_EVENT_NAME Call by reference Type reference (TYPE) STRING 20100722
4 Importing IV_INDEX_ID Call by reference Type reference (TYPE) /SRMERP/CCS_INDX_SRTFD Key for INDX Table 20100723
5 Returning RV_URL Value transfer Type reference (TYPE) STRING 20100615

Method GET_RETURN_URL_INB_HDLR on class /SRMERP/CL_OCI_UTILITY has no exception.

Method LINE_PREFETCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NAME_VALUE Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20100726
2 Importing IT_STRUCTURE_INFO Call by reference Type reference (TYPE) DD03PTAB Structure 20100726
3 Importing IV_LINE Call by reference Type reference (TYPE) I 20100726
4 Returning RV_ONE_MORE_LINE Value transfer Type reference (TYPE) I 20100726

Method LINE_PREFETCH on class /SRMERP/CL_OCI_UTILITY has no exception.

Method MAP_FIELDS_TO_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Value transfer Type reference (TYPE) TABLE 20100726
2 Importing IT_NAME_VALUE Value transfer Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20100726
3 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) DD02V-TABNAME Table Name 20100726

Method MAP_FIELDS_TO_STRUCTURE on class /SRMERP/CL_OCI_UTILITY has no exception.

Method MAP_XML_TO_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Value transfer Type reference (TYPE) TABLE 20100804
2 Importing IT_NAME_VALUE Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20100804
3 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) DD02V-TABNAME Table Name 20100804

Method MAP_XML_TO_STRUCTURE on class /SRMERP/CL_OCI_UTILITY has no exception.

Method VALIDATE_PRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATALOG_ITM_ID Call by reference Type reference (TYPE) STRING 20100805
2 Importing IV_CATALOG_ITM_QUANTITY Call by reference Type reference (TYPE) STRING 20100805
3 Importing IV_CATALOG_SERVICE_ID Call by reference Type reference (TYPE) BBP_WS_SERVICE_ID Technical Key of a Web Service (for Example - a Catalog) 20100805
4 Returning RT_CATALOG_ITM Value transfer Type reference (TYPE) /SRMERP/T_CAR_OCI_ITM OpenCatalogInterfaceItem 20100805

Method VALIDATE_PRODUCT on class /SRMERP/CL_OCI_UTILITY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606