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

Running report in background using parameters

0 Likes
592

Hi friends,

i have an abap report that needs to run in background because it runs longer than profile timeout parameter allows to. now my question is:

if this report uses dynpro with parameters, how do i have to modify it to run in background and to pass those parameters to ? ( SUBMIT ? ).

Thanks for your help!

Clemens

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
545

Hi,

DATA: seltab type table of rsparams,

seltab_wa like line of seltab.

seltab_wa-selname = 'PNPPERNR'.

seltab_wa-sign = 'I'.

seltab_wa-option = 'EQ'.

  • load each personnel number accessed from the structure into

  • parameters to be used in the report

loop at pnppernr.

seltab_wa-low = pnppernr-low.

append seltab_wa to seltab.

endloop.

SUBMIT zreport with selection-table seltab

via selection-screen.

Reward points if useful....

3 REPLIES 3
Read only

Former Member
0 Likes
545

hi,

use the sample code and change it according to ur req..

SUBMIT report1 USING SELECTION-SCREEN '1100'

WITH SELECTION-TABLE rspar_tab

WITH selcrit2 BETWEEN 'H' AND 'K'

WITH selcrit2 IN range_tab

AND RETURN.

<b>Reward points if useful</b>

Read only

Former Member
0 Likes
546

Hi,

DATA: seltab type table of rsparams,

seltab_wa like line of seltab.

seltab_wa-selname = 'PNPPERNR'.

seltab_wa-sign = 'I'.

seltab_wa-option = 'EQ'.

  • load each personnel number accessed from the structure into

  • parameters to be used in the report

loop at pnppernr.

seltab_wa-low = pnppernr-low.

append seltab_wa to seltab.

endloop.

SUBMIT zreport with selection-table seltab

via selection-screen.

Reward points if useful....

Read only

0 Likes
545

Thank you so far, helped me a lot!

But how can i tell the report it has to run in background ?

thank you,

clemens