Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help with Submiting report with Dynamic Selections

Former Member
0 Likes
393

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

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

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
356

>

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

No, this fm is to get the dynamic selections to be pass to another passed by the calling program (see [abapdocu|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] WITH FREE SELECTIONS)