Two fields for generic delta

I have to create one data source which will contain two fields for generic delta...extraction of data will be through FM.SAP provides a standard functionality to create a generic delta. This can only be build on one selected field.
The logic of the functional module is based on two fields: ICRDT (creation date) and IUPDT (change date). The module should look for both day because when a new records is created the change date does not get populated in R3.
Can anyone pls help me out?

Hello Siggi,
i have to create an delta enabled extractor for a database table.
The database table (=EAUS) contains the fields "ERDAT" and "AEDAT".
I'm a Newbie in ABAP und so i read some blogs, articles and how to do papers here.
But my tests haven't work:
1. I created a structure in SE11 for extraction. The structure contains all the of the database tabel (=EAUS)
2. Then I created a data element "ZDATE" in SE11. I integrated ZDATE in the structure.
3. Then I copied function group "RSAX" and function module "RSAX_BIW_GET_DATA_SIMPLE" in our namespace.
4. I used the copied function module as a template and adapted the coding in the function module.   The coding is from the paper "Functional Module Based Delta Enabled Generic Datasource"   
But i doesn't work. My deltaenabled generic datasource doesn't get the deltas. In RSA3 with update mode "D" no data records were selected. (I create new records in the database EAUS before I checked the extraction). The update mode "F" and "C" works.
Can you help me and send me the coding of your function module?
Many thanks!
Jan

Similar Messages

  • Safety Intervals for Generic Delta

    Hello Gurus,
    I want to know about safety upper limit and lower limit for generic delta.
    I have gone through the previous threads related to this topic and i am not able to understand completely.
    can anybody explains me this in detail with example in terms with Calday, Timestamp & Numeric pointer.
    Thanks in advance.

    There is very good example was exist on wiki.
    please search and help yourself.
    Use Google search by using search term " wiki generic delta".
    You will get what you need.

  • EKBE table for Generic Delta

    Hi Gurus,
    Good Day to all. I just like to inquire some details for creating generic datasource with delta enabled. I have created a view table with fields from EKBE table, and created generic datasource that reads the view table I have created from EKBE, now it needs delta process with CPUDT as delta specific field name, seeing the data type of CPUDT, it is DATS with 8 length.
    I would like to assure if what will be use as marker of delta, timestamp utc, timestamp local, calendar day and numeric pointer?
    And if I use one of the above, what settings that needs to be use for the safety interval upper and lower limit?
    Thank you for your inputs and really appreciate it.

    Hi,
    use the CALDAY as a generic delta pointer.
    i would like to recommend as: Safety Interval for Upper Limit as 1 and Safety Interval for lower Limit as ZERO
    i think your are using the DSO as a staging layer no worry about duplicates.
    Thanks,
    Phani.

  • 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

  • Regd Safety Interval Lower Limit for Generic Delta

    Hi All,
    Safety Interval Upper Limit =1  for a Generic Delta would get Delta based on yesterday's BW data.
    What would Safety Interval Lower Limit would do for a Generic Delta .
    Your inputs please
    Sree

    Hi,
    just a short example:
    you run a init today --> 20070525  (internal date format).
    for the next delta tomorrow the system takes the last extraction date - 1 day so 20070524 for data selection and will store 20070526 as last extraction date and so on.
    This is to make sure that you will get all additional records extracted which were changed or created on each extraction date, but after last extraction. OK, you will get some records twice, but therefore you normally post the data to a ods via overwrite mode and this will take care about the 'real' delta while doing the further posting to the cube.
    Hope this helps
    kind regards
    Siggi

  • How to upload the data for the z fields for the delta upload

    Hi Exports,
    I have the Z fields for the data sourse 2LIS_05_Q0ITEM. when doing any changes in the R3 system,the changes for the Zfileds are not uploded through delta upload.
    Anybody plese suggest me to upload the changes.
    Thanks,
    Krishna

    Hi krishna,
    see....have u activated that DATA SOURCE or not? if not activate that DATA SOURCE and have u written any code to that Zfields in RSAP0001?
    Regards
    chandra sekhar
    Edited by: chandra  sekhar on Nov 11, 2008 12:47 PM

  • Delta field for generic data source based on view EKBE

    Hello,
    I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered).
    Thanks for the help.
    Praveen

    Hello Ajeet Singh,
    Thank you very much for the reply.
    I will go ahead with CPUDT.
    BUDAT is the date which can be changed. I can change the date in system and chances are it will not pick in delta.
    CPUDT is the date on which document was created/changed.
    Thanks,
    Praveen

  • Delta-Specific Field for Generic DataSource

    Hi,
    I have defined a Generic DataSource for Transaction data on R/3-Side.
    This DataSource is based on View/Table EKKO (Purchasing Document Header) for some specific customer requirements. Delta-Specific Field is AEDAT (Calend. Day). Safety Interval Upper Limit is set 1 Cal. Days. No Safety Interval Lower Limit has been defined. "New Status for Changed Records" has been marked.
    When we see this DataSource in Extractor Checker (RSA3), this data source
    Extracted all delta data where AEDAT is not blank.
    When I see the content of table EKKO, I can find few records where AEDAT is blank.
    These records are missing in Extractor Checker.
    How I can solve this problem? Which delta-specific field can be used in
    this generic Datasource? Should I define an additional Generic DataSource with
    Delta-Specific Field BEDAT (as BEDAT is filled when AEDAT is blank in table EKKO)?
    Thanks for the answer.

    Delta based  on calday wont pick all the records  which are recently posted and you can not run the delta more than one time in a day ,end of the day only you can run the delta.
    Set the delta as Tme Stamp and specify the Upper  limit to 5 minuts.
    We can run the delta no. times and pick the documents posted in short interval of time.
    With Regards,
    Kishore.

  • Time Stamp Delta field for Generic Data Source

    Hi Experts,
    I have a requirement to create a Generic Data Source based on view. This view on PA0006 and PA0105 tables.
    Will you please suggest me which field i have to take as delta field.
    Thanks In Advance.

    Also, make sure that whenever a new record is created in those tables, field AEDTM is getting updated with system date else you will miss new records in delta unless there is a change in those newly created records.
    Regards,
    Gaurav

  • Dataload - evaluate two fields for a condition

    Hi, I need to evaluate two different fields in a dataload rule and apply condition if true. for instance if field 1 is 600 and field 2 is 30 the change field 1 to 650.

    Hello Siggi,
    i have to create an delta enabled extractor for a database table.
    The database table (=EAUS) contains the fields "ERDAT" and "AEDAT".
    I'm a Newbie in ABAP und so i read some blogs, articles and how to do papers here.
    But my tests haven't work:
    1. I created a structure in SE11 for extraction. The structure contains all the of the database tabel (=EAUS)
    2. Then I created a data element "ZDATE" in SE11. I integrated ZDATE in the structure.
    3. Then I copied function group "RSAX" and function module "RSAX_BIW_GET_DATA_SIMPLE" in our namespace.
    4. I used the copied function module as a template and adapted the coding in the function module.   The coding is from the paper "Functional Module Based Delta Enabled Generic Datasource"   
    But i doesn't work. My deltaenabled generic datasource doesn't get the deltas. In RSA3 with update mode "D" no data records were selected. (I create new records in the database EAUS before I checked the extraction). The update mode "F" and "C" works.
    Can you help me and send me the coding of your function module?
    Many thanks!
    Jan

  • Issue with Safety Upper limit for CALDAY Field for Generic Data Source

    Hi,
    I have given Upper limit as 1 for Calday field of one of the Generic Data Sources.
    I have got a doubt here.If today's load got failed and I will rerun the load next day.So Will that new run captures all 2 days records.
    Can any one advise me on this.
    Regards,
    K.Krishna.

    Hi,
    A one-day upper safety interval determines that an extraction run today, only fetches records up to yesterday (if the pointer has the day before yesterday date, the extraction comprises from the day before yesterday to yesterday).  This is meant to avoid missing records that were about to be persisted in the database when the delta extraction is running but whose date was determined in memory before the delta started.
    If pointer has today date value and you want to load data from today and yesterday, you should use a lower safety interval.  Take into account that this could reload data previously extracted.  Therefore, only InfoProviders with overwritting features (DataStores or InfoObject master data) should be used as targets of this extractions.
    You can find further details at:
    http://help.sap.com/saphelp_nw04/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/content.htm
    I hope this helps you.
    Regards,
    Maximiliano

  • Visibility formula for checking on two fields for deciding on visibility of row

    I have a row that has groups in it where I need to check for Risks and Issues availability and if both are not there, make the row invisible.  If either of them or both are there, go ahead and display.  I have the following expression for one of
    them and it works for the risk group but for the life of me I cannot figure out how to check for both risk and issue fields; have tried many different possibilities but it keeps telling me the syntax is invalid.  Any ideas would certainly
    be helpful. 
    =Iif(IsNothing(Fields!Risk_Title.Value),True,False)
    Cletus51

    Your statement syntax worked...thanks!  However, due to the way I have two rows structured, for the second row, in order to not display the project name twice, I had to use your statement in the negative (inverse).  Here it is.  Again, statement
    worked. 
    =IIF (Not IsNothing(Fields!Risk_Title.Value)
    and
    Not IsNothing(Fields!Issue_Title.Value) ,True,False)
    Cletus51

  • Time interval limit for generic delta on timestamp

    I have searched a lot about delta on timestamp in the forums.
    But I'm still not clear with the safety upper and lower limits..how is my delta load affected by this value?
    What happens if I dont specify any value for the interval limit?

    Hi,
    This is very simple thing, you must be knowing the concept of data posting in transactional system, e.g. creating a sales order.
    When you create an order and press save, system takes data from this screen to the database tables and once this action, which is called "DB COMMIT", gets completed, you get data in your system tables. So this activity may take some time before you can retrive this information.
    Let's say it takes 5 mins, so when you'll collect delta records, if some records, which are under process for DB commit, they won't come in delta. Say u collect these records at 12:00 AM and record posted 11:55 PM will take 5 mins to reflect in Database. So we keep safty limit of 5 min.
    Upper and lower means starting and ending of time window, from which you want to extract records.
    Hope it helps in understanding...
    Regards,
    Ashish

  • Checkbox fields for generic object.

    Hi,
    I am building a generic object. In one of the properties ofr this object, I want to setup several fields with checkboxes, so that the user can select one or several allowed values. Does anyone know the XML code on how this can be achieved.
    thanks,

    Hi,
    I am building a generic object. In one of the properties ofr this object, I want to setup several fields with checkboxes, so that the user can select one or several allowed values. Does anyone know the XML code on how this can be achieved.
    thanks,

  • About two fields for out puttype in Nace

    Hi all:
         there are two fileds in General Data page for setting up output type in Nace ---program and form routine, can you please explain it why use FM06AEND and CHANGE_FLAG for IDOC?
       thank you very much

    Hi Sony,
    The program can be same for different mediums (like EDi, ALE ... etc). We can have different routines for each medium seperately in the same program.
    For example: we have same program for both mediums EDI & ALE -RSNASTED
    but routines different EDI -EDI_PROCESSING,
                                      ALE-ALE_PROCESSING
    If we want to use a special medium, we should also create custom program and the routine by copying the SAP stadard prog & routines.
    Reddy

Maybe you are looking for