Extension of LIS extractor - possible to delta enable field from Z-table?

Hi Experts
We have to get data from a date field in a custom Z-table (delivery related) in R/3 to BW.
We would like to get the date by extending a delivery LIS extractor with a new field and make some ABAP to lookup the correct value in the custom Z-table.
A requirement is though that if the date in Z-table is changed then we need to get the update value to BW. Therefore, we need to delta enable the new field in the append structure - but that ain't possible is it?
Alternatively will we have to make a new DataSource based on the custom Z-table and somekind of full load (with a fake delta).
Thanks.
Kind regards,
Torben

Torben,
If your custom Z-table does not contain too much data and doesn't change too often it might be an option to turn on DB logging (Technical settings ->  Log data changes). Do not do this for large tables containing transactional data as the logs will consume a lot of diskspace!
Each insert/mod/deletion will be logged and in in a user-exit you can use FM DBLOG_READ_WITH_STATISTIC to check if something has changed and then append the corresponding data to your data package.
Grtx!
Marco

Similar Messages

  • It's possible to make Hierarchical Tree from multiple tables ?

    the famous example for Hierarchical Tree is about employee_id and manager_id field in employees table ............ so I was wondering it's possible to make[b] Hierarchical Tree from multiple tables ? and How ??
    if the answer associate with example that will be so kind of you :D
    and thanks in advance.

    HI
    use curose in when new form instance or procedure then u can got data more then one table like that
    DECLARE
    htree ITEM;
    top_node FTREE.NODE;
    new_node FTREE.NODE ;
    child_node ftree.node ;
    item_value VARCHAR2(30);
    cursor prime_cur is select main_desc mgr_name, main_code dept
    from pur_item_group_mst;
    cursor child_cur(v_dept number) is select sub_desc,sub_code
    from pur_item_group_dtl where main_code = v_dept ;
    BEGIN
    htree := Find_Item('tmp.tree4');
    for dummy in prime_cur loop
    new_node := Ftree.Add_Tree_Node(htree,
    ftree.root_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    dummy.mgr_name,
    'D:\ORYX_POLYBAGS\accept',
    dummy.dept);
    for child in child_cur(dummy.dept) loop
         child_node := Ftree.Add_Tree_Node(htree,
    new_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    child.sub_desc||' '||'('||child.sub_code||' '||')',
    'D:\ORYX_POLYBAGS\next',
    child.sub_code);
    end loop;
    end loop;
    END;
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • ** Is it possible to give select command from multiple tables in JDBC

    Hi Friends,
    Is it possible to give the select command to select data from multiple tables directly in the 'Query SQL statement' in JDBC sender communication channel ? (Instead of Stored Procedure)
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi,
    here is a sample:
    Table #1
    Header
    Name EmpId Status
    Jai 5601 0
    Karthik 5579 0
    Table #2
    Name Contactnumber
    Jai 9894268913
    Jai 04312432431
    Karthik 98984110335
    Karthik 04222643993
    select Header.Name, Header.EmpId, Item.Contactnumber from Header,Item where Header.Name = (select min(Header.Name) from Header where Header.Status = 0) and Header.Name = Item.Name
    Regards Mario

  • Is it possible to call  a URL from a table entry

    Hi Abap Experts,
    Is it possible to call a URL when we double click on the record of a table
    for  example I have a table zmanifest in which if i double click on the tracking number(table field)
    it should go to UPS website
    Thanks & Regards,
    Tharun.P

    Hi
    It depends on what you mean to do a doubleclick, i.e. where you want to do it?
    If you mean a program created ad hoc, yes you can else I don't think
    Max

  • Querying user enabled status from SSO tables

    Hi guys,
    I'm having issues trying to locate a table/view I can query to get specific SSO user information. In particular I am interested in listing usernames and their enabled/disabled status. In the OID front-end, under the user directory there is a column for 'Enabled' and this is what I am trying to find in the table structure.
    Any help appreciated!
    Cheers,
    Chris

    Thank you for that! I have extended this query to contain the ods.ct_uid table as follows as some users were being omitted. Also I have included a decode statement that changes the 'enabled' or 'disabled' to a 0 or 1.
    SELECT
    UPPER(cus.attrvalue) username,
    DECODE(NVL(ena.attrvalue, 'enabled'), 'enabled', 1, 'disabled', 0) enabled
    FROM
    ods.ct_orclisenabled ena,
    ods.ct_uid cus,
    ods.ct_cn ctu
    WHERE cus.entryid = ctu.entryid
    AND ena.entryid (+) = ctu.entryid

  • Generate delta records by comparing multiple fields from two tables?

    I have two tables with similar fields. Let's say Table 1 (T1) has fields Customer, A, B and C. Table 2 (T2) has fields Customer0002, A0002, B0002 and C0002. For each customer (each record) I want to check whether there is any difference in field A and A0002 or B and B0002 or C and C0002. If there is a difference between any of these pairs of fields then I will update that customer's record. Currently I have a piece of code
       DATA: ls_source TYPE y_source_fields,
            ls_target TYPE y_target_fields.
      LOOP AT it_source INTO ls_source.
        if not ( ls_source-A = ls_source-A0002 ).
          MOVE-CORRESPONDING ls_source TO ls_target.
          APPEND ls_target TO et_target.
        endif.
      ENDLOOP.
    This checks for the difference between one pair - A and A0002. How can I make it check 3 pairs and update when any of them have differences?

    Hello Khaled
    Why don't you add  B and B0002 - C and C0002 fields into your if declaration?
    LOOP AT it_source INTO ls_source.
        if not (
    ls_source-A = ls_source-A0002 and
    ls_source-B = ls_source-B0002 and
    ls_source-C = ls_source-C0002
          MOVE-CORRESPONDING ls_source TO ls_target.
          APPEND ls_target TO et_target.
        endif.
      ENDLOOP.
    I think you have more than 3 fields and the count of these fields are dynamic right?
    Do you about the ASSIGN COMPONENT x OF STRUCTURE y TO <field_symbol>.  usage?
    Can you explain your need in detail please.
    Edited by: Bulent Balci on Jul 27, 2010 4:18 PM

  • Delta Enabling Text Extractors

    Is it possible to delta enable text extractors? Thanks

    Thanks Arun,
    In our case we are expecting very huge volumes even for master data loads and although limited columns our rows could be well in excess of 50 Million lines.  Is there an option to delta enable i.e. could I create a generic and delta on text? do standard extractors provide this functionality?

  • Extractor Non delta Enabled

    What if the extractor is not delta enabled?
    How do we work it out in process chains..say if I use the full infopackage and DTP in the Process chain the full data will be loaded again and again...is that a problem?
    To overcome this if we use infopackage selection we need to go change it daily isn't it not sure though..!
    Can anyone give some good ideas?

    Voodi,
    We are just in development now ( its an implementation project ), so I need to know what exactly we follow if there is a non delta enabled extractor being mapped to a cube directly via transformation.
    So far I can make out : Create only one infopackage (full) and one DTP (full) and add the same in process chain?
    Now if thats the case wont my data double up everytime we schedule the chain?
    Please advise.
    Thanks.

  • Trying to delta enable 1CL_OEQU001

    I have created a data source 1CL_OEQU001 to extract classification data associated with 0EQUIPMENT.  I would like to be able to delta enable extraction and can not figure out if it is possible to delta enable.
    Thank You in advance for any assistance.

    Hi there you can only have single value since in this case the specific key would be equipment nr and therefor each entry would have to have a distinct value.
    For your 0Equipment_Attr loads are you actually carrying out daily deltas or full loads if full than your 1CL should fall in line.
    Where I am at the moment there is not a classification system set up, can you check in RSA2 the extraction method and details of the extractor for the 1CL in question

  • Delta  enabled  generic data source not generating delta

    Hi Experts,
    I am simply clueless bt where I went wrong.Please have a look and explain.
    I first created a z table in r\3 with one field as timestamp.
    Then I created a delta enabled datasource for this table, in the delta enabled field I selected Timestamp.
    Safety interval left blank.
    Delta was chosen as "ADDITIVE DELTA".
    After that I saved my data source and replicated the same in BI server.
    Then I created an Infopackage to initialize the delta and then one more infopackege was created as delta .
    Initialization was successfull.
    Now I triggered the delta infopackage to bring delta to PSA
    BUT
    it does not bring the delta ,rather each time it brings in ALL records to PSA . This is the problem m facing .
    PLEASE EXPLAIN ME IF YOU CAUGHT ANY MISTAKE IN THE ABOVE FOLLOWED STEPS.
    waiting for reply
    Manish Sharma

    Hi Teja,
    Thanks for your reply, I checked the same .
    The initstate field has the value 'X'.
    I checked in RSA3 but upon test extraction it says 0 records selected.
    Pls investigate more on this.
    Manish

  • Is it possible to version enable schema

    hi
    is it possible to version enable whole schema?. Because developers runs programs which will update severals tables
    which he himself doesnt. I version enable schema, i can revert in case of issues
    Regards

    Hi,
    It is not possible to version enable a set of tables by specifying the name of the schema. However, you should be able to pass all of the tables contained within the schema to dbms_wm.EnableVersioning.
    Regards,
    Ben

  • Generic Delta enabled datasource with Functional Module

    Hi All,
    We have a requirement to create a Generic Data Source which will be having fields from the tables COEP, COBK & BKPF. Generic datasource should be delta enabled. We are planning to achive it by writing a Functional Module.
    No my question is can i use BWFI_AEDAT & BWOM2_TIMEST tables to make Generic Datasource delta enabled. If i can then please let me know how. If i can't then please let me know what should i do to make it delta enabled.
    Thanks & Kind REgards,
    Harman

    Hi,
    before looking in specifics on your question please have a look at
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f1a423-02ae-2e10-bd85-bde64e61fe7b?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70806d62-1c59-2e10-7597-91c114600d32?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c062a3a8-f44c-2c10-ccb8-9b88fbdcb008?QuickLink=index&overridelayout=true
    And finally:
    http://help.sap.com/saphelp_nw70/helpdata/en/d0/4cc138944cfa06e10000000a11405a/content.htm
    Last link is talking about deltas from COEP table and one of the fields you are mentioning (which might mean something else than you expected)
    Hope this helped
    C.

  • ALE delta Generic Extraction on Z table

    Hi All,
    I am doing generic extraction on a Z table (Custom table).I want to run delta on this. But there is no delta specific field in this table.
    Now I want to use ALE delta method for this.
    I got following information from SDN
    1. It is possible for only master data attribute data sources as it does not capture deletion of record.
    2. It can be based on one or more delta specific field.
    Follow below steps in order to create ALE delta method for generic DS
    1. Go to RSO2
    2. create mater data attribute DS
    3. Give all details like App Comp , description & table / view name
    4. Menu -> Data Source -> ALE Delta -> give table name & Change doc. object for that table. Save
    5. Click on Generic delta & choose Numeric pointer under delta specific field.
    Now my questions are
    1. Can I use ALE delta method for an Z table? As I am not able to find any Z table in Menu -> DS -> ALE delta & Change doc. object for Z table.
    2. Is it possible only for master data DS not for transaction datasource?
    3. Is it possible only when generic DS is created on table not on view?
    4. How to create Change doc. object for Z table (transaction SCDO)?
    Any help will be appreciated
    Thanks

    Beside the steps done in RSO2, you have to create your own Change doc. object in t-code TCDOB and generate the update
    program there. Then call this pgm when you update the source table. more details can be found in below link.
    http://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document

  • CO_PA extractor from 4 tables

    Hi experts,
    I would like to how to find out which fields from which tables are being picked up from the 1_co_pa extractor. To my knowledge there are 4 tables for CO-PA, CE1-4. Is there a way to see the fields and to which table it belongs to is being extracted?
    mark

    HI Mark,
    CE1 and CE2 bring line item data, actual and plan respectively. So if your COPA data is configured only for actual, then you can remove CE2 from your source list.
    Again, fields such as date would be part of the line item data. So again the source of such data would be CE1 for actual and CE2 for plan.
    As mentioned in the link above, activate trace and in RSA3 run the extract. Go back to the trace and view the tables and the fields.
    Regards
    Prakash

  • Delta load - LIS extractor to several target - test load to single target

    Hi
    I want have a daily delta load from a LIS extractor to 3 targets (ODS's). I would like to make a test delta load to one of the 3 targets (because it has been reconstructed).
    Will it cause any problems if I make a delta load from the LIS extractor to one of the targets and not all of the targets? Will the records that I loaded in my test load arrive in the two other targets when the daily delta runs later on?
    Kind regards,
    Torben

    Hi Torben,
    you can do this if you first load the data to PSA, because when you load the data with delta infopack the delta queue will be reset in source system. But the data will remain in PSA, so you can upload again (to same infoprovider or different one if update rules exists) from PSA.
    Sarhan.

Maybe you are looking for

  • Is there a way to include Scaling Options within an AME preset?

    I'm using AME to export stills from the first frame of a large library of videos. I've got a preset setup to export a thumbnail image so I can import the footage, apply the preset, and press render. Since the thumbnail image is 80x80 pixels, AME is s

  • What is the plug-in for media player for wondows 7 ?

    my local TV station says that I need a media player add-on and it only list apps for xp and vista I have windows 7 what do I need?

  • Cisco ISE 1.3 internal CA

    Hello Everyone, I'm deploying the 1.3 version of ISE(new), i have a distribute environment, with two machines for admin/log personas and two machines for psn's. The problem that i need to solve is about the internal CA, i installed one ISE 1.1 one ye

  • How to catch SQL Exceptions in JSP

    Hi, I wanted to know how do we catch the correct SQL return code in a JSP page ? Based on the return code I wanted to display customised Error messages. But I could'nt figure out a way to get the error message returned by the underlying DB2 database.

  • Anonymous user workflow

    i launch a workflow from the anonymous user login and get this error. any idea what is wrong ERROR:Only the Reset Administrator may access this view. Thanks Dana Reed