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
Similar Messages
-
ABAP dump when running an ALV report in a portal
Hi,
I have an ABAP report created in SAP R/3 4.7. Am using the ALV function module REUSE_ALV_GRID_DISPLAY to display the output. The programs runs correctly when run in R/3 using the SAP GUI.
When the report is run in the portal, I get a runtime error 'MESSAGE_TYPE_X'.
Please let me know if anybody has faced such issues.
I checked the OSS note 702732 which talks about increasing the threshold value of the start parameter. But this is not agreed by the BASIS team.
Thanks,
Best regards,
Ajith
The ST22 error log is as follows:
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
Short text of error message:
Data volume (84.550.400 bytes) is too large. (abap/alvgrid/size_nodod_mb
Technical information about the message:
Diagnosis
You tried to send a data record to the front-end that contains
84.550.400 bytes. However, the data volume is restricted to
52.428.800 bytes.
System Response
The running application program was terminated with a runtime
error.
Procedure
Restrict the data selection if possible or contact your system
administrator.
Procedure for System Administration
You can set the maximum size of these data volumes using the kernel
parameter 'abap/alvgrid/size_nodod_mb' (in megabytes).
Message classe...... "S>"
Number.............. 890
Variable 1.......... "84.550.400"
Variable 2.......... "52.428.800"
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"MESSAGE_TYPE_X" C
"SAPLAWRT" or "LAWRTU22"
"ITS_CHECK_ALV_DATA_SIZE"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
Information on where terminated
The termination occurred in the ABAP program "SAPLAWRT" in
"ITS_CHECK_ALV_DATA_SIZE".
The main program was "Z_BW_RECON_INV_RPT ".
The termination occurred in line 25 of the source code of the (Include)
program "LAWRTU22"
of the source code of program "LAWRTU22" (when calling the editor 250).
Source code extract
000010 FUNCTION ITS_CHECK_ALV_DATA_SIZE.
000020 *"
000030 ""Lokale Schnittstelle:
000040 *" IMPORTING
000050 *" REFERENCE(DATA_TABLE) TYPE TABLE
000060 *"
000070
000080 data n type i.
000090 data currsize type i.
000100 statics maxsize type i.
000110 data par_value(56).
000120 if maxsize is initial.
000130 sy-subrc = 0.
000140 CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'abap/alvgrid/size_nodod_MB'
000150 id 'VALUE' field par_value.
000160 if sy-subrc ne 0.
000170 maxsize = 52428800. " Default 50 MB
000180 else.
000190 maxsize = 1048576 * par_value.
000200 endif.
000210 endif.
000220 describe table data_table lines n.
000230 currsize = sy-tfill * sy-tleng.
000240 if currsize gt maxsize.
> message x890(s>) with currsize maxsize.
000260 endif.
000270 ENDFUNCTION.HI,
This is a Memory problem.
System is allocated with a Max Memory of 50 MB,(see the dump code, in the last it is hardcoded in the std code)
The data of your report is coming around 83 MB.
Restrict your selection criteria of the Object and run the same report and see. it will work.
Regards,
Anji -
Webi report link to other webi report opening blank page
I have put the hyperlink to link to the other webi report. But once I click on the links. It open the report with blank page. I have tried it in View mode or Edit mode, the browser will open up another blank page. Following is my links:
<a href="http://server_name:28080/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sWindow=Same" title="Page1" nav="web">Link to Page2</a>
any advice? Thankshttp://server_name:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AciEzxbPmxdHtQwnB4RHaCo&sType=wid&sIDType=CUID&sWindow=New
Make sure the followings:
1. The webserver runs at port 8080 (if not, use the correct port)
2. the CUID is correctly copied.
3. the target report here is a webi report. (sType=wid)
4. the server name is correctly mentioned.
5. you are using JAVA environment.
If still this does not work, then please let us know :
Are you getting any error? if yes, what error you are getting.? -
Report not run inexplorer and report server not start
sir
i install dev suit 10g and
1. create new form and test that run in explorer
2. create report and test in report builder that run and give right result, but when i test in explorer that not run and no error and report server OC4J not start i try but window appear and hide
please give me idea how run report in explorer
regard
fahimThe normal procedure for the Developer Suite is:
1. Start OC4J instance via Windows Start menu.
2. Run a report:
http://127.0.0.1:8889/reports/rwservlet?module=....
That doesn't work?
Can you see the in-process report server?
http://127.0.0.1:8889/reports/rwservlet/showenv?
Or errors in the job queue?
http://127.0.0.1:8889/reports/rwservlet/showjobs?
(note that your port number may be different) -
Use same database logon as when report is run
Is there a way to set the option for "When viewing report" to "Use same database logon as when report is run" for all reports?
If scheduling we have schedule manager in XIR2 which will do a folder at a time, it's been added to the CMC in 3.x I believe.
For running the reports I think you would need to use the [SDK|/community [original link is broken]; if if you wanted to modify a bunch of reports at the same time, or use the publishing wizard to publish a bunch of them (no use if the reports are already uploaded)
Regards,
Tim -
Does end user need Crystal Reports to run saved reports
This seems like such a simple question, but I am unable to find the answer in the documentation, so here it goes.
On UCCX does end user need Crystal Reports to run save custom reports that were created using Crystal ReportsHi
No, UCCX comes with the 'Historical Reporting Client' which contains a Crystal runtime that renders the reports.
You only need Crystal Pro if you wish to author new reports for the system.
Aaron HarrisonPrincipal Engineer at Logicalis UK
Please rate helpful posts... -
XL reporter error occurred while executing report! Rows: 25203 Columns: 30
An error occurred while executing report! Rows: 25203 Columns: 30 Unspecified error
One user gets this error when trying to run a custom XL report. It works for other users(on different PCs). The user can run other XL reports successfully.Hello pls
follow below procedure
start->my computer>cdrive>program files >sap>sap business one> remove these two files 1).AddOnsInstall.sbo and 2).AddOnsLocalRegistration.sbo and clear all ur %temp%Files,prefetch,recent files and restart and open sap then u will get connected to xl reporter add on. and u will not get any errors
regards
Jenny -
How to shedule an abap report to run paralely in more background session
I wander how to shedule an abap report to run paralely in more background session.
I am afraid of parallel locking.Hi,
You can schedule different jobs with same program name.
Use ENQUEUE_ & DEQUEUE_ to lock/unlock the records being process. The lock objects can be created in SE11.
Best regards,
Prashant -
System - services - reporting does not execute ABAP Reporting
Hi All,
system -> services -> reporting does not execute ABAP Reporting.
we are able to execute sa38 by running t-code.
Please help.
Thanks
HarshitCheck authorizations (SU53).
-
Integrate Xcelsius Report in WebDynpro for ABAP
Hi all,
I would like to integrate Xcelsius reports into WD for ABAP. This shouldn't be a problem if using EHP1 in ERP backend.
But what I would to do is to influence the report's behaviour. E.g. by clicking on a button I want the report to change.
Is it possible to trigger events from WD ABAP into an integrated Xcelsius report?
Regards
Christoph
Edited by: Christoph Hofmann on Nov 5, 2009 11:58 AM>
Kareemullah Quadri wrote:
> Hi Thomas
>
> If we would like to write a wrapper Flex application, the generated SWF in Xcelsuis compiles only with Flex SDK 2.0.1 Hotfix 3.
> But this wrapper Flex cannot include Flashisland library as this is supported only by Flex SDK 3.0.
> What is the solution or am I missing something here ?
>
> Regards
> Kareem
I believe this is a duplicate question to another thread, but SAP supplies both a Flex 2 and Flex 3 version of the FlashIslands SWC. Just use the Flex 2 library. -
Report group / Painter Vs ABAP
Hi,
There are some tools in FI like Report painter/writer, by using them functional people can develop reports/ reprot group ( for ex: using txn GR51).
If there alreday existing Z report group. Can we modify it?
If so will it b done by Functional guys it self? or Abapers needed?
if abapers needed, in which scenario it requires abaper's help?
if abaper want to modify it, how can he do it?
Thanks
PraHi
Everything in Report Painter/Writer can be handled by Functional consultant
As such there is no need of ABAP Developer for it.
You can't change the Existing Group
Where as you can create your own group and use.
see the doc
Report Writer functions can be accessed from within the Report Painter.
The difference lies in the GUI of the report painter.
For Report Painter
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
For Report Writer
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/content.htm
Refer the following links :
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-other/accessing-tables-using-report-painterwriter-98766
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_bw31/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
<b>Reward points for useful Answers</b>
Regards
Anji -
How do we track back the ABAP queries/report painter used to custom report?
Hi Experts,
I only have some ideas about report painter and ABAP query. If a company has a number of different Z reports in production.
1. How do we identify if it's report painter/writer or ABAP query??
2. For ABAP query report, suppose that i can identify one. If i am given a Z tcode of that report and identify the program of that report behind it, How do i know what query that program belongs to?? What are the steps i go back in SQ03 to view that query??
3. For report painter, starting from ztcode of the report, where do i check and track the original painter of that report??
Please help clarify my doubts..
MonicaHi Monica,
For report painter/writer, you can identified it by go to
Environment --> Technical information when you execute your Z-tcode.
To refer back to the report painter/writer t-code you just need to double click oh the report group that you see by clicking the link above.
Thanks,
Victor. -
Performance my Report is 57% is ABAP , 42 % System & 1% for DB
Performance my Report is 57% is ABAP , 42 % System & 1% for DB..it it OK or will there be any performance issues. Please let me know
ABAP Execution time is <b>18,602</b> micro seconds
DB <b> 256</b>
System <b>13,899</b>
<b> HITLIST</b>----
Number Gross time (in microseconds) = Net (microseconds) Gross time in % Net time in % Call Program Name Type Display filter group
1 32757 0 100.0 0.0 Runtime analysis Sys.
1 32725 4368 99.9 13.3 Submit Report Z_BALRAM_TEST1 SAPMS38T
1 26691 776 81.5 2.4 Program Z_BALRAM_TEST1
3 26554 2088 81.1 6.4 Dynpro Entry Z_BALRAM_TEST1
1 26383 850 80.5 2.6 PBO Dynpro SAPMSSY0 SAPMSSY0 Sys.
1 423 50 1.3 0.2 Call Func. DOKU_OBJECT_EXIST RSDBRUNT
1 408 10 1.2 0.0 Call Func. AC_SYSTEM_FLUSH SAPFGUICNTL
1 385 37 1.2 0.1 Call Func. SYSTEM_COMBO_OUTPUT SAPMSSYD
1 303 21 0.9 0.1 Call Func. VRM_QUEUE_FLUSH SAPLSCNT
1 140 97 0.4 0.3 Load Dynpro SAPMSSY0 1000 Z_BALRAM_TEST1 Sys. -
EHS Report Near Miss Webdynpro abap Enhancement.
HI Experts,
I need to add two fields in SAP EHS Report Near Miss Webdynpro abap application ( standard application ). Let me know how to Enhance the standard EHS Report Near Miss step by step.
Thanks & Regards.
Krishna.Hi Bhushan,
If you want to add 3 radio buttons, then first of all you have to append one field in EHHSSS_INC_BASIC_INFO_ALL_D structure with Fixed Domain values.
Then you need to enhance EHHSS_INC_REC_NRM_QAF_V3_BSCI component Configuration.
In that Configuration you need to add field with display type Radio Button Group, with column count 3.
Kindly refer the following snap for the same.
Thanks and regards,
Chetan P. Patil -
ABAP Query Need to Convert ABAP Report
Dear All,
We have 3 queries which are linked to service management, now, user wants to consolidated one ABAP report with feilds of 3 queries, which consist of total 100 feilds. he want provision of downloading each single query (in ABAP report).
Is ther anyway whee we can pass all the 3 quries values in internal tables and pass to ABAP report?? is there any better way so that we will reduce the writing of big logic for 100 feilds??
Thanks in advance.
Regards
RamkiHi ,
you can do this way..
for every query there is a
* Validating Variant name for Query Name
CONCATENATE '%' <query group> '%' <Query name > '%' INTO w_rname.
SELECT SINGLE * FROM varid WHERE report LIKE w_rname
AND variant EQ p_variant.
IF sy-subrc NE 0.
ENDIF.
* Submit report in background and creating spool
SUBMIT (w_rname) USING SELECTION-SET p_variant
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS wa_pri_params AND RETURN.
COMMIT WORK AND WAIT.
"create spool like above for three query and and capture in Spool and format the three spools
"into one internal table and form one report.
Prabhudas
Maybe you are looking for
-
How do I get past the 5301 message to validate my itunes card?
I have seen many people ask the question about 5301 when trying to use an itunes voucher, but there are no answers yet. what does it mean and how do you get past it?
-
Photoshop Album 2, 2 computers to 1
Hi. I have photoshop album 2 on 2 computers. 1 Vista and 1 XP. I've backed up the XP. Can I restore to the Vista and keep the existing pictures already on Vista comuter?
-
Online SAP testing environment
Hello friends, I am looking for an online SAP testing environment site where i can do my FI configuration practice or alternatively a site where i can get free IDES software download so I can prepare myself for the industry. If you have an idea about
-
Align MM and FI Document Numbers in Goods receipt
Hi All, Is it possible to align MM and FI Document Numbers in Goods receipt? If so, pls let me know the procedure. Regards SM
-
Reducing AI file sizes for PDF distribution
Greetings all, Using CS2 Illustrator, I have a file that is approximately 14.5M large. It's completely black and white, with a b/w photo. I was thinking that when I saved it as a pdf file, the size of the pdf document would be considerably smaller so