cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple variants and multiple steps in the same job

04-20-2007 6:07 AM
5463 views 7 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi guru's please help me in this regard

I need to schedule and automate batch jobs in an organisation. There will be multiple variants and multiple steps within same batch jobs. The variants are date dependent and needs to change every day.I need to automatically change the variants every day and schedule the jobs. Also check for the failures in the jobs. Apart from that Once the jobs in one server example : R/3 server ends the jobs in BW servers should be triggered automatically. Explain all steps with proper T codes and also provide a dry run example. Also provide all the table used for the variants purpose.

So please let me know How can I multiple variants and multiple steps with in the same job.

Your help would be more appreciable

Regards,

Rk.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hello RKK,

While most activites like mutiple steps,dynamic variants etc. are possible through standard SAP functionalities this thing isnot pretty simple :

R/3 server ends the jobs in BW servers should be triggered automatically.

I mean this might be possible to do through events but I will be pretty much complex. I mean you could write an event which will be triggered at the end of job in R/3 and then may be will will trigger another event in BW system which will start the job in BW. May be your ABAP folks can guide you better on that.

Otherwise I guess the best thing to do is to have a third party tool like Redwood-Chronicle,UC4 etc.

Regarding your question on how you can have multiple variants and multiple steps with in the same job.

It is pretty much simple. At the time of defining the step you can create mutiple steps. Create one step,save it and then create yet another one. It is pretty simple.

Please award points accordingly.

Regards.

Ruchit.

Former Member
0 Likes

Hi ruchit,

Many thanks for your response

Can you plase explain the step by step procedure how can I create a job with multiple steps in detail

Regards,

RK.

Former Member
0 Likes

Hi RKK,

Please check this steps:

1. Go to SM36. Give the job name and the job priortiy (A, B or C)

2. In application tool bar go to Start condition and give the starting details of the job as per your requirement.

3. Then go to step pushbutton.Give the Ist report name and the 1st variant.Save it

In the next screen you wil find the entry for this step. Here again in application tool bar you wil have the option of creating a new step.Press the create icon or simply do CTRLSHIFTF8 and again the same pop up for new step will come where you can specify the report name and second variant agan. Keep on repeating this for creating multiple steps.

4. After you have created the steps come back to the orginal SM36 screen (F3) and save the job.

Please let us know if you face any issues. Please award points if your query got solved.

Regards.

Ruchit.

Former Member
0 Likes

does any one know if these job can be independent or both dependent...

if they are dependent, will all the following steps fail?

Answers (3)

Answers (3)

Former Member
0 Likes

Create different batch jobs with different steps.

Schedule job internally or use third party tool like Control M, Redwoods etc.

Thanks,

Anand.

Former Member
0 Likes

i do not think so it is possible using SAP background job scheduler.

You may have to use third party job scheduler for this, there are may third party tools available like Redwood. you can search this in help.sap.com

Cheers,

-Sunil

Former Member
0 Likes

Hi all please respond ASAP.

Your help would be more appreciable

Regards,

RK.