Xcelsius Dashboard on SAP R/3 Table using BSP and XML Mapping
Hi Experts,
I have developed a simple dashboard on small data set (10 records) that I am fetching from a R/3 Table into BSP and generating XML from there and consuming it in Xcelsius (SAP R/3 + BSP + XML Mapping).
Now I want to fetch data based on Variables values that should be passed from the dashboard at the runtime and should display the data accordingly. Any help on how it can be achieved?
Thanks..!!
Sharad
Hi,
You could try doing this by using XML data connection. You would have to make use of Enable load to get the data from XML and Enable send to send data back to XML from dashboard.
This would require you to write a script.
Thanks,
Amit
Similar Messages
-
Can I access Webi queries and Xcelsius dashboards from SAP portal?
Hello,
Can I access Webi queries and Xcelsius dashboards from SAP portal? And how?
ThanksPortal Part 1
/people/ingo.hilgefort/blog/2010/03/29/sap-businessobjects-enterprise-sap-enterprise-portal--part-1-of-4
Portal Part 2
/people/ingo.hilgefort/blog/2010/03/30/sap-businessobjects-enterprise-sap-enterprise-portal-part-2-of-4
Portal Part 3
/people/ingo.hilgefort/blog/2010/04/08/sap-businessobjects-enterprise-sap-enterprise-portal--part-3-of-4
Portal Part 4
/people/ingo.hilgefort/blog/2010/04/21/sap-businessobjects-enterprise-and-sap-enterprise-portal--part-4-of-4
Ingo -
How to pick max value from a column of a table using cursor and iteration
Hello Everybody
I have a table loan_detail
and a column in it loan_amount
now i want to pick values from this table using cursor and then by using iteration i want to pick max value from it using that cursor
here is my table
LOAN_AMOUNT
100
200
300
400
500
5600
700i was able to do it using simple loop concepts but when i was trying to do this by using cursor i was not able to do it .
Regards
PeeyushSQL> SELECT MAX(sal) Highest_Sal,MIN(sal) Lowest_Sal FROM emp;
HIGHEST_SAL LOWEST_SAL
5000 800
SQL> set serverout on
SQL> DECLARE
2 TYPE tmp_tbl IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
3 sal_tbl tmp_tbl;
4 CURSOR emp_sal IS
5 SELECT sal FROM emp;
6 counter INTEGER := 1;
7 BEGIN
8 FOR i IN emp_sal LOOP
9 sal_tbl(i.sal) := counter;
10 counter := counter + 1;
11 END LOOP;
12 DBMS_OUTPUT.put_line('Lowest SAL:' || sal_tbl.FIRST);
13 DBMS_OUTPUT.put_line('Highest SAL:' || sal_tbl.LAST);
14 END;
15 /
Lowest SAL:800
Highest SAL:5000
PL/SQL procedure successfully completed.
SQL> Even smaller
SQL> DECLARE
2 TYPE tmp_tbl IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
3 sal_tbl tmp_tbl;
4 CURSOR emp_sal IS
5 SELECT sal FROM emp;
6 counter INTEGER := 1;
7 BEGIN
8 FOR i IN emp_sal LOOP
9 sal_tbl(i.sal) := 1;
10 END LOOP;
11 DBMS_OUTPUT.put_line('Lowest SAL:' || sal_tbl.FIRST);
12 DBMS_OUTPUT.put_line('Highest SAL:' || sal_tbl.LAST);
13 END;
14 /
Lowest SAL:800
Highest SAL:5000
PL/SQL procedure successfully completed.
SQL> Edited by: Saubhik on Jan 5, 2011 4:41 PM -
Accessing The External Table using UIAPI and DIAPI
Hi Every One,
can any one tell me about , can we access the external table data that is created by using sql query externally using UIApi and DIAPI
Regards
SrinivasHi,
technically is it possible, but all inserts and updates have to be through query.
Note, that when you create tables from sdk, you can set more informations about fields than in sql query manager (for example subtype) - so you may have problem in binding data to matrix for example. So if you have table externally, you may work with, but this isn`t allowed by SAP (and I think that this case may be dangerous if you acces it in sdk). If you need to acces it on sql server side (own numbering, some stored procedure, ..) it will works safer, but it is not allowed as well.
Petr -
Store XML data as relational data into Oracle tables using Java and XMLType
I want to store xml data into an Oracle 11g table as relational storage, not as CLOB or Binary storage. Then I should also be able to query and fetch this data from table into an XML file.
Any hint on how to write java code using XMLType to achieve this?
Any help would be appreciated.Thanks for the explanation. I still have few confusions. I will try to elaborate my requirement with a simple example...
I have the following xsd and xml files. "note" would be the table in database and "to", "from", "heading" and "body" would be the columns of note table. "Tove", "Jan", "Reminder" and "Don't forget me this weekend!" would go as data in one row of note table.
How do I create note table with the xml schema (xsd file)?
Should the note table be of XMLType or the columns?
How do I load the XML data into the columns of note table?
How do I retrieve the row of note table as XML file?
XML Schema:
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.xxxxx.com"
xmlns="http://www.xxxxx.com"
elementFormDefault="qualified">
<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
XML Data:
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jan</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note> -
So we have an Invoice .xlsx File from a 3rd party vendor. It contains two worksheets..."Enrolled" and "Engaged". The data and data columns in each worksheet is different. Is it possible to loop through multiple .xlsx files using SSIS
and a Foreach Loop Container for each spreadsheet, and then another Foreach Loop Container to control each worksheet, and pump the Excel data into a SQL Server Table first for "Enrolled" and then for "Engaged"? How can I control the Foreach
Loop Container in SSIS to process ONLY the "Enrolled" worksheet first? And then the "Engaged" worksheet next?
I know I have multiples out here and I apologize for that...but right now it seems as though I take three steps forward and then two back.
Any help would be GREATLY appreciated!
Thanks in advance!If the structure of the Excel sheets does not change from file to file then you can by having one ForEach Loop processing always the "Enrolled" sheet and another always the "Engaged" this is doable because the Excel OLEDB connector allows
to pick individual sheets, it is problematic therefore when sheet names themselves change.
MSDN has an example: https://msdn.microsoft.com/en-ca/library/ms345182.aspx
Arthur
MyBlog
Twitter -
Procedure for using Webserices and XML data button
I am developing a report in xcelsius and I have huge data like 10000 records in my excel sheet for one report because of which the report performance is very bad as I am increasing the max. no of rows from 512 to 10000 .Is their any way I can make those records come dynamically to the excel sheet by using XML Data Button, or Web Services etc if yes how can I use this or is their any other way to accomplish this
As of now I am using the trial versron of XCELSIUS 2008 so can I use the option of webservices and XML in the trial version if so what I need to enter in WEbservice URL for trial versions
Can any body send me the step by step process of using webservices & XML when loading the data from excel to xcelsius
if I use these options when I select the source data do I need to select the entire 10000 records , if so then again my performance will be bad , so can any one help me out please
Thanks in advance
Regards,
SanyDynamic datasources for Xcelsius
http://resources.businessobjects.com/support/cx/samples/learning/downloads/ttv4-xml_data_button.pdf
unable to use web services
hope this helps you
good luck
Amr -
Query resultset to xml using java and XML schema
Hi,
I query data using JDBC and I want to store it to an XML file which has a well defined XML schema. I searched a lot in the forum but did not find an answer. Please guide me to create this program.
I have managed to use JDBC to get result set but I do not know how to export is to XML using XSD and Java.
Please help.
Regards,
RaviI have managed to use JDBC to get result set but I do
not know how to export is to XML using XSD and Java.Export using XSD? Schemas are for validation.
Iterate through the result set, and build up the XML stream by creating an entry for each row.
Another way to do it is to load the ResultSet into a Java object and serialize that to XML using something like XStream.
% -
Using SSO and user mapping with WebDav Repository
Hi guys,
I have a WebDav Repository in portal and i configured SSO with SSO22KerbMap in IIS server. All is ok, but i have some UME users than don't have user in our Active Directory, i need use user mapping with this users. Do it's possible?
Currently i have a KMWebDav system (with same alias name that http system) and i mapped one of my UME user (with name 'umeuser' for example) with one Active Directory user (with name 'aduser' for example), if i try access to my webdav repository from KM Content with 'umeuser' i can see in SSO22KerbMap log a message like:
10:48:57 6756/4652 i OnPreprocHeaders: Determined account umeuser from cookie MYSAPSSO2
10:48:57 6756/4652 E OnPreprocHeaders: Found 0 UserPrincipalNames for ADSI Filter...
Can somebody help me?
Thanks in advanced.Hi Guys,
Any takers?
Suggestions would be appreciated.
Cheers
Ian Henderson -
Moving Rows in ADF Table Using Drag and Drop
I implemented a drag and drop functionality it works fine, I want to accomplish the following functionality:
The user selects the rows and what if he drags the selected rows and wants to move to section beyond the limit of the table I want to scroll the table in the direction the user is dragging.
I think it should be a default behavior in the ADF table but it doesn't, could you please anyone tell me how to scroll the table while dragging the selected rows?
Thank you,What make you think that this is a default behavior?
Adf tables a data bound. So the data appears in an order (mostly defined by a sort condition on the db).
Even if you implement this behavior (which is possible but hard to do) you loose the new order by the next round trip to the db.
You may try to use trinidad tables but then you don't have the drag & drop featur (I guess).
Timo -
Try to update a table using resultset and nothing happens
I am trying to update a table in my database.
I already know the row I want to update by the reporttrikid in the where clause.
Nothing happens when I run this code. It does not fail but my table never gets updated.
I have done inserts and selects with no problem, but I must be doing something wrong when it comes to an update.
Can someone please help?
try
conn = XCConfig.getInstance().getConnection();
logger.debug("connection: " + conn);
sql = "UPDATE " + REPORTTABLE + " SET " + REPORTTRKMISC + "=?" +
" WHERE " + REPORTTRKID + "=?" ;
logger.debug(sql);
stmt = conn.prepareStatement(sql);
logger.debug("sql TRKID: " + "");
Iterator it = List.iterator();
while (it.hasNext()){
XCDocPriceFilter filter = (XCDocPriceFilter) it.next();
//filterTrkId = filter.getTRKId();
//trkid = Integer.parseInt(filterTrkId);
trkid = filter.getTRKId();
logger.debug("Update trkid: " + trkid);
stmt.setString(1,trkMisc);
stmt.setInt(2,trkid);
rs = stmt.executeQuery();
}//end iterator
rc = true;
}I am still not getting anything updated.
I am using the following code.
int updateCount = stmt.executeUpdate();
logger.debug(updateCount + " records were updated!");
The logger says it has been updated, when I go to the
table the table has not changed.Is your connection in auto-commit mode? Maybe it hasn't committed it (yet). Did you also remember to close your JDBC resources (rs, stmt, conn)? -
Joining table using CHAR and VARCHAR data type as indicator
Hi All,
I would like to join 3 tables together but I'm unable to get a perfect concordance (using =) between CHAR and VARCHAR data type.
Does a command exist to get impartially all data treated as CHAR or VARCHAR ?
Thanks in advance for your help !You want the database to perform with such a crappy database design? Good luck with that.. Instead, you need to look at why you are NOT using surrogate integer based keys for your data tables..
Thank you,
Tony Miller
Webster, TX
If vegetable oil is made of vegetables, what is baby oil made of?
If this question is answered, please mark the thread as closed and assign points where earned.. -
Dynamic Table using drag and drop table columns
Hi,
I want to create an ADF table which allows me to insert new columns from the list of columns.
List of columns will be shown in the tree. I would like to drag a tree node to the table, table should highlight where i can drop the node.
Once, i drop it, table should get refreshed with new column at inserted location.
Is it possible? How?
Regards,
SureshHi,
I don't think that a drop indicator is possible to create because the drag and drop is no from within the table but from external. You could add the drop target to the table and then determine the column that this is dropped onto. Based on this you can e.g. device to drop it to the right or left
Frank -
Reading result table using LDB and event get payroll
Hi Technical experts,
I need help regarding reading cluster RT using logical database pnp and event get payroll.
Please help me out.
Best Regards.
PriyaranjanSuresh, I also have one more question.
If I use GET pernr or GET payroll inside a subroutine after start of selection, it gives error saying "Before the statement "GET" , the structure introduced by FORm shuld be ended by END FORM, which is already ended correctly.
When I move the Get events outside the subroutines, i dont get this error.
Does that mean, these events cannot be used in the subroutines? -
I'm new to VS. I have run the following code. It does not produce any error, and it does not add or update data to my Access database table.
dbUpdate("UPDATE prgSettings SET varValue='test' WHERE varSetting='test'")
Function dbUpdate(ByVal _SQLupdate As String) As String
Dim OleConn As New OleDbConnection(My.Settings.DatabaseConnectionString.ToString)
Dim oleComm As OleDbCommand
Dim returnValue As Object
Dim sqlstring As String = _SQLupdate.ToString
Try
OleConn.Open()
MsgBox(OleConn.State.ToString)
oleComm = New OleDbCommand(sqlstring, OleConn)
returnValue = oleComm.ExecuteNonQuery()
Catch ex As Exception
' Error occurred while trying to execute reader
' send error message to console (change below line to customize error handling)
Console.WriteLine(ex.Message)
Return 0
End Try
MsgBox(returnValue)
Return returnValue
End Function
Any suggestions will be appreciated.
Thanks.You code looks pretty good, at a quick glance. Maybe you can simplify things a bit.
For Insert, please see these samples.
http://www.java2s.com/Code/CSharp/Database-ADO.net/Insert.htm
For Update, please see these samples.
http://www.java2s.com/Code/CSharp/Database-ADO.net/Update.htm
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.
Best to keep samples here to VB.NET
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.
Maybe you are looking for
-
First user(on ipad) is successful in logging in via Mobile Iron Secure Sign-In. First user logs out. Second user logs in. Second user is quarantined, shows not compliant. WLC and ISE shows first user instead of the Second user. To resolve this is
-
How do I fix the apple sync notifier error
Everytime I start my computer I get this Apple sync notifier error. How do I fix this? I have an ipod touch and I've uninstalled and reinstalled itunes and it still isn't fixed.
-
How do i remove a stadard word from a spell check dictionary?
even thought its a real word and spelled correctly i want to be highlighted if i type it. I'm using the standard English(united states) dictionary. i also have low technical skill. i meant to type "dog" but i actually typed "dong" and it lead to some
-
TS3367 Error in Activation after install ios 6.1.3
sir i am install latest version of ios 6.1.3 in my iphone 3GS, after installation i doesn't activate with itunes and everytime shows we are unable to process you request for activation at this time" please help me to activate my iphone 3GS
-
Auth. resrict creation of variants in Selection screen of BEX
Hi Gurus, Do you know how I can restrict users from creating variants in the BEX? Thanks!