Queries with CTXRULE Index

I am trying to build an alerting application when, on receipt of a new XML document, user's are alerted if the document matches one or more of the profiles that they have defined. I have created a CTXRULE index that does this but only with very simple profiles. For example ABOUT(soccer), which is the example in the Text documentation.
Is it possible to create more complex queries, for example using WITHIN to only match within defined elements of the XML document. Are there any good example?
Thanks
Martin Haigh

Please ask questions on Oracle Text (formerly InterMedia text) in the Oracle Text forum, you will get a quicker, more expert answer there.

Similar Messages

  • DOCUMENT CLASSIFICATION AND CTXRULE INDEX TYPES IN ORACLE9I TEXT

    제품 : ORACLE SERVER
    작성날짜 : 2004-05-27
    DOCUMENT CLASSIFICATION AND CTXRULE INDEX TYPES IN ORACLE9I TEXT
    ================================================================
    PURPOSE
    이 문서는 Oracle9i 에서 추가된 새로운 기능으로 Oracle Text 에서의
    문서 분류기능(Document Classification) 에 대해 소개한다.
    Explanation
    Oracle9i Text 에서는 CTXRULE index type을 이용하여 각 문서를 분류하는 기능을
    구현할 수 있다. 이 CTXRULE index type은 각 분류별로 define 된 rule에 따라
    문서를 indexing하고, 이러한 기능을 위해 MATCHES operator를 제공한다.
    이 Oracle9i Text 는 일반 Text, XML, HTML 문서에 대해 이 document classification
    기능을 지원한다.
    1. Create a Table of Queries
    먼저 다음과 같이 조회를 위해 분류할 category를 저장할 table을 생성한다.
    CREATE TABLE myqueries (
         queryid NUMBER PRIMARY KEY,
         category VARCHAR2(30),
         query VARCHAR2(2000) );
    아래와 같이 조회시에 문서의 category name과 query시 사용할 구문을 저장한다.
    INSERT INTO myqueries VALUES(1, 'US Politics', 'democrat or republican');
    INSERT INTO myqueries VALUES(2, 'Music', 'ABOUT(music)');
    INSERT INTO myqueries VALUES(3, 'Soccer', 'ABOUT(soccer)');
    2. Create the CTXRULE Index
    CTXRULE index를 이용하여 이 table에 Text index를 생성한다.
    CREATE INDEX myqueries_idx ON myqueries(query)
    INDEXTYPE IS CTXRULE
    PARAMETERS('lexer lexer_pref
    storage storage_pref');
    이 CTXRULE에는 filter, memory, datastore, stoplist 는 지정할 수 없다.
    3. Classifying a Document
    아래와 같이 실제 데이타가 저장되는 table을 생성한다.
    CREATE TABLE news (
         newsid NUMBER,
         author VARCHAR2(30),
         source VARCHAR2(30),
         article CLOB);
    이 Table에 data를 insert하기 전에 MATCHES operator 를 이용하여 지정한 내용에
    대해 문서를 분류하여 query table에 저장하는 trigger 를 생성한다.
    You can create a before insert trigger with MATCHES to route each document to
    another table news_route based on its classification:
    CREATE TRIGGER NEWS_MATCH_TRG
    BEFORE INSERT ON NEWS
    FOR EACH ROW
    BEGIN
    -- find matching queries
    FOR c1 IN (select category
    from myqueries
    where MATCHES(query, :new.article)>0)
    LOOP
    INSERT INTO news_route(newsid, category)
    VALUES (:new.newsid, c1.category);
    END LOOP;
    END;
    RELATED DOCUMENTS
    Oracle9i Text Application Developer's Guide Release

    Hi,
    please post a Oracle Text question in the Oracle Text forum: Text
    That forum is monitored by Oracle Text Experts. This forum not always.
    Herald ten Dam
    Superconsult.nl

  • ABOUT does not work with CTXRULE

    I have created the following table
    create table phrases( p varchar2(50) );
    and have inserted all the queries bellow
    nt (POLITICS )
    nt (ELECTIONS AND CAMPAIGNS )
    nt (ELECTIONS )
    nt (CIVIL RIGHTS )
    nt (CIVIL LIBERTIES )
    nt (HUMAN RIGHTS )
    nt (POLITICAL SCANDALS )
    nt (REVOLUTION AND SUBVERSION )
    nt (INSURGENTS )
    nt (INSURRECTIONS )
    nt (INSURRECTIONARY )
    nt (TERRORISM )
    nt (REVOLUTIONARIES )
    nt (REVOLUTIONISTS )
    nt (POLITICAL PARTIES )
    nt (PARTISAN POLITICS )
    nt (POLITICAL SCIENCES )
    nt (POLITICIANS )
    nt (POLITICIANS AND ACTIVISTS )
    nt (WORLD POLITICS )
    bt (POLITICS )
    bt (GOVERNMENT )
    rt (POLITICS )
    rt (EXECUTIVE BRANCH )
    rt (MILITARY )
    rt (LEGISLATIVE BRANCH )
    rt (HUMOR AND SATIRE )
    syn (POLITICS )
    syn (APOLITICAL )
    syn (MOST-FAVORED-NATION )
    syn (NONPOLITIC )
    syn (POLITACAL )
    syn (POLITIC )
    syn (POLITICAL )
    syn (POLITICALLY )
    syn (POLITICED )
    syn (POLITICING )
    syn (POLITICIZE )
    syn (POLITICIZED )
    syn (POLITICIZES )
    syn (POLITICIZING )
    syn (POLITICK )
    syn (POLITICKED )
    syn (POLITICKING )
    syn (POLITICKS )
    syn (POLLITICAL )
    syn (SEMIPOLITIC )
    syn (SEMIPOLITICAL )
    syn (SOCIOPOLITICAL )
    syn (UNPOLITICAL )
    about( POLITICS )
    about( ELECTIONS AND CAMPAIGNS )
    about( ELECTIONS )
    about( CIVIL RIGHTS )
    about( CIVIL LIBERTIES )
    about( HUMAN RIGHTS )
    about( POLITICAL SCANDALS )
    about( REVOLUTION AND SUBVERSION )
    about( INSURGENTS )
    about( INSURRECTIONS )
    about( INSURRECTIONARY )
    about( TERRORISM )
    about( REVOLUTIONARIES )
    about( REVOLUTIONISTS )
    about( POLITICAL PARTIES )
    about( PARTISAN POLITICS )
    about( POLITICAL SCIENCES )
    about( POLITICIANS )
    about( POLITICIANS AND ACTIVISTS )
    about( WORLD POLITICS )
    about( POLITICS )
    about( GOVERNMENT )
    about( POLITICS )
    about( EXECUTIVE BRANCH )
    about( MILITARY )
    about( LEGISLATIVE BRANCH )
    about( HUMOR AND SATIRE )
    about( POLITICS )
    about( APOLITICAL )
    about( MOST-FAVORED-NATION )
    about( NONPOLITIC )
    about( POLITACAL )
    about( POLITIC )
    about( POLITICAL )
    about( POLITICALLY )
    about( POLITICED )
    about( POLITICING )
    about( POLITICIZE )
    about( POLITICIZED )
    about( POLITICIZES )
    about( POLITICIZING )
    about( POLITICK )
    about( POLITICKED )
    about( POLITICKING )
    about( POLITICKS )
    about( POLLITICAL )
    about( SEMIPOLITIC )
    about( SEMIPOLITICAL )
    about( SOCIOPOLITICAL )
    about( UNPOLITICAL )
    POLITICS
    ELECTIONS AND CAMPAIGNS
    ELECTIONS
    CIVIL RIGHTS
    CIVIL LIBERTIES
    HUMAN RIGHTS
    POLITICAL SCANDALS
    REVOLUTION AND SUBVERSION
    INSURGENTS
    INSURRECTIONS
    INSURRECTIONARY
    TERRORISM
    REVOLUTIONARIES
    REVOLUTIONISTS
    POLITICAL PARTIES
    PARTISAN POLITICS
    POLITICAL SCIENCES
    POLITICIANS
    POLITICIANS AND ACTIVISTS
    WORLD POLITICS
    POLITICS
    GOVERNMENT
    POLITICS
    EXECUTIVE BRANCH
    MILITARY
    LEGISLATIVE BRANCH
    HUMOR AND SATIRE
    POLITICS
    APOLITICAL
    MOST-FAVORED-NATION
    NONPOLITIC
    POLITACAL
    POLITIC
    POLITICAL
    POLITICALLY
    POLITICED
    POLITICING
    POLITICIZE
    POLITICIZED
    POLITICIZES
    POLITICIZING
    POLITICK
    POLITICKED
    POLITICKING
    POLITICKS
    POLLITICAL
    SEMIPOLITIC
    SEMIPOLITICAL
    SOCIOPOLITICAL
    UNPOLITICAL
    which are queries based on the terms related to politics according to the sample thesaurus
    when i issue this
    select * from phrases where matches(p,'politics')>0;
    I only get the stored queries starting with rt or syn and the queries containing the exact word politics.
    The ABOUT operator does not match is any case although it is supposed to match .The version of Oracle is used is 9.2.0.1.

    The Oracle Text reference says:
    "ABOUT queries give the best results when your query is formulated with proper case.This is because the normalization of your query is based on the knowledge
    catalog which is case-sensitive."
    The queries in most cases work fine only
    if the themes are in lower case.
    The developer actually is expected to guess what "proper case" exactly means.The manual should be more specific in this topic.
    Also the mechanism of expansion in about() queries is
    not well defined in detail. It is written the queries
    are expanded according to SYN and NT terms but it doesnt expand to all of the related terms.
    for example in the CTXRULE index
    POLITICS ABOUT expansions are
    ANIMAL RIGHTS (nt of POLITICAL ADVOCANCY level 1)
    ANIMAL RIGHTS ACTIVISTS (nt of POLITICAL ADVOCANCY level 2)
    ANIMAL RIGHTS MOVEMENT (nt of POLITICAL ADVOCANCY level 2)
    ANIMAL-RIGHTS ACTIVISTS (nt of POLITICAL ADVOCANCY level 2)
    CIVIL LIBERTIES (nt of POLITICS level 2)
    CIVIL RIGHTS (nt of POLITICS level 1)
    CONSUMER ACTIVISTS (nt of POLITICAL ADVOCANCY level 2)
    CONSUMER ADVOCACY (nt of POLITICAL ADVOCANCY level 1)
    CONSUMER ADVOCATES (nt of POLITICAL ADVOCANCY level 2)
    CONSUMER RIGHTS (nt of POLITICAL ADVOCANCY level 2)
    ELECTIONS (nt of POLITICS level 2)
    ELECTIONS AND CAMPAIGNS (nt of POLITICS level 1)
    HUMAN RIGHTS (nt of POLITICS level 2)
    INSURGENTS (nt of POLITICS level 2)
    INSURRECTIONARY (nt of POLITICS level 2)
    INSURRECTIONS (nt of POLITICS level 2)
    PARTISAN POLITICS (nt of POLITICS level 2)
    POLICYMAKERS (both nt of GOVERNMENT)
    POLITICAL ADVOCACY (POLITICAL is synonym)
    POLITICAL PARTIES (nt of POLITICS level 1)
    POLITICAL SCANDALS (nt of POLITICS level 1)
    POLITICAL SCIENCES (nt of POLITICS level 1)
    POLITICIANS (nt of POLITICS level 1)
    POLITICIANS AND ACTIVISTS (nt of POLITICS level 1)
    REVOLUTION AND SUBVERSION (nt of POLITICS level 1)
    REVOLUTIONARIES (nt of POLITICS level 2)
    REVOLUTIONISTS (nt of POLITICS level 2)
    TERRORISM (nt of POLITICS level 2)
    TERRORIST ACTIVITIES (nt of POLITICS level 3)
    TERRORIST INCIDENTS (nt of POLITICS level 3)
    TERRORISTS (nt of POLITICS level 3)
    WORLD POLITICS (nt of POLITICS level 1)
    Does anyone know the algorithm behind the expansion?

  • Select count from large fact tables with bitmap indexes on them

    Hi..
    I have several large fact tables with bitmap indexes on them, and when I do a select count from these tables, I get a different result than when I do a select count, column one from the table, group by column one. I don't have any null values in these columns. Is there a patch or a one-off that can rectify this.
    Thx

    You may have corruption in the index if the queries ...
    Select /*+ full(t) */ count(*) from my_table t
    ... and ...
    Select /*+ index_combine(t my_index) */ count(*) from my_table t;
    ... give different results.
    Look at metalink for patches, and in the meantime drop-and-recreate the indexes or make them unusable then rebuild them.

  • The expansion of ABOUT(..) expressions in the CTXRULE index

    The mechanism of expansion in about() queries (CTXRULE) is not well defined in detail in the Oracle Text refernce. It is written the queries are expanded according to SYN and NT terms but it doesnt expand to all of the related terms.
    for example in the CTXRULE index
    "politics" ABOUT expansions are
    ANIMAL RIGHTS (nt of POLITICAL ADVOCANCY level 1)
    ANIMAL RIGHTS ACTIVISTS (nt of POLITICAL ADVOCANCY level 2)
    ANIMAL RIGHTS MOVEMENT (nt of POLITICAL ADVOCANCY level 2)
    ANIMAL-RIGHTS ACTIVISTS (nt of POLITICAL ADVOCANCY level 2)
    CIVIL LIBERTIES (nt of POLITICS level 2)
    CIVIL RIGHTS (nt of POLITICS level 1)
    CONSUMER ACTIVISTS (nt of POLITICAL ADVOCANCY level 2)
    CONSUMER ADVOCACY (nt of POLITICAL ADVOCANCY level 1)
    CONSUMER ADVOCATES (nt of POLITICAL ADVOCANCY level 2)
    CONSUMER RIGHTS (nt of POLITICAL ADVOCANCY level 2)
    ELECTIONS (nt of POLITICS level 2)
    ELECTIONS AND CAMPAIGNS (nt of POLITICS level 1)
    HUMAN RIGHTS (nt of POLITICS level 2)
    INSURGENTS (nt of POLITICS level 2)
    INSURRECTIONARY (nt of POLITICS level 2)
    INSURRECTIONS (nt of POLITICS level 2)
    PARTISAN POLITICS (nt of POLITICS level 2)
    POLICYMAKERS (both nt of GOVERNMENT)
    POLITICAL ADVOCACY (POLITICAL is synonym)
    POLITICAL PARTIES (nt of POLITICS level 1)
    POLITICAL SCANDALS (nt of POLITICS level 1)
    POLITICAL SCIENCES (nt of POLITICS level 1)
    POLITICIANS (nt of POLITICS level 1)
    POLITICIANS AND ACTIVISTS (nt of POLITICS level 1)
    REVOLUTION AND SUBVERSION (nt of POLITICS level 1)
    REVOLUTIONARIES (nt of POLITICS level 2)
    REVOLUTIONISTS (nt of POLITICS level 2)
    TERRORISM (nt of POLITICS level 2)
    TERRORIST ACTIVITIES (nt of POLITICS level 3)
    TERRORIST INCIDENTS (nt of POLITICS level 3)
    TERRORISTS (nt of POLITICS level 3)
    WORLD POLITICS (nt of POLITICS level 1)
    Does anyone know the algorithm behind the expansion?

    Here's an example:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <s:states>
            <s:State name="state1" />
            <s:State name="state2" />
        </s:states>
        <s:transitions>
            <s:Transition fromState="*" toState="*">
                <s:Scale target="{btn}" scaleXTo="3" />
            </s:Transition>
        </s:transitions>
        <s:controlBarContent>
            <s:Button label="change state" click="currentState=currentState=='state1'?'state2':'state1'" />
        </s:controlBarContent>
        <s:Button id="btn" label="content" scaleX.state1="1" scaleX.state2="2" />
    </s:Application>
    When the transition is finished playing the state value will be applied to the Button. This bug fix that will be in Hero might make this snapping situation more commonly experienced when using side effecting values: http://bugs.adobe.com/jira/browse/SDK-28195

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

  • How to querie with bind variable in findMode?

    Hallo,
    is it possible to use a querie with bind variable in findMode? And when how is it possible to initialize the bind variable?
    Any help is appreciated.

    Hi,
    bind variables can be linked from teh ADF binding to e.g. a managed bean, the sessionScope or other binding attributes via EL. So when you go into findMode and execute the query, the EL will grab the bindVariable values automatically.
    Frank

  • Multiple queries with 1 connection

    Can I execute multiple queries with one connection?
    //Example -
    <%
    String firstconn;
    Class.forName("org.gjt.mm.mysql.Driver");
    // create connection string
    firstconn = "jdbc:mysql://localhost/profile?user=mark&password=mstringham";
    // pass database parameters to JDBC driver
    Connection aConn = DriverManager.getConnection(firstconn);
    // query statement
    Statement firstSQLStatement = aConn.createStatement();
    String firstquery = "UPDATE auth_users SET last_log='" + rightnow + "'WHERE name='" + username + "' ";
    // get result code
    int firstSQLStatus = firstSQLStatement.executeUpdate(firstquery);
    // close connection
    firstSQLStatement.close();
    %>     
    Now, instead of building a new connection for each query, can I use the same connection info for another query?
    if so - how do you do this?
    thanks for any help.
    Mark

    Create multiple statement objects from your connection. It's a good idea to close these in a finally block after you're done with them
    Connection conn = null;
    Statement stmt1 = null;
    Statement stmt2 = null;
    try {
        conn = DriverManager.getConnection();
        stmt1 = conn.createStatement();
        // some sql here
        stmt2 = conn.createStatement();
        // some more sql here
    } finally {
        if ( stmt1 != null ) stmt1.close();
        if ( stmt2 != null ) stmt2.close();

  • Create a VC Model for BEx queries with Cell Editor

    Hello All,
    I am trying to create a VC Model for BEx queries with Cell Editor.
    BW Development Team has created a BEX query with complex restrictions and calculations using Cell Editor feature of BI-BEX.
    The query output in BEx analyzer is correct where all values are being calculated at each Cell level and being displayed.
    But, while creating VC model, system is not displaying the Cells.Thus, no VC Model can be created.
    I have executed below steps:
    1. Created a VC Model for BEx Query - ZQRY_XYZ
    2. Create Iview -> Create a dataService -> Provide a Table from the Output
    In the Column field system is not showing any of the Cells (present in Cell Editor)
    Please help me to solve this issue.
    Thanks,
    Siva

    Hi
    If 'Cell Editor' is been used then that query must have the structure in it. You have to select that 'structure' object in your 'VC Table'.
    If you select that then you will get the required result in the output. This structure will be the structure where 'cell reference' is used in BI query, You have to select that structures name.
    Regards
    Sandeep

  • What happens to Existing index after table partition and created with local index

    Hi guys,
    desc part id  number, name  varchar2(100), salary  number
    In an existing table  PART  i am  adding 1 more column DATASEQ NUMBER. i am asked to partition the table part based on dataseq.now the table is created with this logic
    create table part( id  number, name  varchar2(100), salary  number, DATASEQ  number) partition by list(dataseq) (partition PART_INITIAL  values (1));
    Suggestionn required. since  the table is partitioned based on DATASEQ i am asked to add local index on dataseq. i have added local index to dataseq create index idx on part(dataseq) LOCAL; Now my question is  already there is existing index is for the column ID and salary.
    1)  IDX for  dataseq is created locally so that it will have partition on each partition on the main table. Please tell me what happens to the existing index on the column ID and salary.. will it again created in local?
    Please suggest
    S

    Hi,
    first of all, in reality "partition a table" means create a new table a migrate existing data there (although theoretically you can use dbms_redefinition to partition an existing table -- however, it's just doing the same thing behind the scenes). This means that you also get to decide what to do with the indexes -- which indexes will be local, which will be global (you can also re-evaluate some of existing indexes and decide that they're not really needed).
    Second of all, the choice of partitioning key looks odd. Partitioning is a data manageability technique more than anything else, so in order to benefit from it you need to find a good partitioning key. A recently added column named "data_seq" doesn't look like a good candidate. Can you provide more details about this column and why it was chosen as a partitioning key?
    I suspect that whoever suggested this partitioning scheme is making a huge mistake. A non-partitioned table is much better in all aspects (including manageability and performance) than wrongly partitioned one.
    Best regards,
    Nikolay

  • Outlook 2011 for Mac: Occurrence with this index was previously deleted from the recurrence

    Client using Outlook 2011 (14.2.4) with Mac OS 10.8.2. 
    I've never seen this error before, and it keeps popping up (next to the classic yellow triangle with exclamation point -- I'd post screenshot, but forum isn't letting me.) The message doesn't seem to be related to any specific action.)
    Exact text is: Outlook 2011 for Mac: Occurrence with this index was previously deleted from the recurrence.
    Any assistance is very much appreciated. 

    Unfortunately this did not work for me. There is absolutely nothing in my Drafts folder to be deleted. I'm sure the problem is calendar-related but there is nothing to delete or fix. I ran the Database Utility and it didn't find anything wrong. So I'm stuck
    getting an alert "beep" every 8 minutes from Outlook.  
    EDIT: OK, so you have to look in "Outbox", not "Drafts". And the "Outbox" does not always appear in the sidebar. When mine finally did (not sure what made it show up, but it may have been me enabling logging), I was able to
    delete the offending message.

  • BizTalk 2006 Event Log Warnings - Cannot insert duplicate key row in object 'dta_MessageFieldValues' with unique index 'IX_MessageFieldValues'.

    We have been seeing the following 'warnings' in the event log of our BizTalk machine since upgrading to BTS 2006. They seem to occur randomly 6 or 8 times per day.
    Does anyone know what this means and what needs to be done to clear it up? we have only one BizTalk server which is running on only one machine.
    I am new to BizTalk, so I am unable to find how many tracking host instances running for BizTalk server. Also, can you please let me know that we can configure only one instance for one server/machine?
    Source: BAM EventBus Service
    Event: 5
    Warning Details: Execute batch error. Exception information: TDDS failed to batch execution of streams. SQLServer: bizprod, Database: BizTalkDTADb.Cannot insert duplicate key row in object 'dta_MessageFieldValues'
    with unique index 'IX_MessageFieldValues'. The statement has been terminated..

    Other than ensuring that there exists a separate and single tracking host instance, you're getting an error about duplicate keys.. which implies that you're trying to Create a BAM Activity twice with the same data.
    I suggest you have a in-depth examination of the BAM (TPE or API) associated with the orchestration. In TPE ensure that the first binding you select is the "Instance Id" or "Message Id" before going ahead to map the ports or others.
    Regards.

  • Create PDF document from Word with hyperlink index entries

    Hello,
    I'm having a MS Word 2010 document with a content and index directory, both directories were created with the official Word functions and their page numbers are updated automatically. If I convert this document to a PDF file with Acrobat 9 Pro, the entries within the content directory are hyperlinks (if I click on a chapter the corresponding page opens).
    But this doesn't work with the index directory at the end of the document. Where can I activate the hyperlink functionality for index directories?
    Thanks for your help,
    Devid

    Hi,
    thanks for this info.
    On another computer I have Acrobat X Pro installed, but the result is the same. Or did I missed something?

  • Creating ABAP queries with t-code SQ01 in SRM

    Hi.
    What tables are available for me to use ABAP queries with t-code in SRM as we currently use this for MM.
    Please can someone tell me if a list of usefull tables for Carts, Approvals, PO are available in SRM as I cannot find these in SE11. We have no BW and need ABAP query for fullfilings any business requirements.
    Thankyou.
    Vijay.

    Please search the documents in transaction BBP_PD. When you click the details it will give you the table details as well.
    Additionally check this thread for details
    good source for tables and reports
    Regards
    Kathirvel

  • Reconcile Inventory BI Content Queries with ECC

    Hi Folks,
    I have a question regarding reconciling Inventory Management BI Content reports based on cube 0IC_C03 with ECC.
    We implemented IM in BI, and now try to reconcile the queries with ECC. Specifically, I have one query, 0IC_C03_Q0008 - Stock in Transit.
    We ran the report by Plant, in BI, it only showed one material with #, but people from ECC side use T-Code MB5T in ECC and saw many materials with Stock in Transit for that Plant; and for the material showed on BI report, the # doesn't match between BI and ECC.
    What is the right way to reconcile the report with ECC? is there any other report/Tcode in ECC we can use?
    Any insight ideas would be much appreciated!
    Thanks,
    Freda

    Hi Freda,
    For me, it is the typical nightmare to try to reconcile the cube to your ECC transactions since the cube summarizes and doesn't include your material documents.
    So, to make it a bit easier to match MB5T or MB51, add an ODS with a material document and Material item key and all of the fields and key figures necessary for reconciliation (I usually look at the datasource's delivered fields and add whatever sounds reasonable to look at).  To fill records in this ODS, only fill them from 2LIS_03_BF, because BX and UM do not contain material documents.
    While I was writting this, I think I realize what is happening in your situation.  If memory serves me correctly, MB5T is Cross-Company SIT, which is not part of the 2LIS_03* datasources.  They only account for Intra-Company (Plant-to-Plant within the same company code) SIT.  For that, there is a White Paper you can have an ABAP'er implement for you.
    Here are two good documents you should read and be familiar with:
    How to .... Report on Cross Company Stock in Transit: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92c0aa90-0201-0010-17b1-bf5b11c71257
    How to .... Handle Inventory Management Scenarios in BW: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Also, when comparing my cube data to ECC/R/3, I use transaction MMBE in the ECC to identify stock quantities and stock in transit (SIT).
    Brian

Maybe you are looking for

  • 24 Inch Imac frequent Kernal Panics / Shutdowns. Please help

    Hey there ; looking for some advice from an experienced mac person. I'm clueless here. Imac 24 inch 3.06 Core duo 4gb ram Geforce 8800 GS 1TB Hitachi HDD When opening new applications, mild multi tasking or even sleeping Imac has been crashing. I bac

  • 5520 connection error 403

    I've had my HP5520 for some time now and not usually had any probelms with scanning to e-mail. However, I've come to use it today and I just keep getting the message unable to connection to server connection error 403 against both e-mail address stor

  • IDVD to Final Cut

    For some reason when I went to make a DVD (over time) I went back to imovie and my project was gone. I guess I was supposed to copy it before going over to iDVD. I want to take it to Final Cut. How do I get there from iDVD? Thanks for any help!

  • What is the image resolution in the PDF file for an "Add Image"?

    I am using Acrobat Pro XI.  I added a 600 dpi image to my PDF file.  When I click on it and copy a chunk of it, then paste it into paint, the image resolution is 96 dpi.  How can I tell the resolution is of images in my PDF file?  I am trying to keep

  • .mp4 playback on Apple TV

    Just ripped a DVD from MediaFork to a .mp4 file. Will that play in AppleTV or do I have to export in Quicktime Pro to AppleTV? The .mp4 file will play in iTunes.