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_OBJECT

Method 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 NameDescriptionVisability
ADD_JOIN_FIELDSAdds new pair of join fieldsPublic
CALL METHOD cl_hcpr_join=>ADD_JOIN_FIELDS...more details

CAN_OVERWRITE_CARDINALITYEvaluates whether existing join cardinality can be replacedPrivate
CALL METHOD cl_hcpr_join=>CAN_OVERWRITE_CARDINALITY...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_hcpr_join=>CLASS_CONSTRUCTOR...more details

DERIVE_CARDINALITYTries to automatically calculate the Join cardinalityPublic
CALL METHOD cl_hcpr_join=>DERIVE_CARDINALITY...more details

DERIVE_PART_CARDINALITYCalculates the output cardinality for a particular inputPrivate
CALL METHOD cl_hcpr_join=>DERIVE_PART_CARDINALITY...more details

GET_CARDINALITYReturns join cardinality (constants in IF_HCPR_MODEL_TYPES)Public
CALL METHOD cl_hcpr_join=>GET_CARDINALITY...more details

GET_JOIN_FIELDSReturns the table of join field pairsPublic
CALL METHOD cl_hcpr_join=>GET_JOIN_FIELDS...more details

GET_JOIN_TYPEReturns the join type (see constants)Public
CALL METHOD cl_hcpr_join=>GET_JOIN_TYPE...more details

GET_LEFT_INPUTReturns the left input objectPublic
CALL METHOD cl_hcpr_join=>GET_LEFT_INPUT...more details

GET_RIGHT_INPUTReturns the right input objectPublic
CALL METHOD cl_hcpr_join=>GET_RIGHT_INPUT...more details

REMOVE_JOIN_FIELDSRemoves a pair of join fieldsPublic
CALL METHOD cl_hcpr_join=>REMOVE_JOIN_FIELDS...more details

SET_CARDINALITYSets join cardinality (constants in IF_HCPR_MODEL_TYPES)Public
CALL METHOD cl_hcpr_join=>SET_CARDINALITY...more details

SET_JOIN_TYPESets the join type (see constants for valid input)Public
CALL METHOD cl_hcpr_join=>SET_JOIN_TYPE...more details

SET_LEFT_INPUTSets the left input for this joinPublic
CALL METHOD cl_hcpr_join=>SET_LEFT_INPUT...more details

SET_RIGHT_INPUTSets the right input for this joinPublic
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.

NameLevelDescriptionInitial ValueTypeVisability
G_C_DEFAULT_CARDINALITYConstantDefault Join CardinalityIF_HCPR_MODEL_TYPES=>G_C_CARDINALITY_11LIKE
STRING
Public
N_C_TYPE_INNERConstantJoin Type: 'inner''inner'LIKE
STRING
Public
N_C_TYPE_LEFT_OUTERConstantJoin Type: 'leftOuter''leftOuter'LIKE
STRING
Public
P_R_ROOTInstance AttributeReference to own model structureLIKE
IF_HCPR_MODEL_TYPES=>TN_S_JOIN
Private
P_TH_CARDINALITY_RATEStatic AttributeCardinality rates tableLIKE
TP_TH_CARDINALITY_RATE
Private
P_T_JOIN_FIELDSInstance AttributeTable of all join field pairsLIKE
TN_TH_JOIN_FIELDS
Private




CL_HCPR_JOIN types

TN_S_JOIN_FIELDS - Pair of join fields in the join condition
TN_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!