Launching scheduler through Program
I would like to launch scheduler through a program. When the program decides it is time to crawl a table source, it will launch the scheduler immediately instead of manual launching or lauching at given time intervals.
I found the pl/sql API WK_CRW in $OH/ultrasearch/admin/wk0crw.pkh. However,
the API does not have the start_scheule procedure as does SES.
Is there a way to invoke APIs to launch crawling in Ultrasearch?
Could you give me an example of API invocation to start source crawling?
I am aware that direct use of internal API is not supported by Oracle as pointed out by Steve Yang of SES Development in the SES forum.
Thanks in advance for your guidance.
resolved.
Similar Messages
-
Can I schedule COBOL program directly through oracle scheduler
Hi,
I am scheduling a SHELL SCRIPT through scheduler, the shell script executes COBOL program internally.
Can I schedule COBOL program directly through oracle scheduler
Thanks,
Nagaraju A.Hi,
if your Shell script-cobol is runing without error, you can call from Oracle scheduler.
Regards -
Item does not match schedule line (program error)
Dear Experts,
I Transaction VA02/VA03 when i put Sales order number and try to get in to the system system through error and terminate the transaction
ERROR is "Item does not match schedule line (program error)" with Message no. V1427
when i check Table level and analyse thr Debuging i found that
Table VBAP line item 10 is missing and table VBEP line item 10 is there due to this miss match its shows above error
Question
Why and How it happen and how to fix this issue???
Best Regards
hanumantCheck Note 442831 - V1427: Item does not match schedule line (program error)
thanks
G. Lakshmipathi -
Backup scheduled through DB13 not working
Hello,
We are trying to schedule backup through DB13.But it got failed due to below error.Backup scheduled through DB13 was working fine last week.
Job started
Step 001 started (program RSDBAJOB, variant &0000000000174, user ID KHJS199)
Execute logical command BRARCHIVE On host ppd-ora-ga2
Parameters:-u / -jid LOG__20100927040000 -c force -p initGA2.sap -sd
External communication error at program start (see system log)
SAPXPG_START_XPG_LONG: sy-subrc ne 0
destination = SAPXPG_DBDEST_PPD-ORA-GA2
SXPG_STEP_XPG_START: execute_sapxpg: rc = 1.003
SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
SXPG_COMMAND_EXECUTE(LONG)
<timestamp> = 20101014040033
COMMANDNAME = BRARCHIVE
ADDITIONAL_PARAMETERS =
-u / -jid LOG__20100927040000 -c force -p initGA2.
sap -sd
LONG_PARAMS
OPERATINGSYSTEM = ANYOS
TARGETSYSTEM = ppd-ora-ga2
DESTINATION = SAPXPG_DBDEST_PPD-ORA-GA2
SY-SUBRC = 1003
SXPG_COMMAND_EXECUTE failed for BRARCHIVE - Reason: program_start_error: For More Information, See SYS
Job cancelled after system exception ERROR_MESSAGE
We checked the RFC connection SAPXPG_DBDEST_PPD-ORA-GA2 and it is not working.
For target host and gateway host,we have maintained their corresponding virtual host.
Gateway is already installed on the server.
Could you please help me out on this.
Thanks,
Gopi LHello,
Just to add some more information.
We have 3 servers, X(Database + CI),Y(Dialog instance),Z(Dialog Instance).
Server X is the primary node and Y is the failover node.
Gateway is already installed on Database server and I can verify it by giving ps -aef | grep gwrd.
Thanks,
Gopi L -
Windows scheduler through java
Hi,
I need an imediate help as this is my event of my project,
where i m facing problem is i have an windows scheduler which i want t run through my java programs.
plz if anyone can help me..
regards
AshishHi,
no i have an windows scheduler, i want to run rather control that scheduler through my java program, i mean on any click event sort of thing.
plz if anyone can help me..
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 -
Launching schedular through java or any external job
Is it possible to manually start the schedule through my java code or any external source which is not part of Oracle SES?
Thanks.The schedule launching is controlled by internal PL/SQL API (see $OH/search/admin/eq0crw.pkh-start_schedule) so the problem comes down to the invocation of these APIs. Note that direct use of internal API is not supported by Oracle.
Steve Yang
SES Development -
Error while scheduling through web service
We have created Web service through WSDL of OBI Publisher. Also we created a web service proxy client to call the services offered by OBI Publisher. We actually want to "Automate the Scheduling of Reports" according to our requirement:
1. We used to schedule the reports manually by giving the parameters(used to populate data in reports) and other fields like select report name, report destination, format of reports ( .pdf, .docx,etc) through Oracle BI Publisher.
2. As there are thousands of permutations of report input parameters possible, so it is difficult to schedule them manually.
3.We also want to schedule report to a particular folder according to some parameter, for the ease of the user visibility.
Above requirements are not currently available with Oracle BI Publisher.
We are getting error while scheduling through ScheduleRequest class.
The client.java is as follows:
public class ScheduleServiceClient
@WebServiceRef
private static ScheduleService_Service scheduleService_Service;
public static void main(String [] args)
scheduleService_Service = new ScheduleService_Service();
ScheduleService scheduleService = scheduleService_Service.getScheduleService();
// Add your code to call the desired methods.
try {
FTPDeliveryOption ftpdo =new FTPDeliveryOption();
ftpdo.setFtpServerName("ServerName");
ftpdo.setFtpUserName("Username");
ftpdo.setFtpUserPassword("Password");
ftpdo.setRemoteFile("/path/TestFile");
ftpdo.setSftpOption(true);
List<FTPDeliveryOption> listobj=new ArrayList<FTPDeliveryOption>();
listobj.add(ftpdo);
ArrayOfFTPDeliveryOption ar =new ArrayOfFTPDeliveryOption();
ar.setItem(listobj);
DeliveryChannels dc = new DeliveryChannels();
dc.setFtpOptions(ar);
ScheduleRequest scheduleRequest = new ScheduleRequest();
scheduleRequest.setDeliveryChannels(dc);
scheduleRequest.setJobLocale("en-US");
scheduleRequest.setUserJobName("Job_1_WebService");
scheduleRequest.setDataModelUrl("Url");
scheduleRequest.setStartDate("Mar 27, 2015 12:40:00 PM");
scheduleRequest.setJobTZ("[GMT+05:30] Calcutta, Chennai, Mumbai, New Delhi");
String userID = "BI_Publisher_Username";
String password = "BI_Publisher_Password";
scheduleService.scheduleReport(scheduleRequest,userID,password);
} catch(Exception exception) {
exception.printStackTrace();
Snapshot of error is attached.
Kindly suggest the way of getting out of this error.Hi
Check this thread
WD Message Manager
Reward opints if usefull.... -
Launching Web Start Program from an Applet?
Hi,
I need to launch web start program from an applet.
How can I do that?
I have tried opening a new web page pointing to the jnlp file from an applet. But, that does not seem to start the web start.
Thanks in advance
rgI am new to this so may be my questions will appear stupid to a pro, but this is an erro I am getting at compile:
Can't make static reference to method java.lang.Process exec(java.lang.String) in class java.lang.Runtime.
Runtime.exec("test.exe");
What could be the problem?
^ -
How to schedule a program in background after 5 or 10 sec
Hi All,
Can anyone tell me how to schedule a program after 5 or 10 sec in background after the transaction is completed.
It is not a custom transaction. I want to execute a Z program in background in a BADI
Regards
Yathish
Message was edited by:
Yathish GundlupetProgramattically? You can add this code to the end of your transaction(if it is custom, of course).
report zrich_0004 .
data: sdate type sy-datum,
stime type sy-uzeit,
l_valid,
ls_params like pri_params,
l_jobcount like tbtcjob-jobcount,
l_jobname like tbtcjob-jobname.
start-of-selection.
* Get Print Parameters
call function 'GET_PRINT_PARAMETERS'
exporting
no_dialog = 'X'
importing
valid = l_valid
out_parameters = ls_params.
* Open Job
l_jobname = 'THIS_JOB'.
call function 'JOB_OPEN'
exporting
jobname = l_jobname
importing
jobcount = l_jobcount.
* Submit report to job
submit <your_program_name
via job l_jobname
number l_jobcount
to sap-spool without spool dynpro
spool parameters ls_params
and return.
* Kick job off 10 seconds from now.
sdate = sy-datum.
stime = sy-uzeit + 10.
* Schedule and close job.
call function 'JOB_CLOSE'
exporting
jobcount = l_jobcount
jobname = l_jobname
sdlstrtdt = sdate
sdlstrttm = stime
Regards,
RIch Heilman -
Error scheduling a Program in CMC
I am trying to schedule a program in the CMC. We are on BOXI 31. SP6.
Our SIA runs under a local service account. If I change the SIA to run as Local System and then schedule the program in the CMC and provide the local service account details in the Program Logon section it runs successfully.
If I change the SIA to run under the service account and then reschedule the same job, including the Program Logon details. it fails with the following message 'The Program Objects reported an error while running, but no error code was provided'. Very useful error message!
Has anyone else hit this issue?
Regards
PaulHello Paul,
In addition to above, kindly try below:
For the Domain User account that used to run the SIA,
In the windows Control Panel, go to
- user account
- then Change user account control settings
- and reduce the security level to Low - Never Notify
Please let us know the outcome.
- Mahesh -
Short Dump while activating Transformation through Program
HI All,
I am getting short dump while activating - Inactive Transformation through Program RSDG_TRFN_ACTIVATE.
However while i can activate single Transformation but if run without selection, I am getting this dump.
Short Description of Dump -
Category
ABAP Programming Error
Runtime Errors
ASSERTION_FAILED
ABAP Program
CL_RSAR_FORMULAS==============CP
Application Component BW-WHM-DST
Date and Time
Please Guide.
PrasadHi Prasad,
Have you changed the 'Object Status' from INA to ACT when using the program RSDG_TRFN_ACTIVATE?
You can also refer to the note SAP Note 1030987 - Activation of transformations dumps
regards,
Ashvin -
How can i schedule concurrent program for every one hour from back end
Hi ,
I want to schedule concurrent program for every one hour from back end .
Example
1) xyz is the concurrent program that should run for every one hour with a parameter 111 and the SAME concurrent program that
should run every 2 hours with a different parameter like 222.
I mean Conc prog should run for different parametrs with a different scheduling..
Please guide me to solve the issue.
Thanks in advance...
Regards
Narender BHi ,
I have used following code for scheduling the concurrent program from backend.
declare
l_request_id NUMBER;
l_return_code boolean := FALSE;
BEGIN
fnd_global.apps_initialize(62991,54477,20003);
l_return_code := FND_REQUEST.SET_OPTIONS ('YES');
l_return_code :=fnd_request.set_repeat_options('16:36:00','','DAYS','START','','Y');
l_request_id:=fnd_request.submit_request(application => 'xbol',
program => 'NAPP_START_GENERATE_CHART_DATA',
description => 'Processing chart ',
start_time => SYSDATE,
sub_request => FALSE,
argument1 =>4000130957231588,
argument2 => null
COMMIT;
dbms_output.put_line('Program has been submited and request id is '||l_request_id);
END;
Here the issue was concurrent program is completing with a warning like
Resubmission of request 75588551 has been cancelled.
FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
Resubmission of request 75588551 has been cancelled.
FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
so i could not find the solution for this issue,please anybody guide me to solve this issue.
Regards
Narender B -
Why does CC need my login every time I launch a CC program?
On my Windows 7 64 bit system with some CS6 and CC programs and running from an administrator account with UAC set at "never notify" I'm being asked for my login just about every time I launch any CC program.
This is has been slowly getting. This is not following any system change, new CC install or any other system change or crash I'm aware of.
I know others have had this problem but if there is a definitive fix available I can't find it.
Is there a fix?
I'll leave the obligatory complaints about how annoying this is out but be assured, they're there!
Thanks,
TomSync unfortunately is known to sometimes corrupt or duplicate bookmarks. I had hoped it may have been fixed with the New Sync but apparently not.
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=812348 812348] - Firefox Sync duplicating and scrambling bookmarks & folders
*Please only vote or follow . Do not add comments unless it is brand new information, or it is something asked for in the bug.
** https://bugzilla.mozilla.org/page.cgi?id=voting.html
**https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
** Follow by using CC <br />You are able to follow the bugs by using the [Save] option whilst the []CC option is checked.
** Note you need an email address to register with bugzilla and that will be made public
Update
In fact this bug comment specifically may be of interest
* [https://bugzilla.mozilla.org/show_bug.cgi?id=812348#c32 bug 812348#c32]
''If you have lots of bookmarks, or a flaky network connection, or add/change bookmarks frequently, then you're at increased risk of seeing corruption, and there's not much you can do about it. I recommend not using bookmark sync if it's a problem for you.'' -
Item does not match schedule line (program error) in sap
Dear Expert.
Greetings!
We are currently facing with this error (V1 427 item does not match schedule line (program error) in sap), when we open the sales order(VA02/03).
The error is occurring due inconsistency on the database tables, some Item is in table VBEP, but it is missing from table VBAP. This is what is causing the error message.
I checked various related notes - 442831 , 401463 , 389687 etc . These are quite old notes and I am in release ECC 6.0 .
Report SD_CONSISTENT_CHECK_EXT and SD_CONSISTENT_CHECK are already available.
Bapi BAPI_SD_SALES is also active.
Please let me know if anybody has any idea on the same.
regards
PraveenHi,
Refer the KBA: 1464620 - Error V1427: Item does not match schedule line which explains the reason and the solution for the issue.
Regards,
AKPT
Maybe you are looking for
-
Multiple apps not working after iTunes 6 install
ITunes 6.0 and QuickTime 7.0.3 were installed by Automatic Software update. Since then multiple apps including Safari, Mail, and all Dashboard Clients. At first System Preferences was working but has since stopped. All seem to start up but stop after
-
Home (task) Screen Question
Just updated to the new 10.3.2 OS last night. The home (task) screen used to only be active when there were active apps running in the background, and once all apps were closed, it returned to the apps screen or Hub, and the Home (tasks) screen woul
-
HT204150 Which contacts are the "master copy"
Hi all, when updating my contacts on my iphone / mac or ipad, which ones become the master copy?. The reason I ask is each time i edit a name on my iPhone it reverts back to the previous edit when I use that contact to send an e mail from my mac?. Do
-
I wrote a simple test EJB as a SessionBean using the beta2 release of the 1.3 j2ee sdk. After building and deploying the EJB I wrote the following code in a separate client application: InitialContext ctx = new InitialContext(); Object o = ctx.lookup
-
From mail, going into inbox, I have an email with the little paperclip next to it. The email has been forwarded by severel people. However, there is no little bubble to open the attachment when the message is opened. From my iPhone there is no indica