Example to create a periodic job
can any one give me a example to create a periodic job
Hi !
Here's how to do it - in this example to create a periodic job... just try it...
First - create a Report-Variant for your print programm using the SE38.
Then...
1.) Call the transaction SM36
Enter a Job Name / You may set a job class other
than 'C' (See online Help on that field).
2.) Push the STEP Button
3.) Push the ABAP Program button
Enter der programm name an the variant name
save that window
4.) Push "BACK"
5.) Push "Start Condition"
6.) Push Date/Time
Enter Date + Time for the first start
Mark "Periodic Job" !!
7.) Push "Period Values"
Set the period you want the job to be started
Save everything
That should work....
read this SAP help for Job Scheduling.
http://help.sap.com/saphelp_nw04/helpdata/en/ef/2c513897110872e10000009b38f889/frameset.htm
Regards
Similar Messages
-
Job Scheduling in Solution Manager - Error creating Periodic Job
Hi all,
I am in the process of testing the Job Scheduling functionality using the Solution Manager. I have setup the criteria manager, ec. in the satellite system, and done the config in Solman as well.
I am able to successfully setup up a 'on-time' job.
it's only when I try to setup a periodic job, I end up getting following error
Any thoughts? Is there any piece of config that's missing? All the SICF services needed for this functionality are running fine.
Thanks for the help.
500 Internal Server Error
Error when processing your request
What has happened?
The URL https://fsspsm.target.com:/sap/bc/webdynpro/sap/wd_ags_ejr_job_req_gaf_app was not called due to an error.
Note
The following error text was processed in the system PSM : Message was not created
The error occurred on the application server fsspsmap01_PSM_00 and in the work process 1 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Function: BAPI_NOTIFICATION_CREATE of program SAPLDSWP_NOTIF
Method: MSG_SUBMIT of program CL_DSMOP_BSP_NOTI_MODEL=======CP
Method: SUBMIT_REQ_CRM_DATA of program CL_AGS_EJR_JOB_REQUEST_FACTORYCP
Method: SUBMIT of program CL_AGS_EJR_JOB_REQUEST_FACTORYCP
Method: PROCESS_SCENARIO_PERIODIC of program CL_AGS_EJR_JSM_PROC_STANDARD==CP
Method: PROCESS_JOB_SCENARIO of program CL_AGS_EJR_JSM_PROC_STANDARD==CP
Method: IF_AGS_EJR_JSM_PROC_FPM_CTRL~AFTER_PROCESS_EVENT of program CL_AGS_EJR_JSM_PROC_STANDARD==CP
Method: AFTER_PROCESS_EVENT of program /1BCWDY/K54G9RCMK7J4Z427H49S==CP
Method: IWCI_IF_FPM_APP_CONTROLLER~AFTER_PROCESS_EVENT of program /1BCWDY/K54G9RCMK7J4Z427H49S==CP
Method: CALL_UIBB_PROCESS_EVENT of program CL_FPM========================CPHello,
This is the basic Job Scheduling functionality and not the Redwood Job scheduling, correct?
Have you performed the IMG Activiteis in SPRO?
See the following Help link:
http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/c5/7edcbd58ce4e29bc1baf1c4761d71f/frameset.htm
Change a job
You can change the scheduling of a job as long as it has not been completed. Proceed as follows:
Make changes.
Note
When you change a periodic job, the system searches for the changeable successor and only changes this successor.
If there is more than one changeable job with the same name, the system does not change any of these jobs.
End of the note.
Save your entries.
To release the job in the target system, select Release.
You go to the transaction SM37 in the target system.
You just may want to ensure HTTP Services have been enabled. I realize you said the services workin SICF, but this needs to be verified as 500 Internal Server Error most often means the HTTP services are not activated.
Regards,
Paul -
Auto TECO Orders for which finished date has been reached-Periodic Job
Dear PP GURUS N EXPERTS,
My company want to TECO all the production order automatically for which finished date has been reached or (Finish date is before current date).
On SDN, I have found that it can be carried our by scheduling the variant of PPIO_ENTRY or COHV. and it will be a periodic job.
I want to know that for this which parameters I have to select and where / how I mention that order finish date has been reached. Since it will be a periodic job.
Early response will be highly appreciated.
With thanks,
DSCDear DSC
You can use tranaction code CO44, define a variant for periodic job.
Important selection parameters :
Status selection profile : define which kind of production orders you want to set TECO indicator, for example with status CNF or DLV.
Basic finish date : define basic finish date, for example if you want to TECO the production orders whose basic finish date is less than or equal current date, when you create the variant, selection variable can be D ( D: Dynamic date calculation ), name of variable can be "current date"
Actions : please select the indicator "complete Technically".
You can have a try, please let me know the result.
Qiu -
How to create posting period veriant
Hi Gurus,
I Want to create posting period veriant for update periods ,
Say per exmple : in UAT phase project ... need to update posting periods with diffrent dates .. meaning of that we need see all periods like monthly jobs ,yearly jobs also ...
see below exmple i got .. as a functonal consultat can i do ?
Allowed OB52 based on company code
If you have several company codes and want your users only to be able to open and close periods
(transaction OB52) belonging to their posting period variant (=company code).
First you configure the Posting Variant :-
1) FI- FI Global Settings - Document - Posting Periods - Define Variants for Posting Periods
2) FI- FI Global Settings - Document - Posting Periods - Assign Variants to Company Code
Second Step:-
Goto SE11 copy the view V_T001B to ZV_T001B_000X (000X indicate the Posting Variant)
In Change mode, tabstrips Selection Conditions Insert line 2 with
Table Field Name Operator Comparative Value AND/OR
T001B BUKRS EQ '000X' AND
Save your entries
Third Step :-
Goto SE54, Options Generated Objects -> Create
Authorizations Group FC31
Function Group Z00F0
Maintenance Type One Type
Overview Screen 65
Single Screen 0
Final Step :-
Goto SE93, Create a new transaction code ZOB52_000X
Start object - Transaction with parameters (parameter transaction)
Transaction SM30, Tick Skip initial screen
Name of screen field Value
VIEWNAME ZV_T001B_000X
UPDATE X
Save your entries.
Now, test your new transaction code ZOB52_000X which will only display the
Posting Variant that you have define in your table view.
Regards,
purnaThe variant for posting periods is defined for every company code. The name of this variant is identical to the company code name. Every company code is allocated to this variant with the same name.
Path: IMG > Financial Accounting > Financial Accounting Global settings > Document > Posting Periods > Define Variants for Open Posting Periods.
Path: IMG > Financial Accounting (New) > Financial Accounting Global settings(New) > Ledger > Fiscal year and Posting Periods > Posting Periods > Define Variants for Open Posting Periods.
Transaction Code: "OBBO" -
How to create a batch-job dynamically?
Hello,
I would like to create a batch-job from within my abap code.
Therefore I want to determine a abap-report to be executed every X-Hours.
Do you have some sample code for creating a batch job?
I need to do it in abap because I want to create a TN to trigger the code creating the job.
So the user interaction will be minimal to start a periodic batch job.
thanks.Hi Daniel,
select options could be stored by export/import to/from database:
DESCRIBE TABLE t_vkpos LINES n.
READ TABLE t_vkpos INDEX n.
lastmaxvbeln = t_vkpos-vbeln.
PERFORM get_varimemkey USING p_vari CHANGING vkposmemkey.
EXPORT lastmaxvbeln TO DATABASE indx(zk) ID vkposmemkey.
IF NOT sy-subrc IS INITIAL.
PERFORM get_varimemkey USING p_vari CHANGING vkposmemkey.
IMPORT lastmaxvbeln FROM DATABASE indx(zk) ID vkposmemkey.
IF sy-subrc IS INITIAL.
ls_vbeln-sign = 'I'.
ls_vbeln-option = 'GT'.
ls_vbeln-low = lastmaxvbeln.
APPEND ls_vbeln.
ENDIF
FORM get_varimemkey USING vari TYPE raldb_vari
CHANGING memkey TYPE char22.
IF vari IS INITIAL.
RAISE get_varimemkey_unexepected.
ENDIF.
CONCATENATE 'Z_VKPOS_' vari INTO memkey.
ENDFORM. "
regards
Walter Habich -
How to identify what are all the events are created in background jobs?
Hi all,
how to identify what are all the events are created for background jobs. And what events gets triggered for a particular job.
thanxs
harithaHi Haritha,
JOB is a program which starts to a determined point of time and executes some standard programs in the system. JOBs can be planed to a determined point of time on the regular basis (every night, for example) or to some discret time moments. So, the JOB can be planed and then will be started automatically without the manual start.
Realtime programs are understood in the most cases as actual program execution which is started by somebody to the actual moment of time.
Typically per JOBs some special processes will be started that should be executed automatically and regularly: for example, IDOC application, some correction reports, statistic updates etc.
Standard jobs are those background jobs that should be run regularly in a production SAP System These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
Use
As of Release 4.6C, the Job Definition transaction ( sm36 ) provides a list of important standard jobs, which you can schedule, monitor, and edit.
Standard jobs are those background jobs that should be run regularly in a production SAP System. These jobs are usually jobs that clean up parts of the system, such as by deleting old spool requests.
for more information you can go thru the following thread:
http://help.sap.com/saphelp_nw70/helpdata/en/24/b884388b81ea55e10000009b38f842/frameset.htm
About Events:
Events have meaning only in the background processing system. You can use events only to start background jobs.
Triggering an event notifies the background processing system that a named condition has been reached. The background processing system reacts by starting any jobs that were waiting for the event.
Types of Events:
There are two types of events:
1.)System events are defined by SAP. These events are triggered automatically when such system changes as the activation of a new operation mode take place.
2.)User events are events that you define yourself. You must trigger these events yourself from ABAP or from external programs. You could, for example, signal the arrival of external data to be read into the SAP system by using an external program to trigger a background processing event.The event scheduler processes an event if the event is defined in the system.
For example, if a system (System 1) receives an event from another system (System 2), the event scheduler of System 1 processes the event only if it is defined in System 1. That event does not need to be defined in System 2 (the sending system).
You define an event by assigning a name (EVENTID) to it. When defining an event, you do not define the event arguments.
for more information you can go thru the following thread:
http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e2a543b11d1898e0000e8322d00/frameset.htm
When you schedule the process chain or infopackages the jobs associated with it run in the background mode. In case you want to create a job for a specific activity you can do so in SM36. You would be creating jobs that would get executed in any one of the options:
1. Immediate
2. Date & Time
3. After event.
4. After job.
5. At Operation mode.
In case you want to view the job logs go to sm37.
Also Pls check DB02 for database performance and ST03 for workload .
Analyse u will have an idea ,
*pls assign points,if info is useful**
Regards
CSM reddy
null -
Hi,
I need to run an SQL script every night across all of my database targets. My problem is that the data contained in the script will change every day, so I need some way of creating a dynamic job. Any ideas on this?
Could I create/submit the job using emcli called from a korn shell cron job for example?
Any other suggestions?If you execute a script from the filesystem, it needs to be available at the Agent side Host.
So therefor it would be better to include the script itserlf in the Job Specification, you can then decide to store the job in the Job Library. Then the script is stored in the Library in a central location and you can execute it on any host target you like
Regards
Rob
http://oemgc.wordpress.com -
Issue in periodic jobs monitoring
Hi Guys ,
i have created a program for monitoring periodic jobs. out of list of some 120 predefined periodic jobs if the job is not released (Status S in table TBTCO) then send a warning mail with details of the jobs.
this program is set as a daily job. now problem is that when my program runs through job then it sends some jobs in mail though they r released...while manually checking in table TBTCO i found 92 jobs are in released status but if checking after 5 mins its showing 91 jobs in released status....can any one know why these periodic jobs status behaves randomely... is it like if periodic job is delayed then its status is not released...or do any one have any idea regarding this abnormal behavior???
Kind Regards,
Jacks M.My Dear Experts,
It is my select query hitting at a particular job changing it's status for released to Ready/Active in which the difference might be in Micro/Nano Seconds this has caused the job monitor tool output showing the relevant job as Not Released... Thanks guys for being patient enough to a query which might be insufficient in getting ur minds work...
Kind Regards ,
jacks. -
REG : disable "periodic jobs" icon
While scheduling a job in background there is checkbox on the screen "periodic jobs",
its our client requirement that they want disable this check box for some particular users , so it will have to disable through authorization but I could not find any object
Or option to disable it can any one Help me !!
Hearty thanks in advance
sathiesHi,
With auth objects check you wont be able to switch of or disable the periodic check option in SM36. Via auth objects you can only restrict the authorization to a particular txn or screens of a txn, not to screen values.
You will have to create a transaction variant for SM36 (this can be client-dependent or client-independent) in txn SHD0. The screen variant is automatically created when you create a txn variant. Please, find below the link to create a txn variant.
http://help.sap.com/saphelp_nw70/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm
Once,you have finished creating a txn variant - you can then have a txn itself which then calls the original txn with the variant only. This is known as a VARIANT Transaction. You then go ahead and share this with the customer and lock down the SM36.Please find below how to do this.
http://help.sap.com/saphelp_nw70/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm
Please note the restrictions as wel:
Only "normal" screens, dialog boxes, and subscreens can be included in the variant. The screens of the following functions may not be included:
- Help and possible entries help (F1, F4)
- List display (and selection screens)
- Confirmation dialog boxes
- Various system functions (status display, save list...)
Hope this helps.
- Regards, Dibya -
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 -
Hi ABAP gurus,
I would like to seek help in the use of the FM BP_JOB_ABORT. I need to cancel a periodic job and need to cancel all occurences of the job. When I used this FM, it only cancelled the active job and still created another job meant to run for the next period. Hope someone can help me on this. Thanks in advance.Go to the Job definition in transaction SM37 and remove the Periodic Job specification.
-
How to call oracle package periodically (JOB)
Hi All,
My requirement is that, I have created a package and i want to run the package periodically (job) every 5mins.
can any one help me in this?
Thanks,
SIvaprasadI'm posting the first scenario,
You can check that ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.01
satyaki>
satyaki>
satyaki>create table test_job_stat
2 (
3 cola varchar2(30)
4 );
Table created.
Elapsed: 00:00:00.66
satyaki>
satyaki>
satyaki>select * from test_job_stat;
no rows selected
Elapsed: 00:00:00.10
satyaki>
satyaki>
satyaki>create or replace package test_sa
2 is
3 procedure test_a;
4 procedure test_b;
5 end;
6 /
Package created.
Elapsed: 00:00:00.03
satyaki>
satyaki>
satyaki>create or replace package body test_sa
2 is
3 procedure test_a
4 is
5 begin
6 insert into test_job_stat values('Inside A');
7 end;
8
9 procedure test_b
10 is
11 begin
12 insert into test_job_stat values('Inside B');
13 end;
14 end;
15 /
Package body created.
Elapsed: 00:00:00.16
satyaki>
satyaki>
satyaki>variable jobno number;
satyaki>
satyaki>begin
2 dbms_job.submit(
3 :jobno,
4 'BEGIN test_sa.test_b; END;',
5 INTERVAL => 'SYSDATE + 2/86400'
6 );
7 commit;
8 end;
9 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.05
satyaki>
satyaki>
satyaki>select * from test_job_stat;
COLA
Inside B
Inside B
Elapsed: 00:00:00.07
satyaki>/
COLA
Inside B
Inside B
Inside B
Elapsed: 00:00:00.05
satyaki>/
COLA
Inside B
Inside B
Inside B
Elapsed: 00:00:00.08
satyaki>/
COLA
Inside B
Inside B
Inside B
Inside B
Elapsed: 00:00:00.10
satyaki>
satyaki>print jobno
JOBNO
22
satyaki>
satyaki>
satyaki>exec dbms_job.remove(22);
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.03
satyaki>
satyaki>
satyaki>select * from test_job_stat;
COLA
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
9 rows selected.
Elapsed: 00:00:00.13
satyaki>/
COLA
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
9 rows selected.
Elapsed: 00:00:00.13
satyaki>/
COLA
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
Inside B
9 rows selected.
Elapsed: 00:00:00.12
satyaki>Hope this will give you one basic idea.
Regards.
Satyaki De. -
Step by step periodical job info
hi gurus
i want infromation about periodical jobs.
can send the inform aio to my id
[email protected]
kishoreHi
The transaction codes used for this are SM36, SM37.
First you have to create a variant for your job (if you want to do invoicing once in 3hours, then go to VF04, give the selection criteria and then save it as a variant)
Now go to SM36, Create a job name, go to steps, give the program name(in our case the prog name of tcode VF04, which u can find in Status link of System in the user menu.) and the variant name.
After that you can click the start condition button and mention the time and date and dont forget to click the Periodic job checkbox.
At each step, you have to save the settings.
Now after SM36, the job gets scheduled, and once in 3hours, you can go to SM37, give the job name and find out the result of the job.
Pls assign reward point if it helps. -
Hi All,
I have scheduled two jobs periodically with same variant. The two jobs runs every day at same time. But two jobs are cancelling automatically. In job log the reason is Program is already active in background.
But in non periodic jobs, i mean i have two more jobs scheduled at same time with same variant. Those two jobs are not periodic jobs. In this case two jobs have been completed.
What would be the reason for cacel?
Thanks
LakkiHello Lakki,
look below this may help full for u..
use different Infopackages for different date selections, or else take example and proceed like below mentioned.
i think u will get idea.
Go to SM37 and enter your job name. In the checkboxes below, check 'Released' only and uncheck all others. In the date range give a future date in the 'To' date.
Once you get the list(there should only be one that is in released status), select that and delete(trash can in the application toolbar). That will remove it from future schedules.
Regards,
Lakshman.Annamaneni. -
Error while creating a Scheduled job in OIM 11g
While creating a scheduled job, if i click on the Task and search to select the value, i get the following error.
<Nov 14, 2011 5:10:24 PM IST> <Error> <oracle.adfinternal.view.faces.config.rich
.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during
PPR, #1
javax.servlet.ServletException: java.lang.AssertionError
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
ava:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:447)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:447)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
erImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
r(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
lter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmt
NavigationFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthCon
textFilter.java:108)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
76)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
il.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
a:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
61)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
6)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
ilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.AssertionError
at org.apache.myfaces.trinidad.component.ChildArrayList.__removeFromPare
nt(ChildArrayList.java:191)
at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayLi
st.java:53)
at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayLi
st.java:69)
at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayLi
st.java:33)
at oracle.iam.consoles.faces.render.canonic.UIValue$UIEntitySelector.sea
rch(UIValue.java:1670)
at oracle.iam.consoles.faces.render.canonic.UIValue$UIEntitySelector.acc
ess$2400(UIValue.java:1467)
at oracle.iam.consoles.faces.render.canonic.UIValue$EntitySelectorQueryL
istener.processQuery(UIValue.java:1787)
at oracle.adf.view.rich.event.QueryEvent.processListener(QueryEvent.java
:67)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXC
omponentBase.java:675)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:108)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
un(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
ocessPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
adcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
de.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
un(ContextSwitchingComponent.java:93)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
ocessPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
adcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
de.java:96)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents
(LifecycleImpl.java:902)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
ifecycleImpl.java:313)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
leImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
ava:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:447)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:447)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
erImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
r(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
lter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmt
NavigationFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthCon
textFilter.java:108)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
76)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
il.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
a:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
61)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
6)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
ilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
This behavior is seen in most of the lookups when we try to search for value.
Please let me know for any configuration steps for the same issue.Have you tried restarting the db and the server? I have seen this on user search and a db restart along with server restart solved it for me. Also note that this error in my case was due to wrong mds file. so for you also check ur tasks and any custom xml which might have some errors into it.
HTH,
BB
Maybe you are looking for
-
Unable to find Prefix Rule In CCMP portal
Hi all, I am using Cisco CCMP portal version 10. I follow User Guide for Cisco Unified Contact Center Management Portal version 10 for add prefix rule to move remote resources to a specific folder based on a naming convention. But I can not find this
-
How do I send a customer a link so that he can view what I have done so far on his website?
I am doing my first website with Dreamweaver and I don't know how to send/email my customer a link for him to review what I have done so far ? Could someone please offer me advice? Thanks Looking forward to getting replies...
-
Display automatically dims after a minute or so
Hi, My display dims after a couple of minutes of inactivity which can be quite annoying if you are viewing a movie etc, I cant find the setting which controls this, any clues people J
-
Hello, i want to publish a lot of newsletters an press releases on my website (both as pdf). Does anybody know an attractive library tool (html application) to be used within Iweb? Thanks Matthias
-
Help!! Adobe wants 600 bucks and I ain't got it!!
When I got a new laptop with OS 10.6.4, I was very surprised to find out that I couldn't install my CS3 discs!! When I called Adobe and talked to the nice man from India, he told me that CS3 is not compatible and that I need to shell out six hundred