Skip to Content
0
Former Member
Feb 08, 2009 at 10:19 AM

Help with Submiting report with Dynamic Selections

13 Views

Hi,

i have search this forum and have found out this fm to get the dynamic selections to be pass to another program.

The function module is 'RS_REFRESH_FROM_DYNAMICAL_SEL'.

However, i have try to use this fm but the range is giving me empty.

Data : lt_dyn type rsds_trange.

refresh: lt_dyn.

call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'

exporting

curr_report = 'My program name'

mode_write_or_move = 'M' or 'W'

importing

p_trange = lt_dyn

exceptions

not_found = 1

wrong_type = 2

others = 3.

I get the exception of not_found = 1.

I have populate values in my dynamic selection screens and i nd to pass the values to another program. I wonder what has happen and why it is giving me p_trange which is empty.

How do i pass or check my dynamic selection table?

Thanks and Regards,

li hui