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

after Executing a Program ,program should schedule as job

Former Member
0 Likes
781

Hi ,

When i Execute my report ,report should execute as batch job.

How to do this.

Thanks

Madhu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
747

hi

good

schedule the report with given time,so that it ll execut as batch jobs.

thanks

mrutyun^

7 REPLIES 7
Read only

Former Member
0 Likes
747

hi

good

schedule the report with given time,so that it ll execut as batch jobs.

thanks

mrutyun^

Read only

Former Member
0 Likes
748

hi

good

schedule the report with given time,so that it ll execut as batch jobs.

thanks

mrutyun^

Read only

ferry_lianto
Active Contributor
0 Likes
747

Hi,

Welcome to SDN.

You can use the following combination FM and submit statement.

1. FM JOB_OPEN.

2. Submit statement with option USER user VIA JOB job NUMBER n.

3. FM JOB_CLOSE.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
747

Hi Madhu,

1) Set up a Selection Variant for your program (a saved set of values for the selection screen).

2) Then go into transaction SM36 to define the job - use the Job Wizard if you are not familiar with creating jobs

Read only

0 Likes
747

Hi,

I need to schedule job when i execute my program,I don't want to goto SM 36 to schedule it as batch job

Madhu

Read only

Former Member
0 Likes
747

You can executed by using <b>F9</b>...You can go to transaction <b>SM36</b> and define it as a job...

Greetings,

Blag.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
747

Try something like

  REPORT  Z_BATCH.

  TABLES sscrfields.

  PARAMETER x AS CHECKBOX.

  AT SELECTION-SCREEN.
    IF sscrfields-ucomm = 'ONLI'
    OR sscrfields-ucomm = 'PRIN'.
      sscrfields-ucomm = 'SJOB'.
    ENDIF.

  END-OF-SELECTION.
    WRITE 'HELLO'.

Regards