How BW get data from MS SQL server DB?
I got infomation about this from help.com, http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm.
this web told me, when BW application server must be Win NT.BW can get data from MS SQL server DB.
but our BW application server was AIX.
Did you know other solution to this?
Hi,
you need to use the DBConnect or in BI7.0 the UDConnect features.
regards
Siggi
See also: http://help.sap.com/saphelp_nw70/helpdata/EN/a1/89786c3df35c4ea930a994e884bb4c/frameset.htm
or
http://help.sap.com/saphelp_nw70/helpdata/EN/44/bcdce1dcaf56a3e10000000a1553f6/frameset.htm
Edited by: Siegfried Szameitat on Aug 13, 2008 9:16 AM
Similar Messages
-
How to replicate data from MS SQL Server to Oracle
Hi,
Can someone please help me on how to replicate data from MS SQL Server to Oracle 8i database.Dear,
I'm a student.
I do simple replication on Oracle 8.0.5 successfully. (one master site and one snapshot site). I only use the SQL*Plus and Schema Manager to do.
But when I do advance replication (multimaster replication) I meet many problem. So I don't get the result.
Do you show me the technology to do that ?
Thanks ! -
SAP- BPC (MS Version 10.0) : How to get data from MS SQL !!!
Appreciate, if any one can assists regarding data uploading from MS SQL (2005/2008) to SAP BPC - (EPM - 10.0). Thanks.
Hi Deepak,
Thanks for your email. Actually we not using SAP NW, our BaaN ERP database exist on MS SQL (2005). That’s why we have purchased SAP-BPC 10.0 MS version.
Really appreciate if you can assist to resolve this issue.
Thanks,
Nasar Khan -
*Urgent*How to insert data from MS SQL to the table that create at the adobe form?
Hi,
I'm using Adobe life cycle designer 8 to do my interactive form. I would like to ask how to insert data from MS SQL to the table that i have created in my adobe interactive form?
I really need the information ASAP as i need to hand in my project by next week... i really appreciate any one who reply this post.
ThanksTou need to do a couple of things
1. On the Essbase server, set up an odbc system connection to your MySQL database
2. In the load rule , go to the file menu and select open SQL data source and in the data source put in your SQL statement . A couple of hints. Where it says Select, don't put in the word select and where it say from don't put in from. The system adds them for you. The easiest way ti enter a SQL statement is to do it all in the select area So if your SQL would normanlly say select * from mytable just enter the code as * from mytable in the select area
The click ol/retrieve and enter in your connection info. Itshould bring data back into the load rule. Save the load rule and use it -
TRANSFER DATA FROM MS-SQL SERVER TO ORACLE
hello everybody
can anyone tell me how 2 transfer or convert data from ms-sql server to oracle
is there any utility
if yes let me know .
thanks in advanceThere are various options depending on how much data we're talking about, where you want the program logic, whether it's a one-time migration, etc.
Among the options
- Use SQL Server's DTS
- BCP the data from SQL Server into flat files and use SQL*Loader to load it
- Create a database link using Heterogeneous Services and Generic Connectivity to extract data from SQL Server
- Use the Oracle Migration Workbench, which is now integrated into SQL Developer
- Use an ETL tool like Oracle Warehouse Builder
Justin -
Export data from MS sql server table to an oracle table
I need to move data from a sql server table to an oracle table and when ever the sql server table is updated it needs to automatically update the oracle table. Is there procedure to do this or do I migrate the data once and set up a trigger on the sql server table to update the oracle table? If the trigger is the answer how do I do that?
You might want to check out Oracle's heterogeneous services functionality if you haven't done so already. Here are a few links:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/majfeat.htm#sthref74
Also, consulting the Oracle streams manual may be helpful -- particularly Chapter 5.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/toc.htm
Perhaps someone who is more familiar with SQL Server could provide a more helpful answer. -
How to get data from a USB-UIRT device using Labview?
How to get data from a USB-UIRT device using Labview?
I'm trying to get data from a USB-UIRT device, is it posible with Labview?
I really appreciate your help,
thanksYou may want to contact the developer of the device for the API and DLL.
http://65.36.202.170/phpBB2/viewforum.php?f=3 -
Trying to use FTP to get data from a different server
Hi Friends,
I have to use FTP to get data from a different server and upload it on SAP server. Now my problem is when I m trying to do ftp through command line it brings the file but with no data.
Through ABAP program nothing is happening.
Here's my code--
V_PASSWORD = 'test@123'.
V_PWD_LEN = STRLEN( V_PASSWORD ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = V_PASSWORD
SOURCELEN = V_PWD_LEN
KEY = CS_KEY_500098
IMPORTING
DESTINATION = V_PASSWORD.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = 'test'
PASSWORD = V_PASSWORD
HOST = '176.0.1.6'
RFC_DESTINATION = 'SAPFTPA'
IMPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
CHECK SY-SUBRC = 0.
cmd = 'lcd d:\ftp'. .
PERFORM FTP_COMMAND USING CMD.
CMD = 'asc'.
PERFORM FTP_COMMAND USING CMD.
CONCATENATE 'dir' 'ftpt*' INTO CMD SEPARATED BY SPACE.
PERFORM FTP_COMMAND USING CMD.
cmd = 'ls'.
concatenate 'ls' INTO CMD SEPARATED BY SPACE.
PERFORM FTP_COMMAND USING CMD.
cmd = 'mget trial.txt'.
CONCATENATE 'mget' 'trial.txt' INTO CMD SEPARATED BY SPACE.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = MI_HANDLE
COMMAND = CMD
TABLES
DATA = MTAB_DATA1
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
LOOP AT MTAB_DATA1.
WRITE: / MTAB_DATA1.
ENDLOOP.
ELSE.
CONCATENATE 'Error in FTP Command while executing' CMD INTO ERROR SEPARATED BY SPACE.
WRITE: / ERROR.
ENDIF.Hi
try this.....in one of my reqt, i done this successfully....
FORM FTPCON.
FTP-------------------------------------------------------*
CLEAR DSTLEN.
SET EXTENDED CHECK OFF.
DSTLEN = STRLEN( S_PWD ). -
> (S_PWD (password) is a selection screen field )
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = S_PWD
SOURCELEN = DSTLEN
KEY = KEY
IMPORTING
DESTINATION = S_PWD.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = P_USER -
> Username
PASSWORD = S_PWD -
> password
HOST = P_HOST -
> Host
RFC_DESTINATION = P_DEST -
> Destination
IMPORTING
HANDLE = HDL
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = HDL
COMMAND = 'set passive on'
TABLES
DATA = RESULT
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
HANDLE = HDL
FNAME = G_FCNAME
CHARACTER_MODE = 'X'
TABLES
TEXT = T_FILE1
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
HANDLE = HDL
FNAME = G_FCNAME1
CHARACTER_MODE = 'X'
TABLES
TEXT = T_FILE2
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
HANDLE = HDL.
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
DESTINATION = P_DEST
EXCEPTIONS
DESTINATION_NOT_OPEN = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " FTPCON
Hope it helps..... -
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
How to get data from Oracle using Native SQL in SAP.. Problem with date
Hi Masters.
I'm trying to get data from an Oracle DB. I was able to connect to Oracle using tcode DBCO. The connetion works fine
I wrote this code and it works fine without the statement of where date > '01-09-2010'
But i need that statement on the select. I read a lot about this issue, but no answer.
My code is (this code is in SAP ECC 6.0)
DATA: BEGIN OF datos OCCURS 0,
id_numeric(10),
component_name(40),
comuna(10),
record_id(10),
status,
sampled_date(10),
END OF datos.
DATA: c TYPE cursor.
EXEC SQL.
connect to 'LIM' as 'MYDB'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'MYDB'
ENDEXEC.
EXEC SQL PERFORMING loop_output.
SELECT ID_NUMERIC, COMPONENT_NAME, COMUNA, RECORD_ID, STATUS, SAMPLED_DATE
into :datos from lims.SAMP_TEST_RESULT
where date > '01-09-2010'
ENDEXEC.
EXEC SQL.
disconnect 'MYDB'
ENDEXEC.
How can i get the data from that date?? If i delete the where statemet, the program works well, it takes 30 mins and show all the data, I just need the data from that date.
Any help
RegardsPlease refer the example in this link which deals with Oracle date format.
You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804] -
How to get data from subsites list of SharePoint 2010 in ssrs
Hi,
Can someone help me on this issue.
I want to create a report using ssrs, I have some of the data in SQL and some of the data in sharepoint list.
First I need to go to SQL and get the data from the table which contains URL for the subsite in sharepoint.
after that I need to go to all the subsites and go to perticulat list in the subsites and get data from that list.
for example, their is a top level site "abc"
it contains sub site "123", "456","567", etc.. All this sub sites contain a list by name "Sample List", Now I need to go to that sub site list(Sample List) and get list-item column say "created By" which
is created on particular date.
in my report, I need to print the sub site "url/Title" which comes from SQL database and list-item column "Created By" of that sub site list "Sample List".
I tried using subreport inside a report by using "Microsoft SharePoint List" as a datasource, but when it comes to real time we don't know how many subsites will be created, so we can't create a datasource for each subsite site.
I guess we need to be using XML as a datasource, but how can we go to particular subsite in query while using XML, since all subsites have list with the same name ?
I appreciate your help.
Thank you,
KishoreHi Kishore,
SQL Server Reporting Services(SSRS) supports expression-based connection strings. This will help us to achieve the goal you mentioned in this case:
Create a new report
Create a Data Source in the report with the connection string like this:
http://server/_vti_bin/lists.asmx (We use static connection string instead of expression-based connection string now, as it is not supported to get fields based on expression-based connection string in design time. We will change it to be expression-based
connection string later)
Create the data set(as you have done using XML query language). Please use list name instead of GUID in the listName parameter.
Design the report(e.g. Add controls to the report)
Now, let's change the connection string to be expression-based. First, please add a parameter to the report, move this parameter to top. This parameter is used to store the sub site name.
Open the Data Source editor, set the connection string to be: ="http://server/" & Parameters!parameterCreatedInStep5.value & "_vti_bin/lists.asmx"
In the main report, pass the sub site name to the report we created above via the parameter created in step5
That is all.
Anyway, this is actually a SQL Server Reporting Service(SSRS) question. You can get better support on this question from:
http://social.technet.microsoft.com/Forums/en/sqlreportingservices/threads
For more information about Expression-Based connection string, please see:
http://msdn.microsoft.com/en-us/library/ms156450.aspx#Expressions
If there is anything unclear, please feel free to ask.
Thanks,
Jinchun Chen
Jin Chen - MSFT -
Extracting data from a SQL Server to BW
Hi Experts,
Can somebody let me know how to extract data from a NON SAP
SQL Server I mean
1. Creating a Source System
2. Connecting to the SQL server
3. Creating datasources and extraction
Kindly help me its urgent
thank you
arshad.Hi Ingo,
What I suggest is instead of extracting it to a file, can you use the function module which replicates this data to the mobile clients and use this function module to call the select statement. If a mobile client is able to access this info, then it must be doing a RFC call to some system whose logical system would have been in SAP as well. This is an assumption.
May be if you could call the same function to derive the required data instead of extracting it to a file and then uploading it.
Regards,
Srikanth -
How to get data from external source
Hi experts,
I want to get data from a different source e.g. from oracle. How can i get the data in BW??
SamHi Samir
there are different interfaces are available according to the source system.
For Oracle source system you can use DB connect interface.
you can extract data from several data sources to BI
File Interface:: Using this interface, you can access files in ASCII format or CSV format
DB Connect :: You use DB Connect to open other database connections in addition to the default connection and use these connections to transfer data from tables or views into a BI system.
UD Connect :: UD Connect (Universal Data Connect) uses the Application Server J2EE connectivity to enable the reporting and analysis of both SAP and non-SAP data. Using UD Connect, you can access all relational and multidimensional data sources. UD Connect transfers the data as flat data.
BI Service API ::
Web Service for Staging ::You use the Web service to write the data from the source into the PSA. The transfer of data is controlled externally, without placing demand on BI.
You can use this interface in conjunction with real-time data acquisition.
Please assign points if this info helps.
Regards
Vivek.. -
How to get pst from Exchange 2007 server
Hi,
How to get pst from exchange server 2007 & 2010.
Regards
AnilHi,
Do you want to export mailboxes to a .pst file in Exchange 2007 and Exchange 2010?
If so, to export mailbox to a .pst file in Exchange 2007, we can use the Export-Mailbox cmdlet. You can refer to the following article.
How to Export Mailbox Data
http://technet.microsoft.com/en-gb/library/bb266964(v=exchg.80).aspx
To export mailbox to a .pst file in Exchange 2010, we can use the New-MailboxExportRequest cmdlet. For more details about this command, please see the article below.
Create a Mailbox Export Request
http://technet.microsoft.com/en-gb/library/ff459227(v=exchg.141).aspx
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
How to Create PR from exeternal SQL Server through IDOC
Dear all,
I am in trouble while creating PR from exeternal SQL Server through IDOC . although I have created PR from TCODE we19 giving input as well as from function writen below
My scnerio is from external system(Sql) want to send data to sap to create PR return PR No to SQl Server
Not having idea how to do
Basic Type for Idoc : PREQCR01
Message Type : PREQCR
Function Module : BAP_Idoc_Input1
Thanxs in Advanceif you have XI installed,
than it would be easy,
just use JDBC channel->XI->SAP IDOC.
otherwise,
you can export the table from the SQL to CSV file,
and import it with LSMW with IDOC PREQCR01.
Maybe you are looking for
-
ABAP Report Performance Problem
Hello Experts, Check the folowing code and suggest me a solution. IF BSIS-BLART = 'KR'. SELECT SINGLE LIFNR AS LIFNR2 FROM BSAK INTO CORRESPONDING FIELDS OF ITAB WHERE BELNR = ITAB-BELNR AND GJAHR = ITAB-GJAHR. SELECT SINGLE NAME1 AS NAME2 FROM
-
GetSymbolTypeName() is not working after the update??
i just updated into the latest version of Edge. i was debugging when i found out that getSymbolTypeName() is not working anymore. any solution to this?
-
I'm having trounble with PNG transparency in Firefox
After I publish my site I see all the PNG transparency in Firefox but in other browsers the PNG transparency works well. Is there a fix for this?
-
background: this is a brand new itouch. I am attempting to sync it for the first time. I have the latest iotunes sw and it all works fine with my old nano. When I go to sync my itouch, it acts as if it does it, with the progress bar duly noting the s
-
I've been searching threads for days now and nothing i try works I am trying to install CS3 on a G5 Mac, OSX 10.4.11. I have CS on this computer, tried the CS4 trial, decided to stay with CS3 which I am had on a deceased computer that din't have any