Background job link with the cycle
Hello experts
We are running the background job XXXX to run the distribution cycle. can anyone let me know where this job is having the link to the cycle which needs to be executed.
meanwhile please explain me about the functionality of the program RKALWAIT.
Regards
Jay,
seems data in the TBTCPV view was corrupted .. try to re-define the failing jobs thru SM36 or SM37 ..
for RDDIMPDP -- in SE38--> Run RDDNEWPP program to re-define the Job.
-K
Similar Messages
-
Hi all,
From Page 354 of the the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles (published by apress), I copied the following code (Listing 12-9 Retrieving Job Candidates with the query Method):
--Coles12_9.sql // saved in C:/Documemnts/SQL Server Management Studio
-- Coles Listing 12-9 Retrieving Job Candidates with the query Method
-- Doing XQuery and the xml Data Type in AdvantureWorks
-- 17 March 2015 1105 AM
USE AdventureWorks;
GO
SELECT Resume.query
N'//*:Name.First,
//*:Name.Middle,
//*:Name.Last,
//*:Edu.Level
FROM HumanResources.JobCandidate;
I executed this set of Listing 12-9 code in my SQL Server 2012 Management Studio and I got the following error messages:
Msg 105, Level 15, State 1, Line 4
Unclosed quotation mark after the character string '//*:Name.First,
//*:Name.Middle,
//*:Name.Last,
//*:Edu.Level
FROM HumanResources.JobCandidate;
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near '//*:Name.First,
//*:Name.Middle,
//*:Name.Last,
//*:Edu.Level
FROM HumanResources.JobCandidate;
I am not able to figure out why I got the error messages. Please kindly help and advise me how to correct this set of sql codes.
Thanks in advance,
Scott ChangHi Scott,
I don't have that book at hand, but your problem is the "Unclosed quotationmark after the character string",as the error message shows. You have to enclose the 'XQUERY' string quotation in the
query().
SELECT jobcandidateid, Resume.query
N'//*:resume,
//*:Name.Middle,
//*:Name.Last,
//*:Edu.Level' --enclose the quotation here
FROM HumanResources.JobCandidate;
For XQUERY learning, here is a good
link.
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Problem with creating links with the WPC (SP14)
Hi,
I have a problem creating links with the WPC (SP14): When I want to create internal links (Browse and select the target item) via the right button (choosing a website as a reference link). If I do so I encounter the problems either that the linked site (outside the WPC) shows a blue background and/ or has no navigation frame (on the left side & no breadcrumb-navigation on top).
If I create links with the left button in the WPC via URLs I have the problem with the inserted URL, because sometimes (I don't know why und when) some parts of the code in the URL changes, so that the linked Website is empty (besides the navigation fram - the content isn't displayed anymore). To me it looks like as if the originally website cannot be "found" anymore.
Does anyone has the same problems and is eventually able to help me? This would be really great. Thanks!Hi,
you have also to deploy the following file from Service Marketplace:
Patch for SP14 for KMC WEB PAGE COMPOSER 7.00
Than it will works. The best way is you deploy WPC SP 15.
If you want i can send you this file via email.
regards,
Sharam
Edited by: Seed mopo on Apr 28, 2008 11:45 AM -
Can I use the remote app on my iphone to link with the ipad2 ?
Can I use the remote app on my iphone to link with the ipad2 ?
This is to control the music library to be more specific.
-
There is something wrong with the volumes buttons in my macbook pro, every time i pressed the one who raises the volume, it leads me to the screen where (i do not no what its called) the background is black with the date and time and a calculator. However, when i lower it, my safari tab goes out of the screen. What do you guys think i should do? I'm getting very nervous.
hey HAbrakian!
You may want to try using the information in this article to adjust the behavior of your function keys to see if that resolves the behavior:
Mac OS X: How to change the behavior of function keys
http://support.apple.com/kb/ht3399
Take care, and thanks for visiting the Apple Support Communities.
-Braden -
Oracle E-Business Suite account has not been linked with the Single Sign-On
We followed this note 1484024.1 to integrate Oracle EBS 12.1.3 with Oracle Access manager 11g R2.
Integrating Oracle E-Business Suite Release 12 with Oracle Access Manager 11gR2 (11.1.2) using Oracle E-Business Suite Access Gate [ID 1484024.1]
All the steps have been complete successfully without any errors.
When the excisistign users trying to login.. they will get the single single OAM page but not able to use their current user id and passwords..
it says: "Your Oracle E-Business Suite account has not been linked with the Single Sign-On account that you just entered. Please enter your Oracle E-Business Suite information. The next time you sign on with your Single Sign-On account, it will automatically sign you on to the Oracle E-Business Suite using the following account information. "
Any help greatly appreciated.
Thanks!Hi,
it says: "Your Oracle E-Business Suite account has not been linked with the Single Sign-On account that you just entered. Please enter your Oracle E-Business Suite information. The next time you sign on with your Single Sign-On account, it will automatically sign you on to the Oracle E-Business Suite using the following account information. "this is expected, if you are linking your existing OID users with existing EBS users.
When it asks the user information here, enter the EBS username and password.
The first time users login to ebs, it needs to link that particular usre with a particular.
The next time you login, it does auto link.
Please see "Applications SSO Auto Link User (APPS_SSO_AUTO_LINK_USER)" in
http://docs.oracle.com/cd/E18727_01/doc.121/e12843/T156458T465432.htm
Thanks -
Retrieving Data from SQLite and make link with the ID of the retrieved data?
Hello, first of all sorry if my english is bad as im from Mexico.
I using HTML/Javascript/SQLite, and im having an issue while retrieving data from SQLite, all my querys work right, but when i try to select an Id, the Name, Firstname, and Lastname and only use the Name, Firstname and Lastname to print on screen and the Id to use as a link or OnClick query with the id more info from the name of the person..
My SQLite query is the next one.
var sql = "SELECT [sis_persona].[idPersona], [sis_persona].[Nombre], [sis_persona].[Paterno], [sis_persona].[Materno] FROM [sis_persona] WHERE Nombre LIKE '"+ nombre1+"%' AND Paterno LIKE '"+ paterno1+"%' AND Materno LIKE '"+ materno1+"%' ORDER BY [sis_persona].[Nombre], [sis_persona].[Paterno], [sis_persona].[Materno] LIMIT 20";
And my ResultHandler is the next one:
row = document.createElement("tr");
cell = document.createElement("th");
cell.innerText = "Nombre";
row.appendChild(cell)
cell = document.createElement("th");
cell.innerText = "Paterno";
row.appendChild(cell)
cell = document.createElement("th");
cell.innerText = "Materno";
row.appendChild(cell)
tbl.appendChild(row);
var numRows = result.data.length;
for (var i = 0; i < numRows; i++)
// iterate over the columns in the result row object
row = document.createElement("tr");
for (col in result.data[i])
var ea = result.data[i];
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Nombre );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Paterno );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Materno );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
tbl.appendChild(row);
And this is where i have the problem, it print three times and i dont know how to take print only the result and make a link with the id from the query.
var ea = result.data[i];
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Nombre );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
Anyone have any ideas?
Sorry again if my english is bad.
Thanks in advanceHi Prashant,
Continuation to above my thread. There is a small correction.Directly in lsmw not possible. I uploaded using the same code of lsmw and made one report. Through that i uploaded the data directly selecting the file.
Regards,
Madhu. -
How do I stop my iPod touch from cycling from the slide to unlock screen to the black screen with the cycling gear? It does this every two seconds.
If not successful try the remaining items of
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order. -
Whenever I click on a link with the middle-mouse button, it opens multiple copies the link instead of only one (Version is 4.0.1). I have checked the mouse in other browsers and it doesn't behave oddly in them.
Does that happen if you {Ctrl + Click} the same hyperlinks?
-
Background Job cancelling with error Data does not match the job definition
Dear Team,
Background Job is getting cancelled when I run a Job on periodically but the same Job is executing perfectly when I run it manually(repeat scheduling) .
Let me describe the problem clearly.
We have a program which picks up files from an FTP server and posts the documents into SAP. We are scheduling this program as a background Job daily. This Job is running perfectly if the files contain no data. But if the file contains data the JOb is getting cancelled with the following messages.
And also the same Job is getting executed perfectly when repeat scheduling is done ( even for files with data).
Time Message text Message class Message no. Message type
03:46:08 Job PREPAID_OCT_APPS2_11: Data does not match the job definition; job terminated BD 078 E
03:46:08 Job cancelled after system exception ERROR_MESSAGE 00 564 A
Please help me in resolving this issue.
Thanks in advance,
Sai.hi,
If you have any GUI function modules used in the program of job
you cannot run it in background mode. -
Sending of email triggered in a background job ends with error.
Hello all,
I have created a API which triggers mail to a distribution list using class CL_BCS. When i execute this API in foreground it works fine and the mails are triggered.
However i am calling this API in a report which will scheduled as a background job in my application and this job executes for some 5 to 6 hours and after that i trigger the mail. However at this point the job gets cancelled due to an abort message raised in
one of the CL_BCS methods.
The method is cl_cam_address_bcs=>create_internet_address which is called in my API and internally this calls many other methods. The abort meessage is thrown from the method instantiate_imp_class of class CL_EXIT_MASTER.
The ST22 log reads like this:
Runtime Errors: LOAD_SWITCHSTATES_MISMATCH
Short text: Current switch statuses are incompatible with program switch statuses.
What happened?
The current switch statuses that are read for the execution of the
program "CL_IM_CVI_ADDRESS_UPD_IMPL====CP" are incompatible with the switch
statuses with which the
program "CL_IM_CVI_ADDRESS_UPD_IMPL====CP" was generated at the time
20090902114544.
Any advice would be greatly helpful.
Warm Regards,
Naveen MHi!
How you determine sender (method set_sender) ? if you use current user, when it runs on background use a backgorund user and it maybe can not determine an email.
Try force a sender (harcode your user for test when sy-batch eq 'X')
If it works, you need to determine the user to be used on jobs to solve this problem.
I hope it helps
Regards!!!! -
Background Job assigment with variant in SM37 , for Textfile uploading
Dear all,
Im using the BAPI_PO_CHANGE to update the existing schedule dates in Purchase Orders,
for this the po's , item, schedules, delivery dates(Need to update) from a Textfile into the internal table
and passing that data to bapi function module, it works fi9 in foreground and the output is a classical report
with Corresponding messages through RETURN.
i need the same to run in background with a variant, but after assigning the background job in SM36,
i found that the job assigned got CANCELLED in SM37.
I hope everything is clear, so kindly revert back with solution.
Regards,
Niranjan.GHi,
You should understand that background job will be executed in application server and there will be no gui or access to presentation server available.
You should upload your file to application server through tcode CG3Z.
See F1 help for OPEN DATASET / Search SCN for sample codes for OPEN DATASET.
You should change the code so that it can be run in both modes using the system variable SY-BATCH.
If it is space use GUI_UPLOAD, if it is X use OPEN DATASET.
Regards
Karthik D -
Scheduling a background job depending on the output lenght.
Hi every one,
I have a small requirement. My client want me to run a program in a foreground if the output is small and should the program in background if the output is large.This has to be achieved through coding. The program downloads the netprices of products. The downloaded file is of .dat format. It is an urgent requirement.
Guys you would throughly rewarded for your help.
Thanks,
Kumar.9886185040.Hi Nag
that is not possible with codeing. To create a schedule a background job for the same program depending on its output is not possible.
being a programmer you need to decide, how long the code will take to execute.. accordingly you can either schedule or run in foreground. You can make some mandatory fields in the selection screen, so that the output is big mostly.
see the sample code for the Job scheduling using the fun modules
IF p_bjob = 'X'.
CONCATENATE sy-cprog sy-datum sy-uzeit
INTO jobname SEPARATED BY '_'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
out_archive_parameters = arc_params
out_parameters = print_params
valid = valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF valid = chk.
SUBMIT yREP WITH s_kunnr IN s_cust
AND RETURN
USER sy-uname
VIA JOB jobname
NUMBER jobcount
TO SAP-SPOOL
SPOOL PARAMETERS print_params
ARCHIVE PARAMETERS arc_params
WITHOUT SPOOL DYNPRO.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = jobname
strtimmed = 'X'
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.
ELSE.
MESSAGE i029 WITH jobname.
ENDIF.
ELSE.
MESSAGE s000 WITH text-003.
STOP.
ENDIF.
ENDIF.
Also,
Yes you can use job functions:
JOB_OPEN
JOB_SUBMIT
JOB_CLOSE
* You can add multiple steps into one job by using JOB_SUBMIT.
Regards
JJ -
Background Job Scheduling with variants in IS - Public sector
Hi,
We run auto write off using scheduled job activity (SM37 -Program : RFKK_MA_SCHEDULER). There is an variant containing Main Transactions that needs to be included / excluded for write off.
The variant values are changed / updated with additional main transactions and when we run the batch jobs the new variant values are not getting picked or used. If we run the program independently i.e FP04M and use the variant, the new variant values are being handled.
I am not sure what is missing in the SM37 background job that is defined though the variant values are runtime parameters and should have automatically be used after it undergoes modification in the next job exeuction.
Kindly provide your feedback.
Thanks & Regards
Bala
P.S. : I Have posted this query in IS forum too.Hi,
You should understand that background job will be executed in application server and there will be no gui or access to presentation server available.
You should upload your file to application server through tcode CG3Z.
See F1 help for OPEN DATASET / Search SCN for sample codes for OPEN DATASET.
You should change the code so that it can be run in both modes using the system variable SY-BATCH.
If it is space use GUI_UPLOAD, if it is X use OPEN DATASET.
Regards
Karthik D -
Background job failing with license check error
Hi Experts
In our ERP 6.0 system ,all the background jobs are failing with license check error.
Have checked the license in SLICENSE and the license is fine.
There is no warning while users are loggign in ,but when any background job is runing its failing with error
Job started
Logon not possible (error in license check)
Job cancelled after system exception ERROR_MESSAGE
Also performed the license test which is failing
F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
\XX1_DVEBMGS00_host_xx
Protocol saplicense test:
Read sapsytem name
ok, sapsytem name = XX1
Read message server host
ok, host = hostname
Read message server service port
ok, service port = sapmsXX1
Connect to message server
ok, connect done
Read hardware key from message server
ok, got hardware key
Detach from message server
ok, detached
Check hardware key
ok, hardware key = T0343073854
Connect to database
ok, connected
Check license
ok, check done
Disconnect database
ok, database disconnected
test result: license test failed
LICENSE system: XX1 hardware key: T0343073854 expiration_date:
installation no: key:
userlimit: 0 productid: R3_BASIS
system-nr:
license expired ***
Please suggest how to troubleshoot.
Regards
Ajay@Michael
In SLICENSe the Hardware key field is not BLUE or BLACK and its showing the exact hardware key which i can see at OS level with saplicense -get command.
@Jagadish
Note is good refrence, i reiinstalled the Digitally signed license with saplikey command and it was successful.
But still the license test is failing at OS Level..below is the command prompt output.
===================================================================
F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplikey -install C:\license_script_XX.txt pf
=F:\usr\sap\XX\SYS\profile\XX_DVEBMGS00_mngsez148079
SAP License Key Administration - Copyright (C) 2003 SAP AG
2 SAP license key(s) successfully installed.
F:\usr\sap\XX\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
\MD1_DVEBMGS00_mngsez148079
Protocol saplicense test:
Read sapsytem name
ok, sapsytem name = XX1
Read message server host
ok, host = host
Read message server service port
ok, service port = sapmsXX1
Connect to message server
ok, connect done
Read hardware key from message server
ok, got hardware key
Detach from message server
ok, detached
Check hardware key
ok, hardware key = T0343073854
Connect to database
ok, connected
Check license
ok, check done
Disconnect database
ok, database disconnected
test result: license test failed
LICENSE system: XX1 hardware key: T0343073854 expiration_date:
installation no: key:
userlimit: 0 productid: R3_BASIS
system-nr:
license expired ***
============================================================
@Juan
The hardware key was changed and we requested a new license with new hardware key,system was runing fine for couple of weeks with all background jiobs for SPAM./SAINT Ok .We performed EHP4 on this system.
But now this issue is here,so i guess we should troubleshoot.
Please let me know any other pointers.
Regards
Ajay
PS In SLICENSE new installed license is fine and all users can login.
Maybe you are looking for
-
ITunes on Vista... no error message but won't install
I am using Windows Vista and recently had a new harddrive put into my laptop, and am reinstalling programs. I'm having trouble with downloading iTunes. When I get the first window that says "You have chosen to open iTunesSetup.exe" I click Save File
-
I have two active email accounts. The one i used as my Apple ID was differnt fron the Icloud ID. How can i reset my icloud account, since everytime i access it, it shows my other account, and only asking for my password.. which unfortunately i forgot
-
I really don't know to fix it... What happen was, when i played my ipod nano, it turns to white... i don't know if I accidentally clicked anything on the screen or the buttons at the side of the device... What i did was, I connected it in my laptap b
-
Required information of tables related to PC and IP
We requires some tables info in order to get a better understanding on how information regarding process chains and infopackages is stored in BW. Only relevant tables that can be used for example for <b>weekly quality checks</b> and that can be espec
-
Is there anyway in the settings to make pictures and videos automatically save to the SD card instead of internal memory? Or is there a way to move them to the SD card?