How to set default company logo in bex report(analyzer)?
hi,
i have a requirement that i need to create default template for my queries in bex analyzer. whenever i execute my query in analyzer the company logo should be on top of the query. i know how to do it in workbook but could you explain me how to set the default company logo in bex reports?
thanks
vadlamudi
See the following document on creating a workbook template with an image: [http://www.researchsummary.ca/bw/Sample_Ch10.pdf]
In BW, there is a table that stores the default workbook. The following snippet of code allows you to identify a custom workbook template as the default template for all end users.
*& Report Z_SET_BEX_USER_TEMPLATE *
*& Program to update all user's default template *
REPORT Z_SET_BEX_USER_TEMPLATE.
TABLES: rsrwbtemplate,
usr01.
PARAMETER: wbid LIKE rsrwbindex-workbookid.
SELECT
FROM
usr01.
MOVE: usr01-bname TO rsrwbtemplate-templateuser,
wbid TO rsrwbtemplate-workbookid = wbid.
UPDATE
rsrwbtemplate.
IF sy-subrc 0.
INSERT
rsrwbtemplate.
ENDIF.
ENDSELECT.
Similar Messages
-
How to set default print orientation in oracle reports 6i?
Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?
It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.
-
How to set default Web Template for BEx Query iViews in Portal?
Hi,
1) In SPRO you can set the Standard Web Template used, e.g. ZANALYSIS_PATTERN1.
2) I published a query to Portal and when it runs within Portal, I want it to use a different web template, say ZANALYSIS_PATTERN2.
I don't want to change the BEx Web Application Query String property for each iView to hardcode the template e.g. to "QUERY=TestQuery1&TEMPLATE=ZANALYSIS_PATTERN2"
I only want the query name in the iView
Can I set this somewhere in Portal? I tried changing the standard "BEx Web Analyzer" iView as mentioned in
http://help.sap.com/saphelp_nw70/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm (BEx Web Application or Query as iView in the Portal)
but it still seems to take the template from SPRO even after restarting J2EEHi,
I don't think anyone is holding back knowledge, I think it's sometimes difficult to filter out "good" questions as opposed to "bad" questions...
In any case, I don't think it's possible to have different default templates, eg one for the portal and one for the "rest". I'm afraid you'll have to either change each one on the portal or use one for all.
Cheers,
Dion -
How to set default Web Template for BEx Query iViews in BI Portal?
Hi,
1) In SPRO you can set the Standard Web Template used, e.g. ZANALYSIS_PATTERN1.
2) I published a query to Portal and when it runs within Portal, I want it to use a different web template, say ZANALYSIS_PATTERN2.
I don't want to change the BEx Web Application Query String property for each iView to hardcode the template e.g. to "QUERY=TestQuery1&TEMPLATE=ZANALYSIS_PATTERN2"
I only want the query name in the iView
Can I set this somewhere in Portal? I tried changing the standard "BEx Web Analyzer" iView as mentioned in
http://help.sap.com/saphelp_nw70/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm (BEx Web Application or Query as iView in the Portal)
but it still seems to take the template from SPRO even after restarting J2EE
(I just published this question in Portal forum but I think it belongs here instead since it is BI Portal - apologies for the double-post..)D Nore did you found the way to do it ?
I still have the issue, whatever the place where I force the template, the queries on the portal does not use my specific template.
I tried :
pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bexwebanalyzer
(this one was working before upgrade to netweaver stack 17).
as well as
pcd:portal_content/templates/iviews/sap_bw_report_iview
and
pcd:portal_content/templates/iviews/sap_bi7x_report_iview
none works !
If you have the tricks share it with us. -
How to set default export format in Crystal Reports Viewer
When Viewing Crystal Reports, the top left button can choose export file format, how to set it default to Excel?
If we can only go with hidden the button, and create a new button, any one can kindly provide how to?
The BOE version is XI R2 SP2.
Thanks in advance!
Jenniehi all , i have same problem like i want only 1 report to be generated like for ex:only PDF should be generated n all others has to be disabled. my jsp is as follows:
<%@page import="com.abc.def.crystalReports.JRCHelper,
com.crystaldecisions.reports.reportengineinterface.*,
com.crystaldecisions.report.web.viewer.CrystalReportPartsViewer,
com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.reports.sdk.ReportClientDocument,
com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,
com.crystaldecisions.report.web.viewer.*,
com.crystaldecisions.sdk.occa.report.exportoptions.*,
java.sql.Connection,
java.sql.DriverManager,
java.sql.ResultSet,
java.sql.SQLException,
java.sql.Statement,
java.util.ResourceBundle"%><%
// This sample code calls methods from the JRCHelperSample class, which
// contains examples of how to use the BusinessObjects APIs. You are free to
// modify and distribute the source code contained in the JRCHelperSample class.
try {
ResourceBundle messageBundle = ResourceBundle.getBundle("resources.ApplicationResources");
String reportName = messageBundle.getString("report.path");
ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
if (clientDoc == null) {
// Report can be opened from the relative location specified in the CRConfig.xml, or the report location
// tag can be removed to open the reports as Java resources or using an absolute path
// (absolute path not recommended for Web applications).
clientDoc = new ReportClientDocument();
// Open report
clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
// ****** BEGIN CHANGE DATASOURCE SNIPPET ****************
String connectString = "jdbc:oracle:thin:@****:db;
String driverName = "oracle.jdbc.driver.OracleDriver";
String JNDIName = "";
String userName = "root"; // TODO: Fill in database user
String password = "root"; // TODO: Fill in password
// Switch all tables on the main report and sub reports
JRCHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
// ****** END CHANGE DATASOURCE SNIPPET ****************
// Store the report document in session
session.setAttribute(reportName, clientDoc);
// ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
// Create the CrystalReportViewer object
CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
ReportExportControl exporter = new ReportExportControl();
// set the reportsource property of the viewer
JPEReportSourceFactory rptSrcFactory = new JPEReportSourceFactory();
IReportSource reportSource = (IReportSource)rptSrcFactory.createReportSource(reportName,request.getLocale());
Boolean b1 = new Boolean(messageBundle.getString("Toggle.Group.TreeButton"));
Boolean b2 = new Boolean(messageBundle.getString("Has.ExportButton"));
Boolean b3 = new Boolean(messageBundle.getString("Has.SearchButton"));
Boolean b4 = new Boolean(messageBundle.getString("Display.GroupTree"));
Boolean b5 = new Boolean(messageBundle.getString("Has.Logo"));
Boolean b6 = new Boolean(messageBundle.getString("Display.Toolbar"));
crystalReportPageViewer.setHasToggleGroupTreeButton(true);
crystalReportPageViewer.setHasExportButton(true);
crystalReportPageViewer.setHasSearchButton(false);
crystalReportPageViewer.setDisplayGroupTree(false);
crystalReportPageViewer.setHasLogo(false);
crystalReportPageViewer.setOwnPage(true);
crystalReportPageViewer.setOwnForm(true);
crystalReportPageViewer.setReportSource(reportSource);
crystalReportPageViewer.processHttpRequest(request, response, application, null);
IReportSource reportSource = (IReportSource)rptSrcFactory.createReportSource(reportName,request.getLocale());
//CharacterSeparatedValuesExportFormatOptions csvOptions = new CharacterSeparatedValuesExportFormatOptions();
ExportOptions exportOptions = new ExportOptions();
//exportOptions.setExportFormatType(ReportExportFormat.characterSeparatedValues);
//exportOptions.setExportFormatType(ReportExportFormat.PDF);
exportOptions.setExportFormatType(ReportExportFormat.characterSeparatedValues);
exporter.setReportSource(reportSource);
exporter.setExportOptions(exportOptions);
//exporter.setExportAsAttachment(true);
exporter.processHttpRequest(request, response, application, null);
// ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
} catch (ReportSDKExceptionBase e) {
out.println(e);
%>
if i want to add custom button where to add -
How to set Default DateTime values in Crystal Reports 2008
Hi All,
I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59 format.
I have tried the below things, But still I want to set CurrentDate + 00:00:00 time in DateTime field.
"In CR 2008 you would set the time portion to 00:00:00 in this way:
1) Edit the date/time parameter and look for the 'Default Value' option; it would be blank
2) Set this to 00:00:00
This would default the calendar to 12/30/1899 00:00:00. The only worry here is, when you click on the calendar icon you would be presented with the calendar for the year 1899 and it is painstaking to scroll all the way to the current year."
I found one solution in SAP forum and I have added the below lines in Record Selection formula,
{@FromDate} = date(@CurrentDate)+time(00,00,00)
{@ToDate} = date(@CurrentDate)+time(23,59,59)
When I run the report, I still getting the empty values in the input parameters screen.
Am I missing anything? Kindly help
Thanks,
Ramesh Kumar G.See the following for samples:
Java (Crystal Reports for Eclipse) SDK - Business Intelligence (BusinessObjects) - SCN Wiki
BusinessObjects Enterprise / SAP BusinessObjects Business Intelligence Platform 4.x Java SDK Applications
Business Objects / BI Unmanaged Java RAS SDK Sample Applications
Developer Help Files:
Crystal Reports SDK
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
How to Client Change Company Logo in SAP BEx
Hi Guys,
Could You please How to change Client Company Logo in Sap BW bex broadcaster buy Using the transaction Code:SE80
Thanks
Sankar Reddy KHi Sankar,
Try this:
1. Goto T.code SMW0.
2. select radiobutton 'BINATRY DATA FOR WEBRFC...'----> F8
3. Again execute .
4. goto create(F5)
5. enter Object name and Description
6. Press IMPORT(shift + F6)
7. Select Picture to import
Regards,
Loed -
In Transaction code va41 how to set default sales contract start date
Hi ,
In Transaction code " VA41 " how to set default sales contract start date and end date.
Can any one tell me the correct user exit for the same.
Thanks
Basuhi,
u have to use user exits or badis.
use sutable exits mentioned below.
SDTRM001 Reschedule schedule lines without a new ATP check
SDVFX006 User exit: Tax line (transfer to accounting)
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Edited by: katigiri linganna on Apr 28, 2009 12:19 PM -
Dear all,
Would like to ask about how to set default color of the company.
I tried to set it from Window->Color, but then after logout and login again, it changed back to the default color...
Thanks in advanceGo to Administration > General Settings > System initialisation > General Settings and then go to the tab 'Display'. There you will find the field Colour, there you can set the colour, the system will save the colour you select.
Hope this helps you out!
EDIT: Don't forget to push 'Update' after changing!!!
Edited by: Hendri Wessels on Dec 29, 2008 11:31 AM -
Release BDC in SM35 in background, How to set defaul company code?
Hi There,
I came across one problem of BDC session release in background.
Currently my session always fails due to the company code not correct.
How can I change the default company code in background?
Thanks!Hi Brad Bohn,
Sorry for the late reply.
Currently, I want to retire multi asset using transaction code ABAVN and ABAON.
I want to run the BDC session in background, hence even I can pupup a dialog to input company code, I can not choose to do so because BDC session can not run in background if there is pup up dialog to fill in field. For example, if you upload data from local PC, you should choose the path, and there is a dialog pup up to let you choose the path, then in this case you can not run in backround.
Instead, I use bellowing code to set default company code.
SET PARAMETER ID 'BUK' FIELD p_bukrs.
But the problem is, above setting can only influence foreground. I have 4 test for background BDC.
Assum there are 2 company code A and B.
Currenly our system default company code is A. ( I don't know why, it was A).
I run a BDC session which belongs to A, then I change the global parameter, to let SET PARAMETER ID 'BUK' FIELD p_bukrs.
to 2 cases: the company code set to A and the company code set to B. In those 2 cases, in background, the BDC always success.
I have another test, I run one BDC which should run in company code B. I also change the SET PARAMETER ID 'BUK' FIELD p_bukrs to be A or to be B. In those 2 cases, in bacground, the BDC always fail.
My question is, how to change the default company from A to B?
Thanks! -
How to set default values for boolean columns
I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
I've tried to set default value at column level:
<Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
<Default>TRUE</Default>
</Field>
and at content type level:
<FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
But in any case, when i create a new item with this content type, default value is applied.
Can anyone tell how to set default values for boolean columns?
Thanks in advance,
Regards,
SergioIn the field definition you can set
<Default>1</Default>
or
<Default>0</Default>
How to set the default value Null? -
How to set default reject reason in VA01 (create sales order)
Hi
Everybody can tell me how to set default reject reason for item in sales order.
in our sap system there are a default reject reason as '90'. We want to set it as "Null".
Thanks
HenryHi,
Assigning a default Reason for Rejection is not in standard SAP. I am sure there is some enhancement/user exit which updates the reason for rejection.
Please get the help of an ABAPer, create the sales order in debugging mode and he will find out the logic behind the automatic reason for rejection.
Before that you can find the exits in the include MV45AFZZ for any code related to this.
Hope this helps -
How to set default file path while downloading alv output
Hi,
Can anyone tell me that how to set default file path while downloading the ALV output to system using Local file button on tool bar.
Please look below screenshots:
Kindly help me resolve it.
Thanks in advance.
Regards,
Ashutosh KataraThis information initial value is (maybe) stored in Windows Register (register.exe) at Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer -> PathDownload, you can read it thru class CL_GUI_FRONTEND_SERVICES method GET_UPLOAD_DOWNLOAD_PATH and update it thru method REGISTRY_SET_VALUE. (Else there may be some parameter ID to force data, but I'm no longer sure)
Regards,
Raymond -
How to set default User preferences in Analyzer for all users
How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty
I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH
-
How to set default locale in JDK1.3.0 to US?
Hi, everyone!
I found the default locale in JDK 1.3.0 is not set to US when I converted our JDK from 1.2 to 1.3.0. So I have to change code by passing Locale.US.
The output from below test code is:
default=��100.00
US=$100.00
import java.util.Locale;
import java.text.*;
public class TestCurrency
public static void main(String[] args)
int amount = 100;
//default
NumberFormat moneyWriter = NumberFormat.getCurrencyInstance();
System.out.println ("default=" + moneyWriter.format(amount) );
//US
moneyWriter = NumberFormat.getCurrencyInstance(Locale.US);
System.out.println ("US=" + moneyWriter.format(amount) );
Can anyone tell me how to set default locale in JDK 1.3.0 to US?
Thanks!You have to set something on your computer (outside Java) to tell it that you are in the US. You didn't say, but I'm going to guess that you are using Windows; if that's so, then try Regional Options in Control Panel.
Maybe you are looking for
-
Not letting me change my screen saver
Every time I open up system preferences and click on "Desktop & Screen Saver" and then click on the "Screen Saver" tab... the system pref. freezes and closes unexpectedly It lets me change my background but whenever i try to change my screen saver it
-
Problem starting Weblogic Managed Server SOA11g
While restarting the server, after starting weblogic server(no errors), when i try to start managed server, getting this exception, SEVERE: FabricProviderServlet.handleException Error during retrieval of test page or composite resourceoracle.fabric.c
-
The document "Migrating from Oracle9 i Application Server 1.0.2.0" Part No. A88779-01 says: "Upgrading the Oracle9 iAS Portal Repository Oracle9iAS Portal uses an upgrade script for migration. The script and further migration instructions are availab
-
How to factory reset ipod touch
I got my Ipod from a man and now im trying to factory rest my phone but he has a security pass code on it to where i cant get to the reset. I asked him for the code for it but he doesnt even know it himself, is there another way i can factory reset m
-
Now the application is blurry