Datasources and Extract structure

Hi guys,
I am pretty confused about DataSources and Extract structure.
Can someone please explain it me in simple words.

Hi Zubin,
Data Source is a consoliated list of fields available and the extract structure is a data dictionary structure which illustrates the fields with additional technical elements like DATA ELEMENT , DOMAIN ans so on...
To make it more clear look at this description from F4 help:
A DataSource is an object for retrieving data. The DataSource is localized in the OLTP system.
It has
an extract structure,
an extraction type, and
an extraction method.
The extract structure describes the fields of the internal table that contain the extracted data. The extraction type describes which type of extractor the DataSource uses. The extraction method extracts the data and transfers it into an internal table with the same type as the extract structure.
The DataSource also contains information on the type of data that it stages, for example, attributes, transactional data, hierachies, or texts. It can also support different types of data update.
Extract Structure for a DataSource
The extraction structure for a data source shows the format in which the DataSource, or the extractor for the DataSource, transfers its data.
A data element must be assigned to each field of the extraction structure. This allows in the Business Information Warehouse an intelligent mapping between field names and InfoObjects using just this data element.
The extract structure must be created in the DDIC as a dictionary structure or transparent table. A view is not permitted here since it would then not give you the option to add an append.
Appends enable you to convert your individual requirements and own "Business Logic" in the extraction process. You can fill the fields in the append using function enhancements.
Hope this helps
Thanks,
Raj

Similar Messages

  • DataSources and extract structures generation

    Hi,
    How would I generate the DataSources and extract structures using transaction LBWE? It seems that there are no push buttons to say to generate the DataSources and extract structures from LBWE? Would clicking on the DataSources and extract structures and click on the continue button be enough?
    Thanks

    I check from LBWE maintenance structure column, and the fields are there on the left hand side for the selection criteria.
    How would I check "..<i>fields you have enhaced are ready to use</i>...." from LBWE.
    From RSA6, I would doubleclick on the LIS datasource, and I see no enhanced fields and therefore could not see if they are hidden.
    "<i>Did you check in LBWE if your strcutures have the fields ready to use?" </i>How would I do this? Maybe this is the problem.
    Thanks
    Message was edited by:
            NoNoNo ...

  • Relation between LIS datasources and Extract Structures

    Roberto,
    Your detailed information does make it very clear why the SAP creates 2 SnnBIW1, SnnnBIW2 tables, and a structure.
    I have another question related to this process.
    Once you create a datasource from the custom LIS structures, you can assign a Development class to that datasource.
    But the automatically created 2 tables and the structure are local objects, and you cannot reassign them to other object. That is fine because when you export/import the transport, all the other objects are also transported.
    But when we enhance the extract structures, it creates a structure ZASnnnBIWS which also HAS TO BE a local object. This creates a problem of how do we transport these changes?
    I would appreciate your insight into this.
    Thanks
    InduBala

    I check from LBWE maintenance structure column, and the fields are there on the left hand side for the selection criteria.
    How would I check "..<i>fields you have enhaced are ready to use</i>...." from LBWE.
    From RSA6, I would doubleclick on the LIS datasource, and I see no enhanced fields and therefore could not see if they are hidden.
    "<i>Did you check in LBWE if your strcutures have the fields ready to use?" </i>How would I do this? Maybe this is the problem.
    Thanks
    Message was edited by:
            NoNoNo ...

  • Difference between transfer structure and extraction structure?

    Hi Gurus,
    Structurally what is the difference between transfer structure and extraction structure?
    I have observed that both these structures have the same fields.
    Then why do we need two structures in source system?
    Please clarify ...
    Thanks in advance

    These links describe the differences between the two.
    Transfer structure:
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62b2e07211d2acb80000e829fbfe/content.htm
    Extraction structure:
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a627ee07211d2acb80000e829fbfe/content.htm

  • Data source and Extract Structure

    Hi all,
    I have a doubt on Data source and Extract Str,
    when i used one info cube with some char and kf's
    after i did extraction shall we change the extract strcuture prequently other wise better to use all the predefined extract strcuture hide in data source.
    if i hide in datasource after extraction i want to use some of hide fields, so we can use it? if we can use how can we extract data for that specified hide fields to bw side.

    If you wont to create the genaric data source at that time
    you can create cube with some char and kf.
    after extraction you wont to modify the structure ? if you mofify
    the structure then replicate the data source and delete the data
    and upload the data from r/3 to bw.its not correct way every time modifying the
    structure.if you put hide means that fields are not coming to
    bw side.if put modify the hide field ,first goto rsa6 edit data source
    remove the hide check box and save after come to bw replicate the data source
    delete the data and load the data (if you wont full data for hide field)
    if you dont load full load means only available upto data only what ever field you modify the
    hide to unhide,

  • Creating Datasource and Extracting from SAP R/3 ECC 6.0

    Hello Gurus,
    I am very new in BI field, I am learning through notes provided in this Blog.
    Curretnly I need to know how we create Datasource at SAP R/3 ECC 6.0 (is there any difference b/t these?)
    and how we may extract data from R/3 ECC 6.0 Source System.
    Looking for your kind reply
    Thanks in Advance
    KK

    You can use any specific Extractors to Create  Data Source in R/3 side.
    Let me explain with Generic Extraction
    Goto SBIW--> you can see all the extractions here
    Generic extractors are of 3 types:
    1. Based on table/view
    2. Based on Info set Query
    3. Based on Function module
    If you would like to create a custom table, then goto SE11>Select Table>Click on Create (Now create you own table here & use this table while creating Transaction data)
    Goto RS02-->Select Transaction data.
    Click on  Create
    Choose an application component to which the data source is to be assigned
    Click on  Generic Delta
    Specify the Delta-Specific and the type for the field.
    Specify a safety interval
    Select Data type>Save> Now Data source was generated successfully
    After generating the data source , you will find Delta Flag checked.
    Please go through the following link for Generic Delta
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33]
    Once you've done with Data Source in R/3 side--> u need to Replicate it to BI
    Goto RSA1>source system>Select the Source system in which u've created Data source>R.C select Data Source Overview>Select the Application Component to which Data source is assigned>R.C Select Replicate dataSorce>here you can see your NEW Data source
    Hope it helps!

  • How to create a New Tranport Request for changed  Extract structure

    How to create a New Tranport Request for changed  Extract structure ?
    Hi Experts,
    I have a FI AP Generic Datasource containing extract structure with appended fields.
    It has already been activated and transported to Testing System.
    Now, I am to create a new transport request for this DataSource and Extract structure.
    I do not want to delete and recreate the Generic Datasource.
    I am trying to look at the options in the extract structure top menu from where I can create a new Tranport Request.
    Please let me know the steps
    URGENT

    Hi Dev,
    Once you send the transport request for any data source from Dev to Testing you wont find that again in your Dev (I mean the TR). So, when you change anything for this data source or view now in Dev and try to save it, it will ask for a new transport request and here you can mention a new one starting from View then activate it and go to RSO2 regenerate it and use the same transport request for this too. When you transport this TR to Testing Environment the data source will automatically get changed.
    Hope it helps...

  • Clarification on some reading: Datasource and Function Module extraction

    Hi,
    I found a link on Help.sap which explains how to create a function module and I have some questions after my review:
    It basically uses function module to read some filght data from the table SPFLI
    1.
    I got into this research since one of the methods for data extraction from R3/ECC to BW is through Function Modules.
    Why couldn't that extraction be based on a view of the table SPFLI.
    i.e. why is this complication of writing an ABAP code to achieve something which could be done with a DB view or table?
    2.
    Any example or scenario where you think a datasource could NOT be created based on a table, Database View or Sap Query and that it must be done with a Function Module?
    3.
    So, once the function module is successfully created; how to do create a Datasource based on this function modeule to take care of the delta's on the source data?
    4.
    There was a discussion about "remote function call" which I did not get completely. Will extracting data from R3/ECC to BI be regarded as "remote call"
    Thanks

    1. Why couldn't that extraction be based on a view of the table SPFLI. i.e. why is this complication of writing an ABAP code to achieve something which could be done with a DB view or table?
    A DataSource could have been created directly from table SPFLI. It was used as an example in the case of the document is my guess. There are some table types, however, that you cannot create a DataSource directly off of.
    2. Any example or scenario where you think a datasource could NOT be created based on a table, Database View or Sap Query and that it must be done with a Function Module?
    Pool/Cluster tables cannot be directly read and therefore must use a Function Module for extraction. Another reason for using a Function Module, even against a single table, is in the case that you have more than one field that you want to create a generic delta against. SAP delivers the capability in the application to set a generic delta on only one field within the DataSource. If there is more than one, say created on and changed on dates, a Function Module is require in order to enable that.
    3. So, once the function module is successfully created; how to do create a Datasource based on this function modeule to take care of the delta's on the source data?
    Go to tocde RSO2, enter the DataSource name, click on the Create button. In the next screen, there are three buttons toward the top to tell what is the source of the DataSource: 1) Extraction from View (default); 2) Extraction from Query; and 3) Extraction from Function Module. When you click on the Extraction from Function Module button, the View/Table field will gray out and the Function Module and Extraction Structure fields will un-gray.
    4. There was a discussion about "remote function call" which I did not get completely. Will extracting data from R3/ECC to BI be regarded as "remote call"
    I think that this is referring to a process whereby you create a remote-enabled Function Module on the source R3/ECC system and then create an ABAP program in BW that calls that remote-enabled Function Module. Basically, the ABAP program on BW would send some parameters through to the remote-enabled Function Module on R3/ECC. The Function Module would extract data into an internal table and then pass that internal table back through to the ABAP program in BW for further processing.
    Edited by: Dennis Scoville on Aug 20, 2009 8:18 AM

  • View V/s Extract structure in generic data source!

    Hi,
    Is it mandatory that view and extract structure must contain same number of fields in generic extraction?
    can we enhance the extract structure with a field which is not existing in view?
    clarify me with exmaple
    Thanks,
    Ravi

    Thanks Diego!
    Actaully, the view which is used in the definition of the data source has four tables
    namely AFRU,CRHD,AUFK and AFKO.
    Join conditions are:
    AFRU     MANDT     =     CRHD     MANDT
    AFRU     ARBID     =     CRHD     OBJID
    AFRU     MANDT     =     AUFK     MANDT
    AFRU     AUFNR     =     AUFK     AUFNR
    AFRU     MANDT     =     AFKO     MANDT
    AFRU     AUFNR     =     AFKO     AUFNR
    Now, i want to know from which table is the field AUFNR is mapped to BW info object!
    As the field is in both tables AFRU and AUFK, i am confused of from which table the data is getting filled up to the BW info object!
    I need to make a documentation of of each info object of how is it getting filled up and from which table?
    Thanks,
    Ravi

  • Different number of fields in extract structure and Datasource

    Hi All,
    There is a data source 0FUNCT_LOC_ATTR, which are showing 16 fields in the datasource. But when i went into the extract structure, it shows 25 fields. Is it any kind of bug?
    thanks
    Annie

    Hi MTi,
    Thanks for your reply. I checked in ROOSOURCE and ROOSFIELD table and found that we activated the datasource somewhere in 14.08.2008 and the delivered version is in 18.11.2008. Now i reactivated the datasource in RSA5 and could see all the fields in RSA6.
    Actaully we posted the issue to SAP and they have come back with the same reply what you have mentioned.
    Cheers
    Annie

  • Difference between Extraction Structure and Datasource

    Hi Gurus,
    I have a very basic question here.Can anybody explain to me in detail the difference between an extraction structure and Datasource.
    Thanks in advance

    Hi:
    I am pasting a summarized def. from sap notes.
    http://help.sap.com/saphelp_bw30b/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    Data Source:
    Data that logically belongs together is stored in the source system in the form of DataSources. A DataSource contains a number of fields in a flat structure used to transfer data into BW (Extract Structure).
    Extract Structure:
    In the extract structure, data from a DataSource is staged in the source system. The extract structure contains the amount of fields that are offered by an extractor in the source system for the data loading process.
    You can edit and enhance DataSource extract structures in the source system. To do this, in the BW Administrator Workbench choose Goto à Modeling à Source Systems à Your Source System à Context Menu (right mouse click) à Customizing Extractors à Subsequent Processing of DataSources.
    While, you are on the topic, you have one more structure.
    Transfer Structure:
    The transfer structure is the structure in which the data is transported from the source system into the SAP Business Information Warehouse.
    It provides a selection of the extract structure fields for the source system.
    It may be a good idea to look into a sample Business Content extractor to get a better understanding of how they are related.
    Chamarthy

  • How to Transport Extract Structure and datasource

    Hi all!
    I had recently made enhancements to 0CO_PC_PCP_01 datasource.When I transported the datasource and the Extract structure, I noticed that only the append structure has been transported. The datasource has not been transported.
    Could some one tell me how to collect the datasource and the Appended extract structure and transport them.
    Thanks,
    S.P

    Hi Jaya,
    I had already tried this already. When I selected the dtasource and selected the transport button. I got the message, action successfully executed. When I checked in SE09, I see no transport. Unless it asks me for a transport request, I will not see it in SE09, right.
    ~S.P

  • Custom Datasource using View COVJ - R8359 Invalid extract structure

    I'm trying to build a custom datasource so I can get at plan line item data with partner object (I've tried using 0CO_OM_CCA_1 but I dont get the partner object for plan data - no idea why). So I thought if I create a datasource using COVJ I can get it out. However when I try and save the custom datasource (created using RSO2) I get the error R8359 Invalid extract structure: You tried to generate an extract structure with the template structure COVJ. This operation failed, because the template structure quantity fields or currency fields, for example, field WOG001 refer to a different table.
    I saw posts saying when people get this error thye should reference the table these fields come from in the view. So I've talked to our ABAP'er and I asked him to reference the table these fields come from but he said this cant be done because these come from a structure not a table.
    Any ideas?
    Thanks
    Joel

    The WOG* columns in table COEJ, one of the tables contributing to the COVJ view, use CCCUR-CURKY as the reference table-column for those quantities. The ABAPer you spoke to is correct that CCCUR is a structure. View value fields inherit their reference table-column from the source, in this case COEJ, and since this source table is an SAP delivered table it cannot be modified change this reference.
    This means that you're only option for extracting the data out of the COVJ view would be to create a Function Module and use that Function Module as the basis for your DataSource.

  • Invalid Extract Structure error while creating "Generic DataSource" on a view...

    Dear All,
    I have created a view on following tables MARA, AFKO and MSEG. The Table/Join condition is as follow:
    AFKO--AUFNR  = MSEG--AUFNR
    AFKO--PLNBEZ = MARA--MATNR
    I have included all the fields from MSEG and other all fields from MARA and AFKO. The view is created successfully and contents/records are also being fetched/displayed from this view.
    See screen shot as well:
    But when I go to RSO2 to create a "Generic DataSource" on this view. I get a series of warning messages and then error message "Invalid Extract Structure" and therefore I'm unable to create my DataSource on this view. See below screen shots of warning and error messages.
    Other warning messages are as follow:
    Field GAMNG with reference field MEINS: Reference table MARA is replaced by ZOXPRD0150
    Field PLSVB with reference field PLNME: Reference table PLKO is replaced by ZOXPRD0150
    Field PLSVN with reference field PLNME: Reference table PLKO is replaced by ZOXPRD0150
    Field LODIV with reference field MEINS: Reference table MARA is replaced by ZOXPRD0150
    Following is the screen shot of error message:
    1. How can I get rid of this error message and be able to create my "Generic DataSource" on top of this "View"?
    2. What should I do to resolve the above warning and error messages?
    I will appreciate your reply.
    Many thanks!
    Tariq Ashraf

    Hi Vipul,
    as you can find in CKIS table, the reference feild for value feild "WERTN" is missing.
    As per the table the reference feild is HWAER. This should have been used in place of FWAER.
    Try mentioning this in your view and this should work.
    Also I am a little enthusiastic to know, what are you trying to get from the datasource.
    If you are trying to get the cost estimate of multi level BOM, not (just one child level), then this approach may not work.
    There is a BAPI that gives such itemization split. Just FYI, in case you are looking for multi level explosion.
    "BAPI_COSTESTIMATE_ITEMIZATION".
    Hope this helps.
    Naveen.A

  • How can we assign Extract Structure of datasource to request to transport

    Hi,
    I was trying to transport datasource. But it ended with errors due to unavailability of extract structure. So plz guide me how I can assign Extract structure of datasource to request to transpport.
    I tried to assign in RSA6 but here there is no option to extract structure to assing to request.

    Hi,
    Normally when you get the screen to select and hide the fileds and then save it, you will get the extract structure collected automaticaly in your TP request.
    Hope it helps
    Regards,
    Srini

Maybe you are looking for

  • BDC for ME01 to delete vendors in the source list

    Hi ABAP'ers,                      I am trying to write a BDC program to delete a particular vendor from ME01 TCODE. My program runs well till deletion after i delete a record it is showing a pop up to confirm and on clicking yes the vendor is deleted

  • Slow loading speed

    I use verizon DSL, my plan is $29.99, and the speed is up to 3 Mbps/ 768Kbps. I checked the speed at http://infospeed.verizon.net/speedtest/, it always is under or around 2414Kbits/Sec and 301KBytes/Sec, Occasionally reach 2822.9Kbits and 352.9KBytes

  • Java Usage Concept Questions

    I have a java Command line running program. Which allow input/edit data of clients and store them into a Flat file. The problem is that i have to make a GUI, ( a thin web based client ) and using only HTML and Javascript. The next step is the db shou

  • Bill value of Billing plan in CRM

    Hi All, can you please suggest on FM or method to get the Bill value of Billing plan in CRM. Thanks in advance. Subhankar

  • How do you publish a dvd?

    I am making a dvd that I want to sell and I am just wondering if anyone could send me any material on the legalities of selling media and what I need to do legally? Any ideas?