Skip to Content
0

ABAP - WebDynpro - submit report with range

Nov 23, 2016 at 02:03 PM

51

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Nov 23, 2016 at 02:29 PM
0

'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

Share
10 |10000 characters needed characters left characters exceeded