How to view ALL batch job details (SM37) at one glance ?
Dear all,
I am documenting all released batch job details, the information required includes the job name, client number, job frequency .. etc.
In order to see that information, i go to SM37 and click on each job to see the details. I have about 60 jobs released, to get their details i have to click on them at least 60 times.
Is there a report or table that i can refer to that provides me the information of all the jobs in one screen ?
Thanks.
Advice and comment will be appreciated.
Regards,
Kent
Dear Prashanth,
Thanks for the link, I managed to get the required information from table TBTCO or TBTCP with below selected fields.
JOBNAME = Background job name
SDLSTRTDT = Planned Start Date for Background Job
SDLSTRTTM = Planned start time for background Job
SDLUNAME = Initiator of job/step scheduling
PRDMINS = Duration period (in minutes) for a batch job
PRDHOURS = Duration period (in hours) for a batch job
PRDDAYS = Duration (in days) of DBA action
PRDWEEKS = Duration period (in weeks) for a batch job
PRDMONTHS = Duration period (in months) for a batch job
PERIODIC = Periodic jobs indicator ('X')
STATUS = State of Background Job, S = Released, F = Finished
AUTHCKMAN = Background client for authorization check
EVENTID = Background Processing Event
EVENTPARM = Background Event Parameters (Such as, Jobname/Jobcount)
Dear Juan,
Thanks for your reply.
Regards,
Kent
Similar Messages
-
How to view ALL batch job details at one glance using function module
Hi Experts,
i need to see all batch jobs details, the information required includes the job name, client number, job frequency .. etc.
but i need to do it with only FUNCTION MODULE.....
SINCE THE INFORMATION IS CAPTURED BY THIRD PARTY SYSTEM.......i am looking for any function module
could you please suggest me any FM's where i can get this information.................
thanks and regards
SAMHi,
You can explore these functional module for SM37 desired details:
With function module BP_JOB_MAINTENANCE (transaction SM37), you can call the full job maintenance system of the background processing system, starting with the job selection screen.
Since many users are not familiar with job maintenance and have no desire to search for their jobs, you can use the function modules BP_JOB_SELECT and BP_JOBLIST_PROCESSOR to select and display a list of jobs for the users of your program.
Use BP_JOB_SELECT to generate an internal table of jobs. Then, with BP_JOBLIST_PROCESSOR, you can display the selected jobs in the list format used by the job maintenance system.
You can also use BP_FIND_JOBS_WITH_PROGRAM to select jobs that run a particular program. Use this function module with BP_JOBLIST_PROCESSOR to display a job list to your users. Like BP_JOBLIST_SELECT; BP_FIND_JOBS_WITH_PROGRAM offers interactive and silent modes.
Regards,
Ashutosh -
How to view all user_source on others servers from one admin server?
Hello. Thank you for helping.
I am not able to view the source for other schemas locally or on remote servers, depending on the user logged, only for that schema, or something like that.
I use this command to view the source of a procedure:
select line, text
from user_source
where type='PROCEDURE'
and name='MY_PROC1'
order by line;
or this:
...from sys.user_source...
or this:
...from sys.user_source@dblink1...
Any suggestions are greatly appreciated.Okay, the DDL method is not going to work. Let me go back to my original question:
I use this command to view the source of a procedure, but I still cannot select source from a remote server across a dblink. How do I specify the remote schema with the user_source?
select line, text
from user_source
where type='PROCEDURE'
and name='MY_PROC1'
order by line;
or this:
...from sys.user_source...
or this:
...from sys.user_source@dblink1...
To APC: Regarding your comments about reading the docs, understanding privileges, decent source control and configuration management, etc., I would like to offer a few arguments which I think invalidates these (your entrenched) assumptions about proper Oracle development and the use of forums. Contact me offline if you are interested in learning more about the superior approach to development my work embodies.
Edited by: user652257 on Jun 23, 2009 12:50 PM -
How to create a batch job for transaction SM13 or SM37
How to create a batch job for transaction SM13 or SM37?
I want to create a batch job for t-code SM13/SM37, the jobs will send a email to my inbox when the errors occurred in SM13/SM37.
How to do this? thanks in advance.Hi,
Check the link:
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/30237989-0901-0010-70a4-944691eb5e52 [original link is broken]
Make sure the CCMS agent installation is in place as per the Monitoring setup guide.
Follow the link Central auto reactions for configuring alert mails.
Regards,
Srikishan -
How to handel a Batch job in oracle database
How to handel a Batch job in oracle database?
Regards
alokAlekh wrote:
lists of jobs execute concurrently.Thats a definition we all aware of ;), I meant do you want to execute the jobs in a sequence? is there any dependency? is it more like scheduling?
And What kind of jobs you are talking about? running PL/SQL programs? or stats collection? or DB backup?
Regards,
Prazy -
Hi
I need to deactivate all batch jobs in my SAP system. Does anyone know how to do this, alternatively know about a SAP Note that explains the procedure?
Thanks a lot
ThomasHi,
A simple way to achieve this is set the background processes parameter to ZERO.
rdisp/wp_no_btc = 0
By default Background Processing is inactive, we activate it during the Post install configuration.
for Re-activating check this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/c4/3a7f60505211d189550000e829fbbd/frameset.htm
Regards,
Siddhesh -
How to create a batch job through coding
Hi Experts,
How to create a batch job through coding?
Regards
SarojHi, below is the code.
***Create Variant for the job
***Get the dynamic variant name
DATA: variant_name TYPE varid-variant value 'test'.
DATA: vari_desc LIKE varid,
vari_contents LIKE rsparams OCCURS 0 WITH HEADER LINE,
vari_text LIKE varit OCCURS 0 WITH HEADER LINE.
CLEAR: vari_desc,vari_contents,vari_text.
REFRESH: vari_contents[], vari_text[].
vari_desc-mandt = sy-mandt.
vari_desc-report = 'ZCTRAOBJECT_CAL_FILEDAMT_JOB'.
vari_desc-variant = variant_name.
vari_desc-transport = 'F'.
vari_desc-environmnt = 'A'.
vari_desc-version = 1.
vari_desc-mlangu = sy-langu.
***Varint Text
vari_text-mandt = sy-mandt.
vari_text-langu = sy-langu.
vari_text-report = 'ZCTRAOBJECT_CAL_FILEDAMT_JOB'.
vari_text-variant = variant_name.
CONCATENATE 'job' 'Background' INTO vari_text-vtext SEPARATED BY space.
APPEND vari_text.
***Partner
IF ( p_partner-low IS NOT INITIAL ).
vari_contents-selname = 'PARTNER'.
vari_contents-kind = 'S'.
vari_contents-sign = 'I'.
IF ( ( p_partner-low IS NOT INITIAL ) AND ( p_partner-high IS INITIAL ) ).
vari_contents-option = 'EQ'.
vari_contents-low = p_partner-low.
ENDIF.
IF ( ( p_partner-low IS NOT INITIAL ) AND ( p_partner-high IS NOT INITIAL ) ).
vari_contents-option = 'BT'.
vari_contents-low = p_partner-low.
vari_contents-high = p_partner-high.
ENDIF.
APPEND vari_contents.
ENDIF.
***Contract Account
IF ( p_cont_acct-low IS NOT INITIAL ).
vari_contents-selname = 'CA_ACC'.
vari_contents-kind = 'S'.
vari_contents-sign = 'I'.
IF ( ( p_cont_acct-low IS NOT INITIAL ) AND ( p_cont_acct-high IS INITIAL ) ).
vari_contents-option = 'EQ'.
vari_contents-low = p_cont_acct-low.
ENDIF.
IF ( ( p_cont_acct-low IS NOT INITIAL ) AND ( p_cont_acct-high IS NOT INITIAL ) ).
vari_contents-option = 'BT'.
vari_contents-low = p_cont_acct-low.
vari_contents-high = p_cont_acct-high.
ENDIF.
APPEND vari_contents.
ENDIF.
***Contract Object
IF ( p_cont_obj-low IS NOT INITIAL ).
vari_contents-selname = 'CO_OBJ'.
vari_contents-kind = 'S'.
vari_contents-sign = 'I'.
IF ( ( p_cont_obj-low IS NOT INITIAL ) AND ( p_cont_obj-high IS INITIAL ) ).
vari_contents-option = 'EQ'.
vari_contents-low = p_cont_obj-low.
ENDIF.
IF ( ( p_cont_obj-low IS NOT INITIAL ) AND ( p_cont_obj-high IS NOT INITIAL ) ).
vari_contents-option = 'BT'.
vari_contents-low = p_cont_obj-low.
vari_contents-high = p_cont_obj-high.
ENDIF.
APPEND vari_contents.
ENDIF.
***Account Category
IF ( p_ctra_acc_category IS NOT INITIAL ).
vari_contents-selname = 'P_CAT'.
vari_contents-kind = 'P'.
vari_contents-low = p_ctra_acc_category.
APPEND vari_contents.
ENDIF.
***filed_freq_to_change_from
IF ( p_filed_freq_to_change_from IS NOT INITIAL ).
vari_contents-selname = 'P_TO_CH'.
vari_contents-kind = 'P'.
vari_contents-low = p_filed_freq_to_change_from.
APPEND vari_contents.
ENDIF.
***req_filed_freq_change
IF ( p_req_filed_freq_change IS NOT INITIAL ).
vari_contents-selname = 'P_CHANGE'.
vari_contents-kind = 'P'.
vari_contents-low = p_req_filed_freq_change.
APPEND vari_contents.
ENDIF.
***Test Run p_tstrun
vari_contents-selname = 'P_TSTRUN'.
vari_contents-kind = 'P'.
vari_contents-low = p_test_run.
APPEND vari_contents.
***Update Filing Frequency Checkbox
vari_contents-selname = 'P_FIL_FR'.
vari_contents-kind = 'P'.
vari_contents-low = p_update_filing_frequency.
APPEND vari_contents.
***Update Incoming Payment Channel Checkbox
vari_contents-selname = 'P_PAY_CH'.
vari_contents-kind = 'P'.
vari_contents-low = p_update_payment_channel.
APPEND vari_contents.
***Update Filing Channel Checkbox
vari_contents-selname = 'P_FIL_CH'.
vari_contents-kind = 'P'.
vari_contents-low = p_update_filing_channel.
APPEND vari_contents.
***Use Current Filing Period Checkbox
vari_contents-selname = 'P_CU_PER'.
vari_contents-kind = 'P'.
vari_contents-low = use_curr_per.
APPEND vari_contents.
****Create Variant thru Function Module
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = 'ZCTRAOBJECT_CAL_FILEDAMT_JOB'
curr_variant = variant_name
vari_desc = vari_desc
TABLES
vari_contents = vari_contents
vari_text = vari_text.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
****Prepare all the date for scheduling job
***Get the print parameters
DATA: params LIKE pri_params.
CLEAR params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_parameters = params.
params-paart = 'X_65_255'."'X_PAPER'.
***Open The scheduling job
DATA: job LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount.
CLEAR: job,jobcount.
job = 'ZCTRAOBJECT_CAL_FILEDAMT_JOB'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job
IMPORTING
jobcount = jobcount
EXCEPTIONS
OTHERS = 4.
***Job Submit
DATA: authcknam LIKE tbtcjob-authcknam.
CLEAR: authcknam.
authcknam = sy-uname.
params-primm = space.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = authcknam
jobcount = jobcount
jobname = job
priparams = params
report = 'ZCTRAOBJECT_CAL_FILEDAMT_JOB'
variant = variant_name.
***JOB_CLOSE
DATA: sdlstrttm TYPE tbtcjob-sdlstrttm,
released LIKE btch0000-char1.
sdlstrttm = p_job_start_time + 30.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
sdlstrtdt = p_job_start_date
sdlstrttm = sdlstrttm
jobcount = jobcount
jobname = job
IMPORTING
job_was_released = released.
Regs
Manas -
How to view all attachemt in outlook for user in my network
Hello,
how to view all attachment in outlook for users in my network
i am used below path:
"C:\Users\ username \AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook"
All attachments
I can not find some attachments exist on the
email did not find her on the track
above.
thanksHello,
You may also try this VBA solution:
https://gallery.technet.microsoft.com/office/Save-attachments-from-5b6bf54b
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Which are the required roles/privs for viewing all scheduler jobs in OEM?
Platform: Oracle 11.1.0.6 Enterprise Edition (64) Windows 2008 R2 Server
- I've created a new Admin user in "OEM>Setup>Adminstrators>Create"
- I checked the user in "OEM>Server>Users":
CREATE USER "SA_ADMIN"
PROFILE "DEFAULT"
INDENTIFIED BY "saadminsa"
DEFAULT TABLESPACE "SYSAUX"
TEMPORARY TABLESPACE "TEMP"
ACCOUNT UNLOCK;
GRANT SELECT ANY DICTIONARY TO "SA_ADMIN";
GRANT "MGMT_USER" TO "SA_ADMIN"
- "SA_ADMIN" was granted only the permissions above.
- I can log in OEM as "SA_ADMIN"
- I can see OEM backup jobs and the history
- But I cannot see any "scheduler" jobs in "OEM>Server>Jobs"
- I get a lists of the jobs in "OEM>Scheduler Central" but I cannot display any more information of "scheduler jobs"
- I logged off from OEM
- I granted SCHEDULER_ADMIN role to "SA_ADMIN"
GRANT SCHEDULER_ADMIN TO "SA_ADMIN";
- I logged back in OEM as "SA_ADMIN
- I can now see some scheduler jobs, but not all of the jobs, I still cannot see any of the new jobs I created logged in OEM as SYS.
Which are the required roles/privs for viewing all scheduler jobs in OEM?if you grant "SYSDBA" to the new Admin user then you can see the "scheduler" jobs.
GRANT SYSDBA TO "SA_ADMIN";
I wanted to grant "read" access in OEM for the new user.
This behaviour is strange.
Without the "SYSDBA" role the new user can see the OEM backup jobs that were create in as SYS, but it cannot see the "scheduler" jobs. -
Required roles/privs for viewing all scheduler jobs in OEM 10g
Hello,
I would like to know wchich role/priv schould have user to view all scheduler jobs
in OEM console 10g. My user can see only few jobs in Scheduler jobs part of OEM 10g. User sys see all scheduler jobs.
Thank you for replyHi,
If this is a highly privileged user you can consider the CREATE ANY JOB privilege. But this privilege allows a user to run code as any other user so it should only be granted very carefully.
A user can also view any job he is granted ALTER privileges on directly.
Hope this helps,
Ravi. -
How to view ALL my files in my iPad?
Hello,
How to view all my files in my iPad because the "others" in my iPad is taking a lot of space.
ThanksIf you just want a listing, you can do this:
select owner, object_type, object_name
from dba_objects
where object_type in ('VIEW','TRIGGER','PROCEDURE');(you don't want to see functions or packages?)
If you want to see the code for these types, an easy way is to use the package dbms_metadata to display them:
SQL> select dbms_metadata.get_ddl('TRIGGER','ORDERS_TRG','OE') from dual;
DBMS_METADATA.GET_DDL('TRIGGER','ORDERS_TRG','OE')
CREATE OR REPLACE TRIGGER "OE"."ORDERS_TRG" INSTEAD OF INSERT
ON oc_orders FOR EACH ROW
BEGIN
INSERT INTO ORDERS (order_id, order_mode, order_total,
sales_rep_id, order_status)
VALUES (:NEW.order_id, :NEW.order_mode,
:NEW.order_total, :NEW.sales_rep_id,
:NEW.order_status);
END;
ALTER TRIGGER "OE"."ORDERS_TRG" ENABLE -
How to view all the users existing in a Client
Hi
Can any one help me, How to view all the users existing in a Client (Other than SM04 and AL08).
I want to view not only the active users, but all existing users.
Thanks in Advance
ChandraHi,
Check table devaccess. to get all developers list
Reward points if helpful.
Regards,
Mukul
Edited by: Mukul Sharma on Jun 2, 2008 12:10 PM -
How to view all the patches installed in a WebLogic
Hi All,
Is there a way on how to view all the patches installed in a WebLogic Server particular the 10.3.1?
Thanks,
AceHi,
Check table devaccess. to get all developers list
Reward points if helpful.
Regards,
Mukul
Edited by: Mukul Sharma on Jun 2, 2008 12:10 PM -
How to view all my game including deleted ones on game center ?
Just asking how to view all of my game including the deleted ones on Game Center ?
You can't review you r deleted games in Game Center
-
How to view all open tabs?
I know how to view all open tabs for one Safari window but how do you view all open tabs for all open windows?
Bookmarks menu > Add These x Tabs to Reading List
Click the Reading List icon:
I think that is as good as it's going to get.
Maybe you are looking for
-
that's what happens now. I used to get Compressor to work...not now. I submit a batch (from Final Cut Express or stand alone and I set a preset and destination, click submit. The progress bar shows for a few seconds in the monitor window and then dis
-
When I use the right side of my keyboard my iPad quitsL
WHa hen I type a key on the right of my keyboard it quits
-
How to regenerate additional rows after user clicks enter?
Hi all, I am outputing the data through internal table(contains two fields 'Country' and 'Test')using ALV Classes. My requirement is user can add another row.And after appending another row user will enter country(say India) against the cou
-
hi, i m newbie.. how can i use struts in my jsp page. i have Jakarta Tomcat4.1.24 ,
-
IPhone 5 / iOS 6.0.2 network issue
I found the problem of my iPhone5+iOS6.0.2 It is all about network. By SpeedTest.Net app, combinatons of wifi, lte, celluar data options on and off, I could get each individual speed and server connected. (My wifi = 18M, LTE = 7M, 4G/3G = 1.5M) When