How to Schedule Java statistics job
Hi All,
We have a installed a NW07 Portal system on one of the unix boxes.Now we would like to run the oracle statistics on the same. Since there is no ABAP stack, we can't schedule the same thru db13. Is there anyway we can run the same.
Can I configure the Java statistics jobs for this from the central solution manager using the DBACOCKPIT.
Can somebody tell how to do this??
Thanks for the help.
Regards
Ravi
Ravi,
Chek out the Following SAP Note as well as the PDF's to accomplish the task.:
Note 1027146 - Database administration and monitoring in the DBA Cockpit
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/107aa3f5-2302-2a10-f990-b4d2af1aaca0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1062428c-f1df-2910-b08f-c322feddcd10
Regards,
Karthick Eswaran
Similar Messages
-
How to schedule the back job scheduling
how to schedule the back job for bdc , can we use it for both call transaction and session method . how to schedule the back job schedulinng for lsmw
hi,
Use t-code SM36 for scheduling.
<b>Do reward.</b> -
How to schedule a background Job based on events
Hi,
We are on 4.6 C.
We have a background job that has two ABAP programs.
We need to start the 2nd ABAP program only after the first one has run successfully.
If the second ABAP program does not run, the the job should have a status "FINISHED".
Help appreciated.
Thanks
MalaHi,
How to schedule a background Job based on events,please refer to the follow SAP help:
You can use events that have already been defined, or you can create new events for scheduling background jobs.
If you wish to use new events, do the following to implement the event scheduling:
Define and transport the event as a user event with transaction SM62.
You must define only event IDs; event arguments are not defined in the R/3 System. Instead, you specify event arguments when you schedule a job to wait for an event and when you trigger the event.
If you define a new event, you must also transport it to your production systems. The event transaction does not have a connection to the transport system. Instead, you must create a transport request for the event yourself.
Do this to transport an event:
Create a transport request.
Start the editor in the transport request and enter the following:
R3TR TABU <table name> where table name is BTCSEV for a system event ID, BTCUEV for a user event ID.
Press F2 with the cursor on the table name to call up the screen for specifying the table entries to transport. In this screen, enter the event IDs that you have created.
Save and release the transport request. Ensure that it is imported into your production system(s).
To trigger an event, add:
the function module BP_EVENT_RAISE to your ABAP program, or
the program SAPEVT to your external script, batch file, or program.
When your programs execute these keywords, an event will be triggered in the R/3 background processing system. The event-based scheduler is started immediately. It in turn starts all jobs that were waiting upon the event, subject to normal background processing restrictions, such as the requirement that the job has been released to start.
Schedule the jobs that are to run when your events are triggered.
You can schedule jobs for one-time start or to be started whenever an event is triggered.
Regards,
collysun -
How to Schedule SAP background job at OS Level
Hi All,
Can Anyone tell me how to Schedule SAP background job at OS Level (unix).
Regards,
AnilHi Anil,
I donu2019t know your requirements, anyway itu2019s possible to setup your SAP job in order to start after an event, and after that you can get the event triggered from the Operating System in the following way:
- log into you Operating System with the SIDadm user id (at the Operating System level) and go to directory /usr/sap/SID/SYS/exe/run
- Run the SAPEVT executable as follows:
sapevt YOUR_EVENT -t pf=/usr/sap/SID/SYS/profile/DEV_DVEBMGS00_server001 nr=01
This will raise the event, and cause the job scheduled within SAP to execute.
You can periodically execute this job with crontab.
Thanks,
Federico Biavati -
How to schedule a background job in realtime
Hi,
Can you tell me how to schedule a background job in realtime.
give some example scenerios in scheduling the background jobs in realtime.
Thanks.
sam.And also.....
There are two ways for you to handle,
one manually setting up the job through SM36 which is better and convinient,
secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
Find below steps in doing both:
Procedure 1:
1. Goto Trans -> SM36
2. Define a job with the program and variant if any
3. Click on start condition in application tool bar
4. In the pop-up window, click on Date/Time
5. Below you can see a check box "Periodic Job"
6. Next click on Period Values
7. Select "Other Period"
8. Now give '15' for Minutes
9. Save the job
Procedure 2 via Program:
Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
L_RELEASE(1) TYPE c.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = 'ZTEMP2'
IMPORTING
JOBCOUNT = P_JOBCNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X' AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = P_JOBCNT
JOBNAME = 'ZTEMP2'
STRTIMMED = 'X'
PRDMINS = 15
IMPORTING
JOB_WAS_RELEASED = L_RELEASE
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
INVALID_TARGET = 8
OTHERS = 9.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Hope the above helps you.
***********reward points,if found useful -
How to schedule the background job using current selection screen field val
Hello Friends,
How to schedule the background job using current selection screen field values.
after completion of the job the spool should be sent as a mail to SAP Inbox.
Is there any way to create the variant dynamically by reading the current selection screen values.
Thanks,
RaviHi,
To get the variant details you can use teh following FM.
'RS_VARIANT_CONTENTS'.
Regards,
Ankur Parab -
How to schedule the background job daily twice?
Hi,
How to schedule the background job daily twice? any conditions?
Regards,
Srihithasee the step by step procedure.
Scheduling Background Jobs:
1. Background jobs are scheduled by Basis administrators using transaction SM36.
2. To run a report in a background, a job needs to be created with a step using the report name
and a variant for selection parameters. It is recommended to create a separate variant for each
scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.
company codes).
3. While defining the step, the spool parameters needs to be specified
(Step-> Print Specifications->Properties) to secure the output of the report and help authorized users
to find the spool request. The following parameters needs to be maintained:
a. Time of printing: set to Send to SAP spooler Only for now
b. Name abbreviated name to identify the job output
c. Title free form description for the report output
d. Authorization a value defined by Security in user profiles to allow those users to access
this spool request (authorization object S_SPO_ACT, value SPOAUTH). Only users with matching
authorization value in their profiles will be able to see the output.
e. Department set to appropriate department/functional area name. This field can be used in
a search later.
f. Retention period set to Do not delete if the report output needs to be retained for more
than 8 days. Once the archiving/document repository solution is in place the spool requests could
be automatically moved to the archive/repository. Storage Mode parameter on the same screen
could be used to immediately send the output to archive instead of creating a spool request.
Configuring user access:
1. To access a report output created by a background job, a user must have at
least access to SP01 (Spool requests) transaction without restriction on the user
name (however by itself it will not let the user to see all spool requests). To have
that access the user must have S_ADMI_FCD authorization object in the profile with
SPOR (or SP01) value of S_ADMI_FCD parameter (maintained by Security).
2. To access a particular jobs output in the spool, the user must have
S_SPO_ACT object in the profile with SPOAUTH parameter matching the value used
in the Print Specifications of the job (see p. 3.d above).
3. Levels of access to the spool (display, print once, reprint, download, etc) are
controlled by SPOACTION parameter of S_SPO_ACT. The user must have at least
BASE access (display).
On-line reports:
1. Exactly the same configuration can be maintained for any output produced
from R/3. If a user clicks Parameters button on a SAP Printer selection dialog, it
allows to specify all the parameters as described in p. 3 of
Scheduling background jobs section. Thus any output created by an online report
can be saved and accessed by any user authorized to access that spool request
(access restriction provided by the Authorization field of the spool request
attributes, see p. 3.d of Scheduling background jobs section).
Access to reports output:
1. A user that had proper access (see Configuring user access above) can
retrieve a job/report output through transaction SP01.
2. The selection screen can be configured by clicking Further selection
criteria button (e.g. to bring Spool request name (suffix 2) field or hide other
fields).
3. The following fields can be used to search for a specific output (Note that
Created By must be blank when searching for scheduled jobs outputs)
a. Spool request name (suffix 2) corresponds to a spool name in p. 3.b in
Scheduling background jobs section above).
b. Date created to find an output of a job that ran within a certain date range.
c. Title corresponds to spool Title in p. 3.c in Scheduling background jobs
section above).
d. Department - corresponds to spool Department in p. 3.e in Scheduling
background jobs section above).
4. Upon entering selection criteria, the user clicks the Execute button to
retrieve the list of matching spool requests.
5. From the spool list the user can use several function such as view the
content of a spool request, print the spool request, view attributed of the spool
request, etc. (some functions may need special authorization, see p.3 in
Configuring user access)
a. Click the Print button to print the spool request with the default attributes
(usually defined with the job definition). It will print it on a printer that was
specified when a job was created.
b. Click the Print with changed attributed button to print the spool request
with the different attributes (e.g. changing the printer name).
c. Click the Display contents button to preview the spool request contents. A
Print and Download functions are available from the preview mode. -
Hi
How to schedule a V3 job in ECC to execute at reqular intervals
ThanksHi
As already answered it could be scheduled using job control option relating to datasource in R/3 system.
In addition to these you can also set the V3 jobs if you have an external job controlling system which would execute V3 programs are regular interval as desired.
Various V3 programs as as:
RMBWV303 V3 job for Inventory
RMBWV312 V3 job for Deliveries
RMBWV313 V3 job for Invoices
RMBWV308 V3 job for Shipments
RMBWV318 V3 Job for Services
RMBWV311 V3 Job for Orders
RMBWV302 V3 Job for Purchase
Regards
Ashish -
How to schedule JAVA program as scheduled Job on portal 7.0 server ?
Hi,
Can you let me know on how do we schedule JAVA program as a scheduled job to run daily on portal 7.0 server ?
Thanks,
Vinit PugaliyaAm not clear on that,
check this
https://ecohub.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/abb91c2a-0b01-0010-6ca6-9f0f62268454 [original link is broken]
Am also new and now going through Job scheduler.
Will let u know if i get to knwo any thing more abt same.
Regards,
Ravi -
How to reschedule bw statistics job
Hi all!
We are running bw statistics in BW3.5 once a week. This job was set up by a consultant who now has left the project. I can see in SM37 that there is scheduled and running jobs regarding the statistics in his name once a week.
Now i want to remove the consultant from the system and therefore I want the bw statistics job to be triggered by another user. I can not do this in SM36 since the jobs are system generated.
How do I reschedule these jobs? Any clues are very welcome!!
Kind Regards
/PontusHi Pontus,
Try this:
You can copy the job and schedule it.
SM37 -->> select job >> from Menu, Job>> copy(specify new job name). New job will be copied under your User ID.
You can stop old job and schedule new job.
Hope it Helps
Srini -
ME05 How to schedule source list job with steps?
Can someone please give me instructions on how to create source list ME05 in background using "Steps"? I know how to create a background job in ME05 but need to have several jobs run back to back in the middle of the night. I am reluctant to shedule them at different times and would prefer to use the "Steps" function. Thanks for your input!
Hello
Steps:
First create variant for the report in normal execution mode (to provide input selection parameters in backgrpund)
1. Transaion code SM36
Give Job name you want created (Give some meaningful name) and Press enter
2. Give the ABAP program name
3. Select variant and save the selections
4. Come back to initial screen , select the Start condition button and provide the interval as per requirement to schedule the job and save.
5. Save the job.
Check the Job in SM37 and relase the Job.
warm regards
Rama -
HOw to schedule ''landscape fetch' job in Solution Manager???
HI,
Can any one please help me in scheduling LAndscape fetch job in solution Manager?
rEgards,
fAisalHi Venkatesh,
Thanks for your reply.
I checked by executing SLDCHECK. It opened the SLD page successfully. However, before that in the ABAP screen, it gave me error saying that:
=> Verify in the browser GUI that the SLD is in a healthy running state!
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 3
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
Now checking access to the XI Profile
Properties of RFC destination LCRSAPRFC
The RFC LCRSAPRFC was of type 3 ABAP. It asked me to change it to T (TCP/IP). I did so.
However, now I get this below error:
Properties of RFC destination LCRSAPRFC
RFC host:
program id:
gateway host:
gateway service:
Testing the RFC connection to the SLD java client...
RFC ping returned exception with message:
timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456#Timeout dur
I even tested this RFC in SM59. It gave the same error.
CAn you please help me?
REgards,
Faisal -
How to schedule a background job using the Event concept..?
Hi Folks,
I have a requirement that, I need a schedule a background job.
Once after the previous job successful only, new job should get triggered. How to go ahead with this..?
For Eg, I am scheduling a job called ZTEST periodically for 1 minute. If the job is not get completing with in 1 minute, I dont want to start my new job. Only after the success of my old job, I want my new job to run.
Waiting for ur replies.
Regards,
Savi.Hi,
You can use events that have already been defined, or you can create new events for scheduling background jobs.
If you wish to use new events, do the following to implement the event scheduling:
Define and transport the event as a user event with transaction SM62.
You must define only event IDs; event arguments are not defined in the R/3 System. Instead, you specify event arguments when you schedule a job to wait for an event and when you trigger the event.
If you define a new event, you must also transport it to your production systems. The event transaction does not have a connection to the transport system. Instead, you must create a transport request for the event yourself.
Do this to transport an event:
Create a transport request.
Start the editor in the transport request and enter the following:
R3TR TABU <table name> where table name is BTCSEV for a system event ID, BTCUEV for a user event ID.
Press F2 with the cursor on the table name to call up the screen for specifying the table entries to transport. In this screen, enter the event IDs that you have created.
Save and release the transport request. Ensure that it is imported into your production system(s).
To trigger an event, add:
the function module BP_EVENT_RAISE to your ABAP program, or
the program SAPEVT to your external script, batch file, or program.
When your programs execute these keywords, an event will be triggered in the R/3 background processing system. The event-based scheduler is started immediately. It in turn starts all jobs that were waiting upon the event, subject to normal background processing restrictions, such as the requirement that the job has been released to start.
Schedule the jobs that are to run when your events are triggered.
You can schedule jobs for one-time start or to be started whenever an event is triggered.
Regards,
Raj. -
How to schedule a print job in Lion.
I had snow leopard and when I upgraded to lion I can't figure out how to schedule print jobs. I use to be able to do work at night. Then print in the morning so I wouldnt disturb anyones sleep. How do I do it with Lion?
I have to agree that it's lame not having the Scheduled Printing as an option. I will reiterate that I too enjoyed "completing" a task to print in the morning in order to not disturb others while sleeping.
I've already sent Apple some Feedback. Hope it works and we can bring back this efficient option.
Here's the link to the Mac OS X Feedback page: http://www.apple.com/feedback/macosx.html
Cheers! -
How to schedule a crontab job for a script?
Hi,
Can anyone help me in this?
Actually, i want to schedule a crontab job for a script.
the script needs to check for a file in a diectory.
When ever a particular file in a directory is created, then i need to run that script. (creation time of file and execution time of script must be same)
So, how can i do this?
any suggestions?
Thanks,
Suman.crontab manual http://linux.about.com/od/commands/l/blcmdl5_crontab.htm
if you need check files on OS, crontab is good way... to do
Example: checking trace file older 30 days and remove (00.00 -> every days )
file.sh:
........begin file......
#!/bin/sh
find PATH/udump -name '*.trc' -type f -mtime +30 -exec rm {} \;
........end file......
$ chmod 750 file.sh
$ mv file.sh /home/oracle/file.sh
-- edit crontab
$ crontab -e
0 0 * * * /home/oracle/file.sh
-- list crontab
$ crontab -l
0 0 * * * /home/oracle/file.sh
good luck
Maybe you are looking for
-
When trying to view a chart in the portal it gives message
When hovering over the portal it says "Click to activate control" I have to click it before I can start a drill down or hover the bars for values etc. Is there a way to get rid of this?
-
Encrypted Live System on USB-thumb drive
Hey all, I am fed up with the different systems on various computers. So I want an Arch Linux Live System on an USB thumb drive I can carry around and plug into the computers I stumble upon. I want to be able to have some data (emails, favourites and
-
Hello All, I am facing some issue with Enhanced Reciever determiantion in PI 7.1 I am not able to select Operation Mapping(Interface mapping) in my Enhanced Receiver Determination. Any Inputs/links on this. Regards, Naresh
-
I keep getting this when Iinstall Itunes in my windows 8 computer, I am growing to hate windows 8 more each day.I have installed and uninstalled a dozen times or more. : (
-
HT1386 Will I loose apps if I sync?
I just updated my iMac and have os 10.6.3. Haven't updated or synced my iphone since purchase 4 (4.2.6). I am concerned about loosing everything on my iphone.