Generic Datasource on table IMRG in R/3- delta on timestamp is it ok ?

Hi
I am creating Generic datasource based on table IMRG in R/3, This has stoppages related data. which we need in BI report. There is a field for Time-stamp in the table, i have checked values in table IMRG, but in R/3 it shows no data for the time-stamp.
Now i want to create delta basis for this generic datasource based on table, so shall i create delta based on time-stamp or date field.  
If I create delta based on time-stamp will it create problem in delta extraction subsequently? Please share your experience in such a cases.

There is a field for Time-stamp in the table, i have checked values in table IMRG, but in R/3 it shows no data for the time-stamp.
Delta specific field should be something which defines changes in your table, not something which is blank always.Based on the change in this delta specific field only delta will be pulled.Having it blank will never pull you delta.
Hope this helps.

Similar Messages

  • Problem while creating generic DataSource using table

    Hello all,
    I am creating a generic DataSource using table EKBE. It is giving error " invalid extract structure template EKBE ". The reason is " The system tried to generate an extract structure with the template structure EKBE. This operation failed, because the template structure quantity fields or currency fields, for example, field MENGE refer to a different table (EKPO)".
    Could you suggest how to approach?
    Thanks,
    Zak.

    hi zahir,
    In your case the reference table used for quantity is ekko and the field is meins.
    and the reference table used for currency is ekpo and the field is waers.
    So you are not taking data from a single table. so you better create a view give the table name ekbe and select the corresponding fields you want.
    Add MEINS and WAERS and as well your required field in the view for example Zview and for Quantity field mention Zview as reference table and reference field as MEINS same for WAERS.
    try this if it doent work, tell me what error you are facing.
    with regards!
    ramesh

  • I am using generic datasource first time init sucessful, next time deltas

    Hai ALL,
    I am using Generic Datasource first time i run init next time i want to run the delta, delta is sucessful but 0 records. i am taken date field and new status fileds(DSO) for DSO. R/3 side table values chaging but not replicate to BI. Can any suggest how to run the delta for Generic Datasource.
    Thanks & Regards,
    Suresh

    Hi
    Have you set delta pointers in your Generic datasource? if yes then what it is ? try to see if its logically related with your changes in records or you need to use any other type of delta pointer.

  • Error while creating datasource from table MBEWH

    Hi all,
    I am facing an error message while creating datasource from table MBEWH
    "Invalid extract structure template MBEWH of DataSource "; This operation failed, because the template structure quantity fields or currency fields, for example, field LBKUM refer to a different table.
    Can anyone help me that why system is not allowing me to generate generic datasource for table MBEWH to transfer my month wise inventory data.
    thanks and regards.

    Hi Zakir,
          This was comming for classification data... when ever you want to extract some classification related data then we can't create generic datasources  directly.. for that you need  to go with CTBW  ( tcode )  and   create  one datasource...
       so, you need to check that   related table also.. for that  MBEWH table..
        ALL THE CLASSIFICATION RELATED DATASOURCES WE CAN'T CREATE DIRECTLY... JUST LIKE  AUSP table also.. liek this..
    regards
    @jay

  • A GENERIC DATASOURCE SCENARIO -URGENT

    I have few reports for BOM data is to be pull into bw
    all the reports contain the same tables Mentione below
    MAST- material to BOM LINK
    STKO- BOM header
    STPO- BOM ITEM
    STAS- BOM ITEM SELECTION
    how should i create ageneric datsource satisfying that all the data comes from these tables without fail of deltas,
    my doubts.1. Do i have to create a separate data sources (generic) for all these individually and load into separate ODS'S AND CLUB THEM into single ODS further.?
    if i create i dont know what should be delta field that has to be picked for each datasource
    2. Do i have to create a view on all these tables and create a generic datasource.if created what would be the delta field i have to select.
    could you pls let me know how should i pull the data without loosing any deltas
    could you pls let me know the flow with delta fields mentioned
    regards,
    P

    It does not matter whether to extract from table or view in order not to loose delta.
    You need to identify a field in the table /view that can be delta enabled.
    Go to RSO2 and define the data source and you will see a push button for delta and click that and set the settings for delta field.
    Ravi Thothadri

  • Error creating  a generic datasource

    Hi Experts,
                  I am trying to create a  generic datasource  from table T549Q. I get following error message.  
    Extraction from 'pool tables and cluster tables is not permitted'. Any workaround for this issue?. I appreciate your feedback on this issue.
    Thanks,
    Varun.

    You should use the FM Extraction to extract data from cluster table.
    See the below link
    Generic DS
    Regs
    Gopi
    Assign points if it helps...

  • Generic Datasource Delta Settings Change

    Hi Experts,
    Currently the delta field in generic datasource is set to timestamp (LOCAL) and Upper limit is blank.
    I need to change the delta settings to timestamp(UTC) or set the upper limit to 1000 seconds.
    Can anyone tell me how to change this in production. Do i need to change this in dev and transport this to production.
    If i do the changes to generic datasource, do i have to initialise the delta again?
    Pls provide me the step by step solution.
    Regards,
    Anand

    Ananda, What about the delta initialization? After transporting the datasource from R/3 dev to R/3 production, I have to replicate the datasource right.
    In that case what will happen to my delta?.
    One more thing incase i need to change only the upper limit value.  Even for this, do i have to change it in dev and transport to production?
    Regards,
    Anand

  • Time Lag using Timestamp - Generic Datasource

    Hello,
    I have a generic datasource running in production now.  It uses the timestamp for the delta.
    Currently the delta runs twice a day - once around 7 am and then again around 1 pm.
    I have the upper limit set at 1800 seconds (30 minutes) and no lower limit however when I looked today at the 1 pm pull, the last set of records was pulled up to 9 am.  I was surprised.  I thought it should have been closer to 12 noon.
    This data is constantly updated in ECC - for example.  In a 30 minute window, the record count started at 1,966,206 and jumped to 1,966,297.
    Has anyone else experienced this lag time?  If so, how did you handle it.
    I heard from one person that it could be because the application server time is different than the local time of entry.  If that is true, how could I resolve that?
    I would just like the deltas to bring in the data closer to the time of the pull.
    Thanks for any insight.
    Lynda

    seems to be working correctly in production.
    1800 seconds - 30 minute pulls via timestamp

  • I want to get data from only RESB table without loss of any deltas

    i have to fetch the reservation details for the production orders.
    we are using descrete manufacturing method to keep track the Work in process and cost .
    for addition of components manually in the production order we can track thru change date i.e From AUFK table with field name AEDAT. for each time when we are adding the components the system will create a new line item In tableRESB-OBJNR(field)
    i need very few fields from RESB table to be pulled into SAP BW.
    how should i proceed creating a generic exractor without any loss of deltas.
    i want to get data from only resb table into sap bw.
    how should i proceed with Generice extractor with single table RESB and what would be the delta field . could any one throw some light .
    all answers would be rewarded with points

    I have few reports for BOM data is to be pull into bw
    all the reports contain the same tables Mentione below
    MAST- material to BOM LINK
    STKO- BOM header
    STPO- BOM ITEM
    STAS- BOM ITEM SELECTION
    how should i create ageneric datsource satisfying that all the data comes from these tables without fail of deltas,
    my doubts.1. Do i have to create a separate data sources (generic) for all these individually and load into separate ODS'S AND CLUB THEM into single ODS further.?
    if i create i dont know what should be delta field that has to be picked for each datasource
    2. Do i have to create a view on all these tables and create a generic datasource.if created what would be the delta field i have to select.
    could you pls let me know how should i pull the data without loosing any deltas
    could you pls let me know the flow with delta fields mentioned
    regards,
    P

  • Generic delta with timestamp

    Hi All,
    i have created a generic datasource using tables vbrp,vbrk.mara,marc,knvv.. to get the sales data for planning.Here i have document created date and time.So i'm concatinating these 2 date and time fields into timestamp which is of format yyyymmddhhmmss.Finally i'm using this timestamp to extract data .
    So is it the right way to pull the data using timestamp and what is the timezone i need to specify as the servers are in india only.
    or any other way to proceed.
    Thanks
    Rao.

    Hi Siva,
    U mean.. is ur MKPF is having the TIme stamp field in that? or this table has got enhanced with the TIme stamp field..?
    do let us know these details..
    Why dont u try using any other fields like changed on or some other fields which will satisfy ur requirement..?
    Is ur Init is done successfully?... and do u see an entry in the table ROOGENDELTM table....
    This table will be having an entry for the generic extractors which are with the Delta's..
    Thanks
    Assign points if this helps

  • How to get  generic delta using timestamp field

    Hi All,
    i have created a generic datasource using tables vbrp,vbrk.mara,marc,knvv.. to get the sales data for planning.Here i have document created date and time.So i'm concatinating these 2 date and time fields into timestamp which is of format yyyymmddhhmmss.Finally i'm using this timestamp to extract data .
    So is it the right way to pull the data using timestamp and what is the timezone i need to specify as the servers are in india only.
    or any other way to proceed.
    Thanks
    Rao.

    Hi Rao,
    Delta based on timestamp based on generic datasource only works if any one of the tables contains timestamp field(not time and date fields separately).
    I dont think by combining date & time fields will give you correct results.
    Regarding time zone: Use SAP system time zone.
    Srini

  • Generic datasource by function module to fetch data from multiple tables?

    I'm writing a function module to fetch price, for generic datasource.
    At first, extract test is OK. But InfoPackage never stop  when loading data to PSA in BW.
    And I find the example codes:
         OPEN CURSOR WITH HOLD S_CURSOR FOR
          SELECT (S_S_IF-T_FIELDS) FROM SFLIGHT
                                   WHERE CARRID  IN L_R_CARRID AND
                                         CONNID  IN L_R_CONNID.
        ENDIF.                             "First data package ?
    * Fetch records into interface table.
    *   named E_T_'Name of extract structure'.
        FETCH NEXT CURSOR S_CURSOR
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE E_T_DATA
                   PACKAGE SIZE S_S_IF-MAXSIZE.
        IF SY-SUBRC <> 0.
          CLOSE CURSOR S_CURSOR.
          RAISE NO_MORE_DATA.
        ENDIF.
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
      ENDIF.
    There using Cursor to fetch data package by package, and raise exception NO_MORE_DATA to stop the loading process.
    Now I fetch data from multiple tables, I don't think I can use Cursor.
    Then How can I handle this?  
    Thanks a lot.

    Thanks
    IF IT_999[] IS INITIAL.
        SELECT A~KNUMH A~MATNR A~KSCHL VKORG VTWEG A~DATBI A~DATAB KBETR KMEIN KPEIN C~MTART APPENDING CORRESPONDING FIELDS OF
          TABLE TP_DATA
            FROM A999 AS A
              INNER JOIN KONP AS B
                  ON A~KNUMH = B~KNUMH
              INNER JOIN MARA AS C
                 ON A~MATNR = C~MATNR
    *          FOR ALL ENTRIES IN IT_999
                    WHERE
    *      A~KNUMH = IT_999-KNUMH  AND
           ( ( A~KSCHL = 'ZPRC' AND VKORG = 'Z000' AND VTWEG = 'Z1' ) OR
                          ( A~KSCHL = 'ZPRD' AND VKORG = 'A000' AND VTWEG = 'Y3' ) ) AND
    *                      A~DATBI >= SY-DATUM AND
                          LOEVM_KO = ''.
        SELECT A~KNUMH A~MATNR A~KSCHL VKORG VTWEG A~DATBI A~DATAB KBETR AS KHETR  KMEIN KPEIN C~MTART APPENDING CORRESPONDING FIELDS OF
          TABLE TP_DATA
            FROM A999 AS A
              INNER JOIN KONP AS B
                  ON A~KNUMH = B~KNUMH
              INNER JOIN MARA AS C
                 ON A~MATNR = C~MATNR
    *          FOR ALL ENTRIES IN IT_999
                    WHERE
    *      A~KNUMH = IT_999-KNUMH AND
          A~KSCHL = 'ZPR3' AND A~VKORG = 'I000' AND
    *                      DATBI >= SY-DATUM AND
                          LOEVM_KO = ''.
      ENDIF.
      IF IT_997[] IS INITIAL.
        SELECT A~KNUMH A~MATNR A~KSCHL VTWEG A~DATBI A~DATAB KBETR AS KHETR KMEIN KPEIN C~MTART APPENDING CORRESPONDING FIELDS OF
          TABLE TP_DATA
            FROM A997 AS A
              INNER JOIN KONP AS B
                  ON A~KNUMH = B~KNUMH
              INNER JOIN MARA AS C
                 ON A~MATNR = C~MATNR
    *          FOR ALL ENTRIES IN IT_997
                    WHERE
    *      A~KNUMH = IT_997-KNUMH      AND
          A~KSCHL = 'ZPRA' AND VTWEG = 'Y1' AND
    *                      DATBI >= SY-DATUM AND
                      LOEVM_KO = ''.
      ENDIF.
      IF IT_996[] IS INITIAL.
        SELECT A~KNUMH A~MATNR A~KSCHL A~DATBI A~DATAB KBETR AS KHETR KMEIN KPEIN C~MTART APPENDING CORRESPONDING FIELDS OF
           TABLE TP_DATA
             FROM A996 AS A
               INNER JOIN KONP AS B
                   ON A~KNUMH = B~KNUMH
               INNER JOIN MARA AS C
                  ON A~MATNR = C~MATNR
    *          FOR ALL ENTRIES IN IT_996
                    WHERE
    *      A~KNUMH = IT_996-KNUMH AND
          A~KSCHL = 'ZPRB' AND
    *                       DATBI >= SY-DATUM AND
          LOEVM_KO = ''.
      ENDIF.
      SELECT   MATNR     "u7269u6599u53F7u7801
               MEINH     "u4ED3u50A8u5355u4F4Du7684u5907u7528u8BA1u91CFu5355u4F4D
               UMREZ     "u57FAu672Cu8BA1u91CFu5355u4F4Du8F6Cu6362u5206u5B50
               UMREN     "u8F6Cu6362u4E3Au57FAu672Cu8BA1u91CFu5355u4F4Du7684u5206u6BCD
          FROM MARM
          INTO CORRESPONDING FIELDS OF TABLE IT_MARM
           FOR ALL ENTRIES IN TP_DATA
         WHERE MATNR = TP_DATA-MATNR AND  MEINH = TP_DATA-KMEIN.
      LOOP AT TP_DATA.
        IF TP_DATA-KPEIN NE 0.
          TP_DATA-KBETR =  TP_DATA-KBETR / TP_DATA-KPEIN.
          TP_DATA-KHETR =  TP_DATA-KHETR / TP_DATA-KPEIN.
        ENDIF.
        IF TP_DATA-KSCHL = 'ZPRA'.
    *       TP_DATA-MEINH = 'ZI'.
    *      TP_DATA-KSCHL = 'B4'.
          IF TP_DATA-KMEIN = 'ZI'.
            TP_DATA-KBETR = TP_DATA-KHETR / '1.17'.
          ELSE.
            READ TABLE IT_MARM INTO WA_MARM1 WITH KEY MATNR = TP_DATA-MATNR MEINH = TP_DATA-KMEIN.
    *           READ TABLE IT_MARM INTO WA_MARM2 WITH KEY MATNR = TP_DATA-MATNR MEINH = 'CT'.
            TP_DATA-KHETR = TP_DATA-KHETR * WA_MARM1-UMREN / WA_MARM1-UMREZ.
    *           * WA_MARM2-UMREZ / WA_MARM2-UMREN.
            TP_DATA-KBETR = TP_DATA-KHETR / '1.17'.
          ENDIF.
        ELSEIF TP_DATA-KSCHL = 'ZPRB'.
    *      TP_DATA-KSCHL = 'L0'.
    *       TP_DATA-MEINH = 'ZI'.
          IF TP_DATA-KMEIN = 'ZI'.
            TP_DATA-KBETR = TP_DATA-KHETR / '1.17'.
          ELSE.
            READ TABLE IT_MARM INTO WA_MARM1 WITH KEY MATNR = TP_DATA-MATNR MEINH = TP_DATA-KMEIN.
    *           READ TABLE IT_MARM INTO WA_MARM2 WITH KEY MATNR = TP_DATA-MATNR MEINH = 'BAG'.
            TP_DATA-KHETR = TP_DATA-KHETR * WA_MARM1-UMREN / WA_MARM1-UMREZ.
    *           * WA_MARM2-UMREZ / WA_MARM2-UMREN.
            TP_DATA-KBETR = TP_DATA-KHETR / '1.17'.
          ENDIF.
        ELSEIF TP_DATA-KSCHL = 'ZPRC' OR TP_DATA-KSCHL = 'ZPRD'.
    *       TP_DATA-MEINH = 'ZI'.
          IF TP_DATA-KMEIN = 'ZI'.
            TP_DATA-KHETR = TP_DATA-KBETR * '1.17'.
          ELSE.
            READ TABLE IT_MARM INTO WA_MARM1 WITH KEY MATNR = TP_DATA-MATNR MEINH = TP_DATA-KMEIN.
    *           READ TABLE IT_MARM INTO WA_MARM2 WITH KEY MATNR = TP_DATA-MATNR MEINH = 'WZI'.
            TP_DATA-KBETR = TP_DATA-KBETR * WA_MARM1-UMREN / WA_MARM1-UMREZ.
    *           * WA_MARM2-UMREZ / WA_MARM2-UMREN.
            TP_DATA-KHETR = TP_DATA-KBETR * '1.17'.
          ENDIF.
        ELSEIF TP_DATA-KSCHL = 'ZPR3'.
    *      TP_DATA-KSCHL = 'B2'.
          IF TP_DATA-KMEIN = 'ZI'.
            TP_DATA-KBETR = TP_DATA-KHETR / '1.17'.
          ELSE.
            READ TABLE IT_MARM INTO WA_MARM1 WITH KEY MATNR = TP_DATA-MATNR MEINH = TP_DATA-KMEIN.
    *           READ TABLE IT_MARM INTO WA_MARM2 WITH KEY MATNR = TP_DATA-MATNR MEINH = 'BAG'.
            TP_DATA-KHETR = TP_DATA-KHETR * WA_MARM1-UMREN / WA_MARM1-UMREZ.
    *           * WA_MARM2-UMREZ / WA_MARM2-UMREN.
            TP_DATA-KBETR = TP_DATA-KHETR / '1.17'.
          ENDIF.
        ENDIF.
        TP_DATA-MEINH = '01'.
        MODIFY TP_DATA.
    E_T_DATA-MATNR =   TP_DATA-MATNR.
    E_T_DATA-KSCHL =   TP_DATA-KSCHL.
    E_T_DATA-KHETR =   TP_DATA-KHETR.
    E_T_DATA-KBETR =   TP_DATA-KBETR.
    E_T_DATA-KMEIN =   TP_DATA-KMEIN.
    E_T_DATA-DATAB =   TP_DATA-DATAB.
    E_T_DATA-DATBI =   TP_DATA-DATBI.
    APPEND E_T_DATA.
        CLEAR WA_MARM1.
        CLEAR WA_MARM2.
      ENDLOOP.
    Edited by: Shen Peng on Oct 20, 2010 10:09 AM

  • 'table does not exist' when creating generic datasource

    I went to SBIW->Business Content DataSources->Transfer Business Content DataSources-chose "content delta". it said 'comparison bct <-> cust version ' then it counted thru several objects for a few minutes and finished with no warnings.
    then I selected each datasource under co-om-cca and activated those with no problems.
    problem: now when i try to create came generic datasource using co-om-cca application component i get mssg when saving 'the specified table does not exist'...so now it isn't even letting me create a datasource at all using a standard application component either.
    I have been having many problems with creating datasources and using application components and this is why I did the first paragraph because I don't know what else to try.
    Please help, thanks.

    I have answered my own question.  I wasn't entering the view/table and it was my own complete oversight.

  • Generic datasource based on custom table and hierarchy table

    Hi Gurus,
    I have a doubt regarding generic datasource.
    my requirement: to create a datasource with 10 fields. (7 fields from custom table and 3 fields whose values can be derived from a hierarchy table).
    I have a custom table. In this table one field refers to a hierarchy table. Using this hierarchy table, we can derive values to 3 new fields.
    My question is, If i create a generic datasource based on the custom table, how can i include the extra 3 fields which gets values from the hierarchy table.
    Where can i write the logic to extract the values for those 3 fields from the hierarchy table.
    Thanks
    Regards,
    Aarthi
    [email protected]

    Hi Aarthi,
    Sample code in the user exit woul be like this:
    DATA:  i_biw_tab LIKE BIW_MARA_S.
    WHEN '<data source>'.
        LOOP AT i_t_data INTO i_biw_tab.
          SELECT fields
            INTO <table from which you want the value
            FROM <table>
           WHERE <your condition>.
          IF sy-subrc = 0.
                 MODIFY i_t_data FROM i_biw_tab.
          ENDIF.
        ENDLOOP.
    Bye
    Dinesh

  • How to catch the delta of generic datasource created on table EBAN?

    Hi Guru,
    I am facing a problem about the delta of generic datasource i created on table EBAN.
    when I convert a PR into PO, this PR was created  several month ago, this PR will not be caught into delta package.
    how to get this PR again after it was converted into a PO?
    many thanks.
    brgds/steve

    hi,
    If you have any fields(calday,timestamp,nemric pointer) in your table , using this fields any one we can enable delta.otherwise one option is there but your table is small valoum of datas.
    first data load(full) r3 to bw side cube,then using open hub service download data from cube to any file (excel ,csv) then r3 side create one table using that flat file, then load download file to r3 new table using (LSMW - tcode r3 side).
    now compare your genric extroction table and new table using ABAP coding , then you have any new record or changed find update new table first then BW side .
    using this type we can enable delta for genric extrocation.
    regards,
    sundar.

Maybe you are looking for

  • Range Partitioning a table based on day of the week

    I have a logging table which i want to partition into 7 partition, each one for the day of the week, eg MON,TUE, WED. I am aware and I can do a list partition by creating a parition key which stores 'DY' of the week and this means that I need to add

  • Sync send in bpm and Exceptions raised

    Hi, I am using sync send step twice in ASYNC/SYNC bridge,once for database server and other one is for webserver.Wht kind of exceptions can occur for database connection failure and how i should catch in bpm.Please send me if any blogs are there. Tha

  • Can anybody help with this error message

    I work with CS5.6 on RAW pictures shot with a Canon EOS 5 Mk II and have problems saving. Mycomputer is 32-bit with 4 Gb RAM, Windows 7.  Die Error Message in Adobe CS5.6 ist: „ could not complete the SAVE AS command because there is not enough memor

  • Using as1 in flash cs5

    hi i am using macromedia flash 6 at the moment and i realise i need to update to adobe cs5 however it has taken me so long to learn  the as1 scripting language  that i was wondering if i can still access and edit and publish my  old swfs in adobe wit

  • Restart OC4J as part of Auto deploy

    I was trying to implement AutoDeploy of EAR file on daily basis, the plan is to use ANT script to generate the EAR file, Deploy the EAR file and restart the OC4J to reflect the new EAR file. I was trying to use ANT task shutdownServer and restartServ