Skip to Content

ABAP - WebDynpro - submit report with range

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 23, 2016 at 02:29 PM

    '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

    Add comment
    10|10000 characters needed characters exceeded