Running HR ABAP report in the background
..
Enter all required info at the report selection screen and click save button to save the variant by giving a variant name and description.
Then go to tcode Sm36 to schedule background job. <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ed/a9bb3f8e236d3fe10000000a114084/content.htm">see helpfile</a>
pls reward points
Message was edited by: SG Duxton
Message was edited by: SG Duxton
Similar Messages
-
Running abap reports in the background when clicked on Webdynpro Button
Hi Experts,
I have requirement where when clicked on a Button in a Webdynpro application, it needs to run an abap reports in the background and I need to pass some parameters to the report.
Is it possible to do that? if yes, please guide me though.
Reward points for useful tips.
Sabbir
Edited by: Sabbir Ahmed on Oct 17, 2008 8:05 AM
Edited by: Armin Reichert on Oct 24, 2008 10:05 AMyou can use rfc's model for this na?
pass the parameters to the RFC and through that RFC run the report,
with regards
shanto aloor. -
Schedule measurement in SE30 - running a report in the background
Dear experts,
I have a long running ABAP report and I will need to analyze its runtime for performance improvements.
How may I correctly run this ABAP report in the background from SE30 (runtime analysis tool)? The report has to be run using a specific variant for its selection screen inputs as well.
This is what I have done:
1. Go to SE30
2. Click on "For User/Service" button under "Schedule"
3. Create new Schedule Measurement with the following details:-
- User (<my user name>),
- Client (<properly specified>),
- External Session (Any),
- Processing Category (Background Processing),
- Object Type (Report),
- Object Name (<ABAP report program name>),
- Max. No. of Scheduled Measurements (1),
- Expiration Date & Time (<properly specified>)
5. In the screen "Overview of Scheduled Measurements", I have the following displayed as well:-
- Scheduled = 1
- Started = 0
- Errors = 0
- Status = Being processed
Am I still on the right track here? (Started = 0 and there was no way I could specify the variant for the selection screen input values too)
Please help. Appreciate any inputs at all.
Thanks.Hi,
you can try it with ST12 and the <ALL Servers> Option for tasktype B.
see this blog:
/people/hermann.gahm/blog/2010/03/22/st12-150-tracing-user-requests-tasks-http
ST12 uses SE30 / ST05 behind the covers. But here you can switch on
the trace for all servers and therefore don't have to take care for that yourself.
Kind regards,
Hermann -
Why do I get a status of 'waiting' when I run a report in the background
Happy new Year Experts!!
I am working with Ad-hoc query and I run reports in the background. When I go to System > Own Spool Requests the status is always waiting. When I go to SM37 the status is complete. I can open the report from my own spools requests and it is completed.
Thanks.
Regards,
JeanetteGo to SM36-> Own jobs - double click the job - Select Edit-Steps - DOuble click the step and check print specifications.
Moreover, if you wanna make the job printed on finish, make sure that there is a default printer defined in SU3 - Defaults - Output device field.
Regards,
Dilek -
How to run long running report in the background
Oracle Application server 10g
I need to run the long running reports in the background because while the report is running the cursor is loading and the control doesn't return to the user
this feature exist in oracle 6i by set the following parameter
RUN_PRODUCT( REPORTS, 'r_1', ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
How can I accomplish the same in OAS 10g?Hi,
I've done this in 11g. I think it will be the same in 10g as well
Following are the steps in 11g using run_report_object.
1. Read metalink note: Using the Reports Server Queue PL/SQL Table and API - RW_SERVER_JOB_QUEUE [ID 72531.1]
2. Implement RW_SERVER_JOB_QUEUE table as per above notes.
3. When submitting report run it as background
a. SET_REPORT_OBJECT_PROPERTY(lo_report_object, REPORT_EXECUTION_MODE, ASYNCHRONOUS); -
SET_REPORT_OBJECT_PROPERTY(lo_report_object, REPORT_COMM_MODE , BATCH);
4. Display the job_id to user (notification).
5. Create a new form to view reports base on on RW_SERVER_JOB_QUEUE which provides you the status, etc.... (you may have to create a way to identify the username who submitted the job. This way not all users will see the jobs in RW_SERVER_JOB_QUEUE )
6. Optionally you can use NOTIFYSUCCESS=email to notify user when the report is finished.
Cheers
LS -
How will schedule the BW report in the Background ?
Hi
Small query, i have one management report in the BI, which should be run early morning and send mail to the GM,
We can schedule the ABAP report but no the BW !!!!
How will schedule the BW report in the Background ?
How the mail send to the GM ?
Please advise us
REgards
Anwer Waseem
SAP BASISReporting Agent will be only supported in the 3.X runtime in 2004s,start using Bex Broadcaster.Reporting agent is going to be obsolete or is would say.
All the new functionalities will be implemented in Broadcaster only.
Advantage -The old Reporting Agent in BW 3.x could pre-calculate the data of a template and access it through the URL . It could not broadcast queries, workbooks or web templates by email or to KM folders.
https://websmp203.sap-ag.de/~sapdownload/011000358700004219392005E/ERQA_INFOBROADCASTING.PDF
http://csc-studentweb.lrc.edu/swp/Berg/articles/Reporting_Analytics_2006_Broadcasting_v10.ppt
Note 760775 - Settings for Information Broadcasting
Hope it Helps
Chetan
@CP.. -
ABAP report to monitor Background Jobs (SM37)
Hi,
I need an ABAP report to monitor Background Jobs (SM37) which can monitor following things:
1) All jobs which got cancelled based upon the hours field specified in the customizing table.
2)All jobs which are active till the current date.
Hope to receive your precious response!
Thanks
Mehar
Moderator message : Spec dumping not allowed, search for available information. Thread locked.
Edited by: Vinod Kumar on Nov 22, 2011 3:36 PMHi,
I need an ABAP report to monitor Background Jobs (SM37) which can monitor following things:
1) All jobs which got cancelled based upon the hours field specified in the customizing table.
2)All jobs which are active till the current date.
Hope to receive your precious response!
Thanks
Mehar
Moderator message : Spec dumping not allowed, search for available information. Thread locked.
Edited by: Vinod Kumar on Nov 22, 2011 3:36 PM -
Need to run a BW query in the background
Hi,
Please let me know how we can I run a BEX query in the background & get the output in a specified application folder. Do we need ABAP code or any other process available?
Regards
Mahendrahi,
the link for that doc
https://websmp202.sap-ag.de/~sapdownload/011000358700004400232004E/HowToRSCRM_BAPI.pdf
if you need to do with abap, take a look Raja's weblog
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
hope this helps. -
ABAP report to run other ABAP reports dynamically
Hi there,
I'm looking for an standard SAP or commercial solution ABAP Report that completely or partially meet the following requirements:
The report must start ABAP reports on the system and write the result in files on the SAP server.
* The reports that must be started are not defined before, thus a kind of parameter file with the list of reports to be started.
* Most of the reports have 1 selection screens. The value of the selection screens can/must be specified in the parameter file.
* Most of the reports started have a list as a result. No interaction is required.
* Authorization of the user that started the report can and must be used.
It must be executable on every basis release of SAP R/3 e.g. basis 4.6x, 4.7 single code page (+MDMP) & unicode and SAP ECC.
Does anybody have an idea if such an ABAP report exists?
Thanks in advance for your support.
Yannick.First thanks for the answer
I don't think it is so. I mean, currently we have a hard coded solution. In this solution the calling report requests the called report to send its output to the spool. When finished the calling report retrieves the output of the report from the spool and write it into a file.
The problem is taht we do not have time and ressource to implement a fully dynamic solution on our own
Best regards
Yannick -
Can Solution Manager do an analysis of Abap Reports of the customer ??
Good evening !!!
The question is: Can Solution Manager do an analysis of Abap reports of the customer ?? This is, solution manager can give me a report with all the Z reports of the customer with their last date of use, utilization level, etc.... ???
Thanks.
Albertyou can do this through your satellite system with ST03N
-
Steps for Running T-code MIRO in the background
HI,
Plz let me know the steps for running T-code MIRO in the background Programatically.
RegardsHi
check following link it will help to you
[http://help.sap.com/saphelp_46c/helpdata/en/a8/b992bd452b11d189430000e829fbbd/content.htm]
[invoice verification in background;
Regards
Kailas Ugale -
Is it possible to run a form offline (in the background)..?
Is it possible to run a form offline (in the background) by passing all the required parameters? I know this sounds crazy...but like to know if a form can be run in silent mode.
This will help us in reusing the form for online and background processing.
Thanks.If there is something to run in background, why would that be a form? Normally, a form is supposed to interact with the user.
If you want to do some data crunching in the database in background, then that should be a job. And, if needed, you may submit the job even from a form, after which you may close the form. RTM for dbms_job and dbms_scheduler - that should help. -
What are BI reports and ABAP reports and the difference between them ?
What are BI reports and ABAP reports and the difference between them? please explain me in detail and let me know if you have some documentation about it.
Thank you in advance!
Steve JobsDo we have to write custom code for the ABAP reports? Do you have any documentation about it?
Thank you.
Steve Jobs -
Not able to run report in the background
I'm working in SCM 5.0.
I've created a function module to run report /SAPAPO/BACKGROUND_SCHEDULING in the background but when I execute it the report is prompted (i.e. is not running in the background). The function module code is the following
if i_vrsioid is initial or i_tproid is initial or i_proprf is initial.
submit /sapapo/background_scheduling
using selection-set i_variant
with simname = i_simname
exporting list to memory and return.
else.
submit /sapapo/background_scheduling
using selection-set i_variant
with vrsioid = i_vrsioid
with tpro_id = i_tproid
with thelp_id = i_thelpid
with proprf = i_proprf
with simname = i_simname
exporting list to memory and return.
endif.
endif.
Can you help me understand what is wrong?
Many thanks,
Diegohi in fm you can not use Submit or call transaction..
try this way...
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job_name
IMPORTING
jobcount = job_nr .
IF sy-subrc <> 0.
ENDIF.
jobs-report = '/sapapo/background_scheduling'. "report name
jobs-variant = 'i_variant'. "Variant name
wa_authchknam = sy-uname.
wa_pri_params-pdest = 'MP18'. "Print parameters, output device
wa_pri_params-plist = jobs-variant. "Print parameters, text for cover
wa_pri_params-prtxt = jobs-variant. "Print parameters, text for cover
wa_pri_params-prnew = 'X'. "Print parameters, new spool requ
wa_pri_params-prsap = 'D'. "Print: SAP cover page
wa_pri_params-prunx = 'D'. "Print: SAP cover page
wa_pri_params-prabt = 'X'. "Print parameters, new spool requ
wa_pri_params-paart = 'X_65_132'. "Print parameters, new spool requ
wa_pri_params-armod = '1'. "Print parameters, new spool requ
CLEAR wa_pri_params.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = wa_authchknam
jobcount = job_nr
jobname = job_name
priparams = wa_pri_params
report = jobs-report
variant = jobs-variant .
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = job_nr
jobname = job_name
strtimmed = 'X' .
IF sy-subrc <> 0.
ENDIF.
Regards,
Prabhudas
Edited by: Prabhu Das on May 19, 2009 11:50 PM
Edited by: Prabhu Das on May 19, 2009 11:57 PM -
Dump while executing the report in the background!!!
Hi Experts,
I have created one report which is calling the "HRASR_TEST_PROCESS" (HR form process) thru BDC.
Its running fine while executing via SE38 (foreground) but getting dump while executing from the background with same variant.
The dump is follows,
Short Text
Exception condition "CNTL_ERROR" raised.
ERROR ANALYSIS
A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" raised the exception condition "CNTL_ERROR". Since the exception was not intercepted by a superior program, processing was terminated.
Line Source Code
32 WHEN 1.
33 RAISE CNTL_SYSTEM_ERROR.
34 WHEN 2.
35 RAISE CNTL_ERROR.
36 WHEN 3.
37 class cl_gui_cfw definition load.
38 message id 'DC' type 'W' number cl_gui_cfw=>reason_no_init
39 raising create_error.
40 WHEN 4.
41 RAISE LIFETIME_ERROR.
42 WHEN 5.
43 RAISE LIFETIME_DYNPRO_DYNPRO_LINK.
44 WHEN OTHERS.
45 RAISE CNTL_ERROR.
46 ENDCASE.
47
48 m_container_type = CONTAINER_TYPE_CUSTOM.
49
50 CALL METHOD SET_VISIBLE
51 EXPORTING
52 VISIBLE = '1'
53 EXCEPTIONS
54 CNTL_SYSTEM_ERROR = 1
55 CNTL_ERROR = 2.
56
57 CASE SY-SUBRC.
58 WHEN 0.
59 WHEN 1.
60 RAISE CNTL_SYSTEM_ERROR.
61 WHEN 2.
>>>>> RAISE CNTL_ERROR.
63 WHEN OTHERS.
64 RAISE CNTL_ERROR.
65 ENDCASE.
66
67 m_name = container_name.
68 call method set_window_property
69 exporting property_id = property_name
70 value = m_name
71 keep_cache = 'X'
72 exceptions others = 1.
73 if sy-subrc ne 0.
74 clear m_name.
75 raise cntl_error.
76 endif.
77
78 CALL METHOD ME->REGISTER_CACHED_W_PROPERTY
79 EXPORTING
80 PROPERTY_ID = property_height
81 EXCEPTIONS
Kindly let me know, what is the problem and how can i solve it.
Thanks in advance.
Regards,
HarishHello Zhou,
indeed, as you mention the ALV grid, there are some workarounds in the system, but there is no global solution. For example, the function module REUSE_ALV_GRID_DISPLAY detects internally whether it is called in background mode, and in this case it forwards the call to REUSE_ALV_LIST_DISPLAY which is runnable in background mode, since it creates an ABAP list.
But normally, when using objects of the control framework in your program, you are restricted to dialog mode.
Kind regards,
Rüdiger
Maybe you are looking for
-
Need help on Adhoc Request functionality in PI
Hi Experts , Need help on the design approach . How can PI handles if Sender System prefers to send an Adhoc Request(Outbound) to PI . Here is the complete requirement . " An Adhoc Request is send to PI from the Legacy Sender System (Whenever Le
-
User exit after save for purchase order create/change
After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???
-
Query Microsoft Active Directory info from PL/SQL
Hi, We are developping an APEX application that would need to query information about the enterprise computers defined on the Active directory. Anyone knows it would be possible acces to this info from PL/SQL? I ahve read that exists a package that e
-
last week, my cracked screen finally completely broke down.... the crack covered the whole screen and the lcd stopped working.... i do not know why it happened as the crack was only covering like 1/3 of the screen until that day. anyways, so i was on
-
Attribute to lock Portal UME user
Hi SAP Expert, Does anyone know the attribute for locking UME user id in Portal Batch Import? I am trying to use 'Portal batch import' to mass lock portal users, that is by importing a batch file with corresponding uid. I search up and down and could