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

Passing parameter as a range

$
0
0

Hello all,

 

I have a small issue in my requirement. I have the following selection screen in my report and I had to put drop downs as shown:

 

Screenshot.jpg

Now the drop downs are  parameters and not select-options as shown below :

 

Screenshot001.jpg

 

I am populating the drop down for the username using the FM VRM_SET_VALUES as shown:

 

Screenshot002.jpg

Now, the main issue that I have is that I need to pass the username from the drop downs as a range in a custom function module.

 

This is the approach I took:

 

I created a range table:

Screenshot001.jpg

I appended the values:

 

Screenshot002.jpg

However, on debugging I can see the the parameters I3_CASH and I2_CASH are not holding any values at all.

 

Screenshot003.jpg

 

So the range table LT_USNAM2 passed to the FM  is empty

 

Screenshot004.jpg

So can anyone please help me out as to how to populate the range table so that I can get the higher and lower values and append them so they can be passed to the FM ?

 

Regards,

 

Manish


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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