Extracting data from multiple datasources through DAC
We have to extract data from two Oracle datasources (GL datasource 1 and GL datasource 2) by DAC client to one Datawarehouse. We have configured DAC for one datasource and it is working fine. How can we add another datasource into the same DAC client.
Neeraj
You will need to update the Source DB connections in both the DAC and Informatica Workflow before you want to load the DW with the other GL Database. You will contnuously have to switch these configuration settings or stand up another DAC Server, Repository and Client that point to the same Datawarehouse.
Similar Messages
-
How to extract data from multiple tables (always got errors)
Dear Experts,
I have a simple mapping to extract data from multiple tables as a source (A, B, C) to a target table (X). Below is the picture:
(Sources)....(Target)
A----------------***
B----------------X
C----------------***
Sample Source Data:
Table A:
ColA1
100
200
etc
Table B:
ColB1 ColB2 ColB3
10 Y Ten
20 Y Twenty
30 Y Thirty
etc
Table C:
ColC1 ColC2
11
12
13
etc
Target table (X) should be (just has 1 group INGRP1):
ColA1 ColB1 ColB3 ColC1
100 10 Ten 11
100 10 Ten 12
100 20 Twenty 21
etc
Scenarios:
1. Directly map from A, B, C to X. Unable to map with error message: "API8003: Connection target attribute group is already connected to an incompatible data source. Use a Joiner or Set operator to join the upstream data first before connecting it into this operator."
2. Map each source to Expression Operator and then map from each Expression to target table. I am able to map all attributes successfully but got error when validating it with message: "VLD-1104: Attributes flowing into TEST.EXPR_SRC.INGRP1 have different data sources."
How can I achieve the correct mapping for this purpose?
Use Joiner? I have no key to join the sources
Use Set? The sources have different number of columns
Thanks in advance
PratThanks Nico,
I think it will results data like this:
100 10 Ten 11
200 20 Twenty 12
300 30 Thirty 13
etc
and not the expected:
100 10 Ten 11
100 10 Ten 12
100 20 Twenty 21
etc
But it inspired me to solve this by adding key expression in each source table (B & C) to be joined to table A with this formula:
100+TRUNC(INGRP1.COLB1,-2)
Regards
Prat -
Error while extracting data from Generic datasource
Hello Gurus,
I have encountered an error "Errors in source system" with status red while extracting data from generic datasource into DSO.
I have done below things:-
1. Checked the jobs in source system, the job is successfully completed
2. The generic datasource is active and supporting delta with calender day in source system.
3. No TRfc error and no idocs stucked.
4. No short dumps in source system.
5. The delta queue(RSA7) is showing 0 with status as green.
6. Replicated the datasource On BW side and also activated the transfer rules by RS_TRANSU_ACTIVATE_ALL
The problem has not yet solved. Could you guys please suggest me what might be the reason for this error......
Thanks,
SonuHello,
I have used the generic delta using calender day.
Safety upper limit : - 1
Safety lowerr limit : - 0
I have made the entries in va01 transaction, but the delta queus is not getting updated which should show 1.
Do Generic extraction require any job to transfer data from Database table to delta queue.
We are not able to get the delta records on BW side. Please suggest.
Please suggest.
Thanks,
Sonu -
JDBC-XI-FILE scenario. How to extract data from multiple tables
Hi,
At this moment I didn't have the access for XI system. So here I have some silly question. Could you please clarify the same ??
If I got to extract data from single table using JDBC adapter I can put the below query in communication channel
SELECT *FROM orders WHERE new='true'.
But if I got to extract data from multiple tables, logic to be used should be like as shown below. ( from previous thread------prabhu).
SELECT <Table_2>.EID, <Table_2>.FName, <Table_2>.LName, <Table_1>.REC_DAT, <Table_1>.DESCRP
FROM <Table_1> INNER JOIN <Table_2> on
<Table_1>.CARDNO = <Table_2>.CARD
where REC_DAT = <condition>
union
SELECT <Table_2>.EID, <Table_2>.FName, <Table_2>.LName, <Table_1>.REC_DAT, <Table_1>.DESCRP
FROM <Table_1> INNER JOIN <Table_2> on
<Table_1>.CARDNO = <Table_2>.CARD
where REC_DAT = <condition>
But my query is ........how to put the above entire code in one line. (i.e in Qery place of communication channel ) ??
Thanks
KumarHi Palnati,
You either use a select query with join or a stored procedure which will contain the logic to extract the data from multiple tables. But, the limitation in case of stored procedure is u can hv only one selct query in it.
You write ur actual query provided in the parameter 'Query SQL Statement". u can also wrt a stored procedure in it. Also, u can provide a update statement in it which will update a certain flag so tht u don selct the data again.
Check the following link
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm</a>
Regards,
Akshay
Message was edited by:
Akshay Salunke -
Does ODI has ability to extract data from multiple tables
We have requirement using ODI to extract data from multiple tables depending on certain logic and spool 100+ files.
How efficient ODI is in data extraction from several multiple tables especially when the extraction is dependent on certain business logic conditions ? Also, if anyone used Peoplesoft Application Engine process to extract volumes of data, how efficient Peoplesoft Applicaiton Engine process is as compared to ODI ? I will really appreciate if someone throws some light on this ? Thanks in advance.
RamOne more option
Create two Integration Interfaces and launch them sequentially:
1st Interface : select a IKM ... Append and activate the Distinct rows check box.
2nd Interface : select an IKM ... Incremental Update and set the UPDATE option to No.
Be aware that the update key in this Integration Interface should be composed of all the target columns mapped. Also activate the Distinct rows check box.
Thanks,
Sutirtha
Edited by: Sutirtha Roy on Jul 21, 2009 10:08 AM -
Extracting data from multiple tables using DB connect
Hi,
I am having different tables which are having the same structure in oracle database but there names are different.Now i have only one datasource at BI side.This datasource shld extract data from the tables dynamically.How can i do it using DB Connect .
Thnxsahh I see - problem as you said then is if you then take on a new location!
I would then put into the source system a table identifier and create a view across all the tables
Then dbconnect from the view and use the selection parameter of table parameter if you wanted one infopackage per "location"
If you do need to have a new table in the source then just expand the view and create a new ipak
hence NO bw changes required that need a dev-q-p transport - just the ipak in prod and it;s the source systems problem to add the extra table to the view -
Fetching data from multiple datasources
Hi,
I want to fetch data from different datasources to a single cube.
What would be the pre-requisites for carriying out the activity.
Awaiting kind advise.
Thanks
Edited by: gskitu on Mar 7, 2012 6:51 PMHi
There r no prerequisites to your requirement . How ever we have different data flows for your requirement as 1. multiple data source to different info sources or transformations to a single cube 2. multiple data sources to single info source or transformation to a single info cube . Any way regarding data flow complexity , second approach is easier one ......
Thanks.
Rajendra. -
Unable to extract data from 0HR_PA_PD_2 datasource
Hi,
I am extracting the data from 0HR_PA_PD_2 (Appraisals) datasource to the cube 0PAPD_C02 (Appraisals).Though the data available in R/3 (83 records,checked in RSA3) it is giving the message "No data available in the source system".I checked the RFC connection,IDOCs,SM58 for any message.But everything is fine.In the status tab ,it is showing "Info IDoc received with status 8".But the data is available in R/3.
Please help me if any one faced this type of issue or is there any other steps has to be followed.
Thanks & Regards,
Dinakar.Hi Dinakar,
Check Roberto's reply in this thread... It might help you...
Re: Problem in InfoPackage for Billing Document Item Data(2LIS_13_VDITM)
Also check these related threads...
Info IDoc received with status 8. - extracting data from R/3 -co-pa
Info IDoc received with status 8. - extracting data from R/3
error while doing init load ..Idoc received with status 8
Info Idoc received with status 8
Regards,
KK. -
Extracting data from multiple tables based on somelogic on each tables
Hai
I need to extract data from some base tables.
1) first i need extract COMPANYCODE, PROFIT CENTER , PRODUCT from ZRLR custom Rl3-table.
2) Then i need extract MATERIALS based on above selected COMPANY CODE , PROFIT CENTER , PRODUCT from MKAL , CRHD Base R/3-Tables.
3) Then i need to extract the MATERIALS based on the above PROFIT CENTERS from MARC table with filters Material Type = 2P , 3P, 2N, 3N , 2S.
How i extract like this data . Please let me know
kumarHi,
you need to create a generic extractor using a function module for this. For some help check this: /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Additionally you can get a template from me. You'll find my email in my business card.
regards
Siggi -
Pulling/Extracting Data from Multiple SAP Systems - Scripting, ABAP?
Hello All,
I am working as an analyst for a large company that has multiple SAP installations across the world. What I am trying to do is create some global reporting metrics based on data from all of those systems on an ad-hoc basis without having the other units send the data to a central repository. I can receive access to all of the systems but I am unsure how to pull the data. The access to one of the systems I have currently does not allow the use of ABAP or RFC but does allow scripting. If I have a good business case I could ask for ABAP access and RFC as well.
I have researched and read through many posts and articles within the forums but I am yet to find a solution. I have experience in VB, VBA, and MS Access.
Can anyone suggest any ways to move forward?
Thanks!According to my understanding, you may use vba in your excel or a just vb by programming against rfcsdk(librfc32.dll) or the newly nwrfcsdk, or use jco or nco..., but all these method are based on rfc function call.
You may write a simple abap side data extraction agent, just a function select some table with the data you interest, and then call this function from outside regularly, then you may save the returned table to a csv then bcp to sqlserver(c + batch), or just write to excel sheets(vba).
The simple table read function you may check RFC_READ_TABLE, but it has some limits and are not released. The more functional agent is also can be found from other vendors, eg ms sqlserver2005 kit`s sap adapter...
I do not have idoc or services experience, maybe in that senerio you will find a easier solution.Good luck, you may reach me at <b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo -
Hi,
I have to implement the following scenario in SSIS but don't know how to do since I never worked with SSIS before. Please help me.
I have 20 different text files in a single folder and 20 different tables corresponding to each text file in SQL Server 2008 R2 Database. I need to extract the data from each text file and
load the data into corresponding table in Sql Server Database. Please guide me in how many ways I can do this and which is the best way to implement this job. Actually I have to automate this job. Few files are in same format(with same column names
and datatypes) where others are not.
1. Do I need to create 20 different projects ?
or
Can I implement this in only one project by having 20 packages?
or
Can I do this in one project with only one package?
Thanks in advance.As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
Public
Sub Main()
' Add your code here
Dim f1
As FileStream
Dim s1
As StreamReader
Dim date1
As
Object
Dim rline
As
String
Dim Filelist(1)
As
String
Dim FileName
As
String
Dim i
As
Integer
i = 1
date1 =
Filelist(0) =
"XYZ"
Filelist(1) =
"123"
For
Each FileName
In Filelist
f1 = File.OpenRead(FileName)
s1 = File.OpenText(FileName)
rline = s1.ReadLine
While
Not rline
Is
Nothing
If Left(rline, 4) =
"DATE"
Then
date1 (i)= Mid(rline, 7, 8)
i = i + 1
Exit
While
End
If
rline = s1.ReadLine
End
While
Next
Dts.Variables(
"date").Value = date1(1)
Dts.Variables(
"date1").Value = date1(2)
Dts.TaskResult = ScriptResults.Success
End
Sub -
Extracting data from multiple tables, avoiding duplicates.
Hi
I currently have two tables called Book and JournalPaper, both of which have a column called Publisher. Currently the data in the Publisher column is the Publisher name that is entered straight into either table and has been duplicated in many cases. To tidy this up I have created a new table called Publisher where each entry will have a unique ID.
I now want to remove the Publisher columns from Book and JournalPaper, replace it with an ID foreign key column and move the Publisher name data into the Publisher table. Is there a way I can do this without duplicating the data as some publishers appear several times on both tables?
Any help with this will be greatly appreciated as my limited SQL is not up to this particular challenge!!!
JudeJude,
SQL> create table book as
2 select 1 id, 'Book 1' name, 'A' publisher from dual union all
3 select 2 id, 'Book 2' name, 'B' publisher from dual union all
4 select 3 id, 'Book 3' name, 'A' publisher from dual union all
5 select 4 id, 'Book 4' name, 'B' publisher from dual
6 /
Tabel is aangemaakt.
SQL> create table journalpaper as
2 select 1 id, 'Journal Paper 1' name, 'A' publisher from dual union all
3 select 2 id, 'Journal Paper 2' name, 'B' publisher from dual union all
4 select 3 id, 'Journal Paper 3' name, 'C' publisher from dual union all
5 select 4 id, 'Journal Paper 4' name, 'C' publisher from dual
6 /
Tabel is aangemaakt.
SQL> select * from book
2 /
ID NAME PUBLISHER
1 Book 1 A
2 Book 2 B
3 Book 3 A
4 Book 4 B
SQL> select * from journalpaper
2 /
ID NAME PUBLISHER
1 Journal Paper 1 A
2 Journal Paper 2 B
3 Journal Paper 3 C
4 Journal Paper 4 C
SQL> create sequence publisher_seq start with 1 increment by 1
2 /
Reeks is aangemaakt.
SQL> create table publisher
2 ( id number
3 , name varchar2(50)
4 )
5 /
Tabel is aangemaakt.
SQL> insert into publisher
2 select publisher_seq.nextval, publisher
3 from ( select publisher from book
4 union
5 select publisher from journalpaper
6 )
7 /
3 rijen zijn aangemaakt.
SQL> alter table publisher add constraint publisher_pk primary key (id)
2 /
Tabel is gewijzigd.
SQL> alter table book add (publisher_id number)
2 /
Tabel is gewijzigd.
SQL> alter table book add constraint book_publisher_fk
2 foreign key (publisher_id) references publisher(id)
3 /
Tabel is gewijzigd.
SQL> alter table journalpaper add (publisher_id number)
2 /
Tabel is gewijzigd.
SQL> alter table journalpaper add constraint journalpaper_publisher_fk
2 foreign key (publisher_id) references publisher(id)
3 /
Tabel is gewijzigd.
SQL> update book b
2 set b.publisher_id = (select p.id from publisher p where p.name = b.publisher)
3 /
4 rijen zijn bijgewerkt.
SQL> update journalpaper j
2 set j.publisher_id = (select p.id from publisher p where p.name = j.publisher)
3 /
4 rijen zijn bijgewerkt.
SQL> alter table book drop column publisher
2 /
Tabel is gewijzigd.
SQL> alter table journalpaper drop column publisher
2 /
Tabel is gewijzigd.
SQL> select * from publisher
2 /
ID NAME
1 A
2 B
3 C
SQL> select * from book
2 /
ID NAME PUBLISHER_ID
1 Book 1 1
2 Book 2 2
3 Book 3 1
4 Book 4 2
SQL> select * from journalpaper
2 /
ID NAME PUBLISHER_ID
1 Journal Paper 1 1
2 Journal Paper 2 2
3 Journal Paper 3 3
4 Journal Paper 4 3Regards,
Rob. -
Data Upload from Multiple DataSource
Hi All,
How can i upload data from multiple datasources to a single Cube in BI 7??
Kindly provide step by step procedure.
Regards.Hi,
In BI 7 you still have both data flows present, You can either use the old 3.5 dataflow or the new BI 7 dataflow.
SAP has still allowed organizations to use the old 3.5 dataflow till they convert over to the newer flows so that the production dosen't disturb. Its takes some efforts to convert the 3.5 data flows to the 7.0 flows.
So, the way its usually done is, a technical upgrade is done. Then existing modules are converted over to the 7.0 dataflows in a phased manner. Any newer projects that come along are carried out with the 7.0 functionality.
Even if you install business content in a 7.0 system, you'll get 3.5 objects. You need to convert them over to the 7.0 versions.
Cheers,
Kedar -
Extract data from datasource 0APO_MSP_CHECK_ORDER error
Hi,expert. Happy new year. I met a problem today,when I use TCODE RSA3 to extract data of datasource ,0APO_MSP_CHECK_ORDER,I got an error.
1. Follow-up error
Follow-up error
Message no. /SAPAPO/OM_ERROR184
2. om_other_failed
( om_other_failed )
Message no. /SAPAPO/OM012
So, I can't extract data from this datasource.
The datasource 0APO_MSP_SLOT had the same error too.
PLZ help me. Thank you very much.
Happy new year.It has been solved.
-
FM to extract data from Datasource
Hi,
Can any one of you suggest me an idea or let me know where to start and how to start ?
I want to write a ABAP code/ create a Function Modules which extracts data from a DATASOURCE be it any on condition(say date) and the output given should be filtered on some fields
Does a standard datasource be extracted using a custom FM?
Are there any standard FM to do this?Hi,
go to the TX- SE80 and create the function group.
after take the FM - RSAX_BIW_GET_DATA_SIMPLE
please look at the below doc it will help.
Generic Extraction based on Function Module
Thanks,
Phani.
Maybe you are looking for
-
Photo Albums Take FOREVER to View in iWeb and Internet
I have been waiting for the past 10 minutes for iWeb to bring up my family photo album for me to add photos. This has been getting worse and worse as I post more family albums to our site. It is now 15 minutes since I tried to open-edit-add an album
-
Payload namespace clarification
Hi, <?xml version="1.0" encoding="UTF-8"?> <ns0:MT_SAMPLE xmlns:ns0="urn:ns_lisa_impl_rad"> <NAME/> </ns0:MT_SAMPLE> This my default Payload. can anyone explain me what is "ns0" mean in this payload? can we change it? Thanks, RPN Edited by: RPN on
-
Upgraded to Adobe Photoshop CC now Bridge won't recognize my camera
I upgraded from Adobe Photoshop CS6 to Adobe Photoshop CC 2014. Now Bridge does not recognize my NIkon D80 & D90. When I try to upload my photos it says...None Detected "No Device Found". I have used this downloader for years with no problem.
-
Z10 regularly on silent??
Almost every day that I have this phone, it unexplainably goes on silent despite all the notifications being switched on? If I touch the volume keys on the side of the phone a padlock sign appears. When this padlock sign appears and I receive a phone
-
Hi, I believe this is very simple but I don't know how to do it. I would like to create a new folder on the Finder but where the Application, Desktop, Documents, etc are. Are those Smart folder? If so, where do I find more information about creating