Webi -sup table report
hey all
i have question about make 2 dimension in column like this picture
but when i break header and insert new dimension i have this
anyone can help me
Moved to Web Intelligence space
Similar Messages
-
Hi to all experts,
i have the following scenario:
I am using a query in web. Well in the lines there is a characteristic (for example sales org) and in the columns a keyfigure with an exception and a top10 condition. I think exception and condition are not important for my problem but the table is. Now i want to see in front off all lines a checkbox. That means i have - for example - now 10 sales organizations in my query and in front of all sales orgs there should be a checkbox. I think that should be realized with table interface. Now the user should be able to mark two ore more checkboxes to jump with the Report Report Interface by using a link to another Web report? Is that possible? Sounds hard i think or isnt it?
Regards,
M. ErbilHi Memo,
try the following. Create a template with a web item table. Than by using se24 create your own class for table interface. Change method DATA_CELL.
method DATA_CELL.
*CALL METHOD SUPER->DATA_CELL
EXPORTING
I_X =
I_Y =
I_VALUE =
I_DISPLAY_VALUE =
I_NUMERICAL_SCALE =
I_NUMERICAL_PRECISION =
I_CURRENCY =
I_UNIT =
I_ALERTLEVEL =
I_IS_SUM =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
data: l_cell_content type string.
if i_x = 2 and i_is_sum <> 'X'.
concatenate l_cell_content '<INPUT type=checkbox value=ON name='
'' filter '' '>' into
l_cell_content.
c_cell_content = l_cell_content.
endif.
endmethod.
You can hold the value from characteristic in method CHARACTERISTIC_CELL:
method CHARACTERISTIC_CELL.
*CALL METHOD SUPER->CHARACTERISTIC_CELL
EXPORTING
I_X =
I_Y =
I_IOBJNM =
I_AXIS =
I_CHAVL_EXT =
I_CHAVL =
I_NODE_IOBJNM =
I_TEXT =
I_HRY_ACTIVE =
I_DRILLSTATE =
I_DISPLAY_LEVEL =
I_USE_TEXT =
I_IS_SUM =
I_IS_REPETITION =
I_FIRST_CELL = RS_C_FALSE
I_LAST_CELL = RS_C_FALSE
I_CELLSPAN =
I_CELLSPAN_ORT =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
data: l_filter type string.
Store characteristic value of current row
if i_x = 1 and i_is_sum <> 'X'.
l_filter = i_chavl.
endif.
endmethod.
Please note that "i_chavl" holds the key value from characteristic.
Now back to method DATA_CELL and insert something like this:
filter = l_filter. "l_filter is set in method characteristic cell
so it look like this:
method DATA_CELL.
*CALL METHOD SUPER->DATA_CELL
EXPORTING
I_X =
I_Y =
I_VALUE =
I_DISPLAY_VALUE =
I_NUMERICAL_SCALE =
I_NUMERICAL_PRECISION =
I_CURRENCY =
I_UNIT =
I_ALERTLEVEL =
I_IS_SUM =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
data: l_cell_content type string,
filter type string.
if i_x = 2 and i_is_sum <> 'X'.
filter = l_filter.
concatenate l_cell_content '<INPUT type=checkbox value=ON name='
'' filter '' '>' into
l_cell_content.
c_cell_content = l_cell_content.
endif.
endmethod.
Hope it works
Regards,
Adem -
Reporting on the SQL generated by webI and Deski reports
I'm running BOXI 3.1 SP3 on a Windows. I have about 2800 Webi and Deski reports live. The majority of these reports return data from a Oracle data source that is not managed in-house.
I'm needing an admin type software that can query the repository for all my reports, generate the SQL for each report, spit out the name of the report and the SQL of the report and any filters/variables on the report into a searchable file that I can parse through to look for specific query filters (and report filters if it has any.)
I have method for pulling a list of reports that are using an universe's object X, but I really need a method of searching all the WHERE clauses all my reports and inside the report in the variables and
Does anybody know of anything that does this that is available for purchase? I've tried leveraging the Activity Universe and it's just too slow to use.Hi,
I am sorry but I could not infer much from your issue. However, vaguely I understand that you might have missed the grain settings for table A. Generally, when there are no proper grain settings (set through content tab in LTS), the BI Server might show NULL values.
You may want to revisit your LTS for these tables once again and running through level 5 log also might help here.
Hope this helps.
Thank you,
Dhar -
BusinessObject 4.0 API to get SQL statement from webi or crystal report
Hello,
Need your help.... could you confirm whether BusinessObjects 4.0 provides any SDK, API or Web Service to get physical SQL statement from the webi or crystal reports file?
If so, could you provide name of package, class and method?
If I am not wrong, there is an SDK in v3.0 that allows to extract the SQL. But I am reading a lot on these forums that lot of SDK classes and functions are deprecated / removed in v4.0.
Thanks for your help.
OmerFor Crystal Reports in BI 4.0 to retrieve the SQL query you can use Report Application Server SDK. Here is a code snippet that retrieves the SQL statement.
//oInfoObjectReport is of type IInfoObject corresponding to the crystal report.
ReportClientDocument reportClientDoc = reportAppFactory.openDocument(oInfoObjectReport, 0, Locale.ENGLISH);
//for all crystal reports
GroupPath grpPath = new GroupPath();
//get CR SQL query string
String reportSQL=reportClientDoc.getRowsetController().getSQLStatement(grpPath,null);
System.out.println("report SQL String: "+reportSQL);
//for report whose datasource is command object:
Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
for (int i = 0; i < tables.size(); i++)
ITable table = tables.getTable(i);
ICommandTable ic= (ICommandTable) table;
//Command can be obtained from the report using getCommandObject() method
//get CR SQL query string
String SQLText=ic.getCommandText();
System.out.println("SQLText_"+i+": "+SQLText);
Here are useful links for BI 4.0
[RAS API Specification|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rasjava_apiRef_en.zip]
[RAS Developer Guide|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rasjava_dg_en.zip] -
Data Modeler : Modifying the Table Report layout
Hi ,
I'm using SQL Data Modeler (DM) 4.0 EA .
I used the File -> reports option to generate the reports on Table and in the report
1) I couldn't see the column data type ? (Refer below table ) , Is there any options to bring on the Data Type in the Report ?
No
Column Name
PK
FK
M
Data Type
DT
kind
Domain Name
Formula
(Default Value)
Security
Abbreviation
1
ID1
P
Y
(10)
LT
2
ID2
F
Y
(10)
LT
3
ID3
Y
(1)
LT
4
ID4
Y
(10)
LT
5
ID5
F
(20,4)
LT
2) In options to manage the Table report (Reports -> Manage). Currently I can only remove a heading (like Descriptions Notes ,columns,column comments.). Is there is any way to customize the report in such a way that I can remove some columns (mostly the empty ones) from the report and add the column comments along with the column table than a new column comments table.
Please let me know ,is there is an option to customize the report .
Note: I even tried generating the report using the search then report , but it doesn't give a complete report (i was only able to generate a report on column or table name or constraints , not all together.)
Thanks,
Srinivasan.KThanks for the immediate reply.
I checked on the DM again, the report comes good for the one which has the data type . But now all my data type changed to UNKNOWN and lokks like ,due to this my table report is coming without the "Data Type".
Can you please help me in fixing this unknown data type issue ?
Table report for the ones with proper Data type:
Columns
No
Column Name
PK
FK
M
Data Type
DT
kind
Domain Name
Formula
(Default Value)
Security
Abbreviation
1
ID1
Y
NUMERIC (10)
LT
2
SCRIPT
Y
VARCHAR (1024)
LT
3
UPGRADE_S
Y
VARCHAR (10)
LT
4
UPGRADE_D
Y
VARCHAR (250)
LT
5
UPGRADING_F
Y
VARCHAR (20)
LT
6
TIMESTAMP2
Y
Timestamp
LT -
Hi,
I have created a Pivot Table report (I use them all the time in Excel) as one of my rows...I am using a field that is a formula. When I look at the pivot table results there is a sum by this "row category"...all total 1726 items (correct # of total items' but the sum by each of the 4 items is wrong...when I drill (I can only drill from a higher level)...I get the detail of the 1726 items correctly...but if I do a pivot in Excel off the detail I get a different number in the 4 categories (actually the correct summary data)....HOW do I fix this...we really want to use the power of the report...but with such a large error it is difficult to trust the results of the report.
Report
Source Type MAG Created Year Parent Account Target Market # of Accounts
Marketing 2004 Unspecified Key Account 2,521
Quanta Services Inc Key Account 1
2005 Unspecified Key Account 388
Vipar Heavy Duty Key Account 29
2006 Unspecified Key Account 824
2007 Unspecified Key Account 838
Domino's Pizza Key Account 9
2008 Unspecified Key Account 582
Marketing 5,192
Grand Total 5,192
When you drill down...for instance...the data for 2007 Unspecified is 358 NOT 838....
Please assist!!! ASAPIt is very difficult to troubleshoot a report without seeing it, but it looks to me like you have a problem with your aggregation rules... each column has an aggregation rule, and a pivot table measure can also have an aggregation rule... sometimes, depending on the formula and columns that make up your formula, the aggregation rules can cause seemingly incorrect totals because the data is aggregated on the table and then re-aggregated on the pivot table.
If you would like, you may email me directly and I will see if I can help further.
My email is in my profile.
Mike L -
Change crystal report data source dynamically failed with multi tables report
hello all
i have many reports created by someone else on his own machine using same database file i use
my application use Visual studio 2013 win form with crystal report pack 9
i use rpt files provided to me
connect database use OLEDB
to show form i use below code
SQLstr = " select what ever from table " ' defined as Public
reportName = rpt file path & report name
showReport()
public sub showReport()
reportTable.clear() ' defined as Public
DBAdapter = new oleDpdataAdapter(SQLstr,DBconnection)
DBAdapter.fill(reportTable)
dim rptDoc as new Crystaldesicin.crystalreports.Engine.ReportDocument
rptDoc.load(reportName)
rptDoc.setdatasource(reportTable)
formRpt.RptViewer.reportsource = rptDoc
formRpt.showdialog()
now
when i use one table report with (select from one table) >>>>> works perfectly
but when i use report retrieve data from 2 tables and group data like using
SQLstr = " select 'table'.'coulumn', 'table2'.'column' ....... etc
from 'table1'
INNER JOIN 'table2' ON 'table'.'coulumn' = 'table2'.'column'
it's not working and formrpt shown but asking for database login
I noted that in database login window : server name refer to ORIGINAL DATABASE USED BY Report Creator not to my local database
================================================
i tried to set
rptDoc.datasourceconnection.item(0).setconnection("","databse file path and name", False)
rptDoc.datasourceconnection.item(0).setlogin("admin","")
but the same
using dataset instead of reportTable the same error
================================================
what i missed in this type of reports?
( apologize about long take and poor English )Hi
Please have a look at the wiki Troubleshooting Issues with VS .NET Datasets and Crystal Reports.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Empty report returned from WEBI and Crystal report when using external hier
Hi,
WEBI and Crystal report build from BEX query returned empty report when we used external hierarchy 0PROFIT_CTR. In BEX we don't have any problems with it.
No authority check is perfomed on the hierarchy when we start the report in WEBI/Crystal. Only check on the hierarchy is performed when the root authorization is assigned to the userWe using BO4 SP12
-
How to use EVS with different data in each row, in a Java Web Dynpro table?
Hi all,
I am using EVS in a column of java web dynpro table.
Let's say the name, and context attribute, of this column is column1.
It's filled dynamically using an RFC, that uses as input parameter the value of another column, and related context attribute, from the same table (Let's call it column2). Obviously, from the same row. So, in other words: the values of the EVS in column1 of row1, are dependent of the value of column2 of row1. And the values of the EVS in column1 of row2, are dependent of the value of column2 of row2. And so on... Hope i could explain myself ok.
The code I'm using works great for filling the EVS dynamically:
IWDAttributeInfo attrInfo = wdContext.nodeDetail().getNodeInfo().getAttribute(nodeElement.COLUMN1);
ISimpleTypeModifiable siType = attrInfo.getModifiableSimpleType();
IModifiableSimpleValueSet<String> value = siType.getSVServices().getModifiableSimpleValueSet();
value.clear();
if(this.initRFC_Input(nodeElement.getColumn2())){
for (int i = 0; i < wdContext.nodeRFCresult().size(); i++){
value.put(wdContext.nodeRFCresult().getRFCresultElementAt(i).getLgort()
, wdContext.nodeRFCresult().getRFCresultElementAt(i).getLgobe());
In this code, nodeElement is the context row of the table that is passed dynamically to the method when the value of colum2 is changed.
HOWEVER, the problem I'm having is that after executing this code, EACH NEW ROW that is added to the table has by default the same values as the first row, in the column1 EVS. And, for example, if I refresh the values of the column1 EVS in row 2, all EVS values in the other rows are also refreshed with the same values as the ones of EVS in row 2.
How can I make sure each row EVS has its own set of independent values, so they don't mess with each other?
Hope you guys can help me. And please, let me know if I didn't explain myself correctly!
Thanks!I just did as you said (I think), but it's still having the same behaviour as before (same data for all EVS in the table).
Here´s what I did:
I
In node "Detail" (cardinality 0...n, singleton set to true), which is binded to the table, I created a child node named "Column1Values" wth cardinality 1...1 and singleton set to false.
"Column1Values" node has an attribute called "column1", of type String.
I did the binding between attribute "column1" and the column1 inputfield celleditor in the table.
I created an event called Column2Changed and binded it to the column2 celleditor of the table. I added a parameter called nodeElement of type IPrivateCompView.IDetailElement to this event, and mapped it to the column2 editor in the table so that I can dynamically get the nodeElement that is being affected.
I added the following code to the onActionColumn2Changed(wdEvent, nodeElement) method that gets created in the view:
IWDAttributeInfo attrInfo = nodeElement.nodeColumn1Values().getNodeInfo().getAttribute("column1");
ISimpleTypeModifiable siType = attrInfo.getModifiableSimpleType();
IModifiableSimpleValueSet<String> value = siType.getSVServices().getModifiableSimpleValueSet();
if(this.initRFC_Input(nodeElement.getColumn2())){
for(int i =0; i < wdContext.nodeRFCresults().size(); i++){
value.put(wdContext.nodeRFCresults().getRFCresultsElementAt(i).getId(),
wdContext.nodeRFCresults().getRFCresultsElementAt(i).getDesc());
And with this, I still get the original problem... When the EVS of one row is updated, ALL other EVS of the table get also updated with the same values.
What am I missing? Sorry Govardan, I bet I'm not seeing something really obvious... hopefully you can point me in the right direction.
Thanks! -
Load and Display Multiple Images in a Web Dynpro Table
I am new to Web Dynpro and I am wondering if anyone can help me with an application that I am currently developing. I have a particular requirement to store images in a database table (not MIME repository) and then display them in a WD table element. An image can be of JPEG, PNG or TIFF format and is associated with an employee record.
I want to create a view in my application that displays multiple images in a table, one image per row. I want to do this using Web Dynpro for ABAP, not Java. I have looked into pretty much all examples available for Web Dynpro and came to the conclusion that Components such as WDR_TEST_EVENTS and WDR_TEST_UI_ELEMENTS do not have any examples of images being stored in a database table and viewed in/from a Web Dynpro table element. Programs such as RSDEMO_PICTURE_CONTROL, DEMO_PICTURE_CONTROL and SAP_PICTURE_DEMO do not show this either.
The images to be displayed in the Dynpro table are to come from a z-type table, stored in a column of data type XSTRING (RAW STRING). So I would also like to know how to upload these images into this z-type table using ABAP code (not Java).
Your help would be greatly appreciated.
KennHi,
May be this is the is the correct place to post your query.
Web Dynpro ABAP
Regards,
Swarna Munukoti.
Edited by: Swarna Munukoti on Jul 16, 2009 3:52 PM -
Can't start the web site of Reports Services
Does anybody know how to fix this problem?
After installation of the 9iAS, can't start the web site of
Reports Services
and Form Services from the URL listed in the postinstallation
guide using
default port no 1950. The dev60html and devdem60/demo
directories are not
existing, the runrep.htm and runform.htm files are in the
directory
tools/web60/html. I also tried to replace the dev60html with
tools/web60/html
in the URL but it won't work.
During the installation the discoverer and portal tools failed,
the portal
hanged at 100%, and the discoverer didn't install the util
directory. But we
can login to the portal from the URL.
Below is the message when I start from the command line: I am
not sure if it is
working.
$ reports60_server start
Stopping Reports Server Rep60_abc.com processes...
kill -9 5647
Reports Server Rep60_abc.com stopped.
Starting new Reports Server Rep60_abc.com .
rwmts60 name=Rep60_abc.com
Stopping Reports Server Rep60_abc.com processes...
kill -9 5910
Reports Server Rep60_abc.com stopped.
$ reports60_server start
Stopping Reports Server Rep60_abc.com processes...
Could not find running instance of Reports Server
Rep60_abc.com
Starting new Reports Server Rep60_abc.com .
rwmts60 name=Rep60_abc.com
ThanksHi,
Dumb question : is one of your server listening on port 7001 ? If not, should it ?
What is the expected behavior ? A managed trying to connect to the admin server ?
Check the value for ADMIN_URL value, set in the startManagedServer.sh or cmd.
Another dumb question : do you have a firewall ? -
URGENT - Web Wizard in Reports 3.0
Hi,
I prepared my reports using
web wizard and tried running from the web browser one report is working fine in the browser the other one whenever I running it it popping a save dialog box asking me to save the rep.sh file (which is env file
report server in unix env)
I am not too sure what difference I made in preparing in web wizard ver 3.0 .
Pointers would be appreciated.
ThulasiIt does have classes for connecting to web services.
For example the mx.rpc.soap.WebService object... -
Display data in Web DynPro table from database via EJB
I have a JavaBeans model which has a method populateDataToTable()to retrieve data from database via Session bean (calling entity bean, returning ArrayList of data) and the data needed to be display in the Web DynPro table.
User Interface (Web DynPro) <-> JavaBeans Model <-> Busineess Logic (session bean) <-> Persistence (Entity Bean)<-> DB table.
The context bindiing and table part is ok. How do i load the data to the table ? what the coding to put in wdDoInit() ?
Any help would be appreciated.in wdinit(),
Collection col = new ArrayList();
try{
MyCommandBean bean = new MyCommandBean();
col = bean.getDataFromDbViaEJB();
wdContext.nodeMyCommandBean().bind(col);
} catch (Exception ex) {
ex.printStackTrace(ex);
in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
Collection col = new ArrayList();
Collection newcol = new ArrayList();
//include your own context initialization etc...
col = local.getDataViaSessionBean(param);
// if your returned result also a bean class, reassigned it to current MyCommandBean
for (Iterator iterator = col.iterator(); iterator.hasNext();) {
MyOtherBean otherBean=(MyOtherBean)iterator.next();
MyCommmandBean bean = new MyCommandBean();
bean.attribute1 = outBean.getAttirbute1();
// get other attibutes
newcol.add(bean);
return newcol; -
Hi all,
IS there any table/report which lists out the Planned orders and the converter Purchase requisitions from planned orders? I want a report/table which lists out Purchase requisitions and related Planned orders.
Thanks,
Avani.Hi,
Transaction MD04
Use collective option and give your MRP controller.
Regards
Kedar -
Planned orders table/report
Hi all,
IS there any table/report which lists out the Planned orders and the converter Purchase requisitions from planned orders? I want a report/table which lists out Purchase requisitions and the related Planned orders.
Thanks,
Avani.Hi,
no standard report for your reqirement
pls check planned order table
PLAF - planned order table
once converted planned to pur. req, there is no table to store this converted data
EBAN - Pur. req table
Hope you understand
Regards,
Sankaran
Maybe you are looking for
-
Hello All, My user wanted to post customer credit memo using special GL indicator. He wanted that the Payment term field to be visible in the document. However, the payment term field is suppressed. The filed Due Date is required. Is this a SAP stand
-
Mouse events: how to know its button1 or 2 or 3?
writing a program that's driven by mouseReleased event. how do i determine that the user clicked the 1st mouse button n not the other mouse buttons? please help! thanx! :)
-
How to connect TP-Link TL-WA850RE(EU) Range extender to airport Time Capsule
please let me know if i can use TP-link range extender to extend my wifi network of my new airport time capule
-
Aqualogic WebLogic Workshop: XQuery resource cannot be found
Hi I created a Proxy Service with WebLogic Workshop. I tested it without problems. After I shutdown the laptop and restarted it the references between the Proxy Service and the XQuery resources are lost. If I try to reference them WebLogic Workshop c
-
How to remove swf file after some time?
Hi all, I am working in flex 3.5 . i have loaded one swf file in mxml, i want to make invisible after some sec's. for that what i have to do. pleae anyone help me.....