How to identify delta / full load in start routine

Hello Experts,
Is it possible to Identify data load is delta / full in start routine ?
If yes, Please provide your inputs.
Thanks
Sabbani

Hi,
The load will be full at the 1st load only. You can simply do a select single on the dso active table if sy-subrc is zero then records are there in the dso so we can assume its delta, apply routine, if sy-subrc NE zero it means DSO is empty and its first load.
Best Wishes,
Mayank

Similar Messages

  • How to Identify Delta Field in DS

    Hi Gurus,
      1. My understanding is if a field in datasource(DS) is
      set as Delta, whenever that field value changes in DS
      then the delta process will initialize. (please correct
      me if i am wrong) Do we need to replicate everytime
      the field value is changed so that the value is updated
      in the data target, if so is there a process to
      automate it...  
      2. Can someone tell me how to identify Delta Field in a
      DS for example in 0FI_AP_4. i tried to search for it in
      help.sap.com but all i could find is that 0FI_AP_4 is
      delta capable but couldn't find which field is set to
      delta...
    Thanks,
    SM

    Sri Mal,
       1. Yes, there should be one field enabled enabled for delta.
       2. no need to replicate every time when ever data changes. we need to replicate when DS changed. i mean not business data, if meta data changes we need to replicate the DS. let us assume you made one field for selection and one field as hide. then  you need to replicate this.
      3. OFI_AP_4 is standard DS. you can't enable delta for this one if SAP didn't provide that. we need to active data for this. in the SAP Documentation you can see whether it is delta capable or not.
    comming to 0FI_AP_4, IT IS DELTA CAPLABLE.
    Hope this helps.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • How to do a full load in DAC for a particular Module?

    Hi,
    We have one Execution plan loading all the BI Analytics module as of now.
    1)Financials,
    2)Procurement and Spend,
    3)Supply Chain and Order Management and
    4)EAM
    Issue is if  i go to Tools-->ETL Management-->Reset Data Sources  in DAC, it refreshes dates for all the Tables in the warehouse. ( and hence full load for all the Modules happens when i start the execution plan)
    I dont want full load for other modules, just want to do full load for a particular Module lets say EAM Module ( and also want to make sure that this particular full load doesnt create issues with the  data for other modules)
    Let me know how to achieve this.
    Any help in this regard would be highly appreciated.
    Thanks
    Ashish

    I can get a list of all the Facts and dimensions for a particular module from BI Apps Content guide... and then i can go and make refresh dates as Null for those Tables.
    Now should i run the execution plan for one particular module or an Execution plan containing all the modules?
    Cause i got this from someone..
    "The Data models for the different modules have many common dimensions, so a reload of one module could leave the facts in another in an invalid state as the dimension keys would be moved.
    Therefore it should not be expected that you can reload a module in isolation.
    However, you can selectively do a reload of any table by resetting it's refresh date in the DAC console.
    Then the DAC will determine the dependent objects that will also need a full load in order to maintain data consistency."
    Thanks
    Ashish

  • InfoSpoke Delta - Full loads

    Hello All,
    I have an Infospoke that's in PROD with Delta update sourcing from an ODS.
    We have planned a full load.
    With selection option 06-31-2005 to 06-31-2007
    changed the update mode from delta to full and started the full load on
    06-01-2007 and completed the load successfully on 06-09-2007.
    restored the delta once the data is consumed from the /BIC/OHXXXX tables on
    06-22-2007 (full load was huge).
    During this process of full load, ODS was fed with deltas (load to ODS was not stopped).
    Users are complainig delta data is missing during that period (06/01 - 06/09)in which full load was performed.
    Can someone throw some light on why did the delta data is missing only for that period? Is not putting the ODS load on Hold the reason for this failure which messed up the delta pointer.
    Full points assured.

    Hi,
    enabling delta load:
    chk the below link for step by step instructions
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/97433e99ee70dbe10000000a1553f6/frameset.htm
    which describes:1.Delta Load Management Framework Overview
    2.Enabling Delta Load
    3.Initializing Delta Load

  • How do you identify the Logical system in start routine of a transformation

    My scenario is this.  I have five r3 systems that I am extracting from.   In the start routine of the transformation from the r3 data source to my data store I  am going to delete data and I need to know the source system id.    How do I identify the logical system or source system id in the transformation.  Is there a system field that contains this information.    I do not want to hard code the source system id in the routine.

    hi
    have a lool at tables rsreqdone and rsbkrequest with a join you should be able to determine the source.
    regards
    Boujema
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).
    Edited by: Boujema Bouhazama on May 9, 2008 12:04 AM

  • How to kill a "Full load" scheduled from R/3 system in the middle

    Friends,
    I scheduled a full load from an R/3 system to BW by mistake.. now I want to kill that job in the middle... I don't want to wait until it is finished, because R/3 contains quite a millions of records and the load may take place couple of days...
    I delete the requests from the cube, but they keep popping up again and again... I suspect this is because the job is still running in the background... couldn't find the job in SM37 to kill it there...
    Please help.
    Venkat

    Hi ,
    Go to your load >>> enviorment >> job oevrview >> in source sytsem >> fron there you copy tthe job in name ..
    now to go to sm37 of your R/3 and search that job (keep active ,finshed and cnacelled checked)>>
    and then  double click on taht job >> got o job details <<< copy the application server and work process ID and then serch that piD in that server >>> and "cancel it without core .."..
    your job will stop in R/3 after that and some times it happens that even though you cancel the job in R/3 some data packet processing wll be still going on in R/3 side so check for locks in R/3 and if you find your request there .. then delete those locks it will stop the load
    regards,
    shikha

  • How to populate the variable created in start routine to a field.

    Hi
    I have created a variable ZCUST in the Start routine and I have written some code to populate this value. Now there is a field in the update rules, Z_YTCUST. I want to assign the result of the variable created in start routine to this field. How can I go abt doin this? I have tried but for some reason the result shows 0.
    Thank you.

    Hi,
           Make sure the variable used in the start routine is a global variable. then assign the value u get it from the start routine in the update rule result field.

  • How to tell when the load to start

    Hi,
    don't even know where to look for the answer, so I apologize
    if this topic was already opened. Here's my case. In main flash
    movie load another flash movie, where different items come from
    left and right side of the screen (full screen window). After a
    click on one item, all the item go the sam eway off the screen and
    another movie loads. Question. How to tell the flash that first all
    the items must go off the screen and then unload that movie and
    load the new one?
    THX for the help

    jo3 wrote:I'm curious to know what time my system lost power, whats a good way to tell? I have been checking the logs to get the last entry times but was curioius if there were other methods of telling when the box's power was interrupted?
    A rather ghetto way of doing it:
    #!/bin/bash
    log="/var/log/uptime-poll"
    pollsecs=10
    echo $$ > /var/run/uptime-poll.pid
    if [[ -f "$log.tmp" ]]; then
    echo "Lost power at: `cut -d';' -f2 "$log.tmp"`" >> "$log.log"
    fi
    while :; do
    date +'%s;%D %T' > "$log.tmp"
    sleep $pollsecs
    done
    ...and in /etc/rc.local.shutdown...
    killall $(cat /var/run/uptime-poll.pid)
    rm /var/run/uptime-poll.pid
    rm /var/log/uptime-poll.tmp
    Last edited by Wintervenom (2009-08-29 06:37:29)

  • How to identify deltas

    Hi,
    create table t1(no number primary key, name varchar2(10), email varchar2(100));
    I don't have who columns(last_udpate_date, last_updated_by, creation_date, created_by) in my table t1
    I want to send records to my other team on a daily basis,
    assume on day 1 I have 10 records in my table t1 and today am sending all 10 records as it is a day1
    on day 2 I have 20 records in my table t1
    meaning below are the scenarios for 20 records
    a) 10 records newly added -> send only newly added 10
    b) 10 records added + 5 records updated -> send only newly added 10 and 5 updated
    c) 14 records added + 3 records updated + 4 records deleted -> send only 14 newly added + 3 updated + 4 records deleted

    >
    create table t1(no number primary key, name varchar2(10), email varchar2(100));
    I don't have who columns(last_udpate_date, last_updated_by, creation_date, created_by) in my table t1
    I want to send records to my other team on a daily basis,
    >
    Create a MATERIALIZED VIEW LOG on your table and let Oracle do all of the work of capturing which rows changed.
    That way you don't have to modify your table at all and the MV log will also capture DELETEs (you didn't mention how to tell the other site about rows that have been deleted).
    See CREATE MATERIALIZED VIEW LOG in the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_6003.htm
    >
    When DML changes are made to master table data, Oracle Database stores rows describing those changes in the materialized view log
    >
    Try this example in the scott schema
    drop materialized view log on emp_copy
    create table emp_copy as select * from emp
    alter table emp_copy add constraint pk_emp_copy primary key (empno)
    create materialized view log on emp_copy
    with sequence (ename, job, mgr, hiredate, sal, comm, deptno)
    including new values
    update emp_copy set job = 'TEST1' where empno = 7654Then take a look at the MV LOG (MLOG$_EMP_COPY) records and you will see all of the information you were wanting to capture.
    For your use case you just need the distinct ROWID or PRIMARY KEY values from the log. Use those to grab the rows from your table and then delete the log rows.

  • How to declare a internal table in start routine i.e. transformations

    Hi Gurus,
    How to define an internal table in a start rotuine?
    any help greatly appreciated.
    Best Regards,
    Reddy.

    Hi,
    types: begin of str,
    field1 type c,
    field2 type c,
    end of str.
    data : itab type table of str with header line.
    the above code should be inserted where it says insert code below this. this will be like a global decleration. this table will be available for all the routines that you write in the transformation.
    All the best !!
    Regards
    Aparna

  • Difference between delta load and full load

    HI,
    i am getting confused with full load and delta load.
    The scenario is as follows:
    I have 4 records which i need to pass to DSO.(Standard DSO)
    These are the fields and records.
    IO_amount          io_QTY         0UNIT     0CURRENCY     Matnr
    1519     195     EA     USD     MM01
    2643.85     12     EA     USD     MM02
    3580.4     10     EA     USD     MM03
    6049.8     12     EA     USD     MM04
    Now i need to change the record as
    IO_amount          io_QTY         0UNIT     0CURRENCY     Matnr
    1500     195     EA     USD     MM01
    2643.85     12     EA     USD     MM02
    3580.4     10     EA     USD     MM03
    6049.8     22     EA     INR     MM04
    When i passed it as full and delta load but could not make out any difference..
    I can see the data only in active data and change log tables.how can i see that in DSO?
    please help out,Points for sure.

    Hello Susmitha,
    You are right & your view of data is also correct
    But only thing here is ODS which you are using mait have Overwright option in its Update Rules /Transformations
    Here Q is
    Which fields are in KeyFields in DSO Design
    If
    this Field Values are same in Delta are Full Upload
    it will overwrite the records in ODS / DSO
    If not
    it will add the records to DSO /ODS
    Comming to Delta & Full Loads
    If you use Full always all data Present will be loaded
    if you use Delta always changed & New records will be updated
    This happens through Pointers Set ( Snap Shot of Previous Load )
    Some tables where you can see RSOLTPSOURCE,RODELTAM etc
    Try to wiew this ,Its tough to get
    Thanks
    Hari

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to create delta extraction through function module?

    Hi all,
    So far i have created the data source through full load. But currently i would like to convert the couple of function module generic extraction converted through delta.
    Can anyone let me know how to convert from full load to delta using generic extraction
    thanks

    Hi,
    Try these Links, helps u in getting an idea.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30aefb04-7043-2c10-8e92-941536eebc79?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f1a423-02ae-2e10-bd85-bde64e61fe7b?QuickLink=index&overridelayout=true&51947629650864
    Regards,
    Aravind.

  • Data Source - Full Load

    Hi Friends, Please help me with this requirement , I have a Standard content datasource that have plant, factory, Industry units and Machine Areas fields with  "valid to" and "valid from date". Now this datasource does not support the delta,
    1. can you help me how to make the full load on monthly basis, I have calendar day in DSO which i map to valid from field
    2. Is there any way to make this Standard content <b>datasource delta capable</b> to load delta to ods. No OSS notes available for this
    Please send me step bby step code to make the delta
    Thanks
    Poonam

    It is not possible to make generic datasource since too many tables are having the data fields. please suggest any other method
    Thanks
    Poonam

  • How to debug start routine for the custom code?

    Hi Experts,
    Can anybody tell me how to debug the start routine? Also could you please guide me where to write the custom code in the start routine.
    Thanks in advance.
    Sharat.

    Rajkumar,
    Thank you for your help. but the blog link that you send it to me does not mention anything about ABAP debugger screen.
    What should I do once I get in to the ABAP debugger? the link only tells how to get to the ABAP debugger that I know.
    Also it say that I have to use the infinite loop to debugg the start routine.
    Can anybody tell me how to debugg start routine with the scren shots please. I don't know how to use infinite loop in the start routine. Is their any easy process step by step to see my particular record behavior in the start routine?
    I will assing you the points. again thank you.

Maybe you are looking for