Jobname
Hi,
I have jobs running under a particular user. I want to change these jobs to run under my id. what is the step?
like, we need to do something like repeat scheduling etc, what is the exact sequence?
By the way , I see a job "BI_WRITE_PROT_TO_APP_LOG". what is this job about ? Is this any important job that should run ?
Thanks,
Vaishali
Hi Vaishali,
Goto SM37> Open the job to be changed>Select Step>menu Step>Change
There option to change the user.
Check for the report running. View details of the report through SE38 report name attributes Display.
Regards,
Ganesh
****Reward points if Helpful*****
Similar Messages
-
How to find out spool number from a jobname.
Hi,
If I know the jobname and jobcount how to find the spool number of it. Jobname and Jobcount are in table TBTCO and spool number is in TSP01. Is there any link between these tables.
Your help will be appreciated.
Thanks & Regards,
Soumya.Hi,
Check the below link
[Re:Spool request;
Regards,
Surinder -
In which SAP table Jobname and Jobnumber data was stored.
Hi Experts,
when we are executing the job_open FM one Job Number was generated,In which SAP table this job number was stored.
Thanks in advance.
Regards,
BhaskarCheck..
SELECT JOBNAME JOBCOUNT STEPCOUNT STRTDATE STRTTIME
FROM TBTCO
INTO TABLE IT_JOB_ID
WHERE JOBNAME IN S_JOB
AND STATUS = 'F'
ORDER BY STRTDATE DESCENDING STRTTIME DESCENDING. -
Get-AzureWebsiteJob with JobName parameter results in ArgumentOutOfRangeException
I have set up a simple sample WebJob and am attempting to view and manipulate it via the Azure PowerShell module. Whenever I run the following command I am presented with the associated error:
PS C:\Users\user-a> Get-AzureWebsiteJob -Name WebJobsDemo -JobName GetCommand
Get-AzureWebsiteJob : Specified argument was out of the range of valid values.
Parameter name: JobType
At line:1 char:1
+ Get-AzureWebsiteJob -Name WebJobsDemo -JobName GetCommand
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzureWebsiteJob], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.WebJobs.GetAzureWebsiteJobCommand
Website name is "WebJobsDemo" and the WebJob name is "GetCommand". The job is a .ps1 file which simply holds "Get-Command". The job runs without issue.
If I get all of the WebJobs for the Website and then pipe a single object to the Get-AzureWebsiteJob cmdlet it works fine.
PS C:\Users\user-a> $a = Get-AzureWebsiteJob -Name WebJobsDemo
PS C:\Users\user-a> $a[1] | Get-AzureWebsiteJob -Name WebJobsDemo
HistoryUrl : https://webjobsdemo.scm.azurewebsites.net/api/triggeredwebjobs/GetCommand/history
LatestRun : Started: 1/28/2015 4:11:11 AM, Ended: 1/28/2015 4:11:24 AM, Duration: 00:00:12.2775377
JobName : GetCommand
JobType : Triggered
ExtraInfoUrl : https://webjobsdemo.scm.azurewebsites.net/azurejobs/#/jobs/triggered/GetCommand
RunCommand : getcommand.ps1
Url : https://webjobsdemo.scm.azurewebsites.net/api/triggeredwebjobs/GetCommand
UsingSdk : False
PS C:\Users\user-a> $a[1].GetType()
IsPublic IsSerial Name BaseType
True False PSTriggeredWebJob Microsoft.WindowsAzure.Commands.Websites.WebJobs.PSWebJob...
Has anyone else experienced this issue? I've tested with multiple jobs using various job files but each time I get the error listed above.You are missing the -JobType parameter which can be "Triggered" or "Continuous".
Note: WebJobs with different types can have the same name. -
hi all,
where we can get the background jobname for a report.
thx in advance.Give job name and user name as *.
and give u r program name.
execute.
if u could't fine any job then it is not scheduled.
regards,
santosh reddy -
Link for Jobname and Infopackage
Hi,
can anybody please let me know if there is a table where i can find the link between the Jobname which we define as part of events and assign it to Infopackage.RSSDBATCH only holds the jobs with the Infopackage , how can we find the jobs which does not hold the infopkg.
thanks -
Define Jobname of a BI request
Hello,
starting an Info Package in SAP BW creates a corresponding extraction job in the SAP R/3 system with
jobname "BIREQU_....". The request number of the info package is part of the jobname.
We are looking for a possibility to set the jobname by program, bapi or function module.
Any ideas? Thank you for your help.
Best regards
LotharHi,
thanks for your reply.
Unfortunately BAPI_IPAK_START changes only the job description in the SAP BW system, e.g. to "BI_BTCHHELLO".
in the job log entries you will find
"InfoPackage ZPAK_7AWVZOKWJJ26YAA2PR2IPCPVY created request REQU_7W85H06U9CGWE03OUC5R4L5HQ"
and in the SAP R/3 System the extraction job
"BIREQU_7W85H06U9CGWE03OUC5R4L5HQ".
We need the following: if we start an InfoPackage, e.g. named "Hello xyz", that the corresponding extraction job in SAP R/3 has the job name "...hello xyz". -
ODI Error: ODI-1217: Session jobname (2197102) fails with return code 700
Hi All,
We are getting the below error when running an interface in our ODI 11.1.6 environment.
ODI-1217: Session <interfacename> (2197102) fails with return code 7000.
Caused By: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
Task: 147
java.lang.Exception: BeanShell script error: Parse error at line 26, column 38. Encountered: >= BSF info: Insert flow into I$ table at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
The interface is a simple pass-through one which loads data from one table to another. We have checked in the interface for any discrepancies but could not find any issue. We ran the same interface in another environment and it ran fine there. Restarting the agent also didnt help. We could not find any lead for any solutions. Any help on the issue would be highly appreciated.
P.S: Interface name has been kept generic to <jobname>
Thanks,
ShrinivasPlease give the code generated in that step ( Insert flow into I$ table.)
-
Process chain failed, how to find jobname ?
Hi all,
My process chain has failed and I can check that in st13 my chain red, how to find the error, i mean the job name and the detailed error for that step. I can see that its in red, if i rite clik and go to process monitor on that and then can u pls tell me how to see the detailed error report for that red step.HI,
i think instead of this you can use the transaction RSPCM
there you can find all the process chains and if they have failed the corresponding process chain status will be red
and when u double click on it u will be directed to the respective process chain and you can find the error
for the JObname of the step failed go to corresponding step right click and display messages
u can find batch monitor u can find the jobname of the corresponding Step
Regards,
MADhu
Edited by: MadhuMarupudi on Sep 2, 2009 7:22 AM -
Can a running report get his Jobname if it is executed this way?
Hi!
One of me reports planned in a job needs to know information about his job: for example JOBNUMER (TBTCJOB-JOBCOUNT), JOBLOGID (TBTCJOB-JOBCOUNT) and most important JOBNAME (TBTCJOB-JOBNAME).
How can he get that information?
Thanks in advance
TobiasTry function module GET_JOB_RUNTIME_INFO. Also take a look at function group BTCH.
-
Hi ,
My requirement is basically to get the current jobname when the job is running in the background.
I tried using the FM 'GET_JOB_RUNTIME_INFO' but it always returns with exception NO_RUNTIME_INFO.
Can some one provide some answer for this.
Thanks in advance.
Regards,
VijayPerhaps the problem lies in the definition of the variable. I tried this little test and it gets the job name cleanly.
Use SM36 to create this job and run it, and then go to sm37 and capture the active job. This brings up the debuger, and there you can see you are trapped in the endless WHILE. Just look at the content of the NAME variable and you'll see the name of the job. To exit, change the content of the CONTROL variable to anything other than 'X', and then exit debugging. If the job doesn't appear to stop in SM37, refresh it a pair of times and you'll see it as finished.
This is how you test this kind of functions or debug background programs.
DATA: name LIKE tbtcm-jobname,
control TYPE c.
control = 'X'.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
* EVENTID =
* EVENTPARM =
* EXTERNAL_PROGRAM_ACTIVE =
* JOBCOUNT =
jobname = name
* STEPCOUNT =
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
WHILE control = 'X'.
ENDWHILE. -
Hi ,
I am trying to run jobs from a report.
I am trying create the JOBNAME dynamically.
I am just taking it like this
data : P_JOBNM like TBTCJOB-JOBNAME.
after this I did the call for job_open
CALL FUNCTION 'JOB_OPEN'
EXPORTING
DELANFREP = ' '
JOBGROUP = ' '
JOBNAME = p_jobname
SDLSTRTDT = NO_DATE
SDLSTRTTM = NO_TIME
IMPORTING
JOBCOUNT = p_jobcount
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4
But sy-subrc is 3.
that is it is saying JOBNAME missing.
and thus there is no jobcount created.
Anyone help me with this.Hi,
Check this sample code..
DATA: p_jobcnt LIKE tbtcjob-jobcount,
l_release(1) TYPE c.
Open the job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'ZMY_OBJ'
IMPORTING
jobcount = p_jobcnt
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
Submit the job.
SUBMIT ztest_program VIA JOB 'ZMY_OBJ' NUMBER p_jobcnt
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH destination = 'LOCL'
WITH immediately = space
WITH keep_in_spool = 'X' AND RETURN.
Close the job.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = p_jobcnt
jobname = 'ZMY_OBJ'
strtimmed = 'X'
prdmins = 15
IMPORTING
job_was_released = l_release.
Thanks,
Naren -
Change username using SUBMIT program USER via jobname command
Hi experts,
I have this scenario wherein the user is doing PGI cancellation in VL09, within the userexit I'm using CALL FUNCTION 'FB08' to reverse the FI document of the particular delivery order in process.
However, some users wont have any authorization for FB08.
Let's say user 'ABC' is doing the VL09, would this command: SUBMIT program USER 'BIZTALK' via jobname etc... actually change the username from user ABC(without authorization) to user BIZTALK(with authorization) so that no authorization failure would happen?
Thanks in advance!Hi,
You can try with similar piece of code as mentioned below to call VL09 report:
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
USER user
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
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
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
Thanks & Regards,
Harish -
To know the job details if u know the jobname
Hi,
can we know what excatly job purpose is like for what purpse it is created or in other words what is the basic idea behind creating job, who has created the job , when he has cretaed the job etc if u know the job name?
Thanks,
RaviHi...
1.Go to SM37--put job name as * and username as *.
tick all jobs scheduled,finished ,cancelled...etc and then execute..
2.Double click on any of the jobs...whose details you want to view....now..click on job details F7 you will view all the details..
and job log ..to view how the job was executed...etc.etc..
3.point the cursor on your job...and click on step button....now on next screen you will find ..top menu..GOTO --select variant to view variants of the job.. -
JobNames and DataStores Info in BackEnd
Hi,
We have a sql server backend for BODS.
I would like to get the information of all the jobs and DataSteores information in Central repository.
Do we have any table in the back end to find this info ?
Do we have any doc, which says all the default tables that comes when we have sql server repository.Sai v,
You can do it by reading through repository metadata. Below are excellent articles on how to use metadata tables. Hope this helps.
Data Services Metadata Query Part 1
http://www.dwbiconcepts.com/etl/23-etl-bods/171-data-services-metadata-query-part-2.html
Regards,
Ansari MS
Maybe you are looking for
-
IPhone 3G doesn't pick up all the contacts in Address Book
I just laboriously entered a bunch of new contacts in Address Book. When I sync to iPhone with iTunes (7.7), most of them show up as expected. But about 30% of them are just not there. No entry at all on the phone, but I can still see them plain as d
-
Black ink cartridge does not print
C4385 will not print from Black ink cartridge - have tried 2 new cartridges ink level is full Any ideas on a cause? and Fic?
-
Goods Receipt Indicator in Process Order header
Hi, I'm trying to find the source of Goods Receipt indicator field in Goods Receipt tab in order header. For a process order, its in the 'Control' section of the page. Its always ticked on even when no confirmation or goods receipts are posted. Help
-
Help in merging the output rtf/documents reports
Hi, I am working with XML pub tool for a user requirement that 2 output reports(rtf documents) were genated using XML processor from 2 rtf templates, XML data files etc. No I need to merge the 2 output rtf/doc reports . Is there any function in XML p
-
hi all, "Could not create user" is the error when i want to create a new user in EP. what is the correct procedure in order to create a new user????? eagerly waiting for your replies... Regards, Ajay