How to put a report which contains code for BDC in background
Hello Experts ,
Please provide your valuable opinions on following issue,
My BDC execution is taking longer time and it gives time out error. To avoid this problem i have created a separate report which l contains the BDC code (Call transaction ) and i have put this report for background execution. But upon doing this My BDC code is not performing the transaction call which it was performing when it was executed individually. In sm37 it shown the job that i am creating but nothing is actually happening as a result of transaction call.
The code that i have written is :
RFC code
SUBMIT ZREPORT AND RETURN.
RFC end
Z_REPORT .
PERFORM open_job.
PERFORM get_print_parameters.
PERFORM job_submit. here in Submit i have specified the another report name(zbdcreport) which contains the actual logic for bdc
PERFORM job_close.
Report END.
zbdcreport
The call transaction is as follows :
( CALL TRANSACTION TCODE USING BDCDATA
MODE 'N' "CTUMODE "N
UPDATE 'S' "CUPDATE "S
MESSAGES INTO MESSTAB .)
end zbdcreport
Can anybody provide the reason for the error .
Regards,
Uma
Hi
Check the code using this...
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
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.
Similar Messages
-
How can we put the report which is generated by the program into spool??
How can we put the report which is generated by the program into spool??
I had generated a file in Unix which had the report but now the requirement has changed.
Regards,
Shashank.Hi Shashank,
If the program is executed in the background and it has the write statement then the spool will automatically generated.
Reward points if useful.
Regards,
Atish -
I need to display a Report which contain -- del QTY and INV QTY in one
Hi ALL,
I need to display a Report which contain
<b>Customer , Material , Order No, Delivery No, Billing No , Order Qty , Dev Qty, Bill Qty , Invoiced Qty and There Values in One Line .</b>
How can I Display, When I am executing the report against the Delivery Number Bill Qty and Invoiced Qty is showing Hash ( # ).
Do I need to right any Routines for this, if I am correct, where I have to write that code and what is the code ,
What are the Consolidation routines ?????
I am working on BI 7.
Regards ,
Shaik
Message was edited by:
shaikFrst check in backend, which all cubes have got data for each of three..
Corresponding you can go ahead with Multi/Infoset..
Look for reference no in all three cubes and pick one order and track tht by reference no in all cubes,
Hope it helps..
Thanks for points assigned -
How to display a view which contain interactive form in an external window
Anyone know how to display a view which contain interactive form in an external window?
I managed to display the view in an internal window with the following code:
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PdfReportWin");
IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
For external window, I tried this method : wdComponentAPI.getWindowManager().createExternalWindow(String URL, String title, boolean modal) but there are no parameter for view name?
Maybe this is not the correct way, really appreaciate if anyone can help.Hi,
U need to the following
1.Create another window
2.Create a view in it tat contains Interacive form element.
3. call this window dynamically thru the first window by creating a context element of IWDWindow type
The code may help:
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);
window.setWindowSize(400, 250);
window.open();
wdContext.currentContextElement().setEmpSearchWind(window);
Regards
Ishita -
Report which contains subreports which contains also subreports
I have different reports which contain subreports.
Each report has 2 to 4 pages.
I need now a so called multiple report which should up to 12 of these reports all shown i the reportviewer.
Each report should start on a new page.
I tried tis with subreports which contains also subreports, but this doesn´t work.
Is it possible to such a report and when how can this be realized?
Thanks for your help.
GerhardHi Raghavendra,
I´m using version 10.5.3700 which comes with Visual Studio 2008 but I have also Crystal Reports 2008 but not installed yet.
I need the sections because I have to suppress sections depending on the protocol I use.
Do you think it is better to place about 100 subreports in one section?
But how can I then suppress subreports?
Regards
Gerhard -
How to debug the report which isrunning in Background?
Hi all,
1.How to debug the report which is running in Background?
thanks & regards
vishnuvardhanHello,
Do like this.
Create an infinite loop before the line u want debug.
data: lf_flag.
do.
if lf_flag = 'X'.
exit.
endif.
enddo.
Now execute the report in background. In Tcode SM37 select ur job and in menu job--> Capture Active Job
IT will stop at the point of infinite loop.
Regards,
Vasanth -
How to convert a String which contains integers to an integer
Hi, I'm doing a simple user-interaction program. For example I ask how many people are in a group. and they give me an answer with a integer number. But how can I convert the System.in to an real integer value, i.e. How can a String value which contain an integer convert to an integer value?
InputStreamReader inputStreamR = new InputStreamReader(System.in);
BufferedReader bufR = new BufferedReader(inputStreamR);
String ans = bufR.readLine();
and then what? (I want the answer is an integer);
ThanksString ans = bufR.readLine();
try {
int ansAsInt = Integer.parseInt(ans);
} catch (NumberFormatException nfe) {
// What happens if the String was not an integer
} -
Hi,
I am setting the column width of main report and that column is bounded with the sub report which contain some data.
But if width is exceeded other than sub report data that width is showing as white space block.
It should be showing as normal header in gray shade.
Please provide the solution for this. see the screen attached.
ThanksHi Raj,
According to your description, you want to show the sub report without any white space in the textbox. Right?
In Reporting Services, when we display a sub report in a textbox, this textbox will always show the whole sub report area. If the textbox is smaller than the report area, this textbox will extend automatically to fit the size of the sub report. Otherwise,
it will has white space inside of the textbox. And if you have white space in your sub report, it will also be displayed in the textbox. So you may need to adjust the sub report size to make it fitted in main report.
Reference:
Subreports (Report Builder and SSRS)
If you have any feedback on our support, please click
here.
Best Regards,
Simon Hou (Pactera) -
Is there any standard report which contain all these fields
is there any standard report which contain all these fields
1. plant
2. material no.
3. profit center
4. movement type
5.g l a/c
6.posting date
we have it in z form one of the job it does is that what all materials entries came to a single gl we can know from it
like we can know what all materials were charged to repair to p and m a/c.
can any one tell where can we find these field in any standard format in sap.
pls send some suggestions.Hello Sanjeev,
I don't think there is an existing standard report with all the information from KE5Z plus material name.
What I would suggest to you is either:
1) Copy the standard KE5Z program (RCOPCA02) to a Z program one and insert the additional field from MAKT table (it would demand ABAP coding and some considerable effort to develop it);
2) Create a Query (SQ01 transaction) by selecting data from GLPCA (table that is used in KE5Z) and MAKT (table that contains the material name by language).
Hope it helps you.
Best Regards,
Daniel. -
How can I unmark photos which are marked for republish to Flickr?
I am currently using Lightroom 3 to publish photos to Flickr. I have a free Flickr account.
My problem is that I have a set of photos I am publishing to flickr. For some reason some of my photos lost their keywords, only the files on my computer lost them, the photos on Flickr still have the keywords intact. Also I applied a colour code to a couple of the photos on my hard disk that are being published to Flickr.
Now Lightroom has detected these changes and the photos appear under 'Modified Photos to repblish' the thing is the changes I made were either putting keywords back in that were already in Flickr anyway, and colour coding which makes no different to flickr. Because I have a free account if I republish the photos I will lose all the comments and stats on Flickr, so I don't want to republish them.
Whenever I click the publish button I get a warning that republishing the changed photos will lose any information on flickr and I have the option to skip them, and just publish new photos. But if I ever do want to republish a photo I won't be able to do this without also republishing all the photos marked for republish.
Is there any way I can remove these photos from the republish list?All,
This is an issue with the LR programming, as it does NOT allow you to unmark images it feels need to be republished. Oftentimes it's only a matter of adding a keyword or tweaking the develop settings that triggers this. I for one wish that choice was available.
Here's what you can do: simply disconnect from the Flickr service. Doing so will have NO detrimental effect on the images in Lightroom or the images you have already uploaded to Flickr. What you will lose, however, is the "library" of images that you have already uploaded to Flickr. Since this is really only a collection there's no harm. Besides, if you need to review which of your images have been uploaded to Flickr at a later time, just reference Flickr. Oh, you'll also lose Lightroom's ability to download any comments your Flickr contacts make on your uploaded images. If it's important for you have that data in Lightroom, rethink the disconnect option. After disconnecting, reconnect using the same parameters you had before. Your Lightroom/Flicker collection will be cleared of all previously uploaded images and you can begin adding new images to upload.
Again, disconnecting has no effect on your Flickr content. However, if you REMOVE images from the collection using Lightroom, they will also be removed from Flickr. Please understand the distinction between disconnecting from the Service and removal of images using Lightroom.
All that being said, republishing images from Lightroom to Flickr, in my experience, should not cost you anything in terms of number of views, favorites, comments, etc. It should be seamless.
Judson Rhodes, Photographer
www.flickr.com/jrcp/show
www.judsonr.com
Date: Tue, 29 Mar 2011 09:43:18 -0600
From: [email protected]
To: [email protected]
Subject: How can I unmark photos which are marked for republish to Flickr?
Hi,
I'm using LR 3.2 and am having the same issue. I see that no one from Adobe has replied to this and that the previous reply was from August, 2010. There seem to be no answers to this one...
I have several images that LR feels should be republished, and ONE image that I want to republish. I CAN'T republish just that one image though without republishing ALL the other images.
Can someone (maybe someone from Adobe) help me with this? How can I simply UNmark the other images to not be republished? I do not want to remove them from the collection, but simply do not want to republish them at this time.
Why can't Adobe simply ask us if an image should be republished or not? Why can't they allow us to UNmark an image to be republished once it's marked?
Ideas?? HELP!
Thanks!
Steve
> -
i just brought new i phone 5 yesterday and now i can see all paid applications and i dont use or have credit card also now how i can buy applications which are important for me? can i buy them online? or use debit card and trust me all my friends are regretting buying phone because of this problem.Kindly help.Cant it can be deducted from our mobile charges?i would be much easier then
You can buy apps using iTunes Gift cards without needing to register your debit card.
http://store.apple.com/us/personalize/itunes -
How i can return money which were paid for increase in volume of storage in iCloud
How i can return money which were paid for increase in volume of storage in iCloud
The following link to Apple's iCloud storage upgrade cancellation policy may help: http://support.apple.com/kb/PH12798
-
How can I download the full source code for the Java 3D package
how can I download the full source code for javax.media.j3d
especially I need the Transform3D.java class.
thanks a lot
Meirthank you guys I'll try to do so, I suggest you to
join me.From the one of the (ex-!)Java3D team:
"I'm glad to see that Sun has decided to officially support an
open source Java/OpenGL binding, JOGL. Perhaps they will
eventually decide to make Java 3D open source. However, be
careful what you wish for. The Java 3D source is huge and
complex. There are native sections for Solaris, Windows/OpenGL,
and Windows/Direct3D, plus common code. I don't know how you'd
open source a build process that requires different pieces of
the code be built on different machines running different
operating systems."
Sounds scary - I hope we're ready for it :) -
Report which contain subreports is not rendered first time is processed.
when I try to render report contains subreports from first time is not rendered but when i select regresh button the input screen is promb again and then i fill all input again and submit, as a result the report was rendered.
why this happen? is this a know issue?after more testing that issue i discovered that when i try to render report of type "Table" then the report is rendered fom rthe first time i pass/set the input values of the report, but when i use reports of type "chart" the report is not rendered from first time and it need a refresh and then manually entering the values for the input.
i am using the folloing version of JRC:
com.businessobjects.sdks_.jrc_.11.8.0_11.8.5.v1197
my code is a s follow:
=========================
<%@ page contentType="text/html; charset=utf-8" %><%@ page import="com.crystaldecisions.reports.sdk.ReportClientDocument"%>
<%@ page import="com.crystaldecisions.report.web.viewer.*" %>
<%@ page import="com.crystaldecisions.reports.sdk.DatabaseController" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.PropertyBag" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.IStrings" %>
<%@ page import="com.crystaldecisions.reports.sdk.ParameterFieldController" %>
<%@ page import="com.crystaldecisions.reports.exportinterface.ExportFormatType" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
<%@ page import="java.io.ByteArrayInputStream" %>
<%@ page import="java.io.FileOutputStream" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.PrinterDuplex" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.PrintReportOptions" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.PaperSource" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.PaperSize" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
<%@ page import="java.io.OutputStream" %>
<%@ page import="org.t2k.bl.reports.ReportsViewerManager" %>
<%@ taglib prefix="lms_reports" tagdir="/WEB-INF/tags/lms/reports" %>
<%!
Utility method that demonstrates how to write an input stream to the server's local file system.
private void writeToBrowser(ByteArrayInputStream byteArrayInputStream, HttpServletResponse response, String mimetype, String exportFile, boolean attachment) throws Exception {
//Create a byte[] the same size as the exported ByteArrayInputStream.
byte[] buffer = new byte[byteArrayInputStream.available()];
int bytesRead = 0;
//Set response headers to indicate mime type and inline file.
response.reset();
if (attachment) {
response.setHeader("Content-disposition", "attachment;filename=" + exportFile);
} else {
response.setHeader("Content-disposition", "inline;filename=" + exportFile);
System.out.println("aaaaaaaaaaaaaaaaaaaaaaaaaaaa");
response.setContentType(mimetype);
System.out.println("aaaaa1111");
OutputStream outs = response.getOutputStream();
System.out.println("aaaaa2222");
//Stream the byte array to the client.
while ((bytesRead = byteArrayInputStream.read(buffer)) != -1) {
outs.write(buffer, 0, bytesRead);
System.out.println("bbbbb");
//Flush and close the output stream.
outs.flush();
// outs.close();
System.out.println("ccccc");
/* Include the file AlwaysRequiredSteps.jsp, which contains the code to:
- Create an Enterprise SessionMgr object
- Log on to the CMS
- Create an IInfoStore object
- Query for and select a report
- Create an IReportAppFactory object
- Use the IReportAppFactory object to create a ReportClientDocument object with the IInfoObject that is retrieved from the query
Logs on to all existing datasource
@param clientDoc The reportClientDocument representing the report being used
@param username The DB logon user name
@param password The DB logon password
@throws com.crystaldecisions.sdk.occa.report.lib.ReportSDKException
public static void logonDataSource
(ReportClientDocument
clientDoc,
String username, String
password
throws
ReportSDKException {
clientDoc.getDatabaseController().logon(username, password);
Changes the DataSource for each Table
@param clientDoc The reportClientDocument representing the report being used
@param username The DB logon user name
@param password The DB logon password
@param connectionURL The connection URL
@param driverName The driver Name
@param jndiName The JNDI name
@throws ReportSDKException
public static void changeDataSource
(ReportClientDocument clientDoc,
String username, String password, String connectionURL,
String driverName, String jndiName
throws
ReportSDKException {
changeDataSource(clientDoc, null, null, username, password, connectionURL, driverName, jndiName);
Changes the DataSource for a specific Table
@param clientDoc The reportClientDocument representing the report being used
@param reportName "" for main report, name of subreport for subreport, null for all reports
@param tableName name of table to change. null for all tables.
@param username The DB logon user name
@param password The DB logon password
@param connectionURL The connection URL
@param driverName The driver Name
@param jndiName The JNDI name
@throws ReportSDKException
public static void changeDataSource
(ReportClientDocument
clientDoc,
String
reportName, String
tableName,
String
username, String
password, String
connectionURL,
String
driverName, String
jndiName
throws
ReportSDKException {
PropertyBag propertyBag = null;
IConnectionInfo connectionInfo = null;
ITable origTable = null;
ITable newTable = null;
// Declare variables to hold ConnectionInfo values.
// Below is the list of values required to switch to use a JDBC/JNDI
// connection
String TRUSTED_CONNECTION = "false";
String SERVER_TYPE = "JDBC (JNDI)";
String USE_JDBC = "true";
String DATABASE_DLL = "crdb_jdbc.dll";
String JNDI_OPTIONAL_NAME = jndiName;
String CONNECTION_URL = connectionURL;
String DATABASE_CLASS_NAME = driverName;
// The next few parameters are optional parameters which you may want to
// uncomment
// You may wish to adjust the arguments of the method to pass these
// values in if necessary
// String TABLE_NAME_QUALIFIER = "new_table_name";
// String SERVER_NAME = "new_server_name";
// String CONNECTION_STRING = "new_connection_string";
// String DATABASE_NAME = "new_database_name";
// String URI = "new_URI";
// Declare variables to hold database User Name and Password values
String DB_USER_NAME = username;
String DB_PASSWORD = password;
// Obtain collection of tables from this database controller
if (reportName == null || reportName.equals("")) {
Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
for (int i = 0; i < tables.size(); i++) {
origTable = tables.getTable(i);
if (tableName == null || origTable.getName().equals(tableName)) {
newTable = (ITable) origTable.clone(true);
// We set the Fully qualified name to the Table Alias to keep the
// method generic
// This workflow may not work in all scenarios and should likely be
// customized to work
// in the developer's specific situation. The end result of this
// statement will be to strip
// the existing table of it's db specific identifiers. For example
// Xtreme.dbo.Customer becomes just Customer
// System.out.println(newTable.getQualifiedName() + " - " + origTable.getQualifiedName());
newTable.setQualifiedName(origTable.getAlias());
// newTable.setAlias(origTable.getAlias());
// Change properties that are different from the original datasource
// For example, if the table name has changed you will be required
// to change it during this routine
// table.setQualifiedName(TABLE_NAME_QUALIFIER);
// Change connection information properties
connectionInfo = newTable.getConnectionInfo();
// Set new table connection property attributes
propertyBag = new PropertyBag();
// Overwrite any existing properties with updated values
propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
propertyBag.put("Server Type", SERVER_TYPE);
propertyBag.put("Use ODBC", USE_JDBC);
propertyBag.put("Database DLL", DATABASE_DLL);
propertyBag.put("JNDIOptionalName", JNDI_OPTIONAL_NAME);
propertyBag.put("Connection URL", CONNECTION_URL);
propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
// propertyBag.put("Server Name", SERVER_NAME); //Optional property
// propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
// propertyBag.put("Database Name", DATABASE_NAME); //Optional property
// propertyBag.put("URI", URI); //Optional property
connectionInfo.setAttributes(propertyBag);
// Set database username and password
// NOTE: Even if the username and password properties do not change
// when switching databases, the
// database password is not saved in the report and must be set at
// runtime if the database is secured.
connectionInfo.setUserName(DB_USER_NAME);
connectionInfo.setPassword(DB_PASSWORD);
// Update the table information
clientDoc.getDatabaseController().setTableLocation(origTable, newTable);
// Next loop through all the subreports and pass in the same
// information. You may consider
// creating a separate method which accepts
if (reportName == null || !(reportName.equals(""))) {
IStrings subNames = clientDoc.getSubreportController().getSubreportNames();
for (int subNum = 0; subNum < subNames.size(); subNum++) {
Tables tables = clientDoc.getSubreportController().getSubreport(subNames.getString(subNum)).getDatabaseController().getDatabase().getTables();
for (int i = 0; i < tables.size(); i++) {
origTable = tables.getTable(i);
if (tableName == null || origTable.getName().equals(tableName)) {
newTable = (ITable) origTable.clone(true);
// We set the Fully qualified name to the Table Alias to keep
// the method generic
// This workflow may not work in all scenarios and should likely
// be customized to work
// in the developer's specific situation. The end result of this
// statement will be to strip
// the existing table of it's db specific identifiers. For
// example Xtreme.dbo.Customer becomes just Customer
// System.out.println(origTable.getQualifiedName());
newTable.setQualifiedName(origTable.getQualifiedName());
newTable.setAlias(origTable.getAlias());
// Change properties that are different from the original
// datasource
// table.setQualifiedName(TABLE_NAME_QUALIFIER);
// Change connection information properties
connectionInfo = newTable.getConnectionInfo();
// Set new table connection property attributes
propertyBag = new PropertyBag();
// Overwrite any existing properties with updated values
propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
propertyBag.put("Server Type", SERVER_TYPE);
propertyBag.put("Use JDBC", USE_JDBC);
propertyBag.put("Database DLL", DATABASE_DLL);
propertyBag.put("JNDIOptionalName", JNDI_OPTIONAL_NAME);
propertyBag.put("Connection URL", CONNECTION_URL);
propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
// propertyBag.put("Server Name", SERVER_NAME); //Optional property
// propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
// propertyBag.put("Database Name", DATABASE_NAME); //Optional property
// propertyBag.put("URI", URI); //Optional property
connectionInfo.setAttributes(propertyBag);
// Set database username and password
// NOTE: Even if the username and password properties do not
// change when switching databases, the
// database password is not saved in the report and must be
// set at runtime if the database is secured.
connectionInfo.setUserName(DB_USER_NAME);
connectionInfo.setPassword(DB_PASSWORD);
// Update the table information
clientDoc.getSubreportController().getSubreport(subNames.getString(subNum)).getDatabaseController().setTableLocation(origTable, newTable);
%>
try {
// Create the ReportClientDocument object.
ReportClientDocument clientDoc = new ReportClientDocument();
clientDoc.open("Class Progress by AI.rpt", 0);
//start sheeet code - work
changeDataSource(clientDoc, "root", "eatmyshorts",
"jdbc:mysql://localhost:3306/lms",
"com.mysql.jdbc.Driver", "LMS_MySQL5.1");
ParameterFieldController paramController = clientDoc.getDataDefController().getParameterFieldController();
paramController.setCurrentValue("", "Type", "en_US");
paramController.setCurrentValue("", "SchoolName", "general");
paramController.setCurrentValue("", "StudyClassName", "classss");
paramController.setCurrentValue("", "SegmentId", 6);
paramController.setCurrentValue("", "LAID", 30);
paramController.setCurrentValue("", "AIID", 205);
paramController.setCurrentValue("", "LOID", 1);
IReportSource reportSource = clientDoc.getReportSource();
// Create a Viewer object
CrystalReportViewer viewer = new CrystalReportViewer();
// Set the report source for the viewer to the ReportClientDocument's report source
viewer.setReportSource(reportSource);
// Set the name for the viewer
viewer.setName("Crystal_Report_Viewer");
viewer.setPrintMode(CrPrintMode.PDF);
viewer.setEnableParameterPrompt(true);
viewer.setEnableDrillDown(true);
viewer.setOwnPage(false);
viewer.setOwnForm(true);
viewer.setDisplayToolbar(false);
viewer.setDisplayGroupTree(false);
viewer.setHasPageBottomToolbar(false);
// Process the http request to view the report
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
// Dispose of the viewer object
viewer.dispose();
// Release the memory used by the report
clientDoc.close();
} catch (ReportSDKExceptionBase e) {
e.printStackTrace();
%> -
How to put dashboards & reports in portal?
Dear all,
I am new to portal development. I created a dashboard using visual composer and would like to put it in the portal. I know I need to create an iView but how can I find the code link to the dashboard? I really appreicate it if you can point me to the right direction.how to put the dashboard and reports in the portal (e.g. documentation, etc..) ThanksHi,
For VC dashboard : Whenever you create Vc model and run it Iview is created in to PCD->Visual composer folder.
That iview you can attach in any workset and workset to role.
For Report :
You want to publish any query in to portal there are 2 ways.
1)Go to Query designer -> query -> publish -> To portal
here you select the folder and execute it will create the iview of report.
2)Go to Portal select folder-> right click ->new Iview-> iview wizard will come -> next-> Iview description and id -> next -> Application parameter Query = Query technical name->next->finish.
Using these two ways we can publish report in to portal.
try this.
Regards,
Ganesh.
Maybe you are looking for
-
I upgraded my iPhoto and now it won't open!
It says it needs to upgrade to work with this version of iPhoto but it won't upgrade!! PLEASE HELP!!! I have hundreds of photos on here!
-
Table containing Purchase Order Partner(s) Details
Hi, In which table do we get the Partners details(Name1,Name2,Name3,Name4) regarding Purchase Order ? Thnx, Shivaa...
-
Serial number photoshop elements 2
Have tried all the ways suggested and still cannot find out how to get the serial number...tried the one on the reciept from the store and the space would not allow all of it....help
-
I'm new to this and sort of learning as I go. I'm using the plain white theme and I'm duplicating the Masters I want to use and putting in a company logo on them and in some cases changing the text boxes and media placeholders so the various slide w
-
Unable to boot after the installation.
First off all, I apologize if this has been answered somewhere. I've looked everywhere for the solution and I've had no luck so far. This is my first distribution that uses the 2.6 kernel. All the others I've used have been running 2.4 by default. I'