The background job "SM:EXEC SERVICES" is ending Green in Just 0 seconds
Solution Manager 4.0
In our customer system the background job "SM:EXEC SERVICES" is ending Green in Just 0 seconds or just 1 second.
Here is the log:
Job log overview for job: SM:EXEC SERVICES 000000046740000 / 12193100
Date Time Message text Message class Message no. Message type
28.04.2009 12:19:31 Job started 00 516 S
28.04.2009 12:19:31 Step 001 started (program RDSMOPBACK_AUTOSESSIONS, variant &0000000001054, user ID BJ8099) 00 550 S
28.04.2009 12:19:32 RDSMOPBACK_AUTOSESSIONS : MemSize Begin = 1374064 DSWP 000 I
28.04.2009 12:19:32 Solution Enterprice Portal(GGP) is being edited (Operations) DSWP 438 I
28.04.2009 12:19:32 RDSMOPBACK_AUTOSESSIONS : MemSize End = 20902480 DSWP 000 I
28.04.2009 12:19:32 Job finished 00 517 S
Due to this EWA reports are not being generated.
What could be the reason that the Job ends immediately with no significant warnings or error in the log?
Many thanks in advance,
Manoj
Hi Manoj
Following Notes will be helpful to you to analyze the problem
Note 894279 - Background processing in SAP Solution Manager
Note 1246329 - RDSMOPBACK_AUTOSESSIONS: Additional displays
Note 1163920 - SM:Scheduler: Improved display in job log
Note 946607 - Automatic diagnosis in SAP Solution Manager
SAP Note 727998 "Complete Replacement of Service Definitions for SDCC/SDCCN"
Note 986973 - How to analyze problems with EarlyWatch Alerts in SolMan
however, is this problem occurring for sessions of ALL the systems today, if yes, then something wrong only in solman, last note of the above shows you to manually run the job interactively, may be will help in analyzing and i hope SDCCN settings in Solman are already fine..
thanks
Bhudev
Similar Messages
-
Short dump while executing job SM:EXEC SERVICES for EWA alert generation
Hello All,
I'm getting short dump error while executing job SM:EXEC SERVICES for EWA alert generation.I'm using EHP1@SP22 of Sol Man.
Please find the logs
Error in the ABAP Application Program
The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "RDSVASCABAP_TRANS__________073
" in include "RDSVASIABAP_TRANS__________073 " in
line 1782:
"Field "STATEMENT_SUMMARY001019" is unknown. It is neither in one of th"
"e specified tables nor defined by a "DATA" statement. "DATA" statement"
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
If anyone came across such kind of dump, please reply asap, due to this, i could not generate EWA report for R/3 system 6.04.
Thanks,
Anand.>
Anand Tigadikar wrote:
> Thx Paul, but i already did checked this note and its not solving my issue
Dear Anand,
Did you perform a complete service definition replacement for SDCC/SDCCN as described in the note?
These are manual steps you need to perform on the system and are not code corrections.
I would suggest you perform it, if you have not, and check the SDCCN logs to review the process ran cleanly.
Note: Please make sure SDCC_OSS is functioning and a connection to SAP can be made before
deleting the service definitions.
If you have already replaced the service defintions on the Solution Manager system, then no point doing it again. However checking a note and applying it are not the same thing. So I am uncertain if you replaced the service definitions or not. The dump you are getting in SM:EXEC SERVICES suggests its due to a problem with the service definitons. The recommendation is to replace them according to the process described in SAP Note 727998. If you have not done so please do so.
If you have successfully replaced the service definitions are you still getting the same dump, or has it possibly changed?
Regards,
Paul -
How to debug the background job in ABAP
Hi Guys,
Can anyone let me know how to debug the background job in ABAP.
Thanks in advance
peterHi,
Goto SM37 and see the log if any is there and based on that you can check the code.
you can't debug background job.
Create a Variant for the Program and
Schedule JOB in background:
Go to SM36 create a Job
enter Program and Variant for that program in STEP..
click on Start Condition
Click on DATE and TIME enter date scheduled Start and END times
click on Period Values
Click on HOURLY/WEEKLY etc
CLick on RESTRICTIONS also to use further criteria.
so your job will be scheduled and run as per your requirement.
and in SM37 Transaction check the status of that JOB
Check this link for scheduling jobs..
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
Check this
http://jplamontre.free.fr/SAP/Debug%20background%20process.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&
Regards,
Padmam. -
Solution Manager - Error when executing Job SM:EXEC SERVICES
Hi,
I am trying to get the data from the earlywatch alert report and when i start the job SM:EXEC SERVICES.
The jobs starts but i get an error during is execucion:
Runtime errors SYNTAX_ERROR
Occurred on 17.01.2008 at 14:06:28
Syntax error in program "RDSVASAEW_DBMSS____________052 ".
What happened?
The following syntax error occurred in the program
RDSVASAEW_DBMSS____________052 :
"INCLUDE report "/1CAGTF/IF_LOGFUNC_000208" not found."
Error in ABAP application program.
The current ABAP program "SAPLDSVAS_PROC" had to be terminated because one of
the
statements could not be executed.
This is probably due to an error in the ABAP program.
I tried to generate all the function modules and i get this error:
Logical function: MSQ_TEMPDB_DOWNLOAD :
Error 1 during generation of /1CAGTF/IF_LOGFUNC_000208
Syntax error.
Can you help me on this error?
Best regards,
Nuno SilvaHi Pedro,
I insert my answer from a similar thread.
As a pitty, that's a well known error.
Please check [SAP Note 727998|http://service.sap.com/sap/support/notes/727998]
Basically, these three steps needs to be performed:
1) BDL_DELETE_ALL_TABLES
2) SDCCN - Refresh Service Definitions
3) Generate Logfuncs
SE37: /BDL/_GENERATE_LOGFUNCINCLUDES
OPTION: ALL
It's also described in the Implementation Guide (IMG), transaction SPRO in the SAP Solution Manager system:
SAP Solution Manager -> Configuration -> Basic Settings -> Standard Configuration of Basic Settings -> Solution Manager -> Service Data Control Center
-> Activate the Service Data Control Center in the Solution Manager
-> Generate Includes for Service Data Contol Center
With the next ST-PI Support Package. The steps can be triggered via the menu of transaction SDCCN.
Best regards,
Ruediger Stoecker -
Hi,
I have a background job with has a start condition after execution of a particular event.
Now i need to copy this background job to another name and execute it. I tried using the function module BP_JOB_COPY, but that copied the background job without the job start conditions. How can i copy the background job along with start conditions.
Thank you in anticipation.Hi Nikhil,
the follwoing code schedules 2 jobs from a source job (which is maintaned in the system).
data: s_tbtcjob1 like tbtcjob, "target job #1"
s_tbtcjob2 like tbtcjob. "target job #1"
data: h_1 like tbtco-jobcount, "jobcount"
h_2 like tbtco-jobcount, "jobcount"
h_1s like tbtco-jobname, "jobname source"
h_2s like tbtco-jobname, "jobname source"
h_1t like tbtco-jobname, "jobname target"
h_2t like tbtco-jobname. "jobname target"
selection-screen begin of line.
selection-screen position 2.
parameters ra radiobutton group rad1.
selection-screen comment 4(70) text-001.
selection-screen end of line.
selection-screen begin of block block1 with frame.
parameters: p_a1 like h_1,
p_a1s like h_1s,
p_a1t like h_1t,
p_a2 like h_2,
p_a2s like h_2s,
p_a2t like h_2t.
selection-screen end of block block1.
start-of-selection.
perform create_jobs using p_a1 p_a1s p_a1t p_a2 p_a2s p_a2t.
* FORM CREATE_JOBS *
form create_jobs using h_1 h_1s h_1t h_2 h_2s h_2t.
call function 'BP_JOB_COPY'
exporting
dialog = 'N'
source_jobcount = h_1
source_jobname = h_1s
target_jobname = h_1t
importing
new_jobhead = s_tbtcjob1
exceptions
cant_create_new_job = 1
cant_enq_job = 2
cant_read_sourcedata = 3
invalid_opcode = 4
jobname_missing = 5
job_copy_canceled = 6
no_copy_privilege_given = 7
no_plan_privilege_given = 8
others = 9.
call function 'BP_JOB_COPY'
exporting
dialog = 'N'
source_jobcount = h_2
source_jobname = h_2s
target_jobname = h_2t
importing
new_jobhead = s_tbtcjob2
exceptions
cant_create_new_job = 1
cant_enq_job = 2
cant_read_sourcedata = 3
invalid_opcode = 4
jobname_missing = 5
job_copy_canceled = 6
no_copy_privilege_given = 7
no_plan_privilege_given = 8
others = 9.
call function 'JOB_CLOSE'
exporting
jobcount = s_tbtcjob2-jobcount
jobname = s_tbtcjob2-jobname
pred_jobcount = s_tbtcjob1-jobcount
pred_jobname = s_tbtcjob1-jobname
targetsystem = '<<SYSTEM IN CASE OF MULTIPLE SERVERS>>'
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.
call function 'JOB_CLOSE'
exporting
jobcount = s_tbtcjob1-jobcount
jobname = s_tbtcjob1-jobname
strtimmed = 'X'
targetsystem = '<<SYSTEM IN CASE OF MULTIPLE SERVERS>>'
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.
endform. -
Deleated job SM:EXEC SERVICES
Hi Gurus
I deleated the job SM:EXEC SERVICES by mistake. Can somebody help me to recreate that job ined the following info the ABAP program, Variant, Start time and Repetition period.
Regards
SantoshHello,
Go to the SM37 and try to find older ones, please don't forgot change Job start condition to the past.
If you automatically do not delete all finished or cancelled or ... job on daily base you will find older one.
But activating can be done according instruction at here>>
http://help.sap.com/saphelp_sm32/helpdata/en/81/e06b41466b021de10000000a155106/content.htm
Peter -
At least one service session failed during job SM:EXEC SERVICES
Hello everyone.
I'm have problem with job "SM:EXEC SERVICES" in my System: SolutionManager 7.1 SPS12.
Number of sessions to process in parallel: 5
Child job SM:EXEC_MULT_SES_1 started
Displaying log of child job SM:EXEC_MULT_SES_1
Step 001 started (program AGS_SISE_SM_EXEC_PARALL_REPORT, variant &0000000000060, user ID SOLMAN_BTC)
Trying to perform session EA0010000000001
Error (shown below) in session EA0010000000001. Hints on analysis in SAP Note 700518
Error message: An exception occurred that was not caught.
Session EA0010000000001 not performed
Step 002 started (program AGS_SISE_SM_EXEC_PARALL_REPORT, variant &0000000000061, user ID SOLMAN_BTC)
Trying to perform session VE0010000000002
Error (shown below) in session VE0010000000002. Hints on analysis in SAP Note 700518
Error message: An exception occurred that was not caught.
Session VE0010000000002 not performed
ABAP DUMP "Error analysis":
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_DSVAS_API_SERVICE_SESSION', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
Program for actions in check group &EW_ROOT& version &50079& not found
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SY_PROGRAM_NOT_FOUND", which was raised in the program
"CL_DSVAS_PROC_CHECK_GROUP=====CP",
specifically in line 25 of the (include) program
"CL_DSVAS_PROC_CHECK_GROUP=====CM00A".
The cause of the exception was:
Program /1AGS/AEW_ROOT_____________079 does not exist
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_DSVAS_API_SERVICE_SESSION', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
Program for actions in check group &EWAFS_ROOT& version &50007& not found
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SY_PROGRAM_NOT_FOUND", which was raised in the program
"CL_DSVAS_PROC_CHECK_GROUP=====CP",
specifically in line 25 of the (include) program
"CL_DSVAS_PROC_CHECK_GROUP=====CM00A".
The cause of the exception was:
Program /1AGS/AEWAFS_ROOT__________007 does not exist
i'm was trying find program "/1AGS/AEWAFS_ROOT__________007" and "/1AGS/AEW_ROOT_____________079" in SE80, but to no avail.
Full job report and dumps in attachment.
Kernel release 721
Compilation Linux GNU SLES-11
Sup.Pkg lvl. 401
ABAP Load 1780
CUA load 39
Mode opt
SAP_BASIS
702
0015
SAPKB70215
SAP Basis Component
SAP_ABA
702
0015
SAPKA70215
Cross-Application Component
CTS_PLUG
200
0013
SAPK-20013INCTSPLUG
SAP CTS Plugin
PI_BASIS
702
0015
SAPK-70215INPIBASIS
Basis Plug-In
ST-PI
2008_1_700
0011
SAPKITLRDK
SAP Solution Tools Plug-In
BI_CONT
707
0007
SAPK-70707INBICONT
Business Intelligence Content
GW_CORE
200
0008
SAPK-20008INGWCORE
SAP GW CORE 200
SAP_BS_FND
702
0013
SAPK-70213INSAPBSFND
SAP Business Suite Foundation
SAP_BW
702
0015
SAPKW70215
SAP Business Warehouse
UISAPUI5
100
0007
SAPK-10007INUISAPUI5
SAP UI5
UI_INFRA
100
0007
SAPK-10007INUIINFRA
SAP UI INTEGRATION INFRASTRUCTURE
IW_GIL
100
0004
SAPK-10004INIWGIL
Generic Interaction Layer
SAP_AP
700
0031
SAPKNA7031
WEBCUIF
701
0012
SAPK-70112INWEBCUIF
SAP Web UI Framework
BBPCRM
701
0012
SAPKU70112
BBPCRM
CPRXRPM
500_702
0011
SAPK-50011INCPRXRPM
SAP Portfolio and Project Management 5.0 (ABAP)
IW_BEP
200
0008
SAPK-20008INIWBEP
Backend Event Provider
IW_FND
250
0008
SAPK-25008INIWFND
SAP IW FND 250
ST
710
0012
SAPKITL712
SAP Solution Manager Tool
ST-BCO
710
0010
SAPK-71010INSTBCO
BI Content for SAP Solution Manager
RTCISM
100
0000
Integration into SAP IT Infrastructure Management
SOCO
101
0003
SAPK-10103INSOCO
SAP Solution Composer Server
ST-A/PI
01R_700
0001
SAPKITAB7N
Application Servicetools for SolMan 7.0-
ST-ICC
200
0001
SAPK-20001INSTICC
Innovation Control Center
ST-ICO
150_700
0043
SAPK-15087INSTPL
SAP Solution Manager Implementation Content
ST-SER
701_2010_1
0025
SAPKITLOSP
SAP Solution Manager Service ToolsHi,
Try this.
Run RAGS_DSWP_SERV_CONTENT_RESET in Se38 and seclect "Remove content completely"
Goto AGS_UPDATE and apply the updates again and make sure that all is are green.
Open the EWA session that was dumping and reset session component.
Regards, -
How to cancel the background job processing in ABAP programming?
Hi,
I have a requirement where i need to cancel the job depending on some constraint. My code is something like this:
Select some data from the table.
if sy-subrc = 0.
Do nothing.
Else
Cancel the job
call function 'BP_JOB_ABORT'
exporting
jobcount = number
jobname = name
EXCEPTIONS
CHECKING_OF_JOB_HAS_FAILED = 1
JOB_ABORT_HAS_FAILED = 2
JOB_DOES_NOT_EXIST = 3
JOB_IS_NOT_ACTIVE = 4
NO_ABORT_PRIVILEGE_GIVEN = 5
OTHERS = 6
The above code is cancelling the job but it is throwing an exception called CX_SY_DYN_CALL_PARAM_MISSING because i dint pass job count. How can we find the job count of next job that is going to run? Or How to handle the exception which it is throwing. Even if i try to handle that exception something like this:
TRY
call function 'BP_JOB_ABORT'
exporting
jobcount = number
jobname = name
EXCEPTIONS
CHECKING_OF_JOB_HAS_FAILED = 1
JOB_ABORT_HAS_FAILED = 2
JOB_DOES_NOT_EXIST = 3
JOB_IS_NOT_ACTIVE = 4
NO_ABORT_PRIVILEGE_GIVEN = 5
OTHERS = 6
RAISE EXCEPTION TYPE CX_SY_DYN_CALL_PARAM_MISSING.
CATCH
CX_SY_DYN_CALL_PARAM_MISSING.
ENDTRY.
It avoids the exception but it doesnt cancel the job. I even tried with function modules like JOB_OPEN
JOB_SUBMIT,BP_JOB_SELECT,BP_JOB_ABORT and tried to build some logic using status overview table (TBTCO) and TBTCP (Jobstep overview table).
Can someone suggest me the right way to write this program ?
Thanks in advance.
RashmiHi,
Problem is solved.
Create an background job with 2 steps. The first step in the background job calls the program ZBACKJOB_STEP1. In the variant we have a wrong material number
If the material number is not found in Mara, the next step in the job should not get executed and the job should get cancelled..
In the above posts i had asked how do I get the job count of the job that is currently triggering the program at the runtimeu2026..If u see the below code uu2019ll get to know.. We have to use the standard structure TBTCM which captures the properties/characteristics of the job.
REPORT ZBACKJOB_STEP1.
TABLES: MARA,TBTCM.
PARAMETERS : MATNR TYPE MATNR.
START-OF-SELECTION.
SELECT SINGLE * FROM MARA WHERE MATNR = MATNR.
IF SY-SUBRC IS INITIAL.
WRITE / : 'This is the material selected on the selection-screen' , MARA-MATNR.
ELSE.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = TBTCM-EVENTID
EVENTPARM = TBTCM-EVENTPARM
EXTERNAL_PROGRAM_ACTIVE = TBTCM-XPGACTIVE
JOBCOUNT = TBTCM-JOBCOUNT
JOBNAME = TBTCM-JOBNAME
STEPCOUNT = TBTCM-STEPCOUNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
IF SY-SUBRC = 0.
CALL FUNCTION 'BP_JOB_ABORT'
EXPORTING
JOBCOUNT = TBTCM-JOBCOUNT
JOBNAME = TBTCM-JOBNAME
EXCEPTIONS
CHECKING_OF_JOB_HAS_FAILED = 1
JOB_ABORT_HAS_FAILED = 2
JOB_DOES_NOT_EXIST = 3
JOB_IS_NOT_ACTIVE = 4
NO_ABORT_PRIVILEGE_GIVEN = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
ENDIF.
ENDIF.
ENDIF.
Regards,
Rashmi -
Certain Maintenance Plan not getting scheduled in the background job
Hi Gurus,
I am facing an issue here.
A weekly background job (RISTRA20) runs every weekend and schedules the maintenance plans.
But we have noticed that some maintenance plans are not getting scheduled. i.e no orders or schedule is getting generated.
When I run IP30 manually for these plans then the schedule gets generated and orders get called.
I have checked up the background job and it is running fine.
Also, i have noticed a similarity in all these plans which are not getting scheduled. There schedule has been restarted (through IP10) at somepoint or the other.
But i don't see any direct impact of this?
Can any of you provide some help on this?? Points will be rewarded.
Thanks and regards,
Nitin SainiHi Narender,
Thanks for replying.
The message number for 'Groups don't match' is ME303.
I think this does not have anything to do with the restart as i have done further investigation.
Whenever I run IP30 with sortfield input as AS02*, i get the error as mentioned above for a certain number of maintenance plans while the remaining plans get scheduled.
If i run IP30 for any other sort fields, it runs fine and i don't encounter the error
mentioned above.
If you send me ur email address, i could forward you screen-shots of the issue. -
Actual Varaint Name used in the Background Job
Hi,
When a program is executed in Background made the selection screen variant selected is not the one that is shown in the Background Job Step information. There we see variant as &0000000000044.
I want to find the actual variant that was selected at the time of running the program in background mode.
Thanks.Hi,
I also faced the same issue and after my R&D i found a workaround for this. Check this out.
Create a selection screen parameter and hide it.
PARAMETERS: po_varnt TYPE sy-slset NO-DISPLAY.
Now place below code in AT SELECTIO-SCREEN OUTPUT event.
AT SELECTION-SCREEN OUTPUT.
CHECK sy-batch IS INITIAL.
CLEAR po_varnt.
MOVE sy-slset TO po_varnt.
If you are running in background by pressing F9 from selection screen, Use your hided parameter po_varnt for the variant name instead of sy-slset.
If you are running the report in foreground or through SM36 then you can use sy-slset to know the variant name.
Thanks,
Vinod. -
How to schedule the background job if report have Presentation server files
Hi All,
I have searched the forums and found , the way for the scheduling the background job if report selection screen have the presentation server file input.
1. Using the Open data set method.
And my client is not OK with Open dataset way, it there any other way to do this, As we are using the EXCEL file.
Thanks and Regards,
BharaniHi,
As said above it is generally not possible. Since your client most obviously doesn't like graphical background I would recomend storing data as till now, but show it with your own report in more userfriendly way. For example:
- as ALV Grid
- in excel with use of OLE either as embedded in SAP or new window (check transaction OLE for example)
- with use of webdynpro
BR
Marcin Cholewczuk -
How to schedule the background job using current selection screen field val
Hello Friends,
How to schedule the background job using current selection screen field values.
after completion of the job the spool should be sent as a mail to SAP Inbox.
Is there any way to create the variant dynamically by reading the current selection screen values.
Thanks,
RaviHi,
To get the variant details you can use teh following FM.
'RS_VARIANT_CONTENTS'.
Regards,
Ankur Parab -
How to schedule the background job daily twice?
Hi,
How to schedule the background job daily twice? any conditions?
Regards,
Srihithasee the step by step procedure.
Scheduling Background Jobs:
1. Background jobs are scheduled by Basis administrators using transaction SM36.
2. To run a report in a background, a job needs to be created with a step using the report name
and a variant for selection parameters. It is recommended to create a separate variant for each
scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.
company codes).
3. While defining the step, the spool parameters needs to be specified
(Step-> Print Specifications->Properties) to secure the output of the report and help authorized users
to find the spool request. The following parameters needs to be maintained:
a. Time of printing: set to Send to SAP spooler Only for now
b. Name abbreviated name to identify the job output
c. Title free form description for the report output
d. Authorization a value defined by Security in user profiles to allow those users to access
this spool request (authorization object S_SPO_ACT, value SPOAUTH). Only users with matching
authorization value in their profiles will be able to see the output.
e. Department set to appropriate department/functional area name. This field can be used in
a search later.
f. Retention period set to Do not delete if the report output needs to be retained for more
than 8 days. Once the archiving/document repository solution is in place the spool requests could
be automatically moved to the archive/repository. Storage Mode parameter on the same screen
could be used to immediately send the output to archive instead of creating a spool request.
Configuring user access:
1. To access a report output created by a background job, a user must have at
least access to SP01 (Spool requests) transaction without restriction on the user
name (however by itself it will not let the user to see all spool requests). To have
that access the user must have S_ADMI_FCD authorization object in the profile with
SPOR (or SP01) value of S_ADMI_FCD parameter (maintained by Security).
2. To access a particular jobs output in the spool, the user must have
S_SPO_ACT object in the profile with SPOAUTH parameter matching the value used
in the Print Specifications of the job (see p. 3.d above).
3. Levels of access to the spool (display, print once, reprint, download, etc) are
controlled by SPOACTION parameter of S_SPO_ACT. The user must have at least
BASE access (display).
On-line reports:
1. Exactly the same configuration can be maintained for any output produced
from R/3. If a user clicks Parameters button on a SAP Printer selection dialog, it
allows to specify all the parameters as described in p. 3 of
Scheduling background jobs section. Thus any output created by an online report
can be saved and accessed by any user authorized to access that spool request
(access restriction provided by the Authorization field of the spool request
attributes, see p. 3.d of Scheduling background jobs section).
Access to reports output:
1. A user that had proper access (see Configuring user access above) can
retrieve a job/report output through transaction SP01.
2. The selection screen can be configured by clicking Further selection
criteria button (e.g. to bring Spool request name (suffix 2) field or hide other
fields).
3. The following fields can be used to search for a specific output (Note that
Created By must be blank when searching for scheduled jobs outputs)
a. Spool request name (suffix 2) corresponds to a spool name in p. 3.b in
Scheduling background jobs section above).
b. Date created to find an output of a job that ran within a certain date range.
c. Title corresponds to spool Title in p. 3.c in Scheduling background jobs
section above).
d. Department - corresponds to spool Department in p. 3.e in Scheduling
background jobs section above).
4. Upon entering selection criteria, the user clicks the Execute button to
retrieve the list of matching spool requests.
5. From the spool list the user can use several function such as view the
content of a spool request, print the spool request, view attributed of the spool
request, etc. (some functions may need special authorization, see p.3 in
Configuring user access)
a. Click the Print button to print the spool request with the default attributes
(usually defined with the job definition). It will print it on a printer that was
specified when a job was created.
b. Click the Print with changed attributed button to print the spool request
with the different attributes (e.g. changing the printer name).
c. Click the Display contents button to preview the spool request contents. A
Print and Download functions are available from the preview mode. -
How to stop the background job "Sap_collector_for_job_statistic"
Dear All,
Kindly let me know how to stop the Background job "Sap_collector_for_job_statistic" which is running everyday.
We want to stop this background job.
Kindly suggest.
Regards,
MullairajaSelect the Job using SM37 transaction. In the Menu Choose
Job ---> Cancel Active Job.
Before you do this it may be good idea to check the pid using SM50.
It will be using a Background work process. Check the pid and the status.
Select the same and in the Menu Choose Process --> Cancel with Core.
Refresh and check in SM37 for the Active and Cancelled Jobs. -
How to get the Background job name
Hi,
I am executing a report in background and i want to get the background job name in the same report program. How can i get the same.
Regards,
Rajgopal Dara.Hi,
for this fm is used 148 times in our system, I made a check program and it works:
report zsbatchfm.
data: xv_jobcn type btcjobcnt.
data: xv_jobnm type btcjob.
data: xv_stepc type btcstepcnt.
call function 'GET_JOB_RUNTIME_INFO'
importing
* EVENTID =
* EVENTPARM =
* EXTERNAL_PROGRAM_ACTIVE =
jobcount = xv_jobcn
jobname = xv_jobnm
stepcount = xv_stepc
exceptions
no_runtime_info = 1
others = 2.
if sy-subrc <> 0.
write: /1 'SY-SUBRC = ', sy-subrc.
else.
write: /1 'JOBCOUNT = ', xv_jobcn.
write: /1 'JOBNAME = ', xv_jobnm.
write: /1 'STEPCOUNT = ', xv_stepc.
endif.
commit work.
In online mode you get a SUBRC = 1, in batch mode you get the informations (here: in SPOOL)
Please check it on your system!
Regards,
Klaus
Maybe you are looking for
-
how do you delete songs from ipod touch if can help me that would be great.
-
Using 2 different ipods on one computer
Can someone please help, i have a color ipod set up on my computer, and my friend brought over a original ipod (the same as mine but with no color) and we are trying to put songs on her ipod and mine but for some reason the computer will not recogniz
-
Error in HRFORM Infonet-Generation
I have created a new MetaDimension (contains only key-fields, option always read with MetaStar is active) and added it to a new MetaStar (Type: Payroll). Both objects pass the check in the MetaNet builder. When I want to use this MetaStar in my Infon
-
IMAP will not show newest e-mail.
When I check Mail with IMAP the iPhone downloads all messages but doesn't seem to display the newest first! ??? I am helping two users set up their iPhones and they both check mail from the same server just different accounts. IMAP -- When I set them
-
Change to page does nogt appear in browser
I added a line to an ASP (classic) page which is supposed to say: New: Make sure your mail meets USPS standards for optimal postage rates. Click here. And here is the code for that line: <td colspan="6" align="center"><div align="left"><strong><span