Generic extraction (table,view,functionmodule)

hi
In generic Extaction when we use table and view and function module and sap qu (scenario)
AND
plz send some examples
Please search the forums before posting

Hi,
when Standard Extractors are not supporting to your requirement then we go with Generic Extraction.
Here we have Three different types to design generic extractors
Table
View
Function Module
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
https://websmp103.sap-ag.de/~sapidb/011000358700007535452002
Hope this will help you.
Thanks
Prasad

Similar Messages

  • When to go for generic extraction using view and infoset query?

    Hi,
                        Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query....
    Also what is the difference between view and infoset?
    I tried but could not find out....
    Regards,
    Kalyani.

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • Generic Extraction - query view and infoset query difference

    Hi Guys,
    I want to know the Generic datasource difference between Extraction from view and Extraction from Query .I have read some threads and documents, still i am not getting the exact difference.
    My understanding :
    Views: combination of tables to view the end result , we use views.
    Infoset query also with help of SQ01, 02, 03  : we combine tables to see the result.
    both use primary key to select the data.
    Please help me.
    Thanks ,
    Nithi.

    Hi Nithi ,
    When we build the datasource on the View
    View is basically a table in which you can take data from many table combniation  .
    in view you can specify the table join condtion and selection condtion
    View data gets updated as the data in the source table gets updated
    When we build the datasource on the Infoset
    Data source str gets filled from the infoset query .you need to use SQ01 and Sq02 transaction for this
    in infoset you can define the tables from which you want to read the date .There is also facilty to write ABAP code which will process the data and fill the the data source str using infoset query
    infoset query read the data from infoset and transfer to data structure
    Thanks
    Rajendra

  • Extract Tables/views into ECC 5.0 SAP system from Non-SAP system

    Hi,
    I am looking for some inputs on how to set up the following scenario of extracting data stored in tables/views in a non-sap external system into my SAP ECC 5.0 SAP database.
    Currently we are using a middleware between SAP and the external system to fetch data. I would like to get rid of the middleware and set up a scenario to call this non-sap external system and pull data stored in views into our SAP system directly. Is that possible in SAP version 5.0? If yes let me know the steps to be performed... do I need to set up XI ?

    maybe you can access sap data using some connector such as java or .net connector.

  • Generic extraction using table

    Hello friends,
    We have three methods in Generic extraction, as we know.
    1. Using view/Table
    2. Using FM
    3. Using Infoset Query
    I know pretty well the extraction using View, but when do we use "Table"?
    Is there a specific method to perform generic extraction using TABLE?
    Please clarify

    Thanks for the replies.
    In case of a generic extraction with view, i've followed the below procedure.
    1. RSO2.
    2.create a generic datasource by giving a view name and selecting the fields for selection criteria, save and generate.
    3. replicate data sources in BW.
    4. create an infosource and assign the data source, mapping and create an infopackage to load data.
    Now ,
    1. how do we enable Delta for this method?
    2. Is  this possible at all? if yes, how?
    3. How do we proceed after the replication of DataSources in BI? specifically, procedure in BI?
    Pls clarify.

  • Generic Extraction-example

    hello EXPERTS
    I am trying to give one presentation about 'Generic Extraction using View'...I know how to explain the process.But as I donot have project experience,I have never worked with Generic Extraction.
    Can any one give an example where they used generic extraction(by view) on SAP standard tables.Its enough if you can mention the fields you used and from which tables you took these fields?
    Thanks
    S

    Hi,
    Processing steps for creating the Generic Datasource by useing View:
    1.Goto RSo2.
      Datasource can be created for
      a). Transaction Data
      b). Master data Attributes
      c). Master data Text
    2.Specify Application component(SD/MM..)
    3.There are three extraction methods to fill datasource.
        i).Transparent table or Database view
        ii).InfoSets of the SAP query
        iii).Using a Function Module
    4.Select extraction method extracts the data from a transparent  table or database view.
    5.select Extraction from View, then we have to create the View.
       a).specify the view name.
       b).choose the view type (Database view) from bellow mentioned views.
          Database view.
          projection view.
          maintainance view.
          help view.
    6. Specify Tables and Join Conditions and define view fields.
    7. Assign View to Datasource
    8. Once you specify view in Data source, the extract structure willgenerate.
    9. then select the filds in selection column.
    10. Specify Delta-Specific Field and type.
    11. Specify Safety Interval and Delta Type and select Save button.
    12. Testing the Generic extraction.
    Select Datasource option from menu bar-->select Test Extraction or you can check in RSA3.
    Regards,
    Suman.

  • Generic Extraction Delta Loads

    Hi Experts,
    I am facing problem is I want to extract the data in Generic Extraction in View, Suppose my requirement is I want to delta loads every 1 hour per day, how can i do, Generic Extraction possible are not delta records.
    Note:- LO Extraction is possible like we have update mode we can scheduled hours in everyday, But Generice Extraction possible are not.
    Please provide me solutions ASAP.
    Thanks in Advance......
    Regards,
    Bharathi.

    There are various delta method
    1.calday.
    2.time stamp.
    3.Numeric pointer.
    For youe requirement Time stamp will work.
    Please check weather you have any field related to time.
    Thanks,
    Saveen kumar

  • Any docs regarding Table/View,Function Module for Generic Extraction

    Hello All
    I need to do Generic Extraction,for that if anyone has docs., I need docs on how to create table,view,Function module and infoset query ,on that pl forward to my id
    [email protected]
    Many Thanks
    balaji

    hi Amit
    Thanks for your docs,but this docs i have already,do u have any thing different one,if so please forward?
    Facing a Problem
    Iam trying to create view(database view)for <b>vbak</b> and <b>vbap</b> and given in Tables in <b>Table/Join Conditions</b> tab and clicked in <b>Relationship</b> and the relantionship has been generated automatically,now when i tried to activate this view its saying like "<b>No tables and/or fields are defined for view xxxxx</b>(xxxx-> name of a view)
    what will be the problem?pl let me know how to create a view?
    And also I need to know the diffference between database view,Manintenance view,Projection view and help view?
    Pl let me know on this?
    Many Thanks
    balaji

  • Generic Extraction (or) How to use table in R/3 system as datasource in BW?

    Hi all,
    Hope all are having a great day
    Can any1 tell me the steps, for Generic Extraction.
    It will be very helpful, if the steps are as much as simpler as posible.
    I know to create a simple cube in BW.
    I have this much knowledge, depending on this can any1 tell me the steps for Generic Extraction from R/3.
    examples wud be vry useful
    Regards,
    Sourav

    hi,
    Maintaining Generic DataSources 
    Use
    Independently of application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any kinds of transparent tables, database views, InfoSets of the SAP query or using a function module. As a result, you can make use of the generic extraction of data.
    Procedure
    Creating a Generic DataSource(RSO2)
           1.      Select the DataSource type and give it a technical name.
           2.      Choose Create.
    The creating a generic DataSource screen appears.
           3.      Choose an application component to which the DataSource is to be assigned.
           4.      Enter the descriptive texts. You can choose any text.
           5.      Choose from which datasets the generic DataSource is to be filled.
                                a.      Choose Extraction from View, if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
    After generation, you get a DataSource whose extract structure is congruent with the database view or the transparent table view.
    For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
                                b.      Choose Extraction from Query, if you want to use a SAP query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
    Notes on Extraction Using SAP Query
    After generation, you now have a DataSource whose extract structure matches the InfoSet.
    For more information about maintaining the InfoSet, see the System Administration documentation.
                                c.      Choose Extraction using FM, if you want to extract data using a function module. Enter the function module and extract structure.
    The data must be transferred by the function module in an interface table E_T_DATA.
    Interface Description and Extraction Process Flow
    For information about the function library, see the ABAP Workbench: Tools documentation.
                                d.      With texts, you also have the option of extraction from domain fixed values.
           6.      Maintain the settings for delta transfer where appropriate.
           7.      Choose Save.
    When extracting, look at SAP Query: Assigning to a User Group.
    Note when extracting from a transparent table or view:
    If the extract structure contains a key figure field, that references to a unit of measure or currency unit field, this unit field must appear in the same extract structure as the key figure field.
    A screen appears in which you can edit the fields of the extract structure.
           8.      Editing the DataSource:
    &#61601;        Selection
    When scheduling a data  request in the BW Scheduler, you can enter the selection criteria for the data transfer. For example, you may want to determine that data requests are only to apply to data from the previous month.
    If you set the Selection indicator for a field within the extract structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
    &#61601;        Hide field
    You should set this indicator to exclude an extract structure field from the data transfer. As a result of your action, the field is no longer made available in BW when setting the transfer rules and generating the transfer structure.
    &#61601;        Inversion
    Reverse postings are possible for customer-defined key figures. For this reason, inversion is only possible for certain transaction data DataSources. These include DataSources that have a field that is indicated as an inversion field, for example, the field update mode in the DataSource 0FI_AP_3. If this field has a value, then the data records are interpreted as reverse records in BW.
    Set the Inversion indicator if you want to carry out a reverse posting for a customer-defined field (key figure). The value of the key figure is then transferred in inverted form (multiplied by –1) into BW.
    &#61601;        Field only known in exit
    You can enhance data by extending the extract structure for a DataSource using fields in append structures.
    The indicator Field only known in Exit is set for fields of an append structure. In other words, by default these fields are not passed onto the extractor from the field list and selection table.
    Deselect the indicator Field Only Known in Exit to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list as well as in the selection table.
    9. Choose DataSource ® Generate.
    The DataSource is now saved in the source system.
    Maintaining Generic DataSources
    •        Change the DataSource
    To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
    You can change the assignment of a DataSource to an application component as well as the texts of a DataSource. Double-clicking on the name of the table, view, InfoSet or extract structure takes you to the appropriate maintenance screen. Here you can make changes required to add new fields. You can fully swap transparent tables and database views, but not InfoSets. If you return to the DataSource maintenance and choose Create, the screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource  ® Generate.
    If you want to test extraction in the source system independently of a BW system, choose DataSource  ®  Test Extraction.
    •        Delta DataSource
    In the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the associated query. If you want to delete a DataSource, this must not be connected to a BW system.
    For more information about extracting using SAP Query, see Extraction using the SAP Query.
    hope this helps.
    assign point if so
    partha

  • When we go for Views and Function Modules for Generic Extraction

    Hi Experts,
    Can you please explain when we go for extracting the data using Views and when we got using Function Modules using Generic Extraction from R/3 system to BW with examples. And also can you explain when we go for delta for the above both scenarios.
    Thanks for you help in advance
    Rohith

    Hi,
    Scenario for Extarction using FM
    Imagine the scenario where you need to extract data from
    tables having no common field between them and thereby preventing you from creating a view on top of those tables..
    Or simply consider tables that are highly unrelatd in terms of fields, but you have a requiremnt to extract data from them.
    Also Refer.
    create generic extractor based on 2 tables
    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Steps.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    http://help.sap.com/saphelp_nw04/helpdata/en/86/1c8c3e94243446e10000000a114084/frameset.htm
    Scenario for Extraction using View
    If there are more number of tables and data in those tables can be represented using joins then we can use this type of extraction
    For more info Refer these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
    Difference between "Help View" and "Search Help"
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    For GEneric Delta refer these links
    [generic with delta;
    [https://forums.sdn.sap.com/click.jspa?searchID=11388803&messageID=5164737]

  • Genaric Extraction by Tables/views

    Can any one give best of your experience to go for generic extraction with situatin. how u do it in tables/views
    Please search the forum before posting a thread
    Edited by: Pravender on May 18, 2011 11:22 AM

    Can any one give best of your experience to go for generic extraction with situatin. how u do it in tables/views
    Please search the forum before posting a thread
    Edited by: Pravender on May 18, 2011 11:22 AM

  • Give me details about differrent views in generic extraction give details

    give me details about differrent views in generic extraction give details  such as  database view, projection view, help view, etc please give detail

    Dear Deba,
    Projection view - Just retrieves some fields from a single table.
    Help View - This is used for search help.
    Database View - This is inner join view of one or more tables
    Maintenance View - Helps in creating maintaining data of the application object. The data can be distributed among several tables
    Data Base View:
    A database view is defined in the ABAP Dictionary and automatically created on the database during
    activation. Accesses to a database view are passed directly to the database from the database interface.
    The database software performs the data selection.
    If the definition of a database view is changed in the ABAP Dictionary, the view created on the database
    must be adjusted to this change. Since a view does not contain any data, this adjustment is made by
    deleting the old view definition and creating the view again in the ABAP Dictionary with its new definition.
    The maintenance status defines whether you can only read with the view or whether you can also write
    with it. If a database view was defined with more than one table, this view must be read only.
    The data read with a database view can be buffered. View data is buffered analogously to tables. The
    technical settings of a database view control whether the view data may be buffered and how this should
    be done. The same settings (buffering types) can be used here as for table buffering. The buffered view
    data is invalidated when the data in one of the base tables of the view changes.
    Maintainance View:
    Data that is distributed on more than one table often forms a logical unit, called an application object.
    You should be able to display, change and create the data of such an application object together. Users
    usually are not interested in the technical implementation of the application object, such as the distribution of the data on several tables.
    You can maintain complex application objects in a simple way using a maintenance view. The data is
    automatically distributed on the underlying database tables.
    All the tables used in a maintenance view must be linked with a foreign key. This means that the join
    conditions are always derived from the foreign key in the maintenance view. You cannot enter the join
    conditions directly as in a database view.
    A maintenance interface with which the data of the view can be displayed, changed and created must be
    generated from the definition of a maintenance view in the ABAP Dictionary.
    When the maintenance interface is created, function modules that distribute the data maintained with the
    view on the underlying tables are automatically generated.
    The maintenance interface is generated with the Transaction Generate Table View (Transaction SE54)
    or from the view maintenance screen with Environment -> Tab.maint.generator.
    Database views implement an inner join. You only get those records which have an entry in all the tables
    included in the view.
    Maintenance views implement an outer join.
    Help View:
    A help view is defined analogously to a maintenance view. Help views can only be used as selection
    methods in search helps. Since the R/3 System cannot pass the selection directly to the database using
    a help view, it must generate its own access routines. The database view should therefore be used as
    selection method in preference to the help view.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
    Difference between "Help View" and "Search Help"
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    Regards,
    Ram.

  • ALE delta Generic Extraction on Z table

    Hi All,
    I am doing generic extraction on a Z table (Custom table).I want to run delta on this. But there is no delta specific field in this table.
    Now I want to use ALE delta method for this.
    I got following information from SDN
    1. It is possible for only master data attribute data sources as it does not capture deletion of record.
    2. It can be based on one or more delta specific field.
    Follow below steps in order to create ALE delta method for generic DS
    1. Go to RSO2
    2. create mater data attribute DS
    3. Give all details like App Comp , description & table / view name
    4. Menu -> Data Source -> ALE Delta -> give table name & Change doc. object for that table. Save
    5. Click on Generic delta & choose Numeric pointer under delta specific field.
    Now my questions are
    1. Can I use ALE delta method for an Z table? As I am not able to find any Z table in Menu -> DS -> ALE delta & Change doc. object for Z table.
    2. Is it possible only for master data DS not for transaction datasource?
    3. Is it possible only when generic DS is created on table not on view?
    4. How to create Change doc. object for Z table (transaction SCDO)?
    Any help will be appreciated
    Thanks

    Beside the steps done in RSO2, you have to create your own Change doc. object in t-code TCDOB and generate the update
    program there. Then call this pgm when you update the source table. more details can be found in below link.
    http://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document

  • What is the disadvantage with views in generic extraction?

    hi
    what is the disadvantage with views in generic extraction?
    thanks in advance,
    srinivas.

    Hi ,
    <i>What is disadvantage of generic extraction ? </i>
    If i am asking this what you will say ......You have only less points to say if any one ask you like this .
    Similarly Generic extraction based on view has many advantegs It was given to extrct data when standard business content data source is not available .
    But we know Views can be created when the table you need to extract data has Primary Foreign key relation .So if you need to extarct data from many tables with no relation between them then you cannot use view .
    But if you need to extract data from tables that have complex relation ,Then you need to go for Function Module extration and write some ABAP code and using SQL ststements you fetch data from tables based on thier key fields and finally get the desired data by your coding logic .

  • Error while extracting data from Generic VBAK Table

    Hi,
    When i am extracting data from VBAK using generic extraction via tavle, i am, getting the error "Syntax error in program "SAPLXRSA ""
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLRSAP" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program "SAPLXRSA " in include "ZXRSAU01
         " in
        line 159:
        "The type of the database table and work area (or internal table) "L_ST"
        "R_CE1IDEA" are not Unicode convertible. ."
    Please help me out in fixing this,
    Thansk,

    do you have an user-exit? if yes, post the code....
    did you try regenerating the entire stuff (ds, structure,...)...there might be a mismatch between the structures of datasource and the generated extraction program....
    M.

Maybe you are looking for

  • Magnet destroyed my hard drive, I have many questions about my options.

    Ok, so I didn't realize my air condition remote was magnetic and I set it on my computer and bam my whole computer crashed. Now when I put my install dvd to boot up from, the drive makes some weird noises and then the DVD gets booted. And before you

  • Find error table created using DBMS_ERRLOG

    Hello, I am working on Oracle 10.2.0.5 and have a requirement to log the Error records without allowing the Load process to fail. In order to achieve this, I have decided to use the DBMS_ERRLOG functionality provided. However, there is a catch. The a

  • How to configure Follow up and Actions in ICWeb Client.?

    Hi Experts, Please guide me to configure Followup and actions in IC web client. Regards, Sheetal

  • File Sharing Services

    Does anyone know what services the Mac OS uses to access Windows shared files? -On the Mac OS and on the Windows environment as well. In Windows, is it just the standard Windows File and Print services? Thanks. One of those...   Mac OS X (10.4.5)   O

  • How to improve the performance of Webservice?

    hi all, I have just finished a implementation of webservice about communication between Delphi client and Weblogic webservice 7.0. I found that the performance of transfering data is too slow by comparing with only http . I want to ask whether there