Combining two datasources

Hi Experts,
Can anyone tell me how to combine two datasources?
How many datasources(max) can be combined to an infosource?is there any limit?
What is the difference between combining two datasources and creating a generic datsources which has all the fields of the combined ones?
Thanks in advance
Regards
Ganesh Kumar

Hi Ganesh,
As you have suggested one way of combining datasources,  is through infosource, and as far as the number of datasources that can be combined, there is no limit as such.
We generally go for generic datasources when couldn't find any application specific datasource suitable to our requirement provided by sap.
Technically speaking if you have two application specific datasources which you would like to combine, you can do it through the infosource; and if you dont have application specific datasources available and you were to create two generic datasources and combine them, then it would be logical to make one generic datasource with all fields in it.
Hope it was clear..
Regards,
Habeeb.

Similar Messages

  • Best way to join information from two datasources??? pls help

    Guys Please help in understanding the basics of modelling in terms of best practises in SAP-BI
    I have two datasources. One is standard Bussiness content datasources 2LIS_02_ITM ( having PO item level data)  and the other is a generic datasource on table EBAN (having PR details). Now all my report requirements are on both PO and PR information.So i need to club these datasources or its corresponding DSO's  or its corresponding cubes.
    Please suggest the best of the following solutions:
    solution 1 and 2
    2LIS_02_ITM -
    > DSO1 -
    > PO cube
    Gener Datasourceon EBAN -
    > DSO2----
    > PR Cube
    solution one is to go and build multiprovider joining with PR no in either cubes
    solution two is to go and build infoset joining with PR no in either cubes
    solution 3
    2LIS_02_ITM -
    > DSO1 -
    > cube
    Gener Datasourceon EBAN -
    > DSO2
    while populating data from DSO1 to cube we lookup on to DSO2 and read the PR data , thus consolidating both PR and PO data in the cube
    solution 4
    Here i can plan to combine two datasources 2LIS_02_ITM ,Gener Datasourceon EBAN into one infosource.
    (2LIS_02_ITM ,Gener Datasource on EBAN)---->infosource->DSO-->cube
    solution 5
    i can club both PO and PR information at the  r/3 side only into a  view and build a  generic datasource on that... then bring the whole data into one DSO and cube and report on that....
    Please do help me guys.... i will award points to all who adds some imp information.

    Hello Venkata
    We use approach
    1/2 when we have different data comming fromsource and data amount is huge and lot of transformation is there
    3 You can use this approach here but lookup in other ODS is also time consuming also any changes which may be done in future wouldd need corresponding changes in the ODS
    4. We should always use infosource even if BI/7 as it provides very much flexibility and scalability...but when u r combining these two DS you need to make sure u r extracting proper record
    I dont know if you are talking abt extractor enhancement in this point...i would suggest if no. of field to be enhanced is less than u can go for it...
    5. IOfcourse u can create a view but its better to enhance extractor becuae SAP has already provided DS for 2LIS_02_ITM...
    We have done the same thing but we were having only 7-8 PR fields ...so we just enhanced the structure.......
    Thanks
    Tripple k

  • One Query, Two Datasources

    Is there a way to run a query on two separate datasources? I
    would like to compare the data in two separate MS Access databases.
    Thanks.

    You won't be able to combine two datasources in one cfquery,
    so one way might be for you to query each datasource, then compare
    the two results using a Q-of-Q.
    Phil

  • Combining Conditions with two DataSources

    Hello All,
    The following Code is to Set two condition to load my data, but my problem is that they are not combining. Is there a way to put two DataSources to a Condition? Or is there a way to Combined them?
    '//Activates Query
    '// getting the data sources from the form
    Set oDBDataSource = Form.DataSources.DBDataSources.Item("RDR1")
    Set oDBDataSource2 = Form.DataSources.DBDataSources.Item("ORDR")
    '// Query the DB Data source
    '// create a new conditions collection
        Set pConds = New Conditions
        Set pConds2 = New Conditions
    '// (CardCode = inputted Cust No) 
        Set pCond2 = pConds2.Add()
        pCond2.BracketOpenNum = 1
        pCond2.Alias = "CardCode" 'FIELD NAME
        pCond2.Operation = co_EQUAL
        pCond2.CondVal = CCode
        pCond2.BracketCloseNum = 1
    '// Execute the query with the conditions collections
        oDBDataSource2.Query (pConds2)
    '// where clause
    '// (LineStatus = 'O')  //O = Open order//
        Set pCond = pConds.Add()
        pCond.BracketOpenNum = 1
        pCond.Alias = "LineStatus" 'FIELD NAME
        pCond.Operation = co_EQUAL
        pCond.CondVal = "O"
        pCond.BracketCloseNum = 1
    '// Execute the query with the conditions collections
        oDBDataSource.Query pConds
    '// set the user data source data
        For i = 0 To oDBDataSource.Size - 1
            oDBDataSource.Offset = i
            oMatrix.AddRow
        Next i

    Hi Laura,
    I think the discussion in this thread will give you the answer:
    JIONs-Query as MatrixDataSourse
    Regards,
    Frank

  • How to combine two datarows (business component data) in BI Publisher

    Hi ,
    We are using BI Publisher in Siebel Environment.
    We have data coming from two business components (like from 2 diff tables)
    a) <?for-each:ssTest1?>
    b) <?for-each:ssTest2?>
    ssTest1 and ssTest2 are the business components
    We need to combine these 2 datarows (a&b) and show the data into a single combined data row for ex like <?for-each:ssTest1ssTest2?> and show all the fields in that.
    I'm not sure how we can combine these two data rows into a single combined data row and show the data.
    Any help from any one would be apprecated.
    Thanks
    PV
    Edited by: user8633002 on Oct 21, 2010 4:05 PM

    Hi sajid
    There was nothing more description about your issue in this site and I found an issue below is mostly like yours
    http://www.codeproject.com/Questions/855487/how-to-combine-two-table-value-in-rdlc-report
    In the issue above, if you want to show the two other tables in the report, I think you could combine the tables into one datatable joining on key. The link below show an example of a DataSet Helper from Microsoft about combine DataSets. Take note of
    the related content for other DataSet Helper examples. And then you could use the datatable in your RDLC.
    # HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET
    http://support.microsoft.com/kb/326080/en-us
    In an alternative way, I think you could create a view in the database which combine your tables and use it in your rdlc.
    In addition, your issue is about asp.net and you could get more support in the asp.net forum whose link as below.
    http://forums.asp.net
    Best Regards
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Combine two resultset sidebyside in coulmn using mdx

    hi i am new to mdx,
    i want to combine two select statement resultset (side by side like union) using mdx query,please any body help me to solve this query
    first query:
     SELECT
    { [Last Year] }
    ON COLUMNS,
     { {[Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11],
    [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16],
    [Location].[Location].&[9], [Location].[Location].&[18] },{[Location].[Location].[All]}}
    ON ROWS
    FROM [Cube1]
    WHERE ( [Measures].[Labour %] )
    here [Last Year] is a calculated set
    {STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-2) +"-11-01T00:00:00]"):
            (STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-1) +"-10-01T00:00:00]"))}
    2nd query:
    WITH MEMBER [Measures].[Budget ] AS IIF(avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),
                                            avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),0.00),
    MEMBER [Measures].[YTD] AS IIF(avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null))<>null,
                                  avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null)),0.00),
    FORMAT_STRING = "Standard",
    BACK_COLOR = CASE WHEN [YTD] = 0  THEN /*White*/16777215 /*White*/  
    WHEN [YTD] <= [Measures].[Budget ] THEN 65408
         WHEN [YTD]<= [Measures].[Budget ] +5 THEN 65535
         WHEN [YTD]> [Measures].[Budget ] +5 THEN 255
    END,
    VISIBLE = 1
    SELECT
    {  [Measures].[YTD], [Measures].[Budget ] }
    ON COLUMNS,
    { { [Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11], [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16], [Location].[Location].&[9], [Location].[Location].&[18]
    },{[Location].[Location].[All]} }
    ON ROWS
    FROM [Cube1]
    here   ==> [Measures].[YTD], [Measures].[Budget ] are calculated member
    i want result like in
    coulmns===> ytd,budget,nov,dec,jan,feb.,,,,,,,,,,out
    rows ====> are only locations and total(average of all locations)
    please guide me to get solution like mdx query

    Hi Vsp,
    According to your description, you want to create a calculated member to combine two members, and then set it as Default member, right?
    In SQL Server Analysis Services, we can use the script below to create a calculated members.
    create member currentcube.[Date].[Day of Week].[weekend]
    as
    {[Date].[Day of Week].&[6],[Date].[Day of Week].&[7]
    Every attribute in a dimension in Microsoft SQL Server Analysis Services has a default member, which you can specify by using the
    DefaultMember property for an attribute. This setting is used to evaluate expressions if an attribute is not included in a query. Please refer to the link below to see the detail information about specify a default member.
    http://technet.microsoft.com/en-us/library/ms174822(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to combine +two fields without submitting page (via AJAX/HTMLDB_Get)?

    Hi all,
    After my last contribution "Request for Scott Spendolini" I was able to create the scripts to update fields in forms without having to refresh the page. Thanks again to Scott, Carl and the others who helped me solving my problem.
    I have another question regarding this however. How do I combine two (or more) values on a form to fill a field with the values, for instance to create a unique Primary-key field?
    This is the example: combine the postcode and the house-number (and maybe an extension to the housenumber) in one field 'adrescode'. This uniquely identifies an adress in the Netherlands. I can 'get' the postcode to fill the first part of the adrescode, but how do I modify the scripts to 'get' the housenumber (huisnummer) and - if not left null - the extension to the housenumber?
    Here are the scripts I created to far:
    in the region source of the page I have the following Javascript:
    <script language="JavaScript1.1" type="text/javascript">
    function f_P52_getAdrescode ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=P52_getAdrescode',0);
    get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P52_ADRESCODE').value = gReturn  }
    else
    {  html_GetElement('P52_ADRESCODE').value = 'null'  }
    get = null;
    </script>
    and in the shared components of the application I have created an process P52_getAdrescode as follows:
    declare
      l_adrescode varchar2(16);
    begin
        l_adrescode := :P52_POSTCODE || :P52_HUISNR ;
        if :P52_HUISNRTOEVOEGING is null then
              NULL ;
        else
              l_adrescode := l_adrescode ||':'||:P52_HUISNRTOEVOEGING ;
        end if ;
        htp.prn(l_adrescode);
    -- dbms_output.put_line(l_adrescode);
    end;
    I ran this PL/SQL in the SQL-section of HTMLDB and it does what a expect: combine the values in a new string.
    In my page however, it only gets the value of postcode and puts this into the adrescode field.
    So my question is: how do I modify the Javascript (I Guess) so that also the fields 'huisnummer' and 'huisnummertoevoeging' end up in the adrescode field?
    Thanks for your help,
    Jan.

    Carl, Scott,
    I have two pages with exact the same fields and codings (as described before in this Post.
    I now have two different named functions and application processes, a javascript an process for each page. They both do the same thing, use the same code except for the page-number (:P52_ and :P92). I tried to make one process to replace both, but ran into problems when I changed the name in the get.add statement.
    Changing the get.add from: get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value) to: get.add('POSTCODE',html_GetElement('P52_POSTCODE').value) always ends up in what looks like a complete html-(source)dump of the page in the field that has to be updated. Even when I replace the :P52_POSTCODE in the application process as well Changing back the application process and the javascript to so that both javascript and process use the :P52_ again and the function returns the correct value again. What am I doing wrong?
    I requested an online-workspace to post the application to it, but have no answer to my request yet, so I can't provide a working example at the moment....
    Thanks for your help again,
    Jan.

  • How do I combine two user accounts into one account?

    When we originally set-up our iMac, I set-up two accounts for my wife and I. Since then it has been a royal pain with music and applications sharing. How do I merge the two accounts into one?

    I found an answer to this by searching on "merging two accounts" rather than "combining two accounts." BTW, it's a little mini-nightmare if you only use "combine" on both Google and Apple support. At least this post might help others avoid the same fate.
    Here's where to go to find the answer: http://discussions.apple.com/message.jspa?messageID=5629676#5629676

  • Can I combine two pdf files by using command lines?

    Hi
    I always need to combine two pdf files into one in my regular work
    Currently, I open one of them, press ctrl+shift+I,
    find another file and double click it.
    It works but not so efficient since I need to do
    this procedure many times everyday
    So I'm looking for a better solution
    Something like command lines,
    for example:
    acrobat.exe "combine" "doc1.pdf" "doc2.pdf"
    Does acrobat have these functions or not?
    Thx &
    Best Regards

    File > Combine

  • How can I combine two itunes accounts into one?

    How can I combine two itunes accounts into one?

    Items purchased from the iTunes Store are permanently associated with the account from which they were originally purchased.  Apple provides no way to change this.
    However, if you wish to put content from two accounts into a single iTunes library, you can easily do so.  Use the command File > Add File (or Folder) to Library.

  • Is it possible to combine two existing iTune accounts and then cancelling one? Many thanks.

    I am trying to combine two accounts that I have on iTunes (created separately over the years) so as to then delete/cancel one to only have one active account (with all of my combined purchases, etc. on this combined account).
    Is this possible, or is there another way of transfering purchases to one of the accounts and then just deleting the then "empty" one?
    Thanks for any advice / input

    method one from the following support article should do the trick: How to use multiple iPods, iPads, or iPhones with one computer.

  • How do you combine two or more movie clips into one movie clip in iMovie '09

    how do you combine two or more movie clips into one movie clip in iMovie '09

    First create an iMovie project. Then drag the clips (or portions of clips) that you need into the project.
    When finished, use the SHARE menu to share the project.

  • Can I combine two iTunes accounts into one?

    Hello. I have an iPod touch, but to download and install apps, I have to use my dad's account to download. Is it possible to combine two together into one( I just created an Apple ID. ) thanks for answering!0.0

    this Apple article says no:
    http://support.apple.com/kb/he37
    "I have multiple Apple IDs. Is there a way for me to consolidate them into a single Apple ID?
    At this time, Apple IDs cannot be consolidated. "

  • How to join two DataSource in a single InfoSource

    Hello,
    I have got two datasources which both share the same primary key (Field IDCO) and also have several individual fields. For example:
    Datasource 1:
    | IDCO | price |
    Datasource 2:
    | IDCO | amount |
    Now I would like to join both datasources into a single InfoSource that should look like:
    | IDCO | amount | price |
    In plain SQL I would do something like
    Select ... from datasource1 inner join datasource2 on datasource1.IDCO = datasource2.IDCO
    Any ideas how this can be achieved be achieved in the Data Warehousing Workbench?
    Best Regards
    Christoph

    Hi Christoph Außem, welcome to SDN world....
    Steps:
    1. Create a InfoSource with  |IDCO | price | amount -  InfoObjects. then map Datasource 1 with InfoSource here Mapping is like below..
    DataSource1-IDCO = InfoSource-IDCO
    DataSource1-Price  = InfoSource- price
    EMPTY (NULL       )  = InfoSource- Amount
    DataSource2-IDCO = InfoSource-IDCO
    DataSource2-Amount  = InfoSource-Amount
    EMPTY (NULL       )  = InfoSource- Price.
    In this wasy you can map the fields and InfoObjects.
    Thanks
    Reddy

  • Trying to combine two 'lines' to make a 'shape'?

    I've been trying for hours to combine two curves I drew with the pencil tool into a shape that I can fill with a color or gradient:
    http://img199.imageshack.us/img199/4155/flametests01.png
    The top row has the two lines (stroked).   When I move them together, I get a pleasing 'flame' shape that I want to use in a logo.
    The bottom row shows what happens when the two 'lines' are 'filled', and what happens when the flame is 'filled'.   I've tried all manor of grouping, merging, combining....I've lost track at this point....
    I think part of my problem is that I assume the pencil tool would draw lines (or perhaps 'paths' is more accurate?)--but it seems to be drawing 'shapes'.
    I've tried using the pen tool, but the curves are never as smooth as the ones I drew 'freehand'...
    What should I have done / be doing differently?

    Just drag-select the upper two points with the Direct Select tool and use the KBSC CmdOpt-Shift-J to unite the lines. Do the same at the bottom to complete the shape.

Maybe you are looking for

  • Problem using Form's Last_Record()

    I'm trying to append a record to a detail block (in tabular) on my form, by pushing a "AddSelectedRecord" button. The detail block may or may not have records already before appending. I used the following PL/SQL for the button: Declare BEGIN go_bloc

  • Parameter for LOV

    I have a generic lookup table like create table lookup_master name varchar2(50) not null, display_val varchar2(50) not null, return_val varchar2(50) not null Examples are Gener,Male,M Gender,Female,F Marital Status,Unmarried,UN Marital Status,Married

  • Turn off enable disk use Itunes and Ipod

    I had a computer crash and bought a new system as part of restoring the library from my Ipod Nano gen2 to my new computer, I was told to put my ipod in disk mode. Now that the library has been restored how do I get my ipod AND Itunes out of disk mode

  • What happend to "add folder/directory" in itunes

    What happend to the "add directory" in the new itunes for windows?

  • My contact amounts don't match?

    I have 122 contacts on my phone. When I log into iCloud they're only showing 33 contacts. Currently my contacts are the only item I have selected to back up to iCloud but even when I select Back Up Now on my phone, nothing changes in iCloud. I swear