ABAP OO Class Methods

GET_PARENT SAP Method - Return Superior Object







Below is documentation, parameters and attributes of ABAP Method GET_PARENT within SAP class IF_EVE_VIOLATIONS_AGGR_OBJECT. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_EVE_VIOLATIONS_AGGR_OBJECT into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

IF_EVE_VIOLATIONS_AGGR_OBJECT

Method Name

GET_PARENT

Method Type

Instance Method:   This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.







Returning Parameters:


RR_PARENT " Interface for Objects of Threshold Val.Violation Aggregation TYPE REF TO IF_EVE_VIOLATIONS_AGGR_OBJECT

Exceptions:



Example ABAP coding


DATA:
ld_RR_PARENT TYPE REF TO IF_EVE_VIOLATIONS_AGGR_OBJECT.


DATA: lo_OBJECT TYPE REF TO IF_EVE_VIOLATIONS_AGGR_OBJECT .
CALL METHOD lo_OBJECT->GET_PARENT(
RECEIVING
RR_PARENT = ld_RR_PARENT ).

"Alternate coding for Method Call with returning parameter



ld_RR_PARENT = lo_OBJECT->GET_PARENT().


ld_RR_PARENT = lo_OBJECT->GET_PARENT().