SAP CL_HCPR_JOIN OO Class - Join Condition on a Join Node
CL_HCPR_JOIN is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_HCPR_JOIN including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_HCPR_JOIN is CL_RSEM_MODEL_OBJECTMethod list of CL_HCPR_JOIN SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ADD_JOIN_FIELDS | Adds new pair of join fields | Public |
| CALL METHOD cl_hcpr_join=>ADD_JOIN_FIELDS...more details | ||
| CAN_OVERWRITE_CARDINALITY | Evaluates whether existing join cardinality can be replaced | Private |
| CALL METHOD cl_hcpr_join=>CAN_OVERWRITE_CARDINALITY...more details | ||
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD cl_hcpr_join=>CLASS_CONSTRUCTOR...more details | ||
| DERIVE_CARDINALITY | Tries to automatically calculate the Join cardinality | Public |
| CALL METHOD cl_hcpr_join=>DERIVE_CARDINALITY...more details | ||
| DERIVE_PART_CARDINALITY | Calculates the output cardinality for a particular input | Private |
| CALL METHOD cl_hcpr_join=>DERIVE_PART_CARDINALITY...more details | ||
| GET_CARDINALITY | Returns join cardinality (constants in IF_HCPR_MODEL_TYPES) | Public |
| CALL METHOD cl_hcpr_join=>GET_CARDINALITY...more details | ||
|
| ||
| GET_JOIN_FIELDS | Returns the table of join field pairs | Public |
| CALL METHOD cl_hcpr_join=>GET_JOIN_FIELDS...more details | ||
| GET_JOIN_TYPE | Returns the join type (see constants) | Public |
| CALL METHOD cl_hcpr_join=>GET_JOIN_TYPE...more details | ||
| GET_LEFT_INPUT | Returns the left input object | Public |
| CALL METHOD cl_hcpr_join=>GET_LEFT_INPUT...more details | ||
| GET_RIGHT_INPUT | Returns the right input object | Public |
| CALL METHOD cl_hcpr_join=>GET_RIGHT_INPUT...more details | ||
| REMOVE_JOIN_FIELDS | Removes a pair of join fields | Public |
| CALL METHOD cl_hcpr_join=>REMOVE_JOIN_FIELDS...more details | ||
| SET_CARDINALITY | Sets join cardinality (constants in IF_HCPR_MODEL_TYPES) | Public |
| CALL METHOD cl_hcpr_join=>SET_CARDINALITY...more details | ||
| SET_JOIN_TYPE | Sets the join type (see constants for valid input) | Public |
| CALL METHOD cl_hcpr_join=>SET_JOIN_TYPE...more details | ||
| SET_LEFT_INPUT | Sets the left input for this join | Public |
| CALL METHOD cl_hcpr_join=>SET_LEFT_INPUT...more details | ||
| SET_RIGHT_INPUT | Sets the right input for this join | Public |
| CALL METHOD cl_hcpr_join=>SET_RIGHT_INPUT...more details | ||
CL_HCPR_JOIN attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| G_C_DEFAULT_CARDINALITY | Constant | Default Join Cardinality | IF_HCPR_MODEL_TYPES=>G_C_CARDINALITY_11 | LIKE STRING | Public |
| N_C_TYPE_INNER | Constant | Join Type: 'inner' | 'inner' | LIKE STRING | Public |
| N_C_TYPE_LEFT_OUTER | Constant | Join Type: 'leftOuter' | 'leftOuter' | LIKE STRING | Public |
| P_R_ROOT | Instance Attribute | Reference to own model structure | LIKE IF_HCPR_MODEL_TYPES=>TN_S_JOIN | Private | |
| P_TH_CARDINALITY_RATE | Static Attribute | Cardinality rates table | LIKE TP_TH_CARDINALITY_RATE | Private | |
| P_T_JOIN_FIELDS | Instance Attribute | Table of all join field pairs | LIKE TN_TH_JOIN_FIELDS | Private |
CL_HCPR_JOIN types
TN_S_JOIN_FIELDS - Pair of join fields in the join conditionTN_TH_JOIN_FIELDS - Position sorted table of join field pairs
TN_T_JOIN - List of join conditions
TP_S_CARDINALITY_RATE - Cardinality rate entry
TP_TH_CARDINALITY_RATE - Cardinality rate table
Links to Related Class(s)
CL_HCPR_...Full list of available SAP object classes
Search for further information about these or an SAP related objects