Query in mapping process....

can i do the query in mapping process 4 dimensions or cubes??? using which pallete??? n how 2 use it with my own queries???
thx guyz....

Perhaps if you rewrite your question in something that resembles English you may get an answer.

Similar Messages

  • 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

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • Reg: SQL select Query in BPEL process flow

    <p>
    Hi,
    I am suppose to execute a SQL select query (in BPEL Process flow) as mention below in JDeveloper using Database adapter.
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;xyz&gt;
    </p>
    <p>
    AND OBJECT= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    <strong>Now my question is:
    1.</strong> What does this "*" refer to in the query and how can I retrieve the value of LENGTH*WIDTH* HEIGHT from the query where LENGTH,WIDTH and HEIGHT are the individual field in the table.
    2.What does this " AS" refer to? If " ITEM_CUBE " is the alies for the table name "ITEM" to retrieve the value, then query shoud be evaluated as
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE <strong>ITEM_CUBE.ITEM</strong>= &lt;xyz&gt;
    </p>
    <p>
    AND <strong>ITEM_CUBE.OBJECT</strong>= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    Is my assumption correct?
    Please suggest asap.
    Thanks...
    </p>
    <p>
    </p>

    Hi
    Thank for your reply!
    I have a nested select query which performs on two different table as shown below:
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;abc&gt;
    </p>
    <p>
    AND OBJECT= (SELECT NAME FROM SUPPLIER WHERE ITEM=&lt;Item&gt; AND SUPP_IND = &lsquo;Y')
    I am using DB adapter of Oracle JDeveloper in BPEL process flow, where I can able to select only one master table in DB adapter say SUPPLIER and its attributes at a time.But as per my requirment I need to select both the table (CUBE and SUPPLIER) in a single adapter to execute my query.
    It can be achievable by using two DB adapter , One to execute the nested query and another to execute the main qyery considering value of nested query as a parameter.But I want to achieve it by using a single one.
    Am I correct with my concept?
    Please suggest how to get it ?
    </p>
    Edited by: user10259700 on Oct 23, 2008 12:17 AM

  • BW Authorizations - Query variable with processing mode as "customer exit"

    Hi,
    Iam new to BW authorizations and have not yet worked on customer exit before. I was going through the documentation at various sites but I could not get the end to end description on how the query process( when using a variable for an InfoObject) works in case of customer exit.
    Let's assume that I am using  a query variable with processing mode as "customer exit" and at the exit I  write some code to extract user's authorizations from a z table. if this is the case, then when an end user runs a query,how will the the system know what value needs to be filled in the variable for the requesting user. Are the user details  also sent to the code along with the query variable? If so how. If I mis-understood the process then forgive me and let me know the correct process.

    Hi!
    welcome to SDN!
    customer exit variables need programing by user. so if you create a customer exit variable, you got to right a program which extracts values into this variable. we can do what ever we want in program, SAP will not deal anything ´with customer exits.
    with regards
    ashwin
    PS n:  Assigning point to the helpful answers is the way of saying thanks in SDN.  you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.

  • Unable to find Searchable Item in Query Criteria Map

    Hi ,
    Am try to personalize Advacned Search Region to Include new search Criteria in R12 iSupplier Portal->Home->Orders Tab->Advanced search.
    Am trying to create new search field in the Add another row field through personalization.
    I have created new row criteria,when am trying to create Query Criteria Map,Am unable to list the Searchable Item as it is Drop down list.
    This causing unable to query the records based on the newly created row criteria item.
    Please advise.
    Thansk<Sarath.

    Hi Jobnish,
    There is no code in this requirement.
    There is no error...Issue is unable to query data based on newly create criteria row in Advanced search.
    I can give you navigation:
    iSupplier Portal->Home->Orders Tab->Press advanced search Region
    Click on the Personalize Page(I hope you know how to enable the personalize link using profile option).
    In SupplierRN ->Advanced Search Criteria and creating custom item Criteria Row..
    We need to map this field in Advanced Query Mapping.
    However the issue is the Am unbale find the Searchable item (which is created in Criteria Row) in the drop downlist.
    I can provide screen-shot if you need.
    Thanks,Sarath.

  • 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.

  • 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

  • How to include Query extractor in process chain

    Hi All,
    According to th requirement I have created Query Extractor using RSCRM_BAPI to upload Query data to application server. 
    Now it has to be included in PROCESS CHAIN.
    Is there any way to include Query Extractor in process chain.
    Or is there any ABAP program which can be used to trigger the my Query Extractor and later this program can be used in process chain.
    Quick reply is much appreciable.
    Thanks,
    Uday.

    s

  • Can you run a Query in a Process Chain?

    As part of a data validation process chain, I need to run a query and send the results by email.  I've created the query (with the exception) and set it up in information broadcaster to be sent by email.  I thought that I would be able to just drop in the "Exception Reporting" process into the process chain and be able to select the query to run.  Needless to say, it don't work that way.
    If anyone has ran a query in a process chain, please let me know how you did it?
    Also if someone knows how the "Exception Reporting" process in RSPC works, please share?
    Thanks

    Patel, we may be able to rethink our approach and use the event data change that was mentioned in the document you sent.
    I was hoping to be able to do everything from within a process chain.  Does anyone know how to use the "Exception Reporting" process that is available in RSPC?  Is it a leftover from the 3.X days that can't really be used in 7.0?

  • 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

  • Post Mapping Process Execution

    Hi,
    I have a post mapping process for a mapping.
    The post mapping process gets executed even when the mapping results in an error.
    I wanted to know is there any parameter that needs to be set so that post mapping process would be executed only on successful execution of mapping.
    The parameter "Post Mapping Process Run Condition" is set to On Success.
    Also my Mapping performs Set based Operation
    Thanx in advance,
    Sourabh

    Hello Kishan,
    The only way to archieve this currently is to create a super-procedure that calls all your stored procedures in sequence, and use the super-procedure with the post mapping operator.
    Regards, Hans Henrik

  • Post-mapping process error

    I have built all of my process in v9.0.2.62.3 except for once the row is loaded into my staging table, I want to delete this row from the source. I was trying to use the post-mapping process to call a procedure that would perform the deletion. However, I can not get the post-mapping process to work.
    The manual states to add a post-mapping process operator to a mapping:
    Drop a Post-Mapping Process operator onto the Mapping Editor canvas.
    Select the appropriate procedure from the selection list. This were I select a procedure called drop_ind with one input parameter, v_ind_id, of type number.
    Connect the output attribute of a source operator to the INOUTGRP1 of the Post-Mapping Process operator.
    This is where things start to go wrong with the manual. There is no INOUTGRP1, but only an INPUTS. If I try and attach the target column to the INPUTS, I get an API8009 cannot add attributes to POSTMAPPING INPUTS error. So I attach my target column directly to the input parameter
    Rename the operator:
    This goes well enough.
    Then I try and validate, and I get the following message wehn I try to generate the mapping :
    Code cannot be generated.
    Specify another operating mode or see validation messages for details.
    When I validate I get :VLD-2451 Illegal connection to POSTMAPPING. details = Illegal connection to POSTMAPPING.
    Obviously, I am doing something wrong, but what?

    Matthew,
    First a question, what are you trying to add to the post mapping process? The ID of the single row that is processed?
    In that case, you will have to rethink the strategy. What happens in a post map process (and the rest of the map) is the following:
    1) execute any pre mapping processes
    2) execute the main body of the mapping (this is you diagram excluding pre and post mapping processes)
    3) execute the post mapping process
    This means that the post mapping process will be run whenever the rest of the mapping is complete.
    So to do what you want, you can use the post mapping process but you would add a marker to every inserted record and then in the post map procedure delete all the ones that have this marker in the target from the source.
    In that case you would need any parameters from your map into the procedure and you should be all set.
    Hope this helps,
    Jean-Pierre

  • Multiple POST-MAPPING Processes Code Generation BUG

    We are testing OWB 10gR2, and we were very happy to see that there is option to include more than one postmapping operator.
    The idea is to create mapping with two post-mapping operators and that:
    - one procedure is executed in case of 'Post-Mapping Process Run Condition' = ON ERROR
    - and other procedure in case of 'Post-Mapping Process Run Condition' = ON SUCCESS.
    But, after implementation of this case, we were dissapointed. We discover that neither procedure is executed.. ?!?!
    After analyzing generated code in 'finalize' method there is code like this:
    IF NOT get_abort THEN
    IF get_abort THEN
         BEGIN
    As you can see this condition will never bee true ?!?
    Doe's anyone have same problem?

    1) If you have somehow got multiple post-mappings working, I would consider that to be buggy behaviour that you cannot depend on for future releases or upgrades. As such, building a solution that depends on this has risk.
    2) You could always build a user-defined custom transformation that takes a list of tables to truncate and does so. Something like (untested, uncompiled, seat-of-the-pants written right here example to get you started):
    create or replace procedure trunc_tables(tablist varchar2)
    is
    local_tablist varchar2(2000) := tablist;
    this_Table varchar2(30);
    nextindex number := 1;
    begin
    nextindex := instr(local_tablist,',');
    while nextindex != 0 loop
    this_table := substr(local_tablist,1,nextindex-1);
    execute immediate 'truncate table '||this_Table;
    local_tablist := substr(local_tablist,nextindex+1);
    nextindex := instr(local_tablist,',');
    end loop;
    -- if no trailing semicolon there is still one table left
    if length(local_tablist) > 0 then
    execute immediate 'truncate table '||local_tablist;
    end if;
    end;
    You could then reference this in your post-mapping procedure with a call to trunc_Tables('table1,table2,table3'), and could re-use this code across all mapping that need it.
    Of course, if you have a lot of mapping-specific stuff to do then you might need to build custom transformations for each mapping that need to do different things as part of their post-process.
    Mike

  • 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

Maybe you are looking for

  • Internal speakers on Macbook Pro not working after using external speakers

    I had an external speaker system attached via the headphone jack, and when i unplugged hem internal speakers are not working, tried plugging external speakers back in and then removing them about 5 times. There was a read light in the headphone jack

  • Mail randomly not delivered

    I am having problems with Mail.  Randomly, my mail does not reach it's recipients.  According to my service provider, they say a bad URL gets attached to my email and the message gets put into their spam filter.  I must stress that this is random pro

  • Working with bar graphs, pie graphs, etc.

    I'm working with somone who likes to create pie graphs, bar graphs and other charts. This guy is not a designer and is using Microsoft applications like Excel and PowerPoint to create these charts. My job is to bring these charts over to an ID docume

  • Timesheet Manager in Project Server 2013

    Hi, Can anyone send me the Timesheet process steps in Project Server 2013? 1. I would like to set someone else as my timesheet manager but while creating a user when i click browse button in timesheet manager field i do not see any resources. 2. Time

  • [SOLVED] How to turn on font hinting and font anti-aliasing?

    I wanted to configure hinting and anti-aliasing, although I've never used fontconfig before. I had been reading https://wiki.archlinux.org/index.php/font_configuration and I have found some contradictions. First it says "Configuration can be done glo