How to identify the related job, after sheduling a infopackage?
Hi,
Anybody explain that how to identify the related job after scheduling a infopackage in the BW system?
Hi Aditya,
Goto SM37->Search Job BI_BTCH*
Job Prefix.
http://help.sap.com/saphelp_nw70ehp1core/helpdata/en/da/0318025d64a84b94542641ed77ee74/content.htm
Hope it helps.
Thanks and Regards,
MuraliManohar.
Edited by: Muralimano on Jun 5, 2011 9:38 AM
Similar Messages
-
Hi guys,
we have a batch job for
1. creating invoice
2. and printing invoices.
How do i identify the background job being used for the above two.
REgards,
AnandHow do i identify the background job being used for the above two.
1. creating invoice
In t.code VF02/VF03, go to the header level. Here you can see the created by field. This carries background billing job user name (for example SDBATCH).
2. and printing invoices.
In VF02/VF03, go to menu Goto->header->outupt. Highlight the output and click on the further data button. Here you can see created by at the botton(for example batch billing). By this way, you can identify, these are created by background jobs.
Regards, -
How to Reschedule the DBMS jobs after Cloning
Hi ,
Before Cloning , i took the backup of dbms jobs using the command
SELECT job, what, next_date, next_sec FROM dba_jobs;
After the clone is done , how should I resubmit the job?. Do we need to submit the job using the plsql block with commit in like below
VARIABLE jobno NUMBER
BEGIN
DBMS_JOB.SUBMIT(:jobno,
what=>'statspack_alert.sql;',
next_date=>sysdate,
interval=>'sysdate+1' );
COMMIT;
END;
or
Can I submit the jobs directly like below
Execute dbms_job.submit(
what=>'statspack_alert.sql;',
next_date=>sysdate,
interval=>'sysdate+1');
In the plsql block , can i hard code the job number?.
If we are using the bind variable, when the job is sumbitted , does it get assigned with job number?
Do we need to submit the job as the owner of that job or sysdba can submit the job on behalf of the owner?
Please address my questions
Thanks
NaveenCan I submit the jobs directly like below
Execute dbms_job.submit(
what=>'statspack_alert.sql;',
next_date=>sysdate,
interval=>'sysdate+1');What happens when you actually do it?
Why ask us rather than do it yourself?
PROCEDURE SUBMIT
Argument Name Type In/Out Default?
JOB BINARY_INTEGER OUT
WHAT VARCHAR2 IN
NEXT_DATE DATE IN DEFAULT
INTERVAL VARCHAR2 IN DEFAULT
NO_PARSE BOOLEAN IN DEFAULT
INSTANCE BINARY_INTEGER IN DEFAULT
FORCE BOOLEAN IN DEFAULT
In the plsql block , can i hard code the job number?.NO
If we are using the bind variable, when the job is sumbitted , does it get assigned with job number?yes, see above
Do we need to submit the job as the owner of that job or sysdba can submit the job on behalf of the owner?No option to assign OWNER, so need to CONNECT as desired owner before DBMS_JOB.SUMBIT -
How to take the cron job log in HP UX?
Hi,
How to take the cron job log in HP UX
I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs?
A. Cron service is required to run jobs and tasks such as backup.
You must login as the root to run following commands. Each user that is using the cron service must have a cron configuration file in the /var/spool/cron/crontab directory. Also users are permitted if their name appeared in /var/adm/cron/cron.allow file
Task: Find out if cron is running under HP-UX
Type the following command at a shell prompt
# ps -ef | grep cron
Open /etc/rc.config.d/cron file
vi /etc/rc.config.d/cron
Set control variable to 1 to enable cron: CRON=1
Set control variable to 0 to disable: CRON=0
Close and save the file. To start or stop cron you can type the following command:
# /sbin/init.d/cron start <-- start cron
# /sbin/init.d/cron stop <-- stop cron
Task: HP-UX Start cron service
If cron is not running, simply type:
# cron
Task: Edit / create cron jobs
Type the following command to submit a cron job:
# crontab -e
List your cron file:
# crontab -l
Backup all your cron jobs:
# crontab -l > ~/backup.cron.jobs
Remove ALL cron job:
# crontab -r
Task: Crontab file format
Cron file format is as follows:
MIN HOUR DATE MONTH DAY /PATH/TO/COMMAND
0-59 0-23 1-31 1-12 0-6 /root/scripts/backup2tape.shEasy to remember crontab file format:
* * * * * command to be executed
| | | | |
| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)To run /root/script/backup at 23:00, every day, enter:
# crontab -e
Append following
0 23 * * * /root/script/backupRun foo job very weekday (MON-Fri) at 6am, enter:
0 6 * * 1-5 /root/script/backupFor more information refer to cron and crontab man pages.
Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.
Related Other Helpful FAQs:
What is Cron?
Linux Start and stop the cron or crond service
Run crontab Every 10 Minutes
Linux / UNIX Setup and run php script as a cron job
Stop Ubuntu / Debian Linux From Deleting /tmp Files on Boot
Discussion on This FAQDavid Says:
January 15th, 2008 at 12:21 am
You might note that all files normally found in /etc/init.d, /etc/rc*.d, and others are all in /sbin in HP-UX 10.20 and up.
Note too that your formatting is off in the description of the /etc/rc.config.d/cron file. Also, if you run /usr/bin/cron instead of /sbin/init.d/cron start, the /etc/rc.config.d/cron file is not used.
Regards,
SatyaI guess it would :)
btw, how did this piece miss from the contents pasted by the OP ?
The doc has given all details of CRON and missed where to see the logfiles. :)
****Added****
I tried man crontab in windows, i dont see it.i overlook most of the things, i would have done the same ;)
Edited by: Bobcatalog on Oct 23, 2008 9:40 AM -
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. -
How to identify the DDL changes ?
Hi all,
How to identify the DDL changes done to the database ?
By triggers only Or we can use Logminer also OR
SELECT * FROM USER_OBJECTS where object_type = 'TABLE' order by LAST_DDL_TIME desc;
OR
is there any other options are available ?
Thanks in advance,
PalSomething from asktom might help
tkyte@TKYTE816> create or replace trigger ddl_trigger
2 after create or alter or drop on SCHEMA
3 declare
4 l_sysevent varchar2(25);
5 l_extra varchar2(4000);
6 begin
7 select ora_sysevent into l_sysevent from dual;
8
9 if ( l_sysevent in ('DROP','CREATE') )
10 then
11 if l_sysevent = 'CREATE'
12 then
13 begin
14 select 'storage ( initial ' || initial_extent ||
15 ' next ' || next_extent || ' .... )'
into l_extra
16 from all_tables
where table_name = ora_dict_obj_name
17 and owner = user;
18 exception
19 when no_data_found then null;
20 end;
21 end if;
22
23 insert into log
24 select ora_sysevent, ora_dict_obj_owner,
25 ora_dict_obj_name, l_extra
26 from dual;
27 elsif ( l_sysevent = 'ALTER' )
28 then
29 insert into log
30 select ora_sysevent, ora_dict_obj_owner,
31 ora_dict_obj_name, sql_text
32 from v$open_cursor
33 where upper(sql_text) like 'ALTER%' ||
34 ora_dict_obj_name || '%'
35 and sid = ( select sid
36 from v$session
37 where audsid=userenv('sessionid') );
38 end if;
39 end;
40 / -
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 identify the user who created the variant
Hi All,
Can anyone tell me how to identify the user who created the variant ?Hi Dear,
For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
From this table u can know which user created the variant. Hope this solve your purpose.
Regards -
How can identify the default currency for a customer?
How can identify the default currency for a customer?
I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
BlueHi Gary,
As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
<b>Reward points if it helps!!</b>
Best regards,
Vikash -
How to stop the background job "Sap_collector_for_job_statistic"
Dear All,
Kindly let me know how to stop the Background job "Sap_collector_for_job_statistic" which is running everyday.
We want to stop this background job.
Kindly suggest.
Regards,
MullairajaSelect the Job using SM37 transaction. In the Menu Choose
Job ---> Cancel Active Job.
Before you do this it may be good idea to check the pid using SM50.
It will be using a Background work process. Check the pid and the status.
Select the same and in the Menu Choose Process --> Cancel with Core.
Refresh and check in SM37 for the Active and Cancelled Jobs. -
How to stop the v3 jobs?
how to stop the v3 jobs?
Goto SM37... Give Job Name as LIS. User *.
Enable Scheduld, Released and Active Check boxes...execute.
check job belongs to your Application.
You cancel the Active Job if you stop the Job.
or
You can make Released Job to Scheduled (Menu option Job --< Released --> Scheduled.).
Hope this helps.
Nagesh Ganisetti. -
How to stop the spinning ball after trying to install 10.7.3?How
How to stop the spinning ball after trying to install V10.7.3?
Boot from your recovery partition by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
When the Recovery desktop appears, reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin. -
How to debug the background job in ABAP
Hi Guys,
Can anyone let me know how to debug the background job in ABAP.
Thanks in advance
peterHi,
Goto SM37 and see the log if any is there and based on that you can check the code.
you can't debug background job.
Create a Variant for the Program and
Schedule JOB in background:
Go to SM36 create a Job
enter Program and Variant for that program in STEP..
click on Start Condition
Click on DATE and TIME enter date scheduled Start and END times
click on Period Values
Click on HOURLY/WEEKLY etc
CLick on RESTRICTIONS also to use further criteria.
so your job will be scheduled and run as per your requirement.
and in SM37 Transaction check the status of that JOB
Check this link for scheduling jobs..
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
Check this
http://jplamontre.free.fr/SAP/Debug%20background%20process.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&
Regards,
Padmam. -
How to identify the type of pocketpc barcode scanner?
How to identify the type of pocketpc barcode scanner whteher it is intermec or symbol?
GSHi,
well, this is the brand of the PDA - the Scanner itself is build into the device. So if you have an intermec device - you have an intermec scanner and vice versa. It is not recommended to use a HP device for example with an external scanner. This scenario is not really supported by the MI setup guides.
Hope that helps!
Regards,
Oliver
Maybe you are looking for
-
Problem in retriving the realpath from the servlet
Hai All, I am facing problem in retriving the realpath from the servlet. I am using the following code in order to retrieve the path. String prefix = getServletContext().getRealPath("/WEB-INF/classes"); The value returned from above code is null. I a
-
Simple question, how to get photos fading in and out
Sorry, don't use Flash much at all, I'm trying to do something that's probably very simple. This question has probably been answered before but I'm not even really sure what keywords to search for, I tried slideshow and a glut of irrelevant info cam
-
IMovie (09) keeps quitting on me whenever I try to share my project
what can i do to fix this?! Thread 0: 0 com.apple.QuickTime 0x933ae8f1 icm_Copy_32ARGB_2vuy + 3292 1 com.apple.QuickTime 0x933acab1 icmCopyUsingVImage + 4288 2 com.apple.QuickTime 0x93
-
Materiazed view with fast refresh
Hi All, I want to create a Materialized view with fast refresh. I think for fast refresh we need to set up a materialized view log first before the MV gets created. Can someone please provide the steps and the syntax to do this? I am new to MV creati
-
I have an iphone 3gs. I recently got unlimited texting added to my att plan. I can attach images to anyone who has an iPhone with os 5 (imessaging)). Why can't I attach images to people who I text non-imessage?