SAP ABAP Data Element PRX_PREFIX (Proxy Generation: Prefix for Names of Proxy Objects)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-PRX (Application Component) Proxy Generation
     SAI_PROXY_GENTIME (Package) ES Tools: Proxy Generation
Basic Data
Data Element PRX_PREFIX
Short Description Proxy Generation: Prefix for Names of Proxy Objects  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type PRX_PREFIX    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID PRX_PREFIX  
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Prefix 
Medium 15 Prefix 
Long 25 Prefix 
Heading 25 Prefix 
Documentation

Definition

A large number of objects are created during proxy generation. E.g.:

  • ABAP OO Interfaces (in the case of inbound interfaces)
  • ABAP OO Classes (for outbound interfaces)
  • ABAP OO Exception Classes (for fault messages)
  • Dictionary Data Elements (for scalar data type definitions)
  • Dictionary Structures (for messages and complex data type definitions)
  • Dictionary Table Types (for repeat groups, in other words, maxoccurs > 1).

To avoid naming conflicts with classes and ABAP Dictionary objects that already exist, you can assign a prefix to the objects to be generated. This prefix must not begin with an 'X' and an underscore can only be used after the third character ("ABC_", for example).

You can also assign anABAP namespace as a prefix (/CRM/, for example). In this case, you must ensure that the assigned development class is compatible with this namespace.

For some objects, the prefix is enhanced by a technical part, eg 'CX' for exception classes. Prefixes that start with a /, a Z or an Y are set before the technical prefix, ie /CRM/CX_PROXY_EXCEPTION. Other prefixes are set after, ie CX_MYPREPROXY_EXCEPTION. If you want the prefix to be at the beginning even though it does not start with a /, Z or Y, you can split your prefix with a colon. The part before the colon is put at the beginning, the part after the colon is put after the technical part:

MY:PRE will become MYCX_PRE.

History
Last changed by/on SAP  20130604 
SAP Release Created in 620