Application Development 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: 

ABAP - WebDynpro - submit report with range

Former Member
0 Kudos

Hi,

I'm trying to submit a report which has defined such parameters:

parameters: par1 type string.
tables: zsome_table.
select-options t_ids for zsome_table-id.

I submit report on button click in webdynpro like this:

submit ('ZSOME_REPORT')
 with par1= ls_selections-par1
 with selection-table t_ids.

when report is loaded all fields are filled except t_ids which is empty.

How should I pass range to report via webdynpro?

Thank you.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

'WITH SELECTION-TABLE' option expects an internal table of type RSPARAMS or RSPARAMSL_255.

In your case just use the 'IN' operator.

submit ZSOME_REPORT
 with par1  EQ ls_selections-par1 " parameter name EQ parameter value
 with t_ids IN t_ids. " selection name IN table of range type

Regards,
Raymond