Generic delta extractor for BW

Hello people!
I'm developing an extractor for BW with Generic delta with the field AEDAT.
In function module for the extractor, how can I identify this delta?
I have to select the table ESSR with this field and I don't know how to identify this field.
Thanks in advance!
See ya!

Define a range field like
ranges : l_r_aedat for <tabname>-aedat.
In your FM
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AEDAT'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_AEDAT.
append l_r_aedat.
Then when you do selections :-
Select * from <tabname> where
and aedat in l_r_aedat.

Similar Messages

  • Generic delta Extractors

    Hi All,
    I have a requirement to develop generic DELTA extractors.  have extensively created generic ectractors using function module RSAX_BIW_GET_DATA_SIMPLE.
    Can you please let me know how to create generic delta extractors with Steps.
    Also How the tabel ROOSGENDLM us used in generic extractors..
    Point will be assigned to useful answers..
    Regards,
    Bill

    Hi Bill,
    check this out: Generic Extraction via Function Module
    You do not have to take care about that table, the service api will do that for your, you only need to take care about the information (delta date, timestamp or pointer) passed to the fm by the api and design your coding related to that information.
    regards
    Siggi

  • Why isnt there a delta extractor for CCA Commitments

    Can someone explain why there is not a delta extractor for CCA Commitments; whereas there is one for CCA Actual - Line Items?  
    Both CCA commitments and Actuals are stored in table COSP; which has no date/time stamp.  Somehow the CCA Actuals can be delta enabled, however.

    The actuals are actually taken from COVP - this is a view across COBK and COEP (from memory - I could be wrong)
    COBK has the timestamp that is used - there is no requirement to take changes to CO documents as you cannot change any important information in CO relevant for BW
    If you do - then the change is not reflected in BW
    Regarding why no delta for commitments - I can not comment - I avoid this like the plague
    Have you see Note 721519 - Delta update for FI-FM DataSources

  • Generic delta extractors without timestamp!

    Hi,
    For a certain requirement, I have to develop generic extractors which should be delta capable. But unfortunately the source tables donu2019t have a timestamp; hence I canu2019t create delta enabled generic extractors using timestamp. Moreover most of the tables are standard SAP tables, which are used across different modules so it is not possible to introduce timestamp in these tables.
    I am working on extractors for Business Partners in SAP Transaction Banking.
    I have got couple of options:
    1) To use the change pointers by activating CNS service in source system. It is possible to activate the service and set up the segments for standard and custom tables, from where I need to extract the data.
    2) To develop the function module and create the generic extractors using delta queue functionality.
    Issues: In the first approach, I have created an extractor and it is possible to recognize the changed records. But the issue is I need some kind of flag which tracks the information regarding last successful delta extraction for an extractor based on change pointers and standard SAP table. I am not sure how does standard extractors maintains this status and picks up new/changed records in delta functionality. Not sure how to achieve this.
    In second approach I am not sure if it is possible to create generic extractors using delta queue and what are the complexities involved.
    If someone has already worked on these areas, any inputs are most welcome.
    Thanks and Regards,
    Amit

    Hi Amit,
    I haven't worked on SAP Transaction Banking but I hope you can get most of Business Partner data in standard extractors. Try to look for some.
    If you have to go for Generic extractor. there are 2 options:
    1. Use BTE
    [How To Create GDS which uses Delta Queue|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b68b99-022e-2a10-999d-c4dc9ec24a59]
    2.Use FM based GDS
    [How to Create Generic Delta|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33]
    [Generic Delta Using Funtion Module |Re: Generic Delta Using Funtion Module]
    You can also look for some numeric pointer from RSO2.
    Hope it will help you...
    Regards,
    Ashish

  • Generic delta extractor on view with ALE

    Hello.
    Extractor 0RT_WRF1_ATTR has type V and generic delta setting Numeric Pointer. Generic delta field is empty. Delta Process = A (ALE Update Pointer (Master Data)). ALE delta setting includes all fields of extractor structure. But changing one of these fields doesn't push new records into datasource.
    Can you please explain, how generic delta works with ALE pointers аnd why no data is delivered?

    CC,
    Check on deletion data available in table(with any indicator updated) or not available in table.
    If not available, you can not get delta through generic datasouce.
    Hope it Helps
    Srini

  • Generic delta queue for CDHDR

    Hi,
    Has anyone used the function module to create a generic delta queue to work for extracting data from tables CDHDR and CDPOS when using the UDATE as the change date? I was able to find an alternate solution to extracting the data from these tables, but the solution is not approved, and it is suggested to use the function module and use a changed date to create the generic delta queue from RSO2.
    Please advise.
    Thank you

    Hi Siggi,
    Thank you for your insight on this. Well, UDATE is the changed date in the table CDHDR, and I am wondering if that should be used to provide to the RSO2 setup and set the interval to 1 day. I am extracting this UDATE to my extract structure.
    Here is what I have in the FM and I am loading right now. I provided the date range to the 'Data Selection' tab for a complete year, which should only be 100K records but it is now extracting up to 17M records and still going. I am not sure if I should stop the load because it seems that it is loading the complete table CDHDR which is 80M.
    Here is my code form my FM:
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'UDATE'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_UDATE.
            APPEND L_R_UDATE.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          OPEN CURSOR WITH HOLD S_CURSOR FOR
         SELECT (S_S_IF-T_FIELDS) FROM CDHDR
                                  WHERE UDATE  IN L_R_UDATE
                                  AND   OBJECTCLAS ='ORDERBUCH'.
      SELECT OBJECTID CHANGENR USERNAME UDATE UTIME OBJECTCLAS TCODE
             FROM CDHDR
          WHERE UDATE  IN L_R_UDATE
          AND   OBJECTCLAS ='ORDERBUCH'.
    I have the other SELECT commented out because I was getting an error dump on the R3 side saying "One of the field names in the SELECT clause was not recognized.", referring to statement "OPEN CURSOR WITH HOLD S_CURSOR FOR", so I am using the other SELECT that is not commented out.
    I think I am following what you are referring to about the SELECT but not quite completely. What would you suggest to rewrite for the UDATE issue to process both the Full and Delta data?
    Thank you

  • Standard Generic Delta Extractor 0CRM_SRV_COSTS - Delta stop working

    Hello all,
    Has anyone experienced an issue with the standard generic extractor 0CRM_SRV_COSTS (reside in SAP R/3 system) where its delta suddenly just stop working? The issue is that the datasource keeps extracting the same delta records and from RSA7 and SMQ1, only have the olda data records and no new data coming through (ie. from RSA7 data are only in the Delta Repetition).
    The extractor uses Function Module and Numeric Pointer for the delta and I tried to investigate (via RSA2 and ROOSOURCE ) if there is a way to see what field is being used for the Numeric Pointer and how to trace it - but no luck so far.
    Has anyone experienced the similar/same issue on other extractor which can provide some inputs?
    Any ideas/suggestions will be very much appreciated.
    Thanks,
    Andy

    Maybe someone knows if records in tables SMOXRELP_S and SMOXRELP should match perfectly? I see that table SMOXRELP lacks one record that I have in table SMOXRELP_S.

  • Error with Generic delta extractor when checking in RSA3

    Hi,
    I have created one Test Generic Datasource based on Table MARA.Delta specific field I mentioned is LAEDA(Last changed On). After creating I have generated the datasorce also. But when I check the datasource in RSA3, I am getting error if Update Mode is "D". Error is "An error occurred during extraction". I am not seeing this datasource in RSA7 (Delta Queue).
       If I say Update Mode is "F", then extractor is working fine.It is fetching some records.
    Your help will be appreciated.
    Thanks
    Sirineni.

    Hi Sirneni,
            Is your Init load in BW successfull. Only after
    successfull completion of init load in BW  the data source appears in delta queue RSA7 in R/3. Also check whether any materials are being changed in R/3 because u r delta is based on  last changed date.
    Regards,
    Prakash B

  • Query for generic delta

    i need to create a extractor x_attr to bring master data attributes from a table y.how can set
    the generic delta on this x_attr generic datasource.does a generic delta exists for attr
    datasource?

    Hi,
    For delta to work properly in case of generic extractor.the field on which you want to make delta should be present in
    the data source.
    We have three delta.
    1.Time stamp.
    2.Cal day.
    3Numeric pointer.
    So depending upon your requirement and volume of your data you can choose the delta method.
    Thanks,
    Saveen Kumar

  • How to set Generic Delta for Generic Datasource

    Hi to all,
    please can any one explain me the generic Delta option for Generic datasource
    after creating generic datasource, i need to set the generic delta .
    can any one explain me all generic delta option in simple language with example.
    Field Nm
    Time samp
    calend. Day
    Numeric Pointer
    Safety Interval Upper Limit
    Safety Interval Lower Limit
    New status for changed Records
    Additive Delta
    i shall be thankful to you for this.
    Regards
    Pavneet Rana

    this question has been answered a million times.
    search the forum.
    M.

  • Generic delta with function module

    Hi Gurus,
    Is it possible to create a generic DataSource with delta support using function module following the queue delta mechanism (u can get some function moduel in MCEX function group, and check the outbound delta queue before and after update in transaction smq1.
    I can store the delta data using qRFC and collective update mechanism. but I don't know how to create a generic data with delta and how to attach a rfc destination (& logical system) to the data source. The Source system information is stored in the table "ROOSGEN".  Is there any configuration setting required to do the same.
    Regards,
    Jugal

    Jugal,
    What I understand you to be asking is if it is possible to create a generic delta extractor which uses the delta queue. If this indeed is your question the answer is yes.
    First you need to create your data source so it is visible via tx RSA5 and need to make sure that the delta type (ie ABR, AIM)is set appropriately for the datasource.
    The issue however is determining from where you will associate your delta hook (when will you write to the queue)? I have in the past utilized BTE's, Business Transaction Events to write information out to the delta queue, you can see a list of available BTE's in your system via tx FINF.
    Once you find a place to write your deltas from you call the below FM with the appropriate datasource.
    RSC1_TRFC_QUEUE_WRITE.
    Once you have done this the standard BW extractor for deltas will pull the information from the delta queue. But from what I understand you just want to know how to associate the data with the delta and that is the FM listed above.
    Hope this helps,
    Cheers,
    Scott
    > Hi Gurus,
    >
    > Is it possible to create a generic DataSource with
    > delta support using function module following the
    > queue delta mechanism (u can get some function moduel
    > in MCEX function group, and check the outbound delta
    > queue before and after update in transaction smq1.
    > I can store the delta data using qRFC and collective
    > update mechanism. but I don't know how to create a
    > generic data with delta and how to attach a rfc
    > destination (& logical system) to the data source.
    > The Source system information is stored in the table
    > "ROOSGEN".  Is there any configuration setting
    > required to do the same.
    >
    > Regards,
    > Jugal

  • How to deal with delete record in generic delta of generic datasource

    Hi,
       Anyone can give me suggestion about the delete record in generic delta  of generic data. I need extract data with a generic datasource and hope deleted record in datasource also can be "delete" in next delta extraction. I do a test with generic delta. It seem that the delete record can not be updated in ODS. but updated record can be updated in next delta extraction.
    How dose BW generic delta deal with the deleted record with generic delta mechanisim? Or how can I use generic delta mechanisim to realize that BW "delete" the deleted record of source system in ODS with delta extraction?
    Thanks in advance!
    Billy

    Delete is not supported in delta mechanism of generic delta extractor. You will need to add a workaround for that.
    - Capture the deleted records somewhere (maybe enhance the txn deleting the record so the key is written to a Z table). Take these records to BW and manipulate the recordmode to affect deletion of corresponding record from ODS.
    - If your generic delta is based on FM, and if the 'delete' is captured in change document tables, add the logic to check change document tables whether any records are deleted, and if yes, send those to BW with appropriate recordmode to achieve deletion.

  • Incorrect TimeStamp in Generic Delta (UTC Issue)

    Hi,
    I have a problem regarding a generic delta extractor. The pointer stored in rsa7 (ROOSGENDLM table) is not UTC but system time. As standard tables store the timestamp using UTC format the delta extractor is not picking up the correct data.
    Do you know a solution for this?

    Hi,
    Thanks for your reply. However I think that unfortunately this solution is not enough
    For example:
    I execute a delta. My TimeStamp is registered as UTC +2: 20080612160000. (Here I have the error, it should be in UTC)
    Now I modify a record in R3 and it is registered with timestamp UTC: 20080612140000.
    If I execute a delta it will take all the records higher than 20080612160000. Therefore my modification will never be uploaded.

  • Generic Delta Extraction via Function Module

    Hello,
    i need a help for a generic delta extraction based on a Function Module. As an example i take the function module RSVD_BW_GET_DELTA_DATA.
    My generic delta extractor based on the field AEDAT - Change Date and i will extract purchase service orders and entry sheets.
    In the sample function module the select for the extraction worked with the table ROBWQTSTAT, but this table ist empty after the initialization.
    OPEN CURSOR WITH HOLD G_CURSOR FOR
          SELECT * FROM ROVERCUBE1
                   WHERE COUNTRY IN L_R_COUNTRY AND
                         REGION  IN L_R_REGION AND
                         KUNNR   IN L_R_KUNNR AND
                         TYPE    IN L_R_TYPE AND
                         GJAHR   IN L_R_GJAHR AND
    Here the timerange calculated in form GET_TIME_INTERVAL is evaluated.
                         TSTMP   IN S_R_TSTMP AND
                         OBJVERS = 'A'.
    I found the table ROOSGENDLM. In this table i found the field DELTAID with the last date of the extraction and the field REPEATID with the date for the repead-Update.
    My Questions:
    Is this the right way to build an generic delta extraction with an function module or must i install a coding in my function module for an update of the table ROBWQTSTAT?
    Which settings are needed in the table ROOSOURCE for a generic delta extraction via function module?
    Best regards
    Uwe

    Hi Uwe,
    please have a look at https://weblogs.sdn.sap.com/pub/wlg/2415. [original link is broken] [original link is broken] [original link is broken] It might help
    kind regards
    Siggi
    PS: We already had almost the same question here today.

  • No records in delta extractor after change

    We have a generic delta extractor that is based on ztable filled by a scheduled load program.
    Last week I changed some records and then ran the transaction to fill the table and the program correctly filled the table and the extractor had the delta data.
    I then extracted a delta init to an ODS in BW where I had to manually change the QM status of the load from yellow to green and got the status messages that the timestamp had changed from 0 to xxxxxx
    Now after this init delta load, I went into R/3 again and changed the records.
    Ran the transaction to fill the ztable but no records come up in there.
    Also the extractor has no delta records.
    In VBAP I see the changed items but in 2lis_11_vaitm, no delta records.
    Any thoughts?
    Edited by: CC on Jul 1, 2008 12:33 AM

    Hi,
    We have a generic delta extractor that is based on ztable filled by a scheduled load program.
    Now after this init delta load, I went into R/3 again and changed the records.
    Ran the transaction to fill the ztable but no records come up in there.
    Also the extractor has no delta records.
    If I understand correctly, the load program did not add any records to  'ztable'.
    If that is the case the extractor running off  'ztable' would not deliver any delta records as there is nothing to deliver.
    If my understanding is right you should revisit the load program of 'ztable' to see why it is not filling 'ztable' table as you expect.
    BR/
    Mathew.

Maybe you are looking for

  • Recruitment Workflow : How to fetch applicant details.

    Hi I am working on recruitment scenario, where the workflow triggers with the creation of applicant no in PB10. Once the applicant no is generated, a mail needs to be sent to the applicant. Please suggest how to get the communication details for a pa

  • Address Book Contacts are Gone

    This is a really odd problem that has been going on for sometime now. It first started when I was running Tiger and the problem continues now even with Leopard. The problem is that periodically without warning, all of the contacts in my address book

  • PE9 working except Catalog Manger Dialog Box is empty.

    PE9 working correctly in W7 Prof  with 9000 images and tags showing correctly. Except Catalog Manger Dialog Box is empty for all three positions for choice of Catalog and actions are greyed out. The Custom Catalog position is selected to see all the

  • ISQL Plus

    I have recently installed oracle 10g and it works great. When I go to use my iSQL Plus, it dosent let me. I sign in as the SYSDBA. Next I connect as SYSDBA and it says "Requires WebDBA role and HTTP authentication". This dosen't work. Next I sign in

  • Sales Order display in CNMM

    Hi , In our scenario we are assigning multiple sales orders to project at  WBS levels ranging from 1-2. In CNMM we are getting the display of only one sales order which is assigned at Header WBS. Other  sales orders ( which are assigned to level 2 )