ODI: how to trigger the error return prior to loading in Essbase?

Hi John... If you read my post, I want to say that you impress me! really, thank you for your blog.

Today, my problem is:
-J' received a poor quality of extract of ERP data file
-J' saw the reference table (Source == > target)
-> > How to trigger the error prior to loading in Essbase!

My idea is this, (first of all, I don't know if it's a good thing, and also I have the problem to do in ODI!)
-Step 1: make the JOIN between data.txt and cross-reference Table == > create a DATA_STEP1 table in the ODISTAGING schema (columns of DATA_STEP1 are adding data.txt columns than the table of cross references (... there 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 the value that are not defined in my Table of cross references) by using the filter (filter = Target_Account IS NULL or Target_Entity IS NULL or...)
The result of this interface is sent to the queue of reject.txt - if reject.txt file is not empty, then a mail is sent to the administrator
-Step 3: do the opposite: filter NOT (Target_Account IS NULL or Target_Entity IS NULL...) == > the result is sent in the DATA_STEP3 Table
-Step 4: run correctly mapping: source: DATA_STEP3 (own and verified data!) with reference Tables and send data into Essbase - NORMALLY, it is not rejected record!

My main problem is: what is the right IKM to send data in the DATA_STEP3 Table, which are the Oracle Table in my scheme of ODISTAGING or DATA_STEP1! I tone with Oracle IKM incremental update but I get error and in fact I don't need an update (which is a time trust), I just need an insert!
"I'm just lookiing for a ' IKM SQL for Oracle...
concerning
Xavier

Create a sequence in oracle, you use the sequence in the mapping of your target.

< %="odiRef.getObjectName" ("l",="">","","< d="" ou="" w="">") %>.nextval"

so, for example, it might be

<%=odiRef.getObjectName("L","DATASEQUENCE","DATALOGICALSCHEMA","D")%>.nextval

Make sure that you run the mapping target or intermediary.

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • The error message "no more virtual tiles can be allocated" appears when I try to use the effects in the quick edit mode in my 13 elements. The OK wand has to press several times for loading all effects models. The error returns when selecting th

    The error message "no more virtual tiles can be allocated" appears when I try to use the effects in the quick edit mode in my 13 elements. The OK wand has to press several times for loading all effects models. The error returns when you select the particular model.

    The problem does not appear, if PH 13 items is run in administrator mode.

    The available computer resources are rather big enough: INTEL CPU i7 4 cores, 16 GB RAM, 1 TB HDD + 32 GB SSD, Windows 8.1.

    Please, advice how to fix this problem? Perhaps, there is patch or update available?

    I had this problem with some of the choices menu in PSE13 when my drive to work was only a SSD with 53 GB of free space. I assigned a second disc of work (my data disc with ~ 2 TB of free space) and the error disappeared.

    Scratch disk settings can be found under preferences / Performance.

  • How to use the function @RETURN for poster messages Essbase in 11.1.2.1

    Hello

    I found the business support Essbase Hyperion Planning 11.1.2.1 @RETURN rule novelty.

    If I create a simple BR for planning app like below:
    "@RETURN ("test return message,"WARNING);
    Validation returns error and BR can not be deployed.

    One is how to use the function @RETURN br?

    Thank you!

    He probably should be in a calco for example block

    "Profit".
    (
    ....
    )

    It is more likely to be used with an IF ELSE command, you do not want to define the condition for the calculation, roughly what the feature is designed for output.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to move the search return bar to the previous version?

    Using the latest update of Firefox gave me a new search bar, one where I can't change quickly, search engines to the contrary having to go into a menu to do so. This is detrimental for me since I use each search engine search suggestions, I installed. I can't do that. How to move the search return bar to the previous version?

    I found a solution. If you go in Subject: config, then find the browser.search.showOneOffButtons boolean and rocking that it restores the old functionality. (You may have to restart your browser)

    Note that, as always, to edit your subject: config at your own risk.

    credit: askvg.com

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • How to trigger the dictation from the smart keyboard on the iPad pro.

    I use dictated on my iPhone and my iPad quite often.

    However on my new iPad Pro with the smart keyboard attached, I do not how to trigger the dictation from the keyboard.

    I don't see how to get the soft keyboard back to press the button of the microphone are there, such space suggested by some on this forum.

    This doesn't seem to work in the latest iOS Update 9.

    I would be fine with a hotkey, or have to invoke the keyboard of the shop, then press the button of the microphone, but I don't see how do either.

    When the Emoji button on the keyboard smart strike as the keyboard, the software keyboard emoji is displayed, the space but when I press the soft ABC capital but I cannot get to the regular keyboard with the microphone button.

    A possible alternative would be to use Siri to dictation trigger in recording a memo or another application, space but I didn't understand how to do this job either.

    Has anyone experience this problem and found a solution?

    Unfortunately I had to spend a good hour on the phone with technical support when they finally admit that it was an oversight by Apple.  I hope someone reads this post until they spend countless hours trying to understand something, but has no solution at the moment. Frustrated!

  • How to explain the error in the executable file?

    As everyone knows, there are 3 parts to the cluster of error: status and source code. The State's flag, the code is the error code and the source is where Labview think that the error occurred. Normally, when I'm in the environment labview course I can just right mouse click the error and click "explain the error" and a description and detailed error possible cause rises.

    However, when I create an executable I don't know how to explain the error to the user, such as labview.

    When an error occurs that I wish I had a popup that says code error, source and EXPLANATION. The code and the only source is so enigmatic sound quite panic inducing the user, whether or not the error is unrecoverable/crash-inducing. Also this would save me having to search the online error code.

    How to make the explanation of the error code? There is a vi that I can enter an error code and get the explanation string?

    There is probably something simple I forget but I couldn't find the answer in my research. Thanks in advance for your help.

    Simple error handler and screw General Error Handler?

  • How to solve the error 49 when the photoshop trial download?

    How to solve the error 49 when the photoshop trial download?

    Hello, Scarlett,.

    Please see the below help document to solve the problem:

    Download error, installation or update of Cloud Creative applications

    You can also see the thread below where the issue has been addressed:

    CC of Photoshop update failed. Download error 49

    Kind regards

    Sheena

  • How to trigger the new numbering of the lines in a group?

    Suppose we have an ORDER_DETAILS table with columns (ORDER_ID, LINE_NUMBER, DESCRIPTION).

    We have these lines:

    order_id, line_number, description

    17: 1, "A".

    17.2, 'G '.

    17.3, 'R '.

    17.4, "Q".

    Next, it inserts a new line

    17.2, 'K '.

    How to trigger the renumbering?

    This should be the result after renumbering.

    17: 1, "A".

    17.2, 'K '.

    17.3, 'G '.

    17.4, 'R '.

    17.5, "Q".

    Then we move the line 5 to line 2.

    How to trigger the renumbering?

    This should be the result after renumbering.

    17: 1, "A".

    17.2, "Q".

    17.3, 'K '.

    17.4, 'G '.

    17.5, 'R '.

    This question is related to another discussion:

    https://forums.Oracle.com/thread/1088303

    create the order_details table

    (number of order_id,

    number of line_number,

    Description varchar2 (30)

    )

    rowdependencies;

    Start

    insert into values order_details (17, 1, 'A');

    insert into values order_details (17.2, 'G');

    insert into values order_details (17.3, 'R');

    insert into values order_details (17.4, 'Q');

    end;

    Select * from order_details by line_number

    ORDER_ID LINE_NUMBER DESCRIPTION
    17 1 A
    17 2 G
    17 3 R
    17 4 Q

    create or replace renumber procedure (number p_order_id)

    Start

    Update order_details od

    Set line_number = (select rn

    from (select rowid, RID,)

    / * for autocommit APEX active, etc. * / row_number() on rn (order of line_number, ora_rowscn desc)

    / * for autocommit = OFF favorite above row_number() (line_number order, nulls first ora_rowscn) rn * /.

    of order_details

    where order_id = p_order_id

    )

    where rid = od.rowid

    )

    where order_id = p_order_id;

    end;

    Start

    insert into values order_details (17.2, 'K');

    RENUMBER (17);

    end;

    Select * from order_details by line_number

    ORDER_ID LINE_NUMBER DESCRIPTION
    17 1 A
    17 2 K
    17 3 G
    17 4 R
    17 5 Q

    Start

    Update order_details

    Line_number = 2 set

    where order_id = 17

    and line_number = 5;

    RENUMBER (17);

    end;

    Select * from order_details by line_number

    ORDER_ID LINE_NUMBER DESCRIPTION
    17 1 A
    17 2 Q
    17 3 K
    17 4 G
    17 5 R

    Concerning

    Etbin

  • How to view the error logs in awm

    I just finished my cube of construction and it failed. How to view the error log itself for me to be able to know exactly what size are the original questions.  When using

    Select * from cube_build_log

    It does not give me the real dimensions causing problems?

    Please help

    Thank you

    There are several levels of logging, so I would need to know more before I can tell you that one to watch.

    • Have you built using MN or through DBMS_CUBE. BUILD?
    • What is the exact error you received?
    • What do you learn the following query?

    SELECT OUTPUT, BUILD_OBJECT_TYPE, BUILD_OBJECT, BUILD_ID

    OF CUBE_BUILD_LOG

    WHEN STATUS = 'IMPOSSIBLE '.

    ORDER BY TIMES DESC

  • How to solve the error ORA-00001 in SQL Insert?

    Hi all, I need your help appreciated.

    I do a plsql procedure that inserts a line according to the value of the slider, I have error oracle ORA-00001: unique constraint (constraint_name) violated.

    This message may appear if a duplicate entry exists at a different level: in the RDBMS MySQL, I have the syntax IGNORES to solve this error of duplication... and in Oracle?

    Thanks for your time and your advice.
    Miguelito

    user6317803 wrote:
    How to solve the error ORA-00001 in SQL Insert?

    ORA-00001 means table a unique/primary key / index and you attempt to insert a row with the key value already exists in the table. I'll assume table has a primary key on COUNTRY_ID. Then modify SQL for:

    SQL = "INSERT INTO COUNTRIES (COUNTRY_ID, COUNTRY_NAME, REGION_ID) SELECT"BZ","BLZ", 3 DOUBLE WHERE DOES NOT EXIST (SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID ="BZ").

    There is a good chance COUNTRY table also has unique key/index on COUNTRY_NAME. If so use:

    SQL = "INSERT INTO COUNTRIES (COUNTRY_ID, COUNTRY_NAME, REGION_ID) SELECT"BZ","BLZ", 3 DOUBLE WHERE DOES NOT EXIST (SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ' OR 'BLZ' = COUNTRY_NAME).

    SY.

  • How to fix the error "insufficient data" in Acrobat Reader 11.0.04?

    How to fix the error "insufficient data" for Acrobat Reader 11.0.04?

    Hi Johnkel1524,

    Please visit: http://helpx.adobe.com/acrobat/kb/insufficient-data-image.html

    Also, try to update on 11.0.5 and check.

  • How to use the error at the level of the mapping table?

    Hi all

    Please tell me how to use the errors table in the mapping level or how to handle errors in mapping.
    I create a table of errors in oracle, but I don't know how to use it in the map.


    Thanks in advance.

    Kumar

    Hi Kumar,

    You use the Table of errors with the data rule.

    Error tables are used with logical errors (data rules) managers. Detailed description on the use of data rules is explained in the following document

    http://www.Oracle.com/technology/products/warehouse/PDF/OWB10gR2_ETLandBusinessRules.PDF

    In a nut shell, use of the tables of the error is the following.

    1 create a rule of data associated with a table (target table or a table in which you load data).

    2. use the table in a map as a target table.

    3 deploy the table and mapping.

    Now, in the schema target a single table will be created with the name _ERR. When executing a mapping data that violate the rule of data enters the error table.

    The following must be done to have the name of the wrong choice of the customers table.

    1. right click on the table and click Configure.
    2. give the name of the table in the section "name of the shadow table.
    3 pull out the table.
    4. use this table in a map. Now in the mapping on this table properties in the section 'Error Table name' the name of the table that is specified in 'the shadow table name' will be fulfilled.

    Thank you
    Fati

  • I have W XP, SP3. Suddenly, Adobe reader showed the error: Acrobat could not load the DLL base.

    I have W XP, SP3. Suddenly, Adobe reader showed the error: Acrobat could not load the DLL base. Have Adobe reader X (10.0.1) who refuses to be carried away. Other than a drive X (10.1.0) has been reinstalled. Also have Acrobat reader 5.0 is installed from a CD of the Canon scanner slide. The error remains. If anyone can help. Leif Stg

    Hi Leif,

    Where do you get this error message?

    I suggest you to follow the steps and check if it helps.

    Method 1: Uninstall all the instance of Adobe reader and Acrobat reader and install the latest version of one of the drive and check if it helps.

    http://get.Adobe.com/reader/?promoid=DINRS

    Method 2: If the problem persists, perform a system restore and check if that helps.

    How to restore Windows XP to a previous state

  • How to stop the Firefox update page to load whenever I run the FF 3.6.16 application

    How to stop the Firefox update page to load whenever I run the application FF 3.6.16. I use it on an iMac G5 ALS.

    See the following for a few suggestions:

Maybe you are looking for