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

Passing Internal tables and Select Options Simultaneously

$
0
0

Hi,



I want to pass select options and internal table to a procedure at the same time. How can we do that?


I know we can pass select options to Calculation View but in that case also AFAIK we cannot pass internal tables to the Calc View.


Here is the code for example:


SELECT * INTO CORRESPONDING FIELDS OF TABLE pct_vbreveav

                   FROM vbreve

                   FOR ALL ENTRIES IN lvt_control

                   WHERE vbeln        lvt_control-vbeln AND

                                   posnr        lvt_control-posnr AND

                                   bdjpoper  IN lvt_bdjpoper      AND

                                   vbeln_n    IN s_vbeln_n.


I want to pass Select Option 'S_VBELN_N' and internal table 'LVT_CONTROL' at the same time.


Thanks,

Gaurav




Viewing all articles
Browse latest Browse all 1246

Trending Articles



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