Вы находитесь на странице: 1из 3

Hi Freinds,

I have 3 recurring entries every month, Lets say 1 should rum on 1st of everymonth, 2nd one should
run on 4th of every month and 3rd entry on 10th. I hve created 3 recurring docs in FBD1.
Instead of go ro F.14 and create batch job every month. I would like to scehdule a background job for
the whole fiscal year. So that every month all 3 docs automatically gets posted.
Anyone give me step by step process of scheduling background job.
thanks in advance..
Venkat

2768 Views

Average User Rating


(0 ratings)

Re: Background scheduling of recurring document postings

eashwar seshadri Apr 13, 2010 9:26 AM (in response to Balaji Blessed)
hi
kindly note the steps below:
1)
Create a recurring document giving the start date and end date, directing the system to post the
entries at the end of a period (monthly, bi-monthly, quarterly, semi annually, annually, etc).
2)
Determinants would be the transaction should recur regularly and have the same values across
the horizon of recurrence. Again the posting period in which the entry can be posted should be open.
3)
Post the entries as on a particular posting date by running a batch process for all the recurring
document templates created.
Create Recurring entries document template u2013 FBD1
Execute Recurring entry program u2013 F.14
Recurring entries list u2013 F.15
regards
eashwar
o

Alert Moderator
o

Like (0)

Re: Background scheduling of recurring document postings

Balaji Blessed Apr 13, 2010 9:35 AM (in response to eashwar seshadri)
Dear eashwar,
Thanks,
But I wanna scedule a background job, so that every month System automatically picks recurring
docs and gets posted to system.
thanks..

Alert Moderator

Re: Background scheduling of recurring document postings

Like (0)

eashwar seshadri Apr 13, 2010 11:00 AM (in response to Balaji Blessed)
in FBD1, you can enter the frequency (month,year etc.) and the day (day 1 till day 31) of execution.
regards
eashwar
Alert Moderator

Like (0)

Re: Background scheduling of recurring document postings

Cindy Oneal Apr 14, 2010 6:20 PM (in response to eashwar seshadri)
Hi Venkat,
I'm not sure if you can do what you would like.
You can schedule F.14 to execute in the background. There you can choose to schedule it at the end of
the month or the beginning of the month. It looks like you could enter a Settlement period that ranges
for a very long time period (ex 2/1/2007 - 2/1/9999). When the program runs it then creates the batch
input session as scheduled HOWEVER then you need to run SM35 to process the batch input. I don't
see a way in SAP to automate that SM35 to run without manual intervention.
At our company, we have a third party tool (UC4 Scheduler) that does both F.14 and SM35 steps for
us. The UC4 scheduler is very dynamic and each month it automatically adjusts our settlement dates
and also changes the batch input name appropropriately.
Good luck,
Cindy
Alert Moderator

Re: Background scheduling of recurring document postings

Like (0)

Elias Akorli Apr 14, 2010 6:53 PM (in response to Balaji Blessed)
Maybe this will help.
1. Save your recurring job as a variant
2. Go to transaction code SM36
3. Define your job name
4. Click on steps
5. Under ABAP Program, enter SAPF120 and also enter the variant you created earlier on. Check and
save.
6. Next, click on start condition and schedule the job based on the periods you want. Once you click on
start condition a screen will pop-up, look for periods values and make the settings there.
7. Afterwards, anytime you want to make changes to the job details, you can use t.code SM37
Hope this helps.
Elias

Alert Moderator

Like (0)

Re: Background scheduling of recurring document postings

Henri LOISEAU Apr 14, 2010 9:57 PM (in response to Balaji Blessed)
For starting the batch input session automatically, add a step with program RSBDCSUB00.

ASLO SEE
http://help.sap.com/erp2005_ehp_05/helpdata/en/69/c250414ba111d189750000e8322d00/conten
t.htm

Processing Sessions Automatically


Use
In most cases, batch input sessions can be processed automatically. It is not
necessary for a session to wait until a system administrator explicitly starts
the processing of the session.
This section explains how to have sessions started automatically soon after
the session has been generated in an SAP system.

Prerequisites
The ABAP program RSBDCSUB must be scheduled as a periodic job in the
SAP background processing system. RSBDCSUB checks for and starts any
batch input sessions that have not yet been run. It schedules such sessions
for immediate execution in the background processing system.

Procedure
Schedule RSBDCSUB to run periodically in one or more background jobs.
If you have regularly scheduled batch input runs, you can schedule separate
jobs for each of the scheduled data transfers. The start time for the
RSBDCSUB job can be set according to the batch input schedule. And you
can use a variant to restrict RSBDCSUB only to the batch input sessions that
you expect.
With RSBDCSUB, you can use all of the selection criteria offered on the batch
input main menu to select sessions to run:
session name
date and time of generation
status: ready to run or held in the queue because of errors

Result
Batch input sessions are started automatically rather than by hand. The
RSBDCSUB program can be set up to start all sessions that arrive in an SAP
system, or it can be fine-tuned to start only batch input sessions that you
expect.