Job name modification.
in bw system daily one program is getting scheduled by an uc4 tool and it is getting failed failed with an error
'CANT_CREATE_NEW_JOB' in UC4_JOB_COPY'-call
UPON checking the forum i found , # Default names specified with TARGET_JOBNAME are ignored.
Could you please tell me how to modify the job in bw by removing the target server.
Thanks,
V.Singh.
Hi,
Are you sure, that the job name is your problem. I don't think so - the job name doesn't have any naming convension.
Can you create other jobs?
Can you see the job from uc4 -> is the job in planned status?
I think, the problem is the job configuration: check
- system name, client (target system)
- user for the job
- program name
- program variant
and so on
Sven
Similar Messages
-
Process chain - default job name modification
Hi Guys,
When we run a process chain which has RA jobs,,,,,the corresponding job names in sm37 will be with name "BI_PROCESS_REPA_BP" .....
We use the job name in sm37 to spool the file thru abap program....so if 3 RA jobs are run thru process chain,,,,,all 3 jobs of different RA jobs will be with same name in SM37.
Can we change this job name to something else...
Please advice.
Thanks!!!!!!!!Hi,
Which job u need to modify the nems of the process chains?
All the names which starts with BI_* are the standard jobs running in BI system...if the same runs thru process chain i guess we cannot change it...
If it is a manual job running in SM37 then we can change it by copying the job name so tht it comes into scheduling then we can release the same according to our requirement..
rgds, -
Job Name of a Program scheduled as a Background Job
Hi,
In our production system. We have a program which is scheduled to run in the background by various job names. At runtime, I need the program to figure out under which Job Name is it running. I dont think there is any system field which stores the Job Name of the background job.
Any inputs?Hi,
It will run in default with <b>the name of the program</b>.
Goto SM36 and put a * in job name u will see all the jobs that are schedule, if u specify the program name for the job schedule u will get that list alone.
U can differentiate by seeing the time the job was scheduled.
http://www.sap-img.com/ab007.htm
Please reward and close the thread if u got the info.
Message was edited by: Judith Jessie Selvi -
Hi All,
Background job related info. not getting retrieved when using function module 'SAPWL_READ_STATISTIC_FILES' (version SAP ECC 5.0 compatible) in our SAP ECC 6.0 whereas if I use 'SWNC_STAD_READ_STATRECS' I'm getting the required info.
Can anyone let me know why FM 'SAPWL_READ_STATISTIC_FILES' doesn't give the required info. in SAP ECC 6.0?
Thank you.
Gandhi SubramaniHi,
It would help you ,
Make your report automatically processed in background when it is being executed using JOB_OPEN, SUBMIT and JOB_CLOSE like following[example code],
DATA: d_jobcount LIKE TBTCJOB-JOBCOUNT,
d_jobname LIKE TBTCJOB-JOBNAME.
03
04 d_jobname = 'JOB1'. " Here you may give the job name what ever you insist.05
06 CALL FUNCTION 'JOB_OPEN'
07 EXPORTING
08 jobname = d_jobname
09 IMPORTING
10 jobcount = d_jobcount
11 EXCEPTIONS
12 cant_create_job = 1
13 invalid_job_data = 2
14 jobname_missing = 3
15 OTHERS = 4.
16
17 IF sy-subrc NE 0.
18 MESSAGE s368(00) WITH 'Error Creating Job'
19 sy-subrc.
20 EXIT.
21 ENDIF.
22
23 SUBMIT <REPORT_NAME>" call the same program in Background with different job names 24
VIA JOB d_jobname
25 NUMBER d_jobcount
26 AND RETURN.
27
28 CALL FUNCTION 'JOB_CLOSE'
29 EXPORTING
30 jobcount = d_jobcount
31 jobname = d_jobname
32 strtimmed = 'X' " Immediate
33 EXCEPTIONS
34 invalid_startdate = 1
35 jobname_missing = 2
36 job_close_failed = 3
37 job_nosteps = 4
38 job_notex = 5
39 lock_failed = 6
40 OTHERS = 7.
41
42 IF sy-subrc > 0.
43 MESSAGE s368(00) WITH 'Closing Job Failed'
44 sy-subrc.
45 EXIT.
46 ENDIF. -
Require Job name in SM37 while executing call transaction in background
Hi all,
I am executing a report program, which contains Call transaction.
I have recorded properly. The recording contains background job screen also ( means a separate popup came and i gave the job name and i gave immediately )
When i execute in this program in foreground its creating job,its showing the job in sm37.
But when i execute this program in background, it does not showing the job name in sm37.
Anyone kindly help this out?
AnandhabHi,
The job will be created by the step level user.
Try searching again with jobname and * for username.
Regards,
Jovito -
How to find out the InfoPackage name using job name BI_BTCH....
Hi Expert,
Can anyone please let me know how do i find the name of the InfoPackage using the Job name BI_BTCH.
Thanks in AdvanceHi,
Change the Start Date and End Date of the Job in the SM37 (Date interval shoul be chnged so that the Job is run atleast once during that time period). Now Enter the Job Name BI_BTCH* and User name as *.
Now it will display the list of all the jobs .check the job details of the finished job and check for ZPAK* in th job log whcih will give the InfoPackage Name.
Thanks,
Nagarjuna -
How to get the job name and details in a report format - sm37 details I mea
I need to extract the Job names and the job steps that comeout of a report?
Is there a standard program for this ?
Which tables store this information for me to write a custom report?
thanks,
VenHi Venkatabby,
Check out the table:
TBTCS
Thanks,
Chidanand -
Help Required Regarding - SAP Job names using R3 data flows
We are calling a set of SAP Jobs using R3 data flows in data services. When ever a job fails we first kill the active SAP jobs by logging into SAP and then restarting the Jobs.
There are about 100 odd SAP jobs that we call using these Data services Jobs so we wanted to kill the jobs using a reusable code on the SAP side by passing the Job name just before every R3 flows just incase its still in active status.
So wanted to know if there are any short cuts to retrive the set of associated SAP job names because it will be a tedious process to hardcode the SAP job names and pass them as parameters for all the 100 + SAP job names in the custom defined resuable code.
Any help or advice on this please !!The program is not meeting the expectations
and the problem is due to reflection.Do we know this for certain?
... my application gets the class name, field name
etc. from an XML file so i don't know their method names
beforehand .
Now since every class instance corresponds to a row
in the database and i have to call get and set
methods of each class instance so the performance
keeps on degrading as the number of columns and rows increase .
Can somebody suggest some improvement regarding this
and regarding creating multiple instances of the same object Class.forName() will be using a hash already, so there is probably not much room for improvement.
Class.newInstance() probably does not take significantly more processing than a simple "new Fubar();".
Umpteen reflective method invokations (one per column) for each row/instance - Are you saying these are the problem?
You can test this easy enough.
If you comment out the reflective method invocations and leave the rest of your code untouched,
does your application processing speed up significantly? -
F110 job name needed: F110-20070120-BANAB-?
I need to know the job name that was used to in the PRINTJOB part of F110. The user submit a job:
F110-20070120-BANAB-? they replace the ? with a number and I need to know that number from within the program. Thanks.Hi,
In FBZP-APP configuration , check whether the CIBR1bank has sufficient amounts planned in Bank determination----Available amounts.
Thanks
Aravind -
How to check my job name from the database...
I have written one job scheduler which is as follows :
SQL> ED
Wrote file afiedt.buf
1 DECLARE
2 X NUMBER;
3 JobNumber NUMBER;
4 BEGIN
5 SYS.DBMS_JOB.SUBMIT
6 (
7 job => X
8 ,what => 'scott.SPLITSMS;'
9 ,next_date => SYSDATE+1/1440
10 ,interval => 'SYSDATE+1/1440 '
11 ,no_parse => FALSE
12 );
13 JobNumber := to_char(X);
14* END;
15 /
PL/SQL procedure successfully completed.
Now I want to check whether the job has been really created or not?
so for that I have used the following command line:
SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
ERROR at line 1:
ORA-00942: table or view does not exist
how to check my job name from the database...
what is the command used to check the job_name ????
and how can i ensure that my job scheduler is running properly...???
please help ........my dear friends.....!957029 wrote:
Now I want to check whether the job has been really created or not?
so for that I have used the following command line:
SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
ERROR at line 1:
ORA-00942: table or view does not existYou can use DBA_* views only if the User has been Granted a DBA Privilege.
how to check my job name from the database...
what is the command used to check the job_name ????You can use USER_JOBS view to check. But, is it not that you have just created the Job, so you must be knowing it?
and how can i ensure that my job scheduler is running properly...???If USER_JOBS.FAILURES is Non Zero, that means the Job has encountered a problem that needs to be Investigated. Similarly, the LAST_DATE, LAST_SEC, NEXT_DAY, NEXT_SEC can be used to determine if the Job has been running successfully.
if you are on 11g, you should consider using DBMS_SCHEDULER. -
How to set the CR print job name that displayed in Printer job queue?
As following image shows, when I press the Print button in Crystal Report Preview GUI,
a print job is sent to Windows Printer Spool.
[Windows Printer queue dialog snapshot|http://www.box.net/shared/96vq4qa2mp]
The "Document Name" in the dialog is like "Crystal Reports - temp_214d9d11-a73f-4872-81f6-b8a63bf0a6b9.rpt".
I want to know which property of Crystal Reports can be used to set the print job name to a more meaningful one.
Edited by: Xiaobing Sun on Apr 2, 2009 5:08 AMThe solution in this thread is for VS .NET as this is the forum for CR in .NET.
With Foxpro, I suspect you want to create a new thread in the SAP Crystal Reports - Legacy SDKs forum.
Make sure you specify the exact version of CR used.
- Ludek -
JS: How to make a script to print one page at a time and set print job name?
What I want is to print one page at a time to the printer.
Document.print(false, app.printerPresets.item(0)) almost get me there. But how do I get it to print page by page? There seems to be no way to set which page to print to printerPreset.
Also, is it possible to change print job name from the default of using document name?>Is there any solution to this other than saving the document to a different name before each page print?
Here is an altered and abriged version of the script that I use. I use print preset called "PS to PDF" in it, so you should change it to your own.
if(app.documents.length == 0){
alert("Please open a document and try again.");
exit();
var myFolder = Folder ("~/Desktop");
var myDoc = app.activeDocument;
var myNoExtention = getFileNameOnly (myDoc.name);
var myPrintPrefs = myDoc.printPreferences;
if (app.printerPresets.item("PS to PDF") == null) {
alert("Preset \"PS to PDF\" has not been installed");
exit();
else {
myPrintPrefs.activePrinterPreset = app.printerPresets.item("PS to PDF");
myDoc.sections.everyItem().sectionPrefix = "";
myDoc.sections.everyItem().includeSectionPrefix = false;
var stop = myDoc.pages.length;
var w = new Window ( 'window', 'Printing PS-files' );
var pb = w.add ('progressbar', [12, 12, 300, 24], 0, stop);
var txt = w.add('statictext');
txt.bounds = [0, 0, 200, 20];
txt.alignment = "left";
w.show()
for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++){
curPage = myCounter + 1;
pb.value = curPage;
var myText = String("Page " + curPage + " of " + myDoc.pages.length);
txt.text = myText;
var myPageName = myDoc.pages.item(myCounter).name;
var cornumber = pagenum(myPageName);
var myFilePath = myFolder + "/" + myNoExtention + "_" + cornumber + ".ps";
var myFile = new File(myFilePath);
myPrintPrefs.pageRange = myPageName;
myPrintPrefs.printFile = myFile;
myDoc.print(false);
w.hide();
alert("Done!");
function pagenum(myNumber){
if (myNumber >= 1 && myNumber <= 9)
x = "0" + "0" + myNumber;
else if (myNumber >= 10 && myNumber <= 99)
x = "0" + myNumber;
else if (myNumber >= 100 && myNumber <= 999)
x = myNumber;
return x
function getFileNameOnly (myFileName) {
var myString = "";
var myResult = myFileName.lastIndexOf(".");
if (myResult == -1) {
myString = myFileName;
else {
myString = myFileName.substr(0, myResult);
return myString;
Kasyan -
How to set a job name to a report?
Post Author: nandors1
CA Forum: Deployment
Hi
I' m programming an application with Visual Basic .Net 2005 and CrystalReports, when I print an report, at the printing spool all Crystal Reports' documents appears as 'document', I want to know if exists any way to set a job name at document at the Crystal Report Viewer to can recognize a document in printing spool at the moment of print from VisualBasic at runtime.Post Author: quafto
CA Forum: Deployment
Sorry. There is no way to change that name. When you load a report we make a temorary copy of the report file and that is what is often used when sending the print job. At this time we don't have access to that print job property. -
Find table which contains "job name" and "Mail sent to users"
Hi Folks,
I have a requirement whenever I run a job(xyz), it send mail to users, Can you please let me know the table which contains both job name and successfully mail sent to users.
Thanks in Advance.
Lakshmi.Hi,
You can find the job name in TBTCJOB.
Regards,
Ravi
Note : Please mark the helpful answers -
How to edit the job name in SM37
Hi All,
I have job in SM37 with the mane ZBI_PROCESSING and the Job in Release status. Now I want to change the Job Name to Z_PROCESSING_SS. Please let me know how to edit the Job Name.
Regards,
RaviHi Ravi,
In SM37 when you have the list of all jobs, right-clic on the job you want to rename, copy, enter the new name.
Then you can delete the first job. The copied one will then be executed.
Regards,
Fred
Maybe you are looking for
-
Putting fileinfo data on bottom of image for use in building a photobook for printing/binding
I wonder if someone on here could help me with a problem I have? I am not a script expert by any means. The term "amateur" is probably pretty accurate! I have a few hundred pictures I want to include into a (to be printed) photobook. I want to put so
-
External Firewire HD won't mount after Connecting to B&W w/ bad Firewire
I've tried and tried to find the answer, so finally I post... I've had two external Firewire Laptop HD enclosures become unmountable after hooking them up to a 400 Mhz powermac G3. This has been 6 months apart. I used to use the Powermac B&W ... I kn
-
Cannot configure AE with Comcast Internet/"Scientific Atlanta" Modem
I used to have ADSL overseas, now I cannot reconfigure my AE to set up my wireless network with my cable internet connection. I can connect to the internet with the ethernet cable just fine. Comcast says it should be fine with automatic under DHCP se
-
Best way to Back up data from Windows PC to my Mac?
What is the best way that I can connect my Mac to one of my friends PCs so that I can back up his personal data then reinstall his OS?
-
Safari 7 will not open multiple home Tabs
I have my home page tabs properly set for safari to open 4 sites when Safari is started. On my Mac Pro(Mid 2010), they do not open properly in Mavericks on Safari startup. However, if I click File>New Tab, all of the startup tabs open, along with a