Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to invoke method with EXPORTING ANY

$
0
0

 

Let me rephrase the below question:

How do we invoke any method that has an EXPORTING of type ANY or ANY TABLE?

 

If we try to import the data into a generic variable, the activation fails with an error message (image attached).
data lo_row_content type data.
mo_context->GET_ROW( importing es_row = lo_row_content ).

My thought was to get data into lo_row_content and then use RTTI to querry the type and cast it.

Issue with ANY.png

 

But evidently that is not the right approach as the activation itself fails.

 

-------------I tried to post an update to my earlier discussion but  for some reason the update did not show up. Hence RE-posting-----------------------

Original post: http://scn.sap.com/thread/3456080

 

R


Viewing all articles
Browse latest Browse all 8332

Trending Articles