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

Similar Messages

  • 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 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.

  • 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

  • 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.

  • 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.

  • 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.

  • 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.

  • Generic delta creation with Extractor Starter Kit - BW Datasource option

    Hi Rajesh, Rohit,
    As per the wiki, http://wiki.sdn.sap.com/wiki/display/CPM/FAQ-DataExtractionforSpendPerformance+Management, the question:-
    Do these starter kits have any support for delta (periodic data updates) after the initial load is completed?
    A. Yes. Deltas are available (for all source objects that support delta mechanism) in both of the extraction options. You don't need to reload the full set of data, when you perform the periodic data updates.
    I understand you can use the date range but this in my view is still a full load.  We understand that you can create your own generic datasource based on the generated function module generated by generating the object, for e.g PO.
    We have tried to do this for the object PO, thus the following:-
    rso2 > create a new transaction datasource > base on generated datasource (Z_SADSERPPO) and use it's fm and extract strucutre :- Z_SAERPPO_DS fm , ZEXTR_ERPPO extr structure
    When we goto to create a generic delta based on DATE_RANGE we get the error message ::-
    Z_PDPOTEST: TABLES-paramter E_T_DATA for extractor Z_SAERPPO_DS is missing
    Can you create a blog around this as we understand other customers have managed to create these deltas?
    Best regards,
    Pom

    Hi Claudia,
    That's fine, please continue to use the Z_SA_DEPD to generate the datasource.  If you then do a rsa2 on this datasource, you can see the underlying function module and the extract structure for this which is also fine.
    The bizarre thing is that through rso2 for this generated extractor, you cannot see the fm associated for this, hence why the generic delta is not working.
    What we thought of doing and in line with the sap recommendation was to create a new transaction datasource from tcode rso2 and base it on the above function module and extract structure, but when we goto choose the date_range as the generic delta, it doesn't work and gives the error.
    Am still waiting an answer.
    Will keep you posted.
    Thanks,
    Pom

  • Generic FM extractor with Delta

    Hello all,
    I am trying to create a delta function module extractor on a table. I have creation date ANDAT, last change date AEDAT and a deletion flag on the table.
    FM has to handle history, new and changes.
    How can I generate delta? Can I just use RSO2 to set up delta? How can it be done? Also, can I get the code for a generic FM delta extractor?
    Please help.
    Thanks,
    Anirudh.

    Hi Sajeed,
    So, I do not have to handle delta in the extractor at all? Just create a function module based extractor with all the fields and actually take care of delta in the infopackage??
    The creation date is for newly created records and the change date is for changed records.
    My email is [email protected]
    Thanks,
    Anirudh.

  • Custom delta extractor: All data deleted in source table in R/3

    Hi everyone,
    I have made a custom delta extractor from R/3 to a BW system. The setup is the following:
    The source table in R/3 holds a timestamp, which is used for the delta. The data is afterwards loaded to a DSO in the BW system. The extractor works as expected with delta capability. Furthermore if I delete a record in the source table, this is not transmitted to the DSO, which is also as expected.
    The issue is this however: If we delete all data in the source table, then on the next load there is a request showing 1 record transfered to the DSO. This request does, however, not show up in the PSA, and afterwards all data fields in the DSO is set to initial.
    Does anyone know why this happens?
    Thank you in advance.
    Philip R. Jarnhus

    Hi Philip,
    As you have used generic extractor I am not sure how the ROCANCEL will work but you can check the below link for more information,
    [0RECORDMODE;
    Regards,
    Durgesh.

  • Problem in getting Generic Delta records to BW

    Hi BW Gurus,
    I have got one issues with which I have been struggling a lot for several days . i.e
    I am extracting data from R/3 using Generic Extractor (View) from CATSCO and CATSDB. At the time of delta, I tried using Personal  No with Time Stamp giving Upper limit as 1800 seconds. I executed Infopackage in BW immediately. But it didn't work out. So plz guide me how I can get Delta Records to BW. Or should I do any  necessary factors apart from these in Generic Delta Screen (RSO2).
    It is very urgent.
    I will be thankful for solving this issue.

    Hey I am "Intros" again,,
    I am sorry man for giving the wrong T-code mistakenly in my last reply..
    To solve the proble...the whole process is same what I told u before..
    But... you got to go to T-Code :  BD87   , then execute the IDocs manually to bring them in to BW
    identify your IDocs which are missing in Monitor screen, then goto BD87 and select those IDocs and click execute... )you can search the IDoc's based on selection conditions)
    I hope this will help u...
    cheers man..
    ---Intros

Maybe you are looking for

  • Text watermark opacity different in print module

    In the print module of both lr4.1 & lr3.6 I find that the print module changes the opacity of a text watermark (to less, by about 20-30%) than what it is in the library & develop modules.  Is this some kind of operator error or is it a bug (or featur

  • Office:Mac and Corrupted Fonts

    I have installed the office:mac 2004 version but when I try to open any of office applications while trying to optimize font menu performance, I get a message saying xyz font is corrupt and needs to be deleted. Seems like many fonts needs to be delet

  • Knowledge Provider KPRO architecture integration with Documentum

    Hi All, As a part of KPro architecture it is understood that the SAP Content server at the bottom layer can be replaced by any third party Content server and in our case we wish to make use of Documentum content server in place of SAP content server

  • Black Screen On Boot After Nvidia Driver

    I just installed arch and went to install my nvidia driver right afterwards. I now boot up and after grub i get a black screen. I am 99 percent sure i know what this problem is and i have had somthing similar with gentoo. I have a sandybridge so i ha

  • Mixed Environment Physical Win 2008 and Virtualised Win 2012R2 [Where is the Virtualisation Group!]

    I am upgrading from a twin physical DC environment on win2008 (not R2) to fully virtualised DCs running 2012R2 on HyperV 2012R2. I know there is a risk running both DCs on a single box but we don't currently have a choice. The idea is to migrate to 2