RSO2 - FM

Hey,
Can anyone give me idea about when to use Function Module in case of Generic Datasource...
please if possible provide me with some example.
Cheers!!!!!

When the requirement is not met by a table/view/infoset, you use FM.
Example : Say you need to pick data from PO and depending on its status you need to get the invoice info from BSAK or BSIK, and then call RFC function on another system to get use-tax and then pass all this info to BW in the datasource. Now this calculation/selection is not possible using a view/infoset/table so you would use an FM.

Similar Messages

  • Data reconciliation field in rso2

    Hello BW Experts,
    What is the purpose of the data reconciliation button in the rso2
    Suggestions appreciated.
    Thanks,
    BWer

    You should have it in BW only, not in R/3.
    The DataSource performs data reconciliation with another DataSource and should therefore not be used "productively".
    For reconciliation, the data reconciliation DataSource should be used in a scenario with direct access. The data that is extracted is compared with the data in the DataSource that is to be checked.

  • Select option greyed out for fields of custom DataSource (rso2, rsa6)

    Hi
    Why are several fields, in my custom DataSource (created in rso2) not available for select?
    I do not think this is a permission issue, since several fields are selectable, but not all fields.
    It is not the data type, since I see other custom DataSources that have the same data type, and it is selectable as a select option.
    This is not a DataSource that was provided by SAP, it is completely custom, and uses a custom data definition (defined as a structure via se11), and a custom function.
    I have read the responses to similar questions, but have not found an answer that explains how to make the field selectable for select.
    What determines which fields can be selected for selection, and which fields have this option greyed out (not selectable)?
    I have come across multiple answers, for similar questions, that suggest an abap program to directly update table roosfield.
    Is this safe?
    IF I choose this route will I need to run the update program on production, or will the change it makes to my dataSource transport with my transport?
    (I can test this).
    What I most need to know is If this suggestion is safe, or if it has side effects?
    Thank you

    Hi Eileen,
    In Least case to enable the selection for the fields with the below program:
    Below code is for your reference which will use to unhide objects in RSO2 or RSA6 for Data source( in code for BELNR, KUNNR, VBELN, BUDAT fields are unhiding for 0fi_ar_4 data source selection option) . Still need any clarifications let me know.
    SE38: Create a program for ref below code.
    REPORT ZNP_SELE_DS.
    tables: ROOSFIELD.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND   OBJVERS = 'A' AND FIELD = 'BELNR'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'KUNNR'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'VBELN'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'BUDAT'.
    Thanks & Regards,
    Srinu.Rapolu

  • Error Message in RSo2 Transaction

    Hi gurus,
                    When I tried to view a Data source in RSO2 Transaction. It is saying that  "There is no application component TRANSACTION DATA." I dont know what is that means. If some body knows if you could explain to me that would help me.
    Regards
    Jason

    hi Jason
    you may need to transport the application component hierarchy...
    (if RSA9 raise request, you can release and transport that request) or
    try in r/3, transaction se03 >> change object directory entry, in next screen, last blank line, entry object type DSAA, object APCO then change object directory entry / package from $TMP to your package.
    sap note 382471.
    later in bw ....
    (after replicate datasource in bw, may need to click 'reload tree' if it's new created application component, rsa1->source system->source system overview)
    Urgent: Missing Application Component Hierarchy
    take a look also oss note 542454 and 382471
    Application Component Hierarchy Transport
    hope this helps.

  • R/3 Table name not shown in RSO2

    I have a Z Table in my R/3 system which I can see from SE11 but when I try to create a Data Source from RSO2 with Create Data Source from DB table or view, it doesn't show that table name in the list.
    Do I have to create a view for that Z table or can I pull the data directly from the table?
    Please help !

    HI,
        Make sure ur table is active.
        or
        I think u have saved as a local object (tmp), so that it is not displaying in the RSO2 transaction. u can directly enter the name of the table u will get a information popup "Database table ZDANGER is a local object" press continue.
    u will able to use the table for generic datasource.
    regards,
    Md Zubair Sha

  • Rso2 infoset query  generation procedure

    How to generate data source in rso2 using infoset query to get distinct record

    Hi,
       Generating Datasource from Infoset is not different from Generating DataSource from View or Function Module.
    Create infoset in the source system from SQ02.
    go to RSO2. Provide the Datasource Name. go wiht create.
    Select the Infoset Push Button, provide description.
    provide the infoset Name. Let me know if you have any Issue.
    Save the DataSource. check RSA3 for Data.
    Regards,
    Nagesh Ganisetti.

  • Extract Structure automatically defined in RSO2 - Is it possible to change?

    Hello,
    I had a CRM extractor that had in the RSO2 the table ZBW_COMPLAINTS and a structure called ZBW_S_COMPLAINTS. It was created by another person. When I went to this extractor to add some new fields and saved the extractor in RSO2 it changed the name of the extract structure from ZBW_S_COMPLAINTS to some name like Z0CDR00130. Now I want to make it refers to ZBW_S_COMPLAINTS as it was originally. Do you know how to do this?
    Additional info: Some fields of this extractor are populated using CMOD
    Thanks & Regards,
    Adriana Oliveira

    Hello,
    I have authorization SAP_ALL and access key. I will change my question.
    In quality, I have a datasoure that is based in a view. This view is populated by a program. In the RSO2, there is the view name and in the structure field the structure name is not the automatic one that is generated, it is a Z structure name that has more fields than the table view. The additional fields in the structure are populated using ABAP in CMOD.
    Now I want to some changes I have done in DEV, specially the one that changed the structure name from the ZBW_S_STRUCTURE to another one that is automatically generated, but it was not possible using version management and I do not have reverse transport. Do you know another option?
    Thanks & Regards,
    Adriana Oliveira

  • RSO2 error and no component and infoset

    I try to use RSO2 to create a data source, but when I select Applic. component, there is no MM(material management) component.
    only PI_BASIS and BW component is there. so how to add MM component?
    error 2: under "extraction from SAP query", I can't find infoset I defined in other R/3 SAP server.  in our BI server, when I choose query area standard, I can't find table EKPO and EKKO, that's why I go to another R/3 server and create my infoset query Z1 to link EKKO and EKPO table. so how can I use infoset query Z1 in BI server or any other setting I need to do to be able to find table
    EKKO and EKPO in BW server?

    I'm creating data source in BW, why need to go to RSA6 to create a MM component manually? I thought this should be auto. created.
    The issue is: when I go to RSA9, I click "yes" for transport component hirarchy, it doesn't ask me to select MM or SD component.
    after that  a node "ROOT" with child "Acounting"  is created, this is not I want
    also, in RSA1, how would I know BI content add on is installed? I click BI content, it lists analysis process ,is it a add on?
    what else should I do to have MM component?
    My second error still not resolved, I'm asking how can EKKO, EKPO appear in SQ02 table selection of BI server?

  • ALE Delta using tcode RSO2. Cannot interpret status.

    Dear Gurus:
    I tried to do ALE Delta (tcode RSO2) for table VBAK (sales document: header
    data) . the changing document is VERKBELEG.
    After you click OK, Then you have list of fields (i.e. columns) property of VBAK table.
    The first column is status, which (as so far) lists only two status.
    1. Green checkmark
    2. Yellow zig-zag arrow.
    Next to field details, type, etc.
    My question is: What is the difference between those statuses ?
    Rgds,
    BWAS

    Alberto,
    I'm sorry but I don't know any way how to "repair" red delta queues. The only way is to do a reinitialization. The reason maybe that you didn't empty all delta queues before the system migration.
    Did you check in SBIW in Logistics cockpit if all your extract structures are active? Maybe some transport requests were missing which set the datasources active. It looks  like an error or missing step in your system migration routine. Sorry for that.
    Regards,
    Juergen

  • Delta update - rso2

    Please can you tell me why in RSO2 the field "Delta update" is disabled?
    how can I create an extractor based on a Function Module which is able to do delta extraction implemented by my function module?
    thanks

    Hi,
    Hope this will be helpful
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    Regards
    Md zubair sha

  • Creating datasource in Transaction RSO2

    Hello all,
    While creating a transaction in RSO2, I tried to use VBAP instead of VBAK as the view table and system gave me error "INVALID EXTRACT STRUCTURE TEMPLATE vbap OF DATASOURCE ...... Can someone pls explain this error to me.
    Regards

    Hi Emeka,
    The reason for this error is..CMPRE_FLT field is currency field which has got reference pointing to VBAK -WAERK ..and the datasource cant get VBAK field..as you choose only VBAP table alone..
    What you need to do is create a view on both VBAK and VBAP and  choose  WAERK field from VBAK so that you dont get this error. And create a datsource on the view of both..
    Hope this helps to resolve your issue.
    Regards
    Manga

  • RSO2 in BW and R3

    Hi,
    I want to know the difference between creating a generic datasource in R3 and creating a generic datasource in BW. When do we go for these two.Thanks.

    RSO2 is used for generic data source in source system.
    You can have BW as a source system. e.g. you have custom table in BW and you want to extract data from it then your source system would be BW only that time you will use RSO2 for BW.
    Once, you create, activate data source in source system (R3 or BW), you need to replicate that in BW. After replication, activate it and start upper level design and load data .
    -- Pravin

  • Create extractor via rso2 using fm

    Hello
    How to create a datasorce via rso2 using an r3 standard fm ?
    When i enter an standard r3 fm  (CS_BOM_EXPL_MAT_V2) in rso2 and try to save i get error saying  " The specified table  does not exist "
    Is there any how to guide or can anyone plz give me som help
    // S

    Hi  Stisse,
    1. Go to Transaction RSO2 , Here you can select whether you want to create a datasource for transaction data, Attributes or texts.Give a technical name to the datasource and choose create.Create a Generic DataSource.
            Choose an application component to which the DataSource is to be assigned.Enter the description texts.
            You can choose whether you want to create the DataSource based on View, Function Module or InfoSet query.Choose Generic delta.
           Specify the delta specific field and its type. Maintain the settings for generic delta. Specify the safety interval.
             NOTE: safety interval should be set so that no document is missed even if it was not stored in the DB table when extraction took place.
            Select delta type : New status for changed records (i.e. after image) This can be used with data target ODS (AIE).Additive delta i.e. aggregated data records (ADD) and then choose save.
             Now choose save again. This will generate the DataSource. After generating the DataSource you will see the delta update flag selected.
            Select the fields in the selection which you want to appear in the Infopackage selection.
    Transport the DataSource to BW in Tcode RSA6(Post
    Processing of DataSources).
    The steps in BW :
    Replicate the DataSources.
    Create necessary Info objects
    Generate Info source in BW, Maintain Communication Structure and Transfer Rules
    Create Info package and schedule it.
    Hope it will help....reward points
    Regards,
    Anil.

  • Difference between RSA2 & RSo2

    What is the difference between creating Data source using Tcode RSA2 & Tocde RSO2.
    If we create DS using RSA2 will it be a master DS or transaction DS.
    Regards,
    Anita

    Hi Riccardo,
    May be you are correct.
    Please refer note 863644 , there you have a attachment, which tells you how to create Data source using RSa2.
    Regards,
    Anita
    Message was edited by: Anita Prasanna

  • Application Component RSO2

    Hi Friends,
    I am creating Generic Extraction in Master Data Attributes in Application Component its showing: NEW_HIER_ROOT, I am unable to find App.Components like (SD,MM,PP etc.....)
    Any configuration required this...
    How to resolve this issue can any one friends help me.
    Thanks in Advance......
    Regards,
    Kumar.

    Hi Venkat,
    Thanks for ur Answer.
    My issue is not in BI side, R/3 I am unable to find the Application Component in RSO2.
    How to create  NEW_HIER_ROOT.
    How to solve this issue?
    Thank in Advance.
    Regards,
    Kumar.

  • RSO2 - Generic Delta

    Hello Guys,
      I have created a generic datasource using the rso2 transaction and I defined the aedat field (calendar day) as generic delta
    my doubt as follow. When a new record is created it is transfered to bw, but if the same record is updated
    I mean a numeric field like atnum. Is it transfered to bw as delta?
    Regards,
    Renato.

    depending on the table, but aedat is normally the changed on date.
    this date is only filled when the doc is changed. a newly created doc will have 00.00.0000 as changed on date.
    so according to me you will only get changed doc not new ones.
    options :
    you can create a delta based on erdat. but this will not detect changed docs only new ones.
    --> so you can create both and load to a dso (with overwrite). this way you'll have all new and changed records.
    another option is to create a full datasource and use two infopackages:
    a first one with aedat in eg last 7 days and another one with erdat in last 7 days. again load to a dso.
    last (complicated) option : use a extractor based on a function module. in this case you need to handle the timestamp yourself in the code. you can search on the net for examples, as this has been discussed many times.
    M.

Maybe you are looking for