Regarding status of job
Hi friends,
we are having some rapidmart , one of the rapid mart job server shows red in color in data services management console
Iam just gettinng confusion whether the job or data has been scheduled succesfully or not?
or Job has already schedule succesfully but i think it may have some errors?
when i check the DSMC iin JOB Trace log It shows
DATAFLOW: Run as separate process flag is set to YES for the Hierarchy_flattening transform <Hierarchy_Flattening> in data flow <DF_xx>. This is because the dataflow is set to run in Pageable cache and Hierarchy flattening cannot run in pageable mode. To avoid running as separate process, set data flow cache type to in_memory_cache.
(so is this a error ? if it is error please guide me how to resolve)
and siome data flows show successful and some are still showing '' started ''
Please assist I am new to this.
Thanks
Thanks in advance
Are you getting a red mark against a local repository? If so, one of your job in the repository has failed. That can either be a scheduled job, or that might have been triggered manually.
DATAFLOW: Run as separate process flag is set to YES
This is not an error seemingly, but a warning that the HF has been set to run as a separate process. If you want to change this warning, right click on the Data Flow and change the Pageable Cache to In Memory. The performance impact can be negative if the memory consumed by the Data Flow is higher than the available virtual memory.
If it is againsts the job server that you find a red status, you probably have set up a server group and is seeing status against this. That means the specified job server cannot connect to it's repository.
Regards,
Suneer
Similar Messages
-
Hi all,
Regarding status code .
How to find which user has released status, which user has set the status active and
what are date set & time set in regarding status, & where to find these fields?
Is there any table where I can find status description and all these fields are stored??Hi,
if that has been runned as a job, then you can go to sm37 and double click on the release job or the the completed job and then click job details. you can know who had runned this job and what time it was started or going to start...
Regards,
Ramesh. -
How to get the status of Job scheduled in Background.
Hi,
I wanted to know the status of job scheduled in Background.
I am using below FM.
BP_JOB_STATUS_GET
but what value will it reutrn after completion of the job.
That the status is complete.Use the Table
TBTCO
to know the status
or else call the FUNCTION
BP_JOB_SELECT -
Reg: Function Module thats used to check the status of JOBS and mail it
Hi Experts,
Is there any Standard Function module thats going to find the status of the jobs and mail this status to specied email ID in .xls format. While checking status function module should give whether job is - Aborted, Successful, Running, Waiting, Locked, Error, Warning, Starting Date, Ending Date of the Job.
Please help me,Hello Nagaraj,
You can find out the status of a job with the SHOW_JOBSTATE function module. You provide this function module with a job name and job number. It returns one of the six possible statuses of the job:
ABORTED TYPE C,
FINISHED TYPE C,
PRELIMINARY TYPE C,
READY TYPE C,
RUNNING TYPE C,
SCHEDULED TYPE C.
Following is the link for the same:
http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e10543b11d1898e0000e8322d00/content.htm
Warm Regards,
Riki Dash -
Hi,
i have a job having 3 steps. table TBTCO gives u the status of the 3 steps together -- job as a whole.
How can i come to know of the status of the job at every step. i mean how will i confirm if at every step the job is executed properly or not.??
Untill the complete job is executed, the status of each job step is Scheduled.
Only after complete job excution u can find out the status . either finished or aborted.
What if i want to know status at each job step?
Kindly help,its urgent.
Answers will be rewarded,
regards,
RohanHi,
Checking your job status with SM50 (processor type BTC) is more accurate then SM37. SAP updates the tables TBTCO wheneveryour background jobs status change. If SAP is shutdown, the currentjobs might not be update ontime to the table. (e.g. a background job wasshown as Active (SM37), in fact it real status should be Cancelled.
Look at the function module <b>GET_JOB_RUNTIME_INFO</b>
Regards
Sudheer -
This is regarding back ground job scheduling
Hi to all...........
1....here iam using background job scheduling for a report to run under background.I difine the backgorund job at sm36 and i had given the job name and time ,date in sm37.
With this details the report executed sucessfully.Now i want to see the output list for that report.Please tell that where i have to see the output list.
what is the transaction code for displaying that output list?????????????????
Thanks and regards,
k.swaminathGo to SM36.. select ownjobs..
List will come.. Select your job (check box) and click SPOOL ...
Output will come like this..
Spool no. Type Date Time Status Pages Title
16501 24.10.2007 11:25 Waiting 7 LIST1S LOCA Z00_SELECT_S
Press the Icon under Type...
Output will get displayed..
Message was edited by:
Rama Jyothi -
Hi Experts,
How do I monitor BPC jobs, I have a DM package that has executed more than a few million records, is hanging now. I have checked in SM37, they are still in sch status
thanks
RajHi Raj,
You can go to t.code SM50 - Work Process Overview which gives info about Job name, How long it's running.
You check the work processes and even cancel it if some work proccesses which are unwanted or taking too long time which are causing your system to work properly.
Some times due to too many processes the system become slow.
Regards,
Raghu -
Hi,
What is a Job Log.
i have to write messages to job log.
how to do this.
how can i see that messages whether it is written or not.
how it can be seen to the client/user.
regards,
kiranHi Kiran
Use 'write' to display the message in the job log.
write : / log_message.
Place this statement after the block of statements in your program where you want the message to be displayed in the log.
You can see the job log in SM37 transaction.
hope this helps you.
regards
Message was edited by:
Sarah Bollavaram
Message was edited by:
Sarah Bollavaram -
I have a report which is scheduled to run 2 times in the background.
here i am using OO ALV when to display output when run in back ground.
but i am getting an error when the same report is run in the back ground, stating there is a problem with the object references.
but one of my friend tried it and is successful to run in the background but another problem, when run in foreground 10 records are displayed and when run in background only 2 records are displayed for the same criteria.in both the cases i am sending the output to the file on appl server.
pls help me its urgent.
pionts are assured.Ravi,
I have faced the same problem when I schedule the job in background.
When the report was run in forground, it gives expected results, and when it run in background, it will supress some fields and disply the report output.
This problem, I have debugged it and corrected, and its application specific I can say, cant conclude it by seeing the problem, needs to do much research and fix it up.
Regards,
Sujatha. -
Regarding : back ground jobs
Hi,
Please let me know , in how many ways we can shedule a program as a background job, and how we pass variants to the job.
Thanks in advance
joguhi,
There are two ways for you to handle,
one manually setting up the job through SM36 which is better and convinient,
secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
Find below steps in doing both:
Procedure 1:
1. Goto Trans -> SM36
2. Define a job with the program and variant if any
3. Click on start condition in application tool bar
4. In the pop-up window, click on Date/Time
5. Below you can see a check box "Periodic Job"
6. Next click on Period Values
7. Select "Other Period"
8. Now give '15' for Minutes
9. Save the job
In SM37 u can check the status of the jobs that u have assigned to background...
Here u mention the job name or the report name to check the status of the job...
After mentioning the job name or program name u just execute it.. ( without any name also u can execute then it gives u all the jobs set by your user name..
the status colud be released,active,finished etc..
Procedure 2 via Program:
Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
L_RELEASE(1) TYPE c.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = 'ZTEMP2'
IMPORTING
JOBCOUNT = P_JOBCNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X' AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = P_JOBCNT
JOBNAME = 'ZTEMP2'
STRTIMMED = 'X'
PRDMINS = 15
IMPORTING
JOB_WAS_RELEASED = L_RELEASE
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.
ENDIF.
http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
<b>Reward if usefull</b> -
hi,
I have a program which includes a bdc code.when i run that program it will take me to mb1a i.e goods issue.i have to press enter each time for each and every item .Is there any way i can do this as background job. i haven't done anything related to background .can u please guide me each and every step.
Thanks in advancehi suchitra,
check the transaction <b>sm36</b> give ur job name.
click on the <b>job wizard</b> button and flow the steps.
http://help.sap.com/saphelp_nw04/helpdata/en/73/69ef5755bb11d189680000e829fbbd/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/2c513897110872e10000009b38f889/content.htm
check ur job status in transaction<b>sm37</b>and press execute.
hope this helps,
<b>do reward if it helps,</b>
priya. -
Regarding back ground job sheduling
hi,
could u plz clear my issu
i am running a report which i want to shedule in back ground by writing the code within in that program.
very urgentThere are two ways for you to handle,
one manually setting up the job through SM36 which is better and convinient,
secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
Find below steps in doing both:
Procedure 1:
1. Goto Trans -> SM36
2. Define a job with the program and variant if any
3. Click on start condition in application tool bar
4. In the pop-up window, click on Date/Time
5. Below you can see a check box "Periodic Job"
6. Next click on Period Values
7. Select "Other Period"
8. Now give '15' for Minutes
9. Save the job
In SM37 u can check the status of the jobs that u have assigned to background...
Here u mention the job name or the report name to check the status of the job...
After mentioning the job name or program name u just execute it.. ( without any name also u can execute then it gives u all the jobs set by your user name..
the status colud be released,active,finished etc..
Procedure 2 via Program:
Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
L_RELEASE(1) TYPE c.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = 'ZTEMP2'
IMPORTING
JOBCOUNT = P_JOBCNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X' AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = P_JOBCNT
JOBNAME = 'ZTEMP2'
STRTIMMED = 'X'
PRDMINS = 15
IMPORTING
JOB_WAS_RELEASED = L_RELEASE
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.
ENDIF.
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif.
Thanks -
Regarding back ground job scheduling
Hi,
one of our program was sheduled for back ground job, by another user, so just i need to knwo when this job is sheduled and it is executing daily, so, i need to knwo whether he has created a background job through , sm36, or through a program, how could i found it out.
thanks in advance.
joguIt is difficult to say. But if you can go to SM37 and check the log of the JOB it will dispaly you some messages.
This might help you.
Regards,
Naimesh Patel -
Regarding STATUS FIELD INFORMATION OF T.CODE CO03(Display Production Order)
Hello Friends,
I want to know, how could i get the Status field information from T.CodeCO03(Display Production Order).
Any F.M or Table Name.
I have production order Number as input field and output will be Status.
Regards
AmitHello Amit ,
u can try fm STATUS_READ.
i think OBJNR u can get it from AFRU.
regards
Prabhu -
Hi,
I have a situation, wherein when a sales order is created, it is assigned a user status of CRTD using status management configuration. My requirement is to track a particular document's user status or system status to trigger a workflow if the document is complete with respect to header and item level info, and the status is in CRTD. I can check the completeness from VBUK table, but does anyone know as to which table the status profile values are stored in? Thanks for the help in advance.
Regards,
VijayHi ,
Check the table JSTO & Jest table.
Also check the FM STATUS_READ
Thanks
Rajeev
Maybe you are looking for
-
Hello all, I wanted to buy the Adobe Photoshop CS6 Extended Student and Teacher Edition which I would be eligible to buy but as it seems, the Paypal option in the adobe store doesn´t seem to work. I already contacted the customer service "Kundendien
-
The Skype to go number is Busy
OK so please adivse why this is happening when the number is not actually busy. Please resolve this soonest!
-
My desktop website shortcuts stopped working.
Desktop website shortcuts all say: "There was a problem sending the command to the program". How can I fix these shortcuts? Running Windows 7 and Firefox 4.0.1
-
How to take video on my mini ipad
can some one help on taking video from my ipad
-
Getting SQLException on DB Login, but Report Runs?????
On all of our JRC-enabled Crystal reports, I'm getting the same SQLException error thrown, however, the report runs OK in most cases. In longer running reports, the user is getting weird JSF state exceptions, HTTP 500 errors, etc. etc. When I look