SAP ABAP Class CL_PXN_PUBLIC_UTILS (Utilities)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-PRX (Application Component) Proxy Generation
     SAI_PROXY_GENTIME_MDR (Package) Proxy Generation Meta Data Repository
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PXN_CONST_ABAP abap constants 20120216
Properties
Class CL_PXN_PUBLIC_UTILS  
Short Description Utilities    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAI_PROXY_GENTIME_MDR   Proxy Generation Meta Data Repository 
Created 20090623   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_PROXY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_PXN_CONTRACT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_PXN_NAVIGATION Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_PXN_QUERY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_PXN_CONST_ABAP abap constants 20120216
Friends
Class CL_PXN_PUBLIC_UTILS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GEN_APPL_BACKEND_MDR Constant Public Type reference (TYPE) PRXGENAPPL CL_PROXY=>GENERATING_APPLICATION_MDR Proxy Generation: Generation Source 20090929
2 GEN_APPL_ESR Constant Public Type reference (TYPE) PRXGENAPPL CL_PROXY=>GENERATING_APPLICATION_XI Proxy Generation: Generation Source 20090929
3 IMPL_TYPE_CONSUMER Constant Public Type reference (TYPE) CHAR1 'C' Single-Character Flag 20120207
4 IMPL_TYPE_PROVIDER Constant Public Type reference (TYPE) CHAR1 'P' Single-Character Flag 20120207
5 RECEIVER_DET Instance attribute Private Attribute reference (LIKE) 20120216
6 SENDER_DET Instance attribute Private Attribute reference (LIKE) 20120216
7 TYPES_FOR_PREFIX Constant Public See coding 20111027
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_MDR_GEN_APPL Static method Public Method returns target generating application for given namespace 20091228
2 CHECK_MDR_NAME Static method Public Method 20091228
3 CREATE_ESR_ACCESS Static method Public Method 20130517
4 CREATE_FILE_ACCESS Static method Public Method create instance for file access 20110819
5 CREATE_NPM_DEF_ACCESS Static method Public Method 20120516
6 CREATE_RFC_ACCESS Static method Public Method 20121016
7 FILE_ACCESS_FROM_XSTRING Static method Public Method 20110816
8 GET_CATEGORIES_FOR_OBJECT Static method Public Method 20120727
9 GET_FILE_TYPE_FOR_CATEGORY Static method Public Method 20120913
10 GET_MDR_TYPE Static method Public Method 20120727
11 GET_OBJECTS_FOR_CATEGORY Static method Public Method 20120727
12 GET_OWNER_WB_KEY Static method Public Method 20120403
13 GET_POSSIBLE_ABAP_TYPES Static method Public Method 20100114
14 GET_POSSIBLE_ABAP_TYPE_KEYS Static method Public Method 20110114
15 GET_PROXY_PREFIX Static method Public Method technical prefix like II_ 20120222
16 GET_TARGET_GEN_APPL Static method Public Method returns target generating application for given namespace 20090623
17 GET_TECH_PREFIX_FOR_TYPE Static method Public Method technical prefix like II_ 20111027
18 GET_TEXT_FOR_NODETYPE Static method Public Method 20121219
19 GET_UNIQUE_OBJECT_FOR_CATEGORY Static method Public Method 20120727
20 IS_SPRX_TYPE Static method Public Method does object have a generation object? if not -> return true 20120216
21 IS_VALID_CONTRACT_ACTOR Static method Public Method actor is valid in given contract 20120123
22 IS_VALID_SEMANTIC_CONTRACT Static method Public Method semantic contract is valid for usage in contract 20111215
23 IS_VALID_SEM_CONTRACT_ACTOR Static method Public Method actor is valid in given contract 20120215
24 PROPOSE_GLOBAL_ABAP_NAME Static method Public Method 20120907
25 PROPOSE_GLOBAL_ABAP_NAME_COPY Static method Public Method 20120907
26 READ_WSDL Static method Public Method 20101014
27 RFC_ACCESS_FROM_FILE_ACCESS Static method Public Method 20121116
28 RFC_ACCESS_FROM_METADATA Static method Public Method 20121116
29 VALIDATE_GLOBAL_ABAP_NAME Static method Public Method 20120907
Events
Class CL_PXN_PUBLIC_UTILS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CDT_PROPERTIES Public See coding 20110713 begin of cdt_properties, repterm type string, transform_directive type if_pxn_datatype_sc_global=>t_transform, end of cdt_properties
2 IMPL_DATA Public See coding 20120202 begin of impl_data, impl_type type prx_r3obj, req_message type prx_r3name, op_name type prx_r3name, op_id type prx_id, gen_appl type prxgenappl, package type devclass, end of impl_data
3 T_MESSAGE_DETAIL Public See coding 20120126 begin of t_message_detail. include type if_pxn_query=>t_global_detail. types: xml_name type string, xml_namespace type string, end of t_message_detail
4 T_PRX_R3OBJS Public See coding 20120727 t_PRX_r3OBJS type standard table of PRX_r3OBJ with default key
5 T_PRX_WSDLTY Public See coding 20120727 t_PRX_WSDLTY type standard table of PRX_WSDLTY with default key
6 T_WB_KEY Public Type reference (TYPE) PRX_WB_KEY Single-Character Flag 20120403
7 XSD_TYPE_PROPERTIES Public See coding 20100114 begin of xsd_type_properties, xsd_type type string, maxlength type string, minlength type string, length type string, pattern type string, total_digits type string, fraction_digits type string, max_inclusive type string, min_inclusive type string, max_exclusive type string, min_exclusive type string, end of xsd_type_properties
Method Signatures

Method CHECK_MDR_GEN_APPL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Call by reference Type reference (TYPE) PRX_TYPE Proxy Generation: Object Type in Modelling Environment 20120802
2 Importing NAMESPACE Call by reference Type reference (TYPE) PRX_NSPCE Proxy Generation: Namespace in the Integration Builder 20091228
# Exception Resumable Description Created on
1 CX_PXN_WRONG_GEN_APPL Wrong generating application 20091228

Method CHECK_MDR_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) QNAME Qualified Name 20091228
# Exception Resumable Description Created on
1 CX_PXN_INVALID_DATA Invalid data 20091228

Method CREATE_ESR_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMP_GUID Call by reference Type reference (TYPE) TEXT40 20130517
2 Importing NAME Call by reference Type reference (TYPE) QNAME 20130517
3 Returning RVAL Value transfer Object reference (TYPE REF TO) IF_PXN_ESR_ACCESS 20130517
4 Importing TYPE Call by reference Type reference (TYPE) PRX_TYPE 20130517
# Exception Resumable Description Created on
1 CX_PROXY_FAULT 20130517

Method CREATE_FILE_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HTTP_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110819
2 Importing HTTP_PATH_SUFFIX Call by reference Type reference (TYPE) CSEQUENCE 20110819
3 Importing RETRIEVER Call by reference Object reference (TYPE REF TO) IF_SLIB_RETRIEVER 20110819
4 Returning RVAL Value transfer Object reference (TYPE REF TO) IF_PXN_FILE_ACCESS Access to WSDL 20110819
5 Importing SOURCE Call by reference Type reference (TYPE) CSEQUENCE URI 20110819
6 Importing SOURCE_TYPE Call by reference Type reference (TYPE) IF_PXN_WSDL_ACCESS=>T_SOURCE_TYPE IF_PXN_WSDL_ACCESS=>C_SOURCE_TYPE_RETRIEVER 20110819
# Exception Resumable Description Created on
1 CX_PXN_FAULT MDR fault (abstract) 20110819

Method CREATE_NPM_DEF_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FILE_ACCESS Call by reference Object reference (TYPE REF TO) IF_PXN_FILE_ACCESS File access 20120516
2 Returning RVAL Value transfer Object reference (TYPE REF TO) IF_PXN_NPM_DEF_ACCESS Access to NPM definition 20120516

Method CREATE_NPM_DEF_ACCESS on class CL_PXN_PUBLIC_UTILS has no exception.

Method CREATE_RFC_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FUNCTION_NAME Call by reference Type reference (TYPE) FUNCNAME Function name 20121016
2 Returning RFC_ACCESS Value transfer Object reference (TYPE REF TO) IF_PXN_RFC_ACCESS Single-Character Flag 20121017
3 Importing RFC_DESTINATION Call by reference Type reference (TYPE) RFCDEST 'NONE' Logical Destination (Specified in Function Call) 20121016
# Exception Resumable Description Created on
1 CX_PXN_FAULT SAP ACo Base exception 20121017

Method FILE_ACCESS_FROM_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA Call by reference Type reference (TYPE) XSTRING 20110816
2 Returning RVAL Value transfer Object reference (TYPE REF TO) IF_PXN_FILE_ACCESS File access 20110816

Method FILE_ACCESS_FROM_XSTRING on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_CATEGORIES_FOR_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OBJECT Call by reference Type reference (TYPE) PRX_R3OBJ 20120727
2 Returning RVAL Value transfer Type reference (TYPE) T_PRX_WSDLTY 20120727

Method GET_CATEGORIES_FOR_OBJECT on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_FILE_TYPE_FOR_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Call by reference Type reference (TYPE) PRX_WSDLTY 20120913
2 Exporting EXTENSION Call by reference Type reference (TYPE) STRING 20120913
3 Exporting HIDDEN Call by reference Type reference (TYPE) PRX_BOOLEAN 20120913
4 Exporting TEXT Call by reference Type reference (TYPE) PRX_R3TYPE_TEXT 20120913
# Exception Resumable Description Created on
1 CX_PXN_INVALID_DATA 20120913

Method GET_MDR_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OBJECT Call by reference Type reference (TYPE) PRX_R3OBJ 20120727
2 Importing OBJ_NAME Call by reference Type reference (TYPE) PRX_R3NAME 20120727
3 Returning RVAL Value transfer Type reference (TYPE) PRX_TYPE 20120727

Method GET_MDR_TYPE on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_OBJECTS_FOR_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RVAL Value transfer Type reference (TYPE) T_PRX_R3OBJS 20120727
2 Importing WSDL_TYPE Call by reference Type reference (TYPE) PRX_WSDLTY 20120727

Method GET_OBJECTS_FOR_CATEGORY on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_OWNER_WB_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ABAP_NAME Call by reference Type reference (TYPE) PRX_R3NAME 20120403
2 Importing ABAP_TYPE Call by reference Type reference (TYPE) PRX_R3OBJ 20120403
3 Exporting WB_KEY Call by reference Type reference (TYPE) T_WB_KEY 20120403

Method GET_OWNER_WB_KEY on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_POSSIBLE_ABAP_TYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CDT_PROPS Call by reference Type reference (TYPE) CDT_PROPERTIES 20110713
2 Exporting DEFAULT_TYPE Call by reference Type reference (TYPE) VRM_VALUE Technischer Typ (Schlüssel) 20100114
3 Exporting POSSIBLE_TYPES Call by reference Type reference (TYPE) VRM_VALUES Alternativen bei änderbaren technischem Typen 20100114
4 Importing XSD_TYPE Call by reference Type reference (TYPE) XSD_TYPE_PROPERTIES ID 20100114

Method GET_POSSIBLE_ABAP_TYPES on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_POSSIBLE_ABAP_TYPE_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CDT_PROPS Call by reference Type reference (TYPE) CDT_PROPERTIES 20110713
2 Exporting DEFAULT_TYPE Call by reference Type reference (TYPE) VRM_VALUE Technischer Typ (Schlüssel) 20110114
3 Exporting POSSIBLE_TYPES Call by reference Type reference (TYPE) VRM_VALUES Alternativen bei änderbaren technischem Typen 20110114
4 Importing XSD_TYPE Call by reference Type reference (TYPE) XSD_TYPE_PROPERTIES ID 20110114

Method GET_POSSIBLE_ABAP_TYPE_KEYS on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_PROXY_PREFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PREFIX Call by reference Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20120222
2 Returning PROXY_PREFIX Value transfer Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20120222
3 Importing TYPE Call by reference Type reference (TYPE) PRX_WSDLTY Proxy Generation: WSDL Type (portType, message, and so on) 20120222

Method GET_PROXY_PREFIX on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_TARGET_GEN_APPL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning GEN_APPL Value transfer Type reference (TYPE) PXNGENAPPL Generation Source 20090623
2 Importing NAMESPACE Call by reference Type reference (TYPE) PRX_NSPCE Proxy Generation: Namespace in the Integration Builder 20090623

Method GET_TARGET_GEN_APPL on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_TECH_PREFIX_FOR_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PREFIX Value transfer Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20111027
2 Importing TYPE Call by reference Type reference (TYPE) PRX_WSDLTY Proxy Generation: WSDL Type (portType, message, and so on) 20111027

Method GET_TECH_PREFIX_FOR_TYPE on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_TEXT_FOR_NODETYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODETYPE Call by reference Type reference (TYPE) SEOCLSNAME see if_pxn_const=>nodetype 20121219
2 Returning TEXT Value transfer Type reference (TYPE) STRING 20121219

Method GET_TEXT_FOR_NODETYPE on class CL_PXN_PUBLIC_UTILS has no exception.

Method GET_UNIQUE_OBJECT_FOR_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RVAL Value transfer Type reference (TYPE) PRX_R3OBJ 20120727
2 Importing WSDL_TYPE Call by reference Type reference (TYPE) PRX_WSDLTY 20120727

Method GET_UNIQUE_OBJECT_FOR_CATEGORY on class CL_PXN_PUBLIC_UTILS has no exception.

Method IS_SPRX_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OBJECT Call by reference Type reference (TYPE) CSEQUENCE 20120216
2 Returning RVAL Value transfer Type reference (TYPE) PRX_BOOLEAN ABAP Proxies: Boolean Value ('X' = True, Space = False) 20120216

Method IS_SPRX_TYPE on class CL_PXN_PUBLIC_UTILS has no exception.

Method IS_VALID_CONTRACT_ACTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ABAP_NAME Call by reference Type reference (TYPE) PRX_R3NAME Contract 20120123
2 Importing ACTOR Call by reference Type reference (TYPE) PRX_IFRNAM Actor name 20120123
# Exception Resumable Description Created on
1 CX_PXN_INVALID_OBJECT Object is invalid or inconsistent 20120123

Method IS_VALID_SEMANTIC_CONTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ABAP_NAME Call by reference Type reference (TYPE) PRX_R3NAME Proxy Generation: Name of an Object in R/3 20111215
# Exception Resumable Description Created on
1 CX_PXN_INVALID_OBJECT Object is invalid or inconsistent 20111215

Method IS_VALID_SEM_CONTRACT_ACTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ABAP_NAME Call by reference Type reference (TYPE) PRX_R3NAME Contract 20120215
2 Importing ACTOR Call by reference Type reference (TYPE) PRX_IFRNAM Actor name 20120215
# Exception Resumable Description Created on
1 CX_PXN_INVALID_OBJECT Object is invalid or inconsistent 20120215

Method PROPOSE_GLOBAL_ABAP_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GEN_APPL Call by reference Type reference (TYPE) PRXGENAPPL Generation Source 20120907
2 Importing PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20120907
3 Importing PREFIX Call by reference Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20120907
4 Importing QNAME Call by reference Type reference (TYPE) QNAME Qualified Name 20120907
5 Returning RVAL Value transfer Type reference (TYPE) PRX_R3NAME Proxy Generation: Name of an Object in R/3 20120907
6 Importing TYPE Call by reference Type reference (TYPE) PRX_TYPE Proxy Generation: Object Type in Modelling Environment 20120907
# Exception Resumable Description Created on
1 CX_PXN_INVALID_DATA Invalid data 20120907

Method PROPOSE_GLOBAL_ABAP_NAME_COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GEN_APPL Call by reference Type reference (TYPE) PRXGENAPPL Generation Source 20120907
2 Exporting ORG_ABAP_NAME Value transfer Type reference (TYPE) PRX_R3NAME Proxy Generation: Name of an Object in R/3 20120907
3 Exporting ORG_PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20120907
4 Exporting ORG_PREFIX Call by reference Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20120907
5 Exporting PREFIX Call by reference Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20120907
6 Importing QNAME Call by reference Type reference (TYPE) QNAME Qualified Name 20120907
7 Importing TYPE Call by reference Type reference (TYPE) PRX_TYPE Proxy Generation: Object Type in Modelling Environment 20120907
# Exception Resumable Description Created on
1 CX_PXN_INVALID_DATA Invalid data 20120907

Method READ_WSDL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RETRIEVER Call by reference Object reference (TYPE REF TO) IF_SLIB_RETRIEVER 20101014
2 Importing URI Call by reference Type reference (TYPE) STRING 20101014
# Exception Resumable Description Created on
1 CX_PXN_INVALID_DATA Invalid data 20101014

Method RFC_ACCESS_FROM_FILE_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FILE_ACCESS Call by reference Object reference (TYPE REF TO) IF_PXN_FILE_ACCESS File access 20121116
2 Importing FUNCTION_NAME Call by reference Type reference (TYPE) CSEQUENCE 20121116
3 Returning RFC_ACCESS Value transfer Object reference (TYPE REF TO) IF_PXN_RFC_ACCESS Single-Character Flag 20121116
# Exception Resumable Description Created on
1 CX_PXN_FAULT SAP ACo Base exception 20121116

Method RFC_ACCESS_FROM_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing METADATA Call by reference Type reference (TYPE) XSTRING 20121116
2 Returning RFC_ACCESS Value transfer Object reference (TYPE REF TO) IF_PXN_RFC_ACCESS Single-Character Flag 20121116
# Exception Resumable Description Created on
1 CX_PXN_FAULT SAP ACo Base exception 20121116

Method VALIDATE_GLOBAL_ABAP_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ABAP_NAME Call by reference Type reference (TYPE) PRX_R3NAME Proxy Generation: Name of an Object in R/3 20120907
2 Importing GEN_APPL Call by reference Type reference (TYPE) PRXGENAPPL Generation Source 20120907
3 Importing PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20120907
4 Importing PREFIX Call by reference Type reference (TYPE) PRX_PREFIX Proxy Generation: Prefix for Names of Proxy Objects 20120907
5 Importing TYPE Call by reference Type reference (TYPE) PRX_TYPE Proxy Generation: Object Type in Modelling Environment 20120907
# Exception Resumable Description Created on
1 CX_PXN_INVALID_ABAP_NAME Invalid ABAP Name 20120907
2 CX_PXN_INVALID_DATA Invalid data 20120907
History
Last changed by/on SAP  20140121 
SAP Release Created in 72L