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

run report in a background with command

Former Member
0 Likes
666

hello all,

i need to run a report,

but the user want to have a button that when he click on it , it will run the report in the background, instead of going to the "program", than to "execute in background" etc.

he want that all this will be in the code so that he just click on a button and it will run in a background.

is anyone know how to do this?

thanks in advanced.

dana.

hello all,

i need to run a report,

but the user want to have a button that when he click on it , it will run the report in the background, instead of going to the "program", than to "execute in background" etc.

he want that all this will be in the code so that he just click on a button and it will run in a background.

is anyone know how to do this?

thanks in advanced.

dana.

4 REPLIES 4
Read only

Former Member
0 Likes
636

You can do that.

1. If you want to run something immeidately in the background, then you can use the SUBMIT REPORT option.

2. IF you want to schedule the job, you can call the functions, JOB_OPEN, JOB_SUBMIT / SUBMIT REPORT THROUGHT JOB NUMBER, JOB_CLOSE.

Any of these can be done on clicking the button.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

0 Likes
636

I hope atleast the user need to go to the selection screen, if not he then a background job could be schudled,i think so where by the output of the report could be sent to the user's inbox in periodic phase.

as for the backgound execution.

Read only

0 Likes
636

Thanks Ravi it work perfectly.

Read only

0 Likes
636

Dana,

Glad that its working for you.

Request you to close the thread by marking the stars on the left side of the answers given.

Regards,

Ravi