2009 Feb 08 10:19 AM
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
2009 Feb 08 1:04 PM
>
> 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)
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |