Connect SAP and Xcelsius
Hi,
I want to connect to SAP from Xcelsius to get the latest data refreshed in Xcelsius.
One option is to create a OLAP universe and then access it using the Qaaws. But I want to find out if I can connect without making the universe. One example would to have a SAP RFC called from Excel/VBA.
Has anyone tried this approach or any other approach? Pls. let me know.
Hi Mandar,
Xcelsius is so new that almost no one know how to do it. I think the following info is helpful to you.
Install Part #1
/people/ingo.hilgefort/blog/2008/09/17/businessobjects-and-sap--installation-and-configuration-part-1-of-4
Install Part #2
/people/ingo.hilgefort/blog/2008/09/17/businessobjects-and-sap--installation-and-configuration-part-2-of-4
Install Part #3
/people/ingo.hilgefort/blog/2008/09/17/businessobjects-and-sap--installation-and-configuration-part-3-of-4
Install Part #4
/people/ingo.hilgefort/blog/2008/09/17/businessobjects-and-sap--installation-and-configuration-part-4-of-4
SAP Authentication
/people/ingo.hilgefort/blog/2008/09/19/businessobjects-and-sap--configure-sap-authentication
Regards
Jonas
Similar Messages
-
Simple example of connecting SAP and VB
Hi Experts
Can anyone help me providing material or simple example program of connecting SAP and VB for data transfer.
Its being a tough task for me, pls help me out.
Thanks in advance.
Regards
RajaramForm VB.NET appliaction you have two ways to connect to SAP system and execute BAPI. Either through webservices or by using NCo. Choice depends upon you appliaction requirement.
For starting with NCo go through
http://help.sap.com/saphelp_nw04s/helpdata/en/a9/4a57c1bac80e4e977d8cd9b3ecab89/frameset.htm
OR
THIS IS ANOTHER WAY TO LOGIN TO SAP THROUGH VB TRY THIS.
Logon with the SAPLogon control, Use an RFC call from the SAP Function
Control, and get the results with the SAP Table Factory Control. . .
You must have SAPGui's FULL install on your machine for this to work (Or at
least SAPLogon and the RFC toolkit)
This VBScript example might help, it calls RFC_READ_TABLE in sap, and emails
the results back to a user from a selected query (In this case uses that are
locked out.
This should show you how this could work in practice.
Thanks,
Will
' Email Locked out SAP users details to user in a .csv file through MS
Exchange / CDO
Dim ctlTableFactory, RFC_READ_TABLE, eQUERY_TAB, tblOptions, tblData,
tblFields, funcControl, objConnection, ctlLogon
Set objFileSystemObject = CreateObject("Scripting.FileSystemObject")
Set ctlLogon = CreateObject("SAP.LogonControl.1")
Set funcControl = CreateObject("SAP.Functions")
Set ctlTableFactory = CreateObject("SAP.TableFactory.1")
Set objWindowsScriptShell = CreateObject("WScript.Shell")
Set objConnection = ctlLogon.NewConnection
Set filOutputobjFileSystemObject.CreateTextFile("E:\SAP Scripts\LockedUsers.CSV", True)
objConnection.ApplicationServerobjWindowsScriptShel l.RegRead("HKLM\Software\AccantiaEDI\SAPServer")
objConnection.SystemobjWindowsScriptShell.RegRead(" HKLM\Software\AccantiaEDI\SID")
objConnection.SystemNumber = "00"
objConnection.ClientobjWindowsScriptShell.RegRead(" HKLM\Software\AccantiaEDI\SAPClient")
objConnection.Language = "EN"
objConnection.UserobjWindowsScriptShell.RegRead("HK LM\Software\AccantiaEDI\SAPSAPUser")
objConnection.PasswordobjWindowsScriptShell.RegRead ("HKLM\Software\AccantiaEDI\SAPSAPPassword")
booReturn = objConnection.Logon(0, True)
If booReturn True Then
'MsgBox " Cannot log on! "
'MsgBox booReturn
filOutput.WriteLine "ERROR CALLING LOGGING INTO SAP - FAILED LOGINS
UNKNOWN"
Stop
Else
'MsgBox " Logon OK."
funcControl.Connection = objConnection
Set RFC_READ_TABLE = funcControl.Add("RFC_READ_TABLE")
Set strExport1 = RFC_READ_TABLE.Exports("QUERY_TABLE")
Set strExport2 = RFC_READ_TABLE.Exports("DELIMITER")
Set tblOptions = RFC_READ_TABLE.Tables("OPTIONS") '
Set tblData = RFC_READ_TABLE.Tables("DATA") '
Set tblFields = RFC_READ_TABLE.Tables("FIELDS") '
strExport1.Value = "USR02"
strExport2.Value = ","
tblOptions.AppendRow
tblOptions(1, "TEXT") = "LOCNT > 0 OR UFLAG = 128"
tblFields.AppendRow
tblFields(1, "FIELDNAME") = "BNAME"
tblFields.AppendRow
tblFields(2, "FIELDNAME") = "LOCNT"
tblFields.AppendRow
tblFields(3, "FIELDNAME") = "UFLAG"
If RFC_READ_TABLE.Call = True Then
If tblData.RowCount > 0 Then
filOutput.WriteLine "UserName,FailedLogins,LockedFlag"
' MsgBox tblData.RowCount
For intRow = 1 To tblData.RowCount
filOutput.WriteLine tblData(intRow, "WA")
Next
Else
filOutput.WriteLine "NO FAILED LOGINS OR LOCKED USERS"
End If
Else
filOutput.WriteLine "ERROR CALLING SAP REMOTE FUNCTION CALL -
FAILED LOGINS UNKNOWN"
End If
End If
Set filOutput = Nothing
MailProfile = "MS Exchange Settings"
Set objSession = CreateObject("MAPI.Session")
LogonOK = objSession.Logon(MailProfile)
Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = "SAP Users Report - Locked Users + Failed Logins"
strSetMessage = "There are " & tblData.RowCount & " users that are
either locked due to failed logins, or have at least 1 failed login attempt
on system " & objWindowsScriptShell.RegRead("HKLM\Software\Accant iaEDI\SID")
& vbcrlf &
reward if useful -
Can we connect to SAP from Xcelsius using Web services or any other method without having the SAP universe?
Also we do not have any other BO XI infrastructure also. So any methods to connect other than these, most welcome.
Edited by: Mandar Kunte on Apr 2, 2009 1:01 PMHi Mandar,
ITs possible to connect SAP to Xcelcius. Check the link below,
[Crossdomain.xml issue - Accessing SAP from adobe FLEX;
Also, Its possible to connect SAP BI Queries to Xcelcius. I have a document, if you are interested send me ur email id. I can send that too.
Regards,
Praveen -
Using CR and Xcelsius with SAP BW - what is the minimal installation?
Hi,
If this question is allready asked and answered several times i appologize.. but I'm having a hard time finding the correct information.
Our situation is that we run an SAP ERP and SAP BW solution with a federated SAP Enterprise Portal on top. The users require more graphical solutions for both static reporting and dynamic dashboards. So we want to use Crystal Reports and Xcelsius to provide frontend interface, but we want to do as little as possible backend, i.e avoid installing a full BO server with roles etc.
I appriciate that we need SAP NW EhP 1 SPS 5 to load data directly into Xcelsius and the BO integration kit transports have to be loaded into the BW system for full CR connectivity.
The problem that I'm having a hard time finding anwsers to is if this setup is capable of storing and and distributing the CR reports and dashboards to endusers? Can CR reports be stored on the BW server? Or can the CR reports and the dashboards be stored in the KW part of the portal?
Another partly related question, what desktop tool does the enduser need to run CR reports that updates with data from the BW server?
Alot of customers will have an SAP environment without any BO server/tools. Naturally we want to change as little as possible. A guide to what is needed for each BO BI tool to be implemented on SAP BW would be appriciated.Hi
for the CR reports you need a BO Enterprise (or BO Edge) installation. The access to the BOBJ server is done transparently for your SAP BW users (they are able to start their reports in SAP GUI) but the reports are not stored on the SAP system rather in the BO repository.
Regards,
Stratos -
CR2008 connectivity issue with BOE Universes(sap and non sap universes)
Hi Experts !!
Recently we tried to build/connect to a Universe in Crystal Reports2008 via 'Make a new connection tab'.
The universes are of SAP BW or non SAP Lying in BOE Servers and we are trying to build reports on them by conncting/utilizing the universes as a database for Crystal Reporting.
Our issue is most of the time we are not able to connect to the Universes and the connectivity blows out by some 'communication Error' thing initially.
While at some other points in time, the connectivity takes us to the Universe and we are able to select few characteristics and key figures from the Universe but the moment we go futher and try to run by pressing 'OK' button it blows out and say' LOGON FAILED'.
Apparantly, it is an connectivity issue with BOE server and from the different blogs it looks like it is a known issue for long.
The proposed issue resolution were like either CR2008 should be SP2 with BOE SP3 or there should be some additional .dll files defined in the paths in case of MSSQL database. None of this applies to us as we are on CR2008 with SP3 and going back to SP2 is probably not a viable option for us, and we are using Oracle as underlying database in this specific case.( i would like to tell you here that we are able to connect to Oracle Database directly though).
We have raised a message with SAP and was just wondering if we do have some solution/workaround already available to this known issue in place please?
Thanks&Regards.
Edited by: AMIT GHILDYAL on Aug 1, 2011 2:41 PM
Edited by: AMIT GHILDYAL on Aug 1, 2011 2:44 PM
Edited by: AMIT GHILDYAL on Aug 1, 2011 3:14 PMHi Amit,
Moved to Universe Forum.
If you have a case logged then no point posting here also, this is a public site and not a case management tool.
Once you do get the solution from your case please post it here also to help others if they have the same problem.
Thank you
Don -
Error Connecting SAP Business One and Crystal Report
Hi All,
I installed Crystal Report 2008 on my system for creating a report in Crystals.
I clicked on "New Report" and it opened a window called "Database Exert." However, when I look in the Database Expert, I cannot see "SAP Business One" in it. How can I connect SAP Business One 8.8 with Crystal Report?
Regards,
Bharath SHi
On your computer, locate the Crystal folder according to the following directory path: C:\Program Files\SAP\SAP Business One\Crystal. Then double-click the file: SAP Business One Crystal Report Integration Package.exe. and follow the step of the setup status screen.
Regards
Christian Carrasco -
Connect SAP R/3 and BW to Crystal Reports
Hello,
I am trying to connect crystal reports to SAP R/3 and BW
I have installed the SAP XI Integration for SAP solutions kit. I have zipped all the files to a folder on my local machine. What do I need to do now to make this work? If anyone can give me a step by step direction that is easy, please let me know! I have a folder called Transports from the zipped file which has some files in it, however if someone can please explain where I need to go in either crystal or SAP that would be extremely helpful, thanks!
FahadHi,
it would actually help if you would share the error message here as well.
You need Crystal Reports 2008, INtegration Kit for SAP and BusinessObjects Enterprise.
correct - Transports are required as well and need to be installed.
You can find all the details in the Installation and Administration Guide for the SAP Integration Kit on help.sap.com
ingo -
SAP and Non-SAP data to Xcelsius
Hi Experts,
I m new to Xcelsius and i a m currently working on Xcelsius project, i need help on approach to bring both SAP and Non-SAP data to Xcelsius. Here the scenario goes on....
Total 6 plants are there, out of 6, 4 plants are on SAP and other 2 plants are on Non-SAP (Excel)
The requirement is to develop a dashboard to see all the plants details (both SAP and Non-SAP)
The approach i suggested for SAP: ECC --> BW --> InfoProvider --> Query --> QaaWS --> Xcelsius
For non-sap, data is available in excel, so we can bring that data directly to xcelsius, but problem is how to make it dynamaic because data in excel changes daily.
So my doubt is, if i develop a universe on excel files, then how to combine both SAP and Non-SAP universes. Is Data Federator is required for this or is there any approach to bring both SAP and Non-SAP data to Xcelsius.
Can any one help me on this
Thanks & Regards
Ramakrishna Kamurthyhi
Another approach which i have used in the past is to have data in XML format, placed on a web server. When my data changes daily, i just export my data from excel or whatever source into the XML format..
Use the XML data connector to bring into xcelsius.
thanks.. hope this helps
regards
Jeff. -
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 -
SAP and TAS Connection through Web Services
HI Experts,
we are planning to Integrate SAp and another TAS system using web services (no XI/PI). Please tell me if this way is correct.
XML format of iDoc will be the data format, web service technology will be used to exchange data between SAP and TAS.
To Transfer data to TAS, the client application running on SAP server will try to connect to the web service running on TAS server. Once connection is established, idoc data will be sent to TAS, then the connection will be closed.
To transfer data to SAP, the client application running on TAS server will try to make connection to the web service running on SAP server. Once connection is established, idoc data will be sent to SAP, then the connection will be closed.
tnx and regards
Edited by: Technical Group on Dec 6, 2011 4:18 AMHello,
What will be you Language used for Connection.
One method i may suggest is use ABAP FTP.
With this push the files to a file sever location and read it using webservice.
like wise let webservice generate a file and place a file in location and let ABAP prog pick the file.
this way you can maintain a status flag for the number of records, thus having a staging area.
regards,
Abhishek -
Live/realtime connection between WebI and Xcelsius
Hi,
is it possible to have some kind of a live connection between WebI and Xcelsius for the following scenario...
I need to have my WebI report made availabe as an Xcelsius Dashboard and when I filter a value in the dashboard it should also get filtered in the WebI report. Is this possible and if so then how?
Pls help.
Thanks,
SD
Edited by: Sebastian D'Souza on Feb 22, 2011 11:39 AMHi Sebastian,
Yes this is very possible. Of the three connection methods (QaaWS, Live Office, BI Services) I would recommend BI Services for flexibility, speed to set up, and speed for query refresh times.
Check out this post for a step-by-step guide http://blog.davidg.com.au/2011/03/drill-down-in-xcelsius-using-bi.html
And refer to the Webi Rich Client guide in the section "Sharing Web Intelligence content with other Web applications" for the full details of how this works.
Hope this helps. -
How connect FLEX and SAP R3 via RFC
Hi all
Can anybody tell me, how to connect the SAP R3 and FLEX via RFC.
Is this possible or can only be via webservice?
Regards and thanks,
morojanWell in theory you could build a flex component that uses the RFC library to call SAP (and viceversa) but it sems like a lot of trouble when you can just use the existing HTTP/XML methods already available.
Cheers
Graham Robbo -
Connect EPM and web portal BPC through SAP router string
Dear Expert,
Please tell me how to connect EMP and web BPC through SAP router string?
thanks so much
hungthHi hungth,
Can you explain more? Do you mean you need a sap support to log on to your BPC web and investigate your BPC issues? If so, you can open HTTP connect connection by following note 592085.
Best regards,
Charlie -
hi all
we are trying to make connection between SAP R/3 and Sybase Unwired plate form.. we have deployed data from R/3 to Sybase using Function Module but still we are unable to update the data of R/3 from Sybase...
Can any One help Us how the data can be updated...
We want to update the Header data of a Notification For this we have code a Function module in SAP R/3..
I m giving U the code Of Function module please chk that code and reply us how the header data can updated. in my Function module I m gettin Some Problem
The code are as Follows....
Import Tab :-
Notif Type Qmnum ( chk Bos Pass Value)
Export Tab :--
TT_data type Znotif_data ( whr ZNotif_data is a table type and having data element with name Qmnum Qmart priok ernam Etc...)
Source Code :---
FUNCTION Z_NOTIF_GET_DETAIL1.
*"*"Local Interface:
*" IMPORTING
*" VALUE(NOTIF) TYPE QMNUM
*" EXPORTING
*" VALUE(TT_DATA) TYPE ZTT_NOTIF
select qmnum
qmart
priok
ernam
qmdat
from qmel
into table tt_data
up to 1000 rows.
data : it_tlines like tline occurs 0 with header line.
data : it_text1 like thead occurs 0 with header line.
data : x_header type thead.
x_header-tdobject = 'feature'.
x_header-tdname = '99999996020000'.
x_header-tdid = 'head'.
x_header-tdspras = 'D'.
loop at it_tlines.
it_tlines-tdformat = '*'.
it_tlines-tdline = it_text1-tdtxtlines.
append it_tlines.
endloop.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
* CLIENT = SY-MANDT
HEADER = x_header
INSERT = ' '
SAVEMODE_DIRECT = 'X'
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
* IMPORTING
* FUNCTION =
* NEWHEADER =
TABLES
LINES = it_tlines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
commit work and wait.
update stxh set tdobject = 'D'
where tdobject = notif.
*UPDATE qmel SET indtx = 'X' WHERE qmnum = notif.
ENDIF.
ENDFUNCTION.
I have added the tdobject, tdname and tdid data elemnet in that table type
please reply we need it
Edited by: Thomas Zloch on Apr 25, 2011 2:01 PM - code tags added, exclamation marks removedSolved this on my own, we need to create RFC Function module and Update/Modify data query in that when we need to update data in SAP tables.
Connection is depends on RFC Function Module.
Sample inbuilt RFC's in SAP :
1. MAM30_011_GETLIST
2. MAM30_011_GETDETAIL
3. MAM30_011_CHANGE
Connection Property we need to maintain in SAP connection in Sybase.
Also We need Client Details, Server Machine Name, Connection IP and User Name and Password of User by Which we can test Connection.
Thanks
Ram -
How to or Step by step to connect SAP ECC and Data Integrator
Hi,
I need a document How to or Step by step to configure and connect SAP ECC 6.0 and Data Integrator or Data Services.
someone help me?
thanks!!Antonio,
Please find the detail guide step-by-step document for different connectivity types at this following link on SDN under business Object section.
[http://wiki.sdn.sap.com/wiki/display/BOBJ/ConnectingtoSAP]
Thanks,
Ashok
Maybe you are looking for
-
New here and new to Vista. I was told last week that though Oracle does not support Vista that many have it and have not had problems. I use the Siebel On Demand and work from a company from home. Just got this computer this weekend and though I can
-
Converting the amount into words in different languages
Hi All, Is there any FM to convert the amount into words in a specific language. SPELL_AMOUNT FM is not working for some of the languages like portuguese, etc.. Any idea on this. Thanks in Advance.
-
Hi all, I am using DynPage for my development. I have 6 iViews in a page.1 iView will be in left side,and the other iViews are in right side(same position). based on the user click the link from left iView,I have to make visible the other iViews in r
-
Configurable data-source in orion-ejb-jar.xml
Hi, In my orion ejb-jar.xml file, I have hard coded data-source entries for all entity beans , i.e. <entity-deployment name="Customer" data-source="jdbc/slldev02DS" table="CUSTOMER"> Is there any way, I can make this customizable, i.e. feed in or def
-
Help! Can't open Labview program with MATLAB codes !!!
They used to work! But today I just can't open any LabView program with MATLAB codes in. This also happened some time ago, but after a day I tried again, it went back to normal. Can anyone help me fix it? Many thanks !!!