Merging data from SAP BEx queries with SQL - Keys are details not Dimension

I have a challenge when trying to merge data from a BEx query and a relational source in SQL Server.
I have a characteristic for Material, with an associated Material key that is a attribute of Material in the BEx query.  On the SQL side I have a Material ID which is they unique identifier.
So when you Merge Dimensions in a WebI report, it is exactly that merging dimensions,  so you link Material from BEx and Material ID from SQL.   However, on the Bex side Material displays a long text field which will never join to the data from SQL which is an ID.  The like for like objects are Material Key in BEx and Material ID in SQL, however, as Material Key from BEx is an attribute to manifests itself in WebI via a universe as a Detail object, which makes it unavailable for merging.
I have tried to set the Material characteristic to display as KEY in the BEx query design, but alas it still comes through as a long text, hence still not able to merge data sets.
Any workarounds ??
Andrew

Hi Andrew,
In universe designer, edit the material key detail object. Copy the text that refers to the characteristic attribute in your BEx query. Create a new dimension (say, 'Material Key') and paste this text as the definition.
Essentially you're turning a detail object into a dimension, which (in my limited experience) works just fine.
Let me know how you go.
DG

Similar Messages

  • How to design a optimized universe from SAP BEx queries

    Hi Team,
                  I would like to know some of the queries :
    1.How can you design a optimized universe from SAP BEx queries in the sense which gives you more performance
    2.What are the differences between Non SAP sources like Oracle,SQL and SAP sources in designing the Universe.
    3.Can we create a Derived table from an SAP source because i know that the Schema is not created for BEx queries,cubes.
    4.What are the advantages of having oracle as a source then SAP source.
    Can you please elobarate the above queries.
    Regards,
    Pradeep P.

    Hi,
    1. Check Ingos Blog on SDN ther are some PDF for performance regarding WebI on BW
    2. On RDBMS Source you have to design your universe. On OLAP Source like BW you generate the Universe and cant customize it a lot.
    4. Good question. In a BW all your logic is already in place. On a RDBMS you have to build your logic in a universe. But there are a lot of differences.
    Regards
    -Seb.

  • Integrate data from SAP R/3 with iDOC

    Hi,
    I need extract data from SAP R/3 with the iDoc method, but I can't found documentation from oracle where explain it how do it?, just I know that for this method ODI use two agent (OdiSAPALEServer and OdiSAPALEClient) and they are part of Open Connector for SAP R/3, so anybody that can help me with this issue?, I will be very grateful, just I need some orientation about how to do it?, for example, I need to be clear if the Open Connector for SAP R/3 is part of ODI or I need iinstall other special connector, etc.
    I will be expecting for any answer that can help me.
    Best regards

    Hi Rodrigoalegrem,
    Below llink will helps you for
    *Oracle Data Integrator
    Getting Started with SAP ABAP ERP Adapter
    10g Release 3 (10.1.3)*
    URL: http://www.oracle.com/technetwork/middleware/data-integrator/overview/odigs-sapabap-168070.pdf
    Regards,
    Phanikanth

  • Transfer data from SAP TABLES to a SQL table

    Hi,
    I need to transfer data from SAP tables to a SQL table. Please suggest the best way as well as the steps please.
    Regards,
    Kamlesh

    Hi
    Step 1: Create an entry for the External database in DBCON table using Trxn: DBCA.
    Field Name Description Value (For: E.g.:)
    CON_NAME Logical name
    for database con RAJ
    DBMS Database system MSS
    USER_NAME Database user <username>
    PASSWORD Password for setting up
    the connection
    to the database <pwd>/<pwd>
    CON_ENV Database-specific MSSQL_SERVER=depotserver MSSQL_DBNAME=HOF_INDORE
    DB_RECO Availability type for an open database connect
    Then, you can define internal table and code the following way:
    DATA: BEGIN OF wa,
    c_locid(3),
    c_locname(50),
    c_locstate(5),
    END OF wa.
    EXEC SQL.
    CONNECT TO 'RAJ' AS 'V'
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION 'V'
    ENDEXEC.
    < Populate SAP data into an internal table >
    Loop on itab.
    EXEC SQL.
    < code here for populating data into MS-SQL Server table>
    ENDEXEC.
    Endloop.
    Regards,
    Raj

  • Transfer Of Data from Sap to Oracle with the help of Enterprise Services.

    Hello,
    We want to transfer data from Sap to Oracle using standard Enterprise Services.Some fields were not available in the existing standard Enterprise Services,so we have enhanced the existing Services by writing code inside BADI available with Enterprise Services.Rest of the fields we have mapped with the existing fields available in standard Enterprise Services.But,the Oracle people want to fetch all data from Sap without entering any input as a mandatory field in the Enterprise Services.The existing standard Enterprise Services require to enter any field as mandatory and are not accepting the range in input for multiple records.e.g.All enterprise Services related to Sales Orders are displaying only one sales Order.We have searched all Enterprise Services for Sales Order(related to reading of data),but not able to find service which would display mutiple records without entering any input.ECC_SALESORDER009QR is the only service which is displaying multiple records without entering any input,but the required fields are not available in this service.So,kindly suggest what we need to do further.
    1.Should we go for customization of services completely,so that it would fulfil our requirement.
    2.Are there  standard Enterprise Services exists which would we give us data in range(all records).
    If they exists,please specify the names of Services for reading Purchase Order,Production Order,BOM etc.
    Thanks & Regards,
    Divya.

    Hi Vaibhav,
    Let me tell you the objective in detail.
    Objective.
    To develop a package solution which will work as a bridge between Oracle APS and SAP system so that customers using SAP will be able to use advantages of Oracle APS for their planning needs.
    This will consist of following major components:
    OA Templates is an Oracle utility to load data from any legacy system to Oracle APS using standard flat files.
    Oracle has developed an Application Integration Architecture which is a standard architecture used for integration of Oracle products with other systems.
    Enterprise services is an SAP utility to communicate with SAP.
    AIA canonicals are standard canonicals developed by Oracle where we have to map data fields from destination system (Oracle APS) and source system (SAP)
    Fusion middleware is being used to develop application interfaces following AIA standards.
    Tasks at stake:
    Mapping of Oracle APS fields and SAP Enterprise Service fields to AIA canonicals
    Technical work of developing middleware using Oracle Fusion
    From Sap side,we have to map fields which we have received from Oracle with the help of Enterprise Services,rest  consumption of these services is done by Oracle guys.So,suggest is there enterprise services available which would give us multiple records .
    Thanks & Regards,
    Divya.

  • No. of Connections needed for creating universes from SAP BEx Queries

    Hello,
    I have 8 SAP BEx queries, my task to create to universe for all of these queries. I have created a datasource connection, my question here is can I use the same connection for all the queries by changing datasource connection and selecting the new query or is it suggestable to create 8 datasource connections in universe designer??
    please let me know if you need any more info.
    Your reply is highly appreciated.
    Thanks,
    Naresh

    HI,
    You need to create 8 connection for 8 BW queries.There is  one to one mapping in the universe.If you change the existing connection source then it will not work for earlier query.
    Other thing you can check like you have 8 queries then instead of creating 8 universe if possible then merge some queries in the single bw query and then create universe.
    Thanks,
    Amit

  • Data extraction from SAP r/3 to sql 2000, bpc server

    Hi All,
    I have posted a similar thread previously,sap r/3 to sql 2000/2005, and understood how to transfer data from SAP R/3 to SQL 2005, but I need to transfer data from SAP R/3 to SQL 2000 server, not SQL 2005 server.
    Any help will be greatly appreciated.
    Regards,
    Kranthi.

    If you want to extract SAP R/3 data to SQL 2000, here are some alternatives:
    1. It becomes very easy if by any chance, you are using SAP BW with SAP R/3. You can extract the data into BW using standard or custom extractors and then send it out with open hub. SQL2000 can pick the flat files from a specified location at regular intervals.
    2. You can use Business Object extractors. You can get more info at:
    http://www.france.businessobjects.com/pdf/products/dataintegration/rapid_marts_sap_infosheet.pdf
    3. If that is not an option, then you need to have a tool that allows being called via RFC. This agent will then execute the required command on behalf of your application and return the result. I do not know if there is a ready-to-use RFC-compliant agent for SQL Server. If you have a tool that does it for you, you might have to check your network connections (ping), permissions etc. and see if you can execute an rSQL from the remote machine on the SQL server.
    There is a general solution to connect to nearly any kind of modern server application from a remote site by using simple HTTP requests. Suitable HTTP server for most needs would be:
    1. Microsoft IIS
    2. Java Tomcat or IBM WebSphere
    3. SAP WebAS
    In most cases, the IIS would probably be the one as it is installed on the Windows 2000 server anyway.
    Define an Active Server Page (ASP.NET) and insert the necessary code in your favorite language to extract the data from the SQL server.
    Your ASP.NET page would pack the result in the HTTP response object to be returned. In order to call the page from SAP you call the function modules HTTP_POST (using a HTTP POST request) or HTTP_GET (for HTTP GET request) on the standard RFC destination SAPHTTPA. (Pointing to a SAP utility program saphttp that resides in the SAP binary directory of your SAP database server and can be called from the command line in order to test its functionality without RFC).
    Regards
    Pravin

  • Loading data from SAP ECC to DS---Error

    Hi all,
    I am using Abap dataflow for loading data from a table in SAP Application to oracle database. I am getting an error during execution as follows.
    I am using direct download method for transfer of data.need your valuable inputs.

    Hi phaneendranadh kandula,
    Direct Download Method: It will directly transfer the data from SAP Application Server to Client Download Directory.
    Note: It is not recommended because we cannot schedule job and not recommended for large amount of data.
    Data Transfer Methods.
    Data Services with SAP Direct Download Data Transfer Method
    Not Recommended
    We cannot Schedule
    Not recommended for Large Amount of Data
    Data Services with SAP Shared Directory Data Transfer Method
    Recommended
    Secure Method
    Can Handel Large amount of data
    can be executed in Background method
    Data Services with SAP FTP Data Transfer Method
    Recommended
    Secure Method
    Applicable in Multiple OS Environment
    Data Services with SAP Custom Transfer Method
    Recommended
    Highly Secure

  • How to extract Inventory data from SAP R/3  system

    Hi friends How to extract Inventory data from SAP R/3  system? What are report we may expect from the Inventory?

    Hi,
    Inventory management
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20handle%20inventory%20management%20scenarios.pdf
    How to Handle Inventory Management Scenarios in BW (NW2004)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Loading of Cube
    •• ref.to page 18 in "Upgrade and Migration Aspects for BI in SAP NetWeaver 2004s" paper
    http://www.sapfinug.fi/downloads/2007/bi02/BI_upgrade_migration.pdf
    Non-Cumulative Values / Stock Handling
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
    Non-Cumulatives
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
    Here you will find all the Inventory Management BI Contents:
    http://help.sap.com/saphelp_nw70/helpdata/en/fb/64073c52619459e10000000a114084/frameset.htm
    2LIS_03_BX- Initial Stock/Material stock
    2LIS_03_BF - Material movements
    2LIS_03_UM - Revaluations/Find the price of the stock
    The first DataSource (2LIS_03_BX) is used to extract an opening stock balance on a
    detailed level (material, plant, storage location and so on). At this moment, the opening
    stock is the operative stock in the source system. "At this moment" is the point in time at
    which the statistical setup ran for DataSource 2LIS_03_BX. (This is because no
    documents are to be posted during this run and so the stock does not change during this
    run, as we will see below). It is not possible to choose a key date freely.
    The second DataSource (2LIS_03_BF) is used to extract the material movements into
    the BW system. This DataSource provides the data as material documents (MCMSEG
    structure).
    The third of the above DataSources (2LIS_03_UM) contains data from valuated
    revaluations in Financial Accounting (document BSEG). This data is required to update
    valuated stock changes for the calculated stock balance in the BW. This information is
    not required in many situations as it is often only the quantities that are of importance.
    This DataSource only describes financial accounting processes, not logistical ones. In
    other words, only the stock value is changed here, no changes are made to the
    quantities. Everything that is subsequently mentioned here about the upload sequence
    and compression regarding DataSource 2LIS_03_BF also applies to this DataSource.
    This means a detailed description is not required for the revaluation DataSource.
    http://help.sap.com/saphelp_bw32/helpdata/en/05/c69480c357354a8846cc61f7b6e085/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/ed/16c29a27db6e4d81a015be8673eb80/content.htm
    These are the standard data sources used for Inventory extraction.
    Hope this helps.
    Thanks,
    JituK

  • Data from SAP BW

    Hi All.
    If the data is coming from SAP BW to SAP APO for DP then where the data will go ?
    Can the data from SAP BW come directly to Planning Area. If so then how to see the data in Planning Area.
    Thanks a lot in advance for your help,
    Prabhat Sahay

    Hi Kumar
    Just to answer your question, in most cases, the data is pulled from BW cube to APO cube and from APO cube into the planning area if you have a separate standalone BW system other than APO BW. As Senthil as stated, BW first pulls the data from the datasource (ERP, legacy systems, flat files, etc), massages it and the converted/transformed data is sent to APO cubes. From APO cubes, the data can be sent to DP/SNP planning areas.
    If you dont have a separate standlaone BW system, the data can be fetched into APO BW and then directly sent to Planning areas from APO cubes.
    I hope this gives some clarity to your query. Let me know if you need further details.
    Rgds, Sandeep
    Edited by: Sandeep Budhiraja on Jul 1, 2010 1:51 AM

  • Merging data from 2 schemas with same object structure into one schema

    Hi
    I want to merge data from 2 schemas in different environments ( say test1 and test 2) into 1 schema ( say Test_final) for testing. Both these schemas are having same structure, the data can be same or different.
    What I did is that I took an export of schema on Test1 and then import it into Test_final. Now I need to merge/append data from Test2 into Test_final.
    I can not merge the data with import due to primary key constraints and also import doesnt support this feature, so I tried SQL*Loader to "append" the data by using sequence to generate Primary key.
    But my worries are that since new primary keys are generated so foreign keys will become invalidated and the data will not be consistent.
    Is there any other way to do this task..
    Regards
    Raman

    This approach might be better...
    create table test_final
    as
    select *
    from schema1.test1
    insert into test_final
    select t2.* from schema2.test1 ,  test_final tf
    where t2.pk != tf.pk
    /...assuming duplicate primary keys mean duplicate records. If that assumption is not the case then you have a more complex data migration exercise on your hands and you need to figure out some rules to determine which version of the data takes precedence.
    Cheers, APC

  • Using SQL Server 2012 SSIS to Extract Data From SAP

    Hi
    What is the current best practice for using SQL Server 2012 SSIS to extract data from SAP R3? Please note we are looking for a solution that does not use SAP BW or SAP OHS.
    Ideally we would like to build our ETL SSIS process to make a .NET call to an SAP RFC procedure and avoid using web services.
    With SS2012 can we use any of these without using SAP BW:
    - SAP .NET Connector
    - MS ADO .NET
    - BizTalk .NET 3.0 Adapter
    Thanks and take care,
    Shayne

    Hi Shayne,
    You can use the .NET Framework Data Provider for mySAP Business Suite along with SQL Server Integration Service (SSIS) to import data from an SAP system into SQL Server database tables, flat files, or other compatible destination types. You can create an SSIS
    package that can be executed to import data from an SAP system.
    You must use the SQL Server Import and Export wizard to import data into the SQL Server database. You must provide a select query to specify data to be imported. The query must confirm to the semantics supported by the Data Provider for SAP. You can start the
    SQL Server Import Export Wizard either from the SQL Server Management Studio or from an Integration Service project in Visual Studio. Detail steps please see:
    Importing SAP Data Using SQL Server Management Studio:
    http://msdn.microsoft.com/en-us/library/cc185161(v=bts.10).aspx
    Importing SAP Data Using Visual Studio:
    http://msdn.microsoft.com/en-us/library/cc185254(v=bts.10).aspx
    Please feel free to ask if you have any question.
    Thanks,
    Eileen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every so many hours.

    How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every so
    many hours.

    How big is the table on server B? Is that possible to bring the all data into a server A and merge the data locally?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every 4 hours.

    How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every so many hours.

    Hello,
    If you had configure server2 as
    linked server on the server1, you can run the following statement inside stored proceduce to copy table data. And then create a job to the run stored proceduce every 4 hours.
    Insert Into Server2.Database2.dbo.Table2
    (Cols)
    Select Cols From Server1.Database1.dbo.Table1
    Or you can use the SQL Server Import and Export Wizard to export the data from server1 to server2, save the SSIS package created by the wizard on the SQL Server, create a job to run the SSIS package. 
    Reference:http://technet.microsoft.com/en-us/library/ms141209.aspx
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to retrieve Data from SAP BW to  SQL

    Hi All,
    i am looking for way to retrieve Data from SAP BW to SQL.
    Could you please give me some indcations or a document on how to implement it?
    Thanks in advance
    Cheers
    Gilo

    Hi,
    You need to use open hub destination. third party tool destination for SQL
    SAP BW TO SQL -- Extraction to the third-party tool can be executed as follows:
           1.      You define an open hub destination with Third-Party Tool as the destination type.
           2.      You create an RFC destination for your third-party tool and enter it in the definition of the open hub destination.
           3.      You use API RSB_API_OHS_DEST_SETPARAMS to define the parameters for the third-party tool that are required for the extraction.
           4.      You either start extraction immediately or include it in a process chain. You can also start this process chain from the third-party tool using process chain API RSPC_API_CHAIN_START. The extraction process then writes the data to a database table in the BI system.
           5.      When the extraction process is finished, the system sends a notification to the third-party tool using API RSB_API_OHS_3RDPARTY_NOTIFY.
           6.      The extracted data is read by API RSB_API_OHS_DEST_READ_DATA.
           7.      The status of the extraction is transferred to the monitor by API RSB_API_OHS_REQUEST_SETSTATUS.

Maybe you are looking for

  • How to format a currency value

    Hi, I have an internal table with a field of type cosp-wtg001 (data type CURR length 15). Field works fine (it stores well the value and this sort of things) but when I store internal table into a file (with GUI_DOWNLOAD function) negative values app

  • Unable to received phone calls & SMS

    Hi, My iPhone 4s unable to received phone calls and sms. I would like to seek for advice on these problems. Thank you.

  • KP26 dump due to manual entry on Activity Type Category

    Hello, I keep receiving a dump RAISE_EXCEPTION program_error in the generated programs COCC2001... 03 etc. When I run transaction KP26 for a Cost Center that has no entries yet (with a custom layout), and when I supply or modify the value in column T

  • 10g RAC's listener cannot startup when the node's back from down

    Hello My 10g RAC node1 down and I reboot it , then everything's back except the listener of node1. [oracle@node2 crsd]$ crs_stat -t Name Type Target State Host ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application    ONLINE    OFF

  • Ipod gives error message on download

    when i try to download a game from the app store, i get message that says "unknown error" and asks for password again & keeps coming back to unknown error.  any ideas?