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

How to Schedule Direct Input

Former Member
0 Likes
1,187

Hello Experts,

I need your help.

I want create Account documents with FB01. I have a lot of data for that i use the Direct Input with RFBIBL00.

1- I'm creating a file in the expected format with a specific program Z.

2- For the restart mechanism, i did the necessary customizing: created a variant in FRBIBL00 and defined a job in OBDU.

3- In BMV0, i run my job.

Here i have two questions:

Q1- Manually, i can integrate a file. In first, i run my specific program to generate a file and after i run the job from BMV0 to create documents.

But, how can i do all this with automatically in chain i mean schedule a job that runs in first the specific format and after the Job in BMV0? The objective is create account documents in background with a scheduled job.

Thank you in davance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
903

Hi Amal,

In that case you have to edit the start condition of the job BMV0.

First create job (Say generate_file ) to execute the customer program which generates the file.

go to the job BMV0 in edit mode and change the start condition -> after job.

key the job name(generate_file)

Regards,

Maddy.

4 REPLIES 4
Read only

Former Member
0 Likes
903

Hi Amal,

What I understand is you want to schedule a job, in such a way, it need to execute a series of programs in a chain.

It is quiet possible.

1> Go to SM36, Give a job name.

2> Go to Menu option EDIT->STEPS.

3> give the program name and variant and press the save button on the window.

4>Now you will be in STEP LIST OVERVIEW screen.

5> goto menu option step->creation, to create another step.

6> Come back to the SM36 screen and define the start condition.

7> Come back to the SM36 screen and save the job.

you can define multiple steps in one job, they execute in a sequence.

Regards,

maddy.

Read only

0 Likes
903

Thank you Maddy for your answer.

Your explanation taught me how to create a chain that I didn't knew before. But my problem is slightly different.

The second step in the chain is not a program but a * job* i have a name of the job that must be exexuted after the first step.

This job is particular, it is for a direct input so even manually we can not run it directly from the SM37. We must use BMV0.

Manually, i run transaction "BMV0" and i run the Job X from one button. That is what i want to do in background by scheduling a chain.

Do you have any idea please?

Read only

Former Member
0 Likes
904

Hi Amal,

In that case you have to edit the start condition of the job BMV0.

First create job (Say generate_file ) to execute the customer program which generates the file.

go to the job BMV0 in edit mode and change the start condition -> after job.

key the job name(generate_file)

Regards,

Maddy.

Read only

0 Likes
903

Thank you very much Maddy.

It works.