‎2012 Jun 28 9:31 PM
Does anyone know the full cababilities of method chaining and any special syntax needed? I have looked online and in the forums but have found almost nothing on this topic for ABAP. I am wondering if it is possible to chain method calls in things like IF and WHERE statements, such as:
IF objecta->get_objectb( )->get_attribute( ) = 'X'.
SELECT SINGLE maktx
FROM makt
INTO i_maktx
WHERE matnr = object->get_material( )->get_matnr( ).
IF objecta->get_objectb( )-get_attribute1( ) = objectc->get_objectd( )->get_attribute1( ).
‎2012 Jul 05 7:14 AM