Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Chain method call capabilities

Former Member
0 Likes
332

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( ).

1 REPLY 1
Read only

Former Member
0 Likes
299

Hi Zachary,

           Please refer the below thread for help

http://scn.sap.com/thread/3145420

regards

uday