Quantcast
Channel: SCN : Popular Discussions - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 1246

Retrieving table data by calling AMDP dynamically into another AMDP procedure

$
0
0

Hello,

 

          As per my requirement, i have one AMDP procedure which is returned table data. I try to call this AMDP dynamically into another AMDP using EXEC statement but i don't know how to get the return data after calling this AMDP. Can any one please help me on this if it is possible?.

 

class ztest implementation.

   method call_amdp by database procedure for hdb language sqlscript.

        declare lv_sql nvarchar(1000);

        lv_sql := 'CALL "ZTEST_PROC" ( LT_DATA ) ' ;

 

        EXEC : lv_sql.

 

***** Here how to retrieve the LT_DATA values .

 

   endmethod.

end class.

 

Thanks,
Venkatesh


Viewing all articles
Browse latest Browse all 1246

Trending Articles