Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: Dynamic Function Help

$
0
0

Vikram,

 

I followed up and the data flowed correctly and gave me what I was looking for. However, for anyone else reading this later on, I was having a problem with the export parameter. I declared it as ANY TABLE instead of STANDARD TABLE because when I put STANDARD TABLE it errors out on execution saying that it expects "ANY TABLE". This is funny because when I put ANY TABLE it still errors out and says that I cannot have a generic type. The error I receive each time is "Error generating test frame". After reviewing this and trying it outside of the SE37 it works perfectly, I guess I just wont be able to 'test' it via SE37 which is a small price to pay.

 

FUNCTION Z_GET_VALUE_TABLE.

*"----------------------------------------------------------------------

*"*"Local Interface:

*"  IMPORTING

*"     REFERENCE(DATA_ELEMENT) TYPE  FIELD_TYPE

*"  EXPORTING

*"     VALUE(I_VAL) TYPE  ANY TABLE

 

Thanks,

 

Brian


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>