Look up ESB Cross-Reference within ODI

We have a need to look up ESB cross reference table that is populated by AIA PIPs. I saw ESB Cross-Reference KM mentioned in "Oracle Data Integrator Knowledge Modules Reference Guides 10.1.3". My question is that can this KM be used to do ESB cross reference table look up. We don't need to populate xref table, just need to look up.

Hi Ace2-
Thanks for your quick response!
I can able to reterive unmatched records by using “Left outer join” but it will multiple the record counts for “matching condition”.
PRODUCT_ID,PRODUCT_NAME,SALES_QTY,SALES_AMT
101,SEGATE-HD,10,100
101,SEGATE-HD,10,100
102,TOSHIBA-HD,20,5000
103,TRANSCEND-PENDRIVE,10,2000
104,SONY ERICSSON,10,100000
105,NOKIA-7710,20,20000
106,TOSHIBA-HD,10,9000
107,NULL,NULL,NULL
The above records will be the output of outer join. If you see the 2nd record it is getting duplicated as 1st record. I have to exclude the 2nd record as it increases the record count of “PRODUCT_SALES.csv” file.
Thanks, Prabhu

Similar Messages

  • Cross Reference within external Database using XREF API

    Hi Experts,
       Can we do Cross Reference within external Database using  XREF API uses JDBC to access the Oracle Database Stored Procedures in SAP PI? How to use a JNDI Data source to access the DB and how to do the Connection Pooling will be done by the SAP J2EE server? Kindly let me know step by step proceedings.
    Regards
    Archana

    Hello Archana,
    It can be done with a Lookup call in a mapping.
    Here's a little article about the topic in the SAP wiki:
    http://wiki.sdn.sap.com/wiki/display/XI/HowtouseCrossReferencewithinexternal+Database
    With kind regards
                     Sebastian

  • Cross references corrupted after placing Word document into an InDesign document

    I am placing a word document which contains cross references to headers and captions/figures within the document. They seem to be fine and function correctly in the Word document, however, after I place this word doc into my InDesign doc, I take a look at the cross references panel and notice that the cross references have been corrupted. It is wrapping the wrong portions of text from the cross reference destinations. See screenshot for a visual of how the cross references are malformed. For example the 7th cross reference in the list should say Framework Details, not "Framework Detai
    InDesign Cross References Panel - showing malformed bits of text
    Another visual of this issue can be seen if I view the text frame in Story Editor view, see below. You can see that the cross reference source tags (blue arrow like symbols) are wrapped around the wrong portions of text. The blue tags shoud be wrapped around Framework Details and 52
    InDesign Story Editor
    You can see below as to why I think the cross references are fine in the Word doc, you can see the same cross reference I used in the example above in the word doc and it is wrapping the correct portion of text:
    Word - showing cross reference is formed corerctly
    Why is this not being maintained after placing this file into InDesign?
    Also I am not performing any cross reference updates after I import, this problem occurs immediately after the place of the doc.
    Why would InDesign be having difficulty in importing these cross references? I have set up a simple test Word document with cross references to headers and figures in and they have imported fine. What could be wrong with this other particular word doc that would be causing this "corruption" of cross references? This is not only causing my cross references to break visually and lack the update capability but also I cannot export the InDesign doc to an ePub as it keeps crashing. I believe from my reading on the web that if there is only one broken cross reference source i.e. the cross reference destination that it is trying to link to is missing, then the export to epub will fail. So this is causing a massive headache for me at the minute.
    Is there anything I could be looking at in the Word doc to try and figure out why the porblem is occuring in the first place?
    If anyone has any tips or a possible solution to this I would really appreciate it. Even better if someone knows the reason why this is happening I can tackle it from the source and prevent it happening time and time again.
    Thanks, Dave

    Only bad experiences, Peter ...
    I've seen this character shifting before on numerous occasions, both with cross references and with hyperlinks. (It's especially funny with hyperlinks, 'cause you can see that the outline box shifts one character at a time per each next link...)
    The thing is it's not just limited to hyperlinks and cross refs. Dave's screenshot doesn't show bold, italics, or other local formatting, but it's a fair bet these are off by a couple of characters as well.
    Dave's experiment of making a "minimal" Word document to confirm it's a persistent bug didn't work. I found the same thing: either a document comes in fine, or everything is foo-bar right from the start. There must be some internal Word code that InDesign forgets to count as 'a character position'. Without delving into the Word file with some very advanced tools, it's anyone's guess what code that would be.
    I can only offer the one solution that works for me: in Word, remove all hyperlinks (which is what Word uses for internal links as well as for external ones) and convert all cross-references to text. Then, if the file finally imports fine, re-build them in InDesign. It's a cumbersome workaround, but slightly better (only just) than checking each reference, delete, rebuild, check next -- etc. (And with that the chance that your other text attributes are also off.)

  • Cross-reference failure when converted to PDF

    One of my clients uses FrameMaker 7.1 to author their product documents, and convert everything to PDF before releasing it. I often see problems where cross-references within the document work in FrameMaker, but do not work as links in PDF, even though they show as links and the cursor in Acrobat changes correctly as it should when pointing to a link. I have now encountered a FrameMaker file where the cross-references worked as links in the first revision of a PDF, but a random selection of them didn't in the next revision, even though no changes were made to any cross-references in the original FM file. It's not an issue with my PC or that of the person who generated the files - we have tried the conversion on multiple installations and they all produce the same result. To fix it we've had to locate each failed link in the PDF and put it right manually in the FM source file. Has anyone else encountered this? Any thoughts on the cause?

    DxCooper (not your real name, I guess),
    The rigid approach is to check in the PDF Setup dialog, last tab "Links", whether the option "Create Named Destinations for All Elements and Paragraphs" is selected. This helps but the size of the PDF may increase considerably.
    Another thing which may help, especially (but not limited to) if the documents originally were authored in previous versions of FrameMaker, is the use of what is described in the prose of the above mentioned dialog: Optimize the PDF size by running the described routines once for every file. As far as I remember you can select a book file for that feature.
    HTH,
    - Michael (who feels better, if he can write to people with a name)

  • Word 2010 AAX Cross-references gone

    I have 13 documents - "Word 10/AAX (all updates installed)", with many cross-references.
    Links correctly translate to PDF including headings, TOC, websites, and cross-references WITHIN the same document, but cross-references between the 13 docs do not work.
    The PDF shows the colour change, but there is no clickable link.
    I am "Saving as PDF", have checked the PDFMaker settings, and have tried creating the PDF directly from AAX.

    Hi Pranav,
    Yes, this is already selected. All links are correctly created, except those which cross-reference other Word 2010 documents.
    I need the PDF to maintain the cross-reference as is found in the Word Doc (which is simply a link to a specific bookmark in a separate Word Doc). 
    In summary: One Word Doc references a specific bookmark in a separate Word Doc - so when the PDF's are created: PDF references the specific bookmark in a separate PDF.
    Any other ideas would be most appreciated. Thanks!

  • Relinking Cross-References after Renaming Documents

    I have a problem where I have created a book containing 14 chapters. Each chapter has a reference to the language of the book i.e. GB in the document title, we now want to translate the documents, so have copied the book, and chapters, renamed the document with an FR in the document titles, ready to send of to the translators.
    The trouble is all the cross references are still linking to the GB book. Is there a way of re-linking all the cross references to the FR documents? Or is it a case of going to each cross-reference and re-linking to the same piece of text but in the FR book.
    Can anyone help?

    tRawc wrote:
    I have a problem where I have created a book containing 14 chapters. Each chapter has a reference to the language of the book i.e. GB in the document title, we now want to translate the documents, so have copied the book, and chapters, renamed the document with an FR in the document titles, ready to send of to the translators.
    The trouble is all the cross references are still linking to the GB book. Is there a way of re-linking all the cross references to the FR documents? Or is it a case of going to each cross-reference and re-linking to the same piece of text but in the FR book.
    Can anyone help?
    No help here, at least no help in providing some magic. Cross-file cross-references seem to depend on the name of the file that contains the cross-reference "destination" - the text that's captured and displayed at the "source" - the location where the cross-reference is inserted. I'm using quotation marks here because some folks think of the stuff you capture as the cross-reference source, and what's displayed at the cross-reference insertion point is the destination in their view. IOW, they're opposite uses of the term. InDesign's nomenclature is based on the hyperlink model, where you create a destination somewhere and you act on it by pointing to that destination from where you insert the link to it, AKA the source of the action. At least that's my guess.
    So, changing file names loses the connection.
    Internal cross-references - within a single document file - are maintained when the file's name is changed.
    You can relink cross-file cross-references for files that are moved to a new folder. In the Cross-References panel, select a "missing" cross-reference that displays a question mark in a red circle, then from the panel's fly-out menu, choose Relink Cross-Reference, and browse the directory. If all the cross-file cross-references in the file whose cross-references point to files in one directory, relinking should restore all the links. If some cross-references point to files moved to other directories, you'll need to browse to each of those directories.
    With a book, if all the missing cross-file cross-references for all the book's component files were all moved to the same folder, relinking one missing reference should relink all. If some missing cross-references point to files moved elsewhere, you'll need to browse for each of those directories.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Cross-References to other documents

    As Cross-refences within a document act as clickable links to their destinations when exported to PDF, can cross references to content of another Indesign documents act as clickable links to the destination after being exported. I think no, but I want to double check.

    I actually tried this already, it still crashes and the error is reproducible on four different computers here: 1 Mac and 3 Windows machines. I didn't even restore my old preferences, I just did the reset and it still has the issue. Note it's not crashing when I use data merge, simply when I try to view the panel.
    The only thing that differentiates this document from the other ones I've had issues with that I got my work-around to fix is that the cross-references point to other documents (where the other ones I've managed to fix have cross-references within the same document).
    For the sake of my sanity I may just convert the (2) cross-references to text if they are in fact the issue.

  • Word 2010 cross references drop when converted into a PDF

    What do I need to do to make my Word 2010 cross references appear as active links in a PDF generated by Adobe PDFMaker?
    I have Adobe Acrobat 9 Pro installed onto my PC.   

    I have 13 documents - "Word 10/AAX (all updates installed)", with many cross-references.
    Links correctly translate to PDF including headings, TOC, websites, and cross-references WITHIN the same document, but cross-references between the 13 docs do not work.
    The PDF shows the colour change, but there is no clickable link.
    I am "Saving as PDF", have checked the PDFMaker settings, and have tried creating the PDF directly from AAX. Please help

  • Looking for a script to connect bodytext to footnote and cross-references

    Hi,
    Need to do the following:
    I was provided with separate (tagged-text) files: bodytext, (foot)notes and cross-references. Now I am looking for a solution (script?) that can do the following:
    to restore the connection between the body-text, the footnotes and te cross-references after placing these in a document in Indesign.
    The cross-references should appear (in anchored text-frames) in the margin and the notes in a separate frame at the bottom of the page. If possible in the same way as footnotes in Indesign appear, but in a separate frame to be able to do some more formatting than native footnotes would accept.
    I have tested the plugin: Side Heads from InTools, and tis works well with Indesign files tthat contain footnotes. But this doesn't work with separately placed footnotes from a tagged-text-file, as they re not knotted together.
    I can't do any scripting myself.
    I would appreciate any help, and I am looking forward to your response...
    Regards,
    kkingg

    The first thing to do is:
    regexp "match regexp = ([0-9]+)" $_cli_result match count
    if $count eq 0
    exit 0
    end
    The second is a bit more challenging.  I think this will work:
    cli command "show call active voice br"
    foreach line $_cli_result "\n"
    regexp "^([0-9a-zA-Z]+) : " $line match callid
    if $_regexp_result eq 1
      continue
    end
    regexp "^dur 1d" $line
    if $_regexp_result eq 1
      cli command "show call active voice br | section $callid"
      syslog msg "$_cli_result"
    end
    end

  • ODI : how to raise cross reference error before loading into Essbase?

    Hi John .. if you read my post, I want to say that you impress me! really, thank for your blog.
    Today, my problem is :
    - I received a bad quality data file from ERP extract
    - I have cross reference table (Source ==> Target)
    - >> How to raise the error before loading into Essbase !
    My Idea is the following, (first of all, I'm not sure if it is a good one, and also I meet issue to do it in ODI !)
    - Step 1 : make JOIN between data.txt and cross-reference Table ==> Create a table DATA_STEP1 in the ODISTAGING schema (the columns of DATA_STEP1 are the addition of columns of data.txt those of cross-references Tables (... there is more than 20 columns in my case)
    - Step 2 : Control if there is no NULL value in the Target Column (NULL means that the data.txt file contains value that are not defined in my cross reference Table) by using Filter ( Filter = Target_Account IS NULL or Target_Entity IS NULL or ...)
    The result of this interface is send to reject.txt file - if reject.txt file is not empty then a mail is sent to the administrator
    - Step 3 : make the opposite : Filter NOT (Target_Account IS NULL or Target_Entity IS NULL ... ) ==> the result is sent in DATA_STEP3 Table
    - Step 4 : run properly the mapping : source : DATA_STEP3 (the clean and verified data !) with cross reference Tables and send data into Essbase - NORMALY, there is not rejected record !
    My main problem is : what is the right IKM to send data into the DATA_STEP1, or DATA_STEP3 Table, which are Oracle Table in my ODISTAGING Schema ! I thy with IKM Oracle Incremental Update but I get error, and actually I don't need an update (which is time consumming), I just need an INSERT !
    I'm just lookiing for an 'IKM SQL to Oracle" ....
    regards
    xavier

    Thanks john : very speed !
    I understood better now which IKM is useful.
    I found other information about the error followup with ODI : http://blogs.oracle.com/dataintegration/2009/10/did_you_know_that_odi_generate.html
    and I decided to activate Integrity Constorl in ODI :
    I load :
    - data.txt in ODITEMP.T_DATA
    - transco_account.csv in ODITEMP.T_TRANSCO_ACCOUNT
    - transco_entity.csv in ODITEMP.T_TRANSCO_ENTITY
    - and so on ...
    - Moreover I create integrity constraints between T_DATA and T_TRANSCO_ACCOUNT and T_TRANSCO_ENTITY ... so I expected that ODI will raise for me in E$_DATA (the error table) the bad records !
    However I have one issue when loading data.txt into T_DATA because I have no ID or Primary Key ... I read in a training book that I could use a SEQUENCE ... I try but unsuccessful ... :-(
    Is there another simple way to create a Primary Key automaticaly (T_DATA is in an oracle Schema of course) ?thanks in advance

  • Error while creating Cross-reference table using Xreftool (PIP Ins)

    Error while running xref.sh script unable to create cross reference table.
    **Error: Exception in thread "main" java.lang.NoClassDefFoundError: oracle/tip/xref/tool/AdminTool**
    Could not find xref directory within tip folder (/OracleAS_1/bpel/docs/workflow/oracle/tip)
    searched for similar issue in OTN it says issue fixed by upgrading Oracle AS, we are using 10.1.3.4 MLR#8
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=835446
    steps followed.
    Creating Cross-Reference Tables
    Complete the following procedure to create cross-reference tables.
    To create cross-reference tables
    1 Navigate to the following directory:
    %SOAHOME%/SiebelODOPPIP/scripts/
    2 Open the following file for editing:
    xref.sh
    3 Set the userid and passwd for logging into BPEL console on the appropriate lines.
    4 Set the correct SOA_HOME location on the appropriate line.
    5 Save and close the file.
    6 Make the file executeable:
    chmod +x xref.sh
    dos2unix xref.sh
    7 Change directory (cd) to integration/esb/bin under %SOAHOME%.
    8 Execute ../../../SiebelODOPPIP/scripts/xref.sh.
    I am using SOA suite 10.1.3.3 and getting same error
    Error: Exception in thread "main" java.lang.NoClassDefFoundError: oracle/tip/xref/tool/AdminTool

    Hi Abhijeet,
    please check in transaction FI01, about your data consistencies. You can use this wiki help in terms of Address, it it found any useful facts for you
    Address Checks - Business Address Services (BC-SRV-ADR) - SAP Library

  • Cross-reference auto-page numers?

    Can anyone tell me why i cannot get cross-references to work with  automatic page numbering?  Is there some fundamental error i am  making?  I have the master files setup with auto-page numbering based on  'current page.'  All of my pages are numbered sequentially as 1, 2, 3,  etc. and setup with a unique paragraph style.  however, when i try to  reference a page number in the document, none of the pages show up under  the paragraph style in the cross-reference menu.  I have even tried to  use ctrl+shft+click on the desired reference page to bring the page number frame  from the master file onto that specific page, but the text still does  not show up in the cross-references menu.  I feel as though i must be  making some sort of mistake because it seems this could be one of the  more obvious/widespread uses for the cross-reference feature.  Any help  would be great.  Perhaps there is simply another way to do  this?  Thanks!
    Garrett

    GarrettTV wrote:
    Peter,
    I understand that this is probably a more specific use of the feature, no doubt.  It is ultimately unrealistic to expect a program to work exactly as each individual user's project approach dictates.  I dont take the comment as a slam, dont fret.
    My confusion and concern ultimately stems from the fact that, on the surface (granted, I am definitely not a programmer ), it seems like the ability to directly reference the page number would be, almost inherently, already built-in in the sense that the page number is recognized as a product of content placement.  In other words, if the cross-reference knows that changes to the document composition have caused my referenced content to move from auto-numbered page 36 to auto-numbered page 37, yet the reference cannot exist to simply the page number itself.  It has to exist via the content on taht page.  Hopefully I have provided and explanation which makes sense!
    In all honesty, the ability to reference only content and not also page number is only goingot set me back about half.  For my sake, I have a 300 page document which includes hundreds of figures/illustrations, all of which correspond to text explanations in a different part of the document.  Over time, it is anticipated that standards and graphics will be added/subtracted/changed, and therefore, so will the section numbering, page numbering, figure numbering, and the corresponding pages on which all of these pieces of info will occur.  We would like to correspond figures and sections to one number; in this case, the page.  Because each figure/illustration will have it's own page, it is desired to make the figure number and page number match to achieve an easier means of navigating the book.  Basically, I want the text section, which will be read first, to reference figure numbers and/or page numbers (at this point, i have the option of choosing one or the other), but both of these numbers are going to dynamically update.
    So, if that made any sense at all (ha), is there a way to use the cross references to point at a number that is set to automatically/dynamically change?  If there is not, then perhaps I will simply have to create static figure numbers for the referenced content and then just let the page numbers change over time.  If you have any other suggestions, I am definitely open to exploring them!
    Thanks for the continued help!
    Garrett
    Hi, Garrett:
    If I understand your description correctly, it seems that you're asking for an unusual numbering/navigation approach. Is there an example that you've seen that works this way, and that you want to emulate? Is this a publishing style/convention in the particular industry?
    Am I correct in imagining that in a document that contains three figures on discontiguous pages, they might be numbered something like this:
    Page #
    Figure #
    1
    1
    15
    15
    250
    250
    This would result in no figures 2, 3...14...249. Would your document have references to figure 15 on page 15? Would you want your list of figures (LOF) to resemble:
    Figure  number and title                                                     Page     
       1.  Example of the widget in question .............................    1
    15.  Example of another widget .........................................  15
    (sorry about the messy table layout - the HTML is tricky)
    Would your audience be concerned that the figure numbers are not consecutive across a multi-chapter book, or consecutive within a chapter, and restart in each chapter? That is, would a reader think that some figures are missing?
    Is there a specific objection to figure 11 on page 26 becoming figure 11 on page 28, if text content were inserted, or becoming figure 16 on page 29 if figures were inserted? When numbered-list paragraph styles and cross-reference formats are set up properly, cross-references to these figures would update to indicate both the correct number and correct page.
    Have I misunderstood something?
    [EDIT]
    I forgot to ask if your document will be using cross-references interactively in a PDF or other multimedia format. If so, can you give more detail on your expectations?
    Have you looked into InDesign hyperlinks? They can refer to a page number - either "sticking" to the designated page no matter if its page number changes because of reflow or being moved, or "sticking" to whatever happens to become the "n-th" page if the original page is relocated. Search Help for Create a hyperlink to a page.
    [/EDIT]
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • Cross-reference formatting

    Hello:
    In one of my documents, I've increased the font size of the body tag but now my cross references look smaller than the surrounding text. They appear to be wrapped in a body tag but the font and point size pull-downs in the toolbar appear blank when you click on a cross reference. I'm sure that it must be something easy but I can't seem to figure out why this occurs. Can someone enlighten me AND give me a fix? I'm using v8.0p277.
    Thanks for your assistance!
    Kimberly

    Assuming that you have a character tag around the cross-refs, e.g. one named "SpecialLinkColor" that turns text to Magenta:
    In MIFBrowser, or in a text editor, you'd be looking first for the section called "FontCatalog", which is the MIF-speak term for the Character tags catalog.
    Then look at the properties that are listed within the FontCatalog for the "Font" that has the FTag name of "SpecialLinkColor".
    So for example if SpecialLinkColor chartag is only supposed to change the color of the text it's applied to, the only property of the tag should be "FColor = 'Magenta" [along with the default properties of the FLocked= and FSeparation=]
    There should be nothing else like FFamily=xx or FSize=xx.
    If there are other properties like FSize, then that means that the character tag is applying all of those properties to the text.
    If this is the case then would need to change the character tag to only apply the color (or whatever) property.
    Changing a character tag takes a little more finesse, so let's start with just determining if there are character tags applied to the text and then what the character tag properties are, then we'll address how to globally change it to apply only the one property rather than the font size etc etc.
    BIG reminder, please be sure to make a good backup of your files before creating the MIF or looking at it in a text editor, so that "inevitable things" don't go bump.

  • Cross reference + GREP + excluding text

    I would like to know if anyone has a solution to the following problem.
    I have a paragraph style which I use to label tables within my document. In the paragraph style I have set up numbering (under Bullets and Numbering) so that each heading appears as "Table 1.1 School Children in HK" or "Table 1.2 School Children in China" the code I have entered in the 'number' field of the paragraph style appears below:
    Table ^H.^#^/
    I have inserted the word 'Table' prior to the rest of the code so that the label is correct.
    When I create cross references I select 'Cross Reference Format' to be 'paragraph number' the problem is, however,  that the word 'Table' is picked up as part of the 'paragraph number' because of the settings in the Paragraph Style. The end result looking like this:
    The result is fine if you are cross referencing a single table per sentence, however, if you are dealing with multiple tables in plural this is a problem. What I would like to achieve is this:
    Does anyone know if there is a way to achieve this by editing the 'Cross Reference Format' so that the word 'Table' disappears when the cross reference is generated? Perhaps with GREP?
    I would really appreciate your help.

    Hi Tom,
    Im following standard English conventions (UK, if you will)  and the format at the moment is a wee bit clunky when you have to write something like 'Table 7.1, Table 7.2, Table 7.3, Table 7.4 and Table 7.5.....' as will be the case later in the document. The other arrangment of 'Tables 7.1, 7.2, 7.3, 7.4 and 7.5.....' is much shorter and easier to read - brevity is essential in this document because of limited word count.

  • ID CS4 - How to accurately identify existing cross references?

    Hi there,
    I'd like to know how I can accurately identify an existing cross reference.
    I've assumed responsibility for a large document with many figures and many more to be added. I've been adding cross references that use my "figure" paragraph style. All of my cross references point to locations within the same document.
    I am encountering older formatted text that looks like it might be a cross reference but I can't be certain. I've been using the non-printing visible rectangle to clearly identify cross references I've added. The previous authors did this in one or two locations but apparently not consistently.
    What does it mean when my cursor is placed in a bolded word and when I select the Type>Hyperlinks & Cross-References menu and none of the fly-out menu options are available? Does this mean I've placed my cursor within an existing cross-reference?
    If so, is there any way to change the format of an existing cross-reference so that it uses the visible rectangle?
    Thanks,
    Peter H.

    @Pete47 – you could try the "Wps HyperlinkInspector" by Werner Perplies:
    http://www.weepee.de/forum/indesign/viewtopic.php?f=50&t=59
    Unfortuantely, it's all in German, but ask Werner for an English version…
    I discovered some problems with its UI on Mac OSX, but if you are on Windows it should work fine.
    The trial version is restricted to 25 hyperlinks…
    Since "Wps HyperlinkInspector" is using "nodes" [+] you can expand, expect problems if you are testing with the current version of inDesign CC. There are some severe bugs with ScriptUI right now (e.g. you cannot expand "nodes").
    Uwe

Maybe you are looking for