Problems with pre-mapping process in owb 9i

Hi,
I was trying to use the pre-mapping process operator in owb 9i. Problem is that the manual does not specify how the inputs need to be connected to this operator.
Following is what I went through -
I created a mapping table operator and a mapping dimension operator and connected these two. Then i created a pre-mapping process operator selecting the LTRIM function. Further I connected one of the table attributes to this pre-mapping operator as input and connected the output of this pre-mapping operator to the appropriate dimension operator attribute.
On performing Validate, following error message was flashed -
VLD-2451 : Illegal connection to pre-mapping process operator
I am trying to learn how to use OWB 9i from the manual. So my interpretation of the use of the pre-mapping process operator may be wrong.
In any case kindly help,
Thanks,
Saju

Hi,
Essentially the pre (and post) mapping processes are executed before and after the mapping logic. These are separate procedures in the generated package and are "stand alone" from the main package procedure holding the actual mapping diagram.
If you want to use LTRIM, there are 2 supported ways:
1) use an expression, this means you feed the column you want to do the expression on into the expression operator, open the code editor and select from the transformations (or type ltrim......) and then link the result to the target object
2) use a transformation operator, choose ltrim from the Oracle library and connect the operator as I stated in use case 1
We do not encourage you to use a filter to do transformations, it is better to use the operators that are intended for transformations.
Thanks,
Jean-Pierre

Similar Messages

  • Problems with pre-mapping process operator in owb 9i

    Hi,
    I was trying to use the pre-mapping process operator in owb 9i. Problem is that the manual does not specify how the inputs need to be connected to this operator.
    Following is what I went through -
    I created a mapping table operator and a mapping dimension operator and connected these two. Then i created a pre-mapping process operator selecting the LTRIM function. Further I connected one of the table attributes to this pre-mapping operator as input and connected the output of this pre-mapping operator to the appropriate dimension operator attribute.
    On performing Validate, following error message was flashed -
    VLD-2451 : Illegal connection to pre-mapping process operator
    I am trying to learn how to use OWB 9i from the manual. So my interpretation of the use of the pre-mapping process operator may be wrong.
    In any case kindly help,
    Thanks,
    Saju

    Pre-mapping process is use to perform some operations preceding to mapping operation itself.
    For example, if your mapping is designed to incrementally append data to table for the definite time interval (witch is a parameter of the map operation) you might want to perform the table data cleanup for that period. That will allow for reload data number of time.
    In this case you have to define the procedure witch perform cleanup and than include the call to that procedure as a pre-mapping process.
    Other examples of pre- and post mapping process is disabling referential integrity before loading and re-enabling them after loading.
    Anyway, OWB documentation has clear definition for pre- and post-mapping processes.

  • Sequence initialize problem with pre-mapping process

    Hi,
    I use a pre-mapping process in a mapping which executes a function which :
    a) drops a sequence
    b) re-creates the dropped sequence ( CREATE SEQUENCE xxxx START WITH 1)
    But OWB creates always the sequence beginning with 21 as value ?
    If I executes the procedure in SQL manually then it works fine and starts the sequence with 1.
    Is there an explanation for this action (bug ?) ?
    Thanks in advvance,
    Eric

    Hi,
    Its always better to create the sequence manually,import it into OWB and then use it.
    Regards
    Bharath

  • Problem using pre-mapping process operator in owb 9i

    Hi,
    I was trying to use the pre-mapping process operator in owb 9i. Problem is that the manual does not specify how the inputs need to be connected to this operator. Following is what I went through -
    I created a mapping table operator and a mapping dimension operator and connected these two. Then i created a pre-mapping process operator selecting the LTRIM function. Further I connected one of the table attributes to this pre-mapping operator as input and connected the output of this pre-mapping operator to the appropriate dimension operator attribute. On performing Validate, following error message was flashed -
    VLD-2451 : Illegal connection to pre-mapping process operator
    I am trying to learn how to use OWB 9i from the manual. So my interpretation of the use of the pre-mapping process operator may be wrong.
    In any case kindly help,
    Thanks
    Saju

    Pre-mapping process is use to perform some operations preceding to mapping operation itself.
    For example, if your mapping is designed to incrementally append data to table for the definite time interval (witch is a parameter of the map operation) you might want to perform the table data cleanup for that period. That will allow for reload data number of time.
    In this case you have to define the procedure witch perform cleanup and than include the call to that procedure as a pre-mapping process.
    Other examples of pre- and post mapping process is disabling referential integrity before loading and re-enabling them after loading.
    Anyway, OWB documentation has clear definition for pre- and post-mapping processes.

  • Adding pre-mapping process breaks target load order

    OWB 11.2.0.2 on Oracle database 11.2.0.2
    I created a mapping that has 4 sources (views on external tables) and 4 targets (3 regular tables).
    V1 => T1 (truncate/insert)
    V2 => T2 (truncate/insert)
    V3 => T3 (truncate/insert)
    V4 => T3 (update/insert)
    The above is the target load order. It tested fine.
    I added a pre-mapping process (packaged procedure) that is unrelated to any of these source/target tables, but just exits or raises a failure to control whether the mapping should continue to run or not.
    When I run it, the selected/inserted/merged counts are identical, but from what I'm seeing in T3 is that the order was update/insert followed by truncate/insert. I verified that the target load order remained the same.
    Has anyone else run into this problem?

    Hi,
    For OWB 11.2.0.2 the target load order property will set to 'False' by default.
    If this is the case you can not guarantee that the targets will be loaded in the order specified. It should be set to 'true'
    Right click on your map and select configure -> Code generation Properties -> Use target load ordering set it to true.
    Please note that you should have ODI EE licence and you must have installed OWB with Enterprise opton to set this property.
    Regards,
    Pnreddy

  • Truncate tables in pre-mapping process

    I am using OWB 9.0.4 and I have 10 staging area tables that I will be loading in one mapping. I want to truncate all of these tables before I load them. I can not use the TRUNCATE/INSERT option on the target tables because each table will be loaded from two different source tables and I can't specify order in the mapping so I can't have one TRUNCATE/INSERT and the other just INSERT. I would prefer not to have two mappings. I have also tried doing a union on the two source tables but this was not working out well. If I use a pre-mapping operator and select the WB_TRUNCATE_TABLE function, how do I specify multiple tables?
    Is there a better way to do this?

    WB_TRUNCATE_TABLE function takes in only one parameter, so you would have to have 10 pre-mapping processes with that function, or a single one with a custom function.
    I guess you figured the other two choices yourself:
    - If your sources have the same number of attributes and matching datatypes - map them through a Set Operator in a single map with TRUNCATE/INSERT loading type
    - If your sources are different, put them in different maps, with TRUNCATE/INSERT on one and INSERT on the other. Then you can control the order of map execution.
    Nikolai

  • Pre-mapping process seems to be called after instead of before

    Hi,
    I'm new here and this is my first time posting, so please be gentle! :-)
    Running OWB 10.2.0.1.0 on an oracle 10g target db and a 9i source db.
    I have a mapping which contains a pre-mapping process and it contains a simple mapping from a source view into the target table.
    When I look at the generated code, the pre mapping process is at the bottom, after the main insert part of the mapping.
    Next, when I perform a test, updating a test record and following it through the logic, it seems that the pre-mapping process really is in fact getting called after the main mapping.
    Has anyone experienced this?
    Thanks,
    Sammi

    Resolved. Pre-mapping works fine and as intended. Problem in logic was elsewhere.

  • How to use pre-mapping process operator

    Hi,
    I am using OWB version 10.1.0.4.0.
    There are two source tables namely src1_tb(id1,field1,field2), src2_tb(id2,field3,field4) and a target table namely target_tb(id1,id2,field1,field2,field3,field4).
    It's a simple mapping with a join operator. Here, when I try to use a pre-mapping process operator 'LENGTH', with input from outgroup of join operator (field1) and output linked to an added field( VALUE_LENGTH) in Traget Table, it gives error "VLD-2451: Connection to premapping is invalid" and a warning "VLD-1008 :Referenced mapping column VALUE_LENGTH" does not exist"
    Can anyone please let me know how to use pre-mapping process operator.
    Any help will be greatly appreciated.
    Regards,
    Pawan

    yes, a pre-mapping procedure is not what you want here.
    Pre-mapping procedures run once when the mapping initializes and before the actual ETL is run. IT is a place where you could do some custom data cleansing / validation, populate your own audit loggin tables if you wish, or whatever other things you might like to do.
    For what you are describing, you want to pass the field through an expression object. Drop the Expression on the canvas and drag a link from the field in your OUTGRP to the INGRP on the expression This will auto-create the corresponding ingrp attribute in the expression for that field. Then double-click the expression object to bring up it's properties sheet. You will then want to create an OUTGRP attribute called length_value of type number, and set it's Expression property to length(ingrp1.your_Field_name_here). You can then connect from this outgrp field to your field in the target table.
    Cheers,
    Mike

  • Problems with Parameter Mapping

    Hi All,
    I have problems with parameter-mapping. For me its a black box, sometimes it works sometimes not.
    Lots of times my mappings doesnt work, and I dont know the reason.
    For example: I want to map my Execution-CO to the Display-CO. For that I map the in the affected Action.
    But it doesnt work, although I do have the same Context Structures, because its the same CO. The technical Name is also the same.
    What could it be?
    Thanks for answering me
    Bye Steve

    Hi Andre,
    sorry for my late answer, but I'm writing my diploma thesis and wasnt at work since wednesday and so I dont have a access to our GP-System.
    Hope I understood you right.
    The Use Case of parameter mapping is that Users of further steps has the possibility to see the Input of previous steps.
    When I dont map the parameter inside one action, it isnt possible. I tried it out with the SAP example "Time-off-process". I took the CO "Create Request" and add it in one Action (as Display &  Execution). When I understand you right mapping inside an action is not necessary, to see the Inputs from further Actions --> But this way I cannot see the Inputs.  
    The mapping of my application works before I changed it.
    I know never touch a running system, but It was necessary, we need a new Input and Output Parameter.
    Cause I have 20 parameter the mapping was very time-consuming, to map every single parameter. I read a method to reduce the time: Adding a structure requires only mapping of the two structures. But now the Mapping doesnt work.
    Hope you can help me
    Bye Steve

  • Pre-Mapping Process Operator

    We are not getting any documentation, how to use Pre-Mapping Process Operator(I went through the help documentation and tried to apply whatever is there).
    I am using this operator for a function that returns single value. The output of this operator I want to load into the Expression input and expression operator output I want to load into the target table. The output from the Pre-mapping Operator is blank when I am seeing indebugging mode. I am not getting result in execution mode also. Its a simple function that returns number. The function is
    FUNCTION Tesppt RETURN NUMBER IS
    BEGIN
    RETURN 100;
    END;
    I want to know how Pre-Mapping operator works . When I am using the function in expression it works fine.
    I tried out simple mapping to load a table, it did not work out. The code generated is
    CREATE OR REPLACE PACKAGE "TEREEES" AS
    sql_stmt VARCHAR2(32767);
    get_abort BOOLEAN := FALSE;
    get_trigger_success BOOLEAN := TRUE;
    get_errors NUMBER(22) := 0;
    get_status NUMBER(22) := 0;
    -- Status variable for Batch cursors
    "TEST_PP_St" BOOLEAN;
    "PREMAPPING_0_VALUE" NUMBER;
    -- Function Main -- Entry point in package "TEREEES"
    FUNCTION Main RETURN NUMBER;
    END "TEREEES";
    CREATE OR REPLACE PACKAGE BODY "TEREEES" AS
    -- Function "TEST_PP_Bat"
    -- performs batch extraction
    -- Returns TRUE on success
    -- Returns FALSE on failure
    FUNCTION "TEST_PP_Bat" RETURN BOOLEAN IS
    BEGIN
    EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML';
    BEGIN
    INSERT
    /*+ APPEND PARALLEL(TEST_PP, DEFAULT, DEFAULT) */
    INTO
    "TEST_PP"
    ("C1",
    "C2")
    (SELECT
    "TEST_COUNTRY"."CODE" "CODE",
    "PREMAPPING_0_VALUE" "VALUE"
    FROM "TEST_COUNTRY" "TEST_COUNTRY"
    COMMIT;
    EXCEPTION WHEN OTHERS THEN
    ROLLBACK;
    COMMIT;
    RETURN FALSE;
    END;
    COMMIT;
    RETURN TRUE;
    END "TEST_PP_Bat";
    FUNCTION Main RETURN NUMBER IS
    get_batch_status BOOLEAN := TRUE;
    BEGIN
    -- Pre-Model Triggers
    BEGIN
    "PREMAPPING_0_VALUE" :=TESPPT();
    EXCEPTION WHEN OTHERS THEN
    get_trigger_success := FALSE;
    END;
    -- Initialize all batch status variables
    "TEST_PP_St" := FALSE;
    IF get_trigger_success THEN
    "TEST_PP_St" := "TEST_PP_Bat";
    END IF;
    RETURN get_status;
    END Main;
    END "TEREEES";
    Thanks in advance.

    We are having one table which will be populated from other source. It will have one value and we need to fetch that value and this value will be constant for the the whole mapping as there is only one record. So, this the reason why we wanted to do this process before the start of the mapping. The code that I have pasted is sample that I did as an trial for testing how pre mapping process operator works.
    Actually we are using expression and in expression for every record, we don't want to call a function. We want to call function once only so thats the reason why we are using Pre-Mapping Process operator. I don't think that there is anything better than this but the function returns no value when we are using the Pre-Mapping process operator but when I use this function in the outgroup of the expression it returns the value.
    I wanted to see how Pre-mapping operator works, so we tried out simple mapping with simple function but did not work there also. This simple mapping code is there in the query that I asked first.
    Thanks in Advance

  • While installing adobe creative cloud , getting the following error msg " There seems to be a problem with the download process. Error code:201"

    while installing adobe creative cloud , getting the following error msg " There seems to be a problem with the download process. Error code:201"

    Creative Cloud Help / Error downloading Creative Cloud applications
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html

  • Why I can't open google maps on Safari? Everything have been working normally with my computer. But this problem with google maps I can't fix

    Why I can't open google maps on Safari? Everything have been working normally with my computer. But this problem with google maps I can't fix

    Do you have an example? I develop Google maps for Web pages and haven't had problem with Safari and its extensions, only FF which I took out all the addons and plug-ins, but it wouldn't surprise if the Google map code doesn't display the map or information for the map or doesn't work with newer versions of Safari.

  • Help me please : Serious problems with collection-mapping, list-mapping and map-mappi

    Hi everybody;
    I have serious problems with list-mapping, collection-mapping and map-mapping.
    Acording to specifications and requirements in a system I am working on it is needed to
    get a "list" of values or an indivudual value.I am working with ORACLE 9i Database,
    ORACLE 9i AS and ORACLE 9i JDEVELOPER.
    I tried to map a master-detail relationship in an entity-bean, using list-mapping.
    And this was very useful in order to get a "list" of details, ...but, when I wanted
    to get a single value I have some problems with persistence, something about "saving a state"
    despite I just want to get the value of a single detail.
    I decided to change it to map-mapping and the problem related with a single detail
    worked successfully, but I can get access to the whole bunch of details.
    May anyone of you help me with that?
    I am very confused I do not know what to do.
    Have any of you a solution for that problem?
    Thank you very much.

    Have you tried a restore in iTunes?

  • I have problems with google maps at IPhoto. It recognizes the place, but gives not the map.

    I have problems with google maps at IPhoto. It recognizes the place, but gives not the map. It gets grey. You do not even see the world in black and white. What is the problem and what can I do?

    in the iPhoto preferences is look up places set to automatically?
    LN

  • Litlle problem with nokia maps for 5800 xm

    hi evryone,
    i have a problem with nokia maps for my 5800 xpressmusi which is i cant find my acces point when itry to GO ONLINE
    please help thank you

    Hi,
    When you switch on your device for the first time, the access points may be configured automatically based on the service provider information in your SIM card. Otherwise contact your operator or service provider to receive the access point settings if you cannot find it..

Maybe you are looking for

  • How can i use my iphone without a sim card

    I updated my iphone 3gs and now it wont let me use it without my sim card, is there a way to un-update it or something?

  • Running OS 10.6.8 on external drive (for Rosetta) and OS 10.7.5 (or higher) on internal drive

    I have a mid-2009 13" MacBook Pro (5,5 - Intel Core 2 Duo - 2.26 GHz) with 8 GB RAM. I am currently running on OS 10.6.8. I want to upgrade to 10.7.5 or higher primarily to make use of iCloud, though I'm sure there are other benefits. However, I have

  • Cannot log into Vimeo

    Keep trying to log into my Vimeo account on my 3rd gen Apple TV and keep getting this: Sign In Failed 401 Unauthorized - User Not Found - The user credentials passed are not valid I am perfectly able to sign in and browse Vimeo on both Safari on my i

  • Problems Installing iTunes 7

    Hey guys i recently bought a new iPod 5.5G but I've been using iTunes for a while and when i synched it up it said i need iTunes 7.0 or later so i downloaded the latest iTunes but when i tried to install it it came up with an error: "The installation

  • Computer boots to black and white Darwin/BSD Screen

    My iMac is running 10.4.11. While trying to edit user permissions for local networking, I made a huge mistake. I started changing a permission and realized in the middle that I had messed up. I quickly reset the launcher, and then reset the computer.