Subquery conditional execution using cbo

hellou
how i do for execute a subquery conditionally, using the cbo??
i got an example:
create table table1 AS
SELECT * FROM (
    SELECT 1 id, 'a' boss FROM dual
   union all
    SELECT 3 id, 'b' boss FROM dual
   union all
    SELECT 5 id, 'a' boss FROM dual
   union all
    SELECT 7 id, 'b' boss FROM dual
   union all
    SELECT 9 id, 'a' boss FROM dual
create index idx_table1 on table1(boss, id)
create table table2 AS
SELECT * FROM (
    SELECT 2 id, 'b' boss FROM dual
   union all
    SELECT 4 id, 'a' boss FROM dual
   union all
    SELECT 6 id, 'b' boss FROM dual
   union all
    SELECT 8 id, 'a' boss FROM dual
   union all
    SELECT 10 id, 'b' boss FROM dual
create index idx_table2 on table2(boss, id)
CREATE OR REPLACE FUNCTION print_hi
    isb in varchar2
return number
IS
BEGIN
    dbms_output.put_Line(isb);
    return 0;
END;
-- the query !!!!!!!
with data AS
    SELECT
    FROM (
        -- subquery #1
        SELECT
            1 query_name,
            id pibot,
            boss
        FROM table1
        WHERE print_hi(id) = 0
       union all
        -- subquery #2
        SELECT
            2 query_name,
            id pibot,
            boss
        FROM table2
SELECT
    pibot + query_name / 10 pibot
FROM data
WHERE 1 = 1
    AND boss = :boss
    AND (
        query_name = :q
        AND pibot > :p
       OR query_name > :q )
    AND rownum <= 3i want than only the query #2 be executed.
the query #1 print data in the screen when is executed (for the function print_hi).
now i execute the query with the variables data as:
boss = 'a'
q = 2
p = 0
when i execute the query using rules, then not print anything in the screen.
when i execute the query using costs, then print 1 5 9 in the screen. this means than the query #1 is being executed when this should not
help .. tx
SELECT * FROM v$version
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
PL/SQL Release 10.2.0.5.0 - Production
CORE10.2.0.5.0Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production

As often is, the predicates section of the execution plan is quite revealing on this one.
Take your original query
explain plan for
with data AS
(SELECT *
FROM (-- subquery #1
       SELECT 1 query_name,id pibot,boss
       FROM table1
       WHERE print_hi(id) = 0
       union all
        -- subquery #2
       SELECT 2 query_name,id pibot,boss
        FROM table2))
SELECT pibot + query_name / 10 pibot
FROM   data
WHERE  1 = 1
AND    boss = :boss
AND   (query_name = :q
AND    pibot > :p
OR     query_name > :q )
AND    rownum <= 3;
select * from table(dbms_xplan.display);gives
| Id  | Operation           | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT    |            |     2 |    38 |     2   (0)| 00:00:01 |
|*  1 |  COUNT STOPKEY      |            |       |       |            |          |
|   2 |   VIEW              |            |     2 |    38 |     2   (0)| 00:00:01 |
|   3 |    UNION-ALL        |            |       |       |            |          |
|*  4 |     INDEX RANGE SCAN| IDX_TABLE1 |     1 |    16 |     1   (0)| 00:00:01 |
|*  5 |     INDEX RANGE SCAN| IDX_TABLE2 |     1 |    16 |     1   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   1 - filter(ROWNUM<=3)
   4 - access("BOSS"=:BOSS)
       filter("PRINT_HI"(TO_CHAR("ID"))=0 AND (1>TO_NUMBER(:Q) OR
              1=TO_NUMBER(:Q) AND "ID">TO_NUMBER(:P)))
   5 - access("BOSS"=:BOSS)
       filter(2>TO_NUMBER(:Q) OR 2=TO_NUMBER(:Q) AND "ID">TO_NUMBER(:P))Assuming that the FILTER logic in STEP 4 is followed to order, it's not then possible with this query as is to short-circuit the evaluation of PRINT_HI as it is evaluated first.
When you make a change (just to q not necessarily to boss as well)
from
query_name = :qto
query_name = 2You'll hopefully notice the difference in predicate evaluation with the extra filter step:
| Id  | Operation             | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT      |            |     2 |    38 |     2   (0)| 00:00:01 |
|*  1 |  COUNT STOPKEY        |            |       |       |            |          |
|   2 |   VIEW                |            |     2 |    38 |     2   (0)| 00:00:01 |
|   3 |    VIEW               |            |     2 |    38 |     2   (0)| 00:00:01 |
|   4 |     UNION-ALL         |            |       |       |            |          |
|*  5 |      FILTER           |            |       |       |            |          |
|*  6 |       INDEX RANGE SCAN| IDX_TABLE1 |     1 |    16 |     1   (0)| 00:00:01 |
|*  7 |      INDEX RANGE SCAN | IDX_TABLE2 |     1 |    16 |     1   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   1 - filter(ROWNUM<=3)
   5 - filter(1>TO_NUMBER(:Q))
   6 - access("BOSS"=:BOSS)
       filter("PRINT_HI"(TO_CHAR("ID"))=0)
   7 - access("BOSS"=:BOSS)
       filter("ID">TO_NUMBER(:P) OR 2>TO_NUMBER(:Q))

Similar Messages

  • Apply MRU conditional execution

    Hi!
    I am using a tabular form and would like to update the rows (using ApplyMRU) only if two values in items P2_SUM_PLN and P2_FIKSNI_BR are equal.
    I have tried by adding a condition to the process but it seems that the process does not fetch the values of the items.
               e.g.  Value of Item / Column in Exp 1 = Exp 2   
    Exp 1 = P2_FIKSNI_BR
    Exp 2 = &P2_SUM_PLN.
    The same condition works as a Dynamic Action.
    The value of the number in P2_FIKSNI_BR is calculated via a SQL command, and the value of P2_SUM_PLN via a JavaScript.
    Can anyone help me with this?
    Thanks in advance!

    Hi,
    I am not sure what kind of "Conditional Execution" you are looking for.
    Syndication Server is based on the "Port" concept and we can associate an already saved Syndicator Map that also includes your Search criteria. So, the syndication server simply executes this map at a defined interval and places the file in the appropriate folder of the "Port". But, Syndication server cannot determine the map to be executed based on a condition and it also cannot determine search criteria within a map based on a condition.
    If your requirement is to execute a map based on a condition, I suggest you to use "Syndicator Batch" commands and use a program that triggers appropriate map based on this condition.
    Hope this helps,
    Regards,
    Rajani

  • Conditional execution of main DataTemplate

    Hi All,
    I am working on a Report in BI Publisher where the Data Model consists of three data sets of type-data template which are as below:
    1) Before Trigger
    2) Main DataTemplate
    3) After Trigger
    Now, I need to conditionally execute the main DataTemplate, depending on the return value of a function called in "Before Trigger". So, when function returns true, "Main DataTemplate" code is to be included in execution, and when it returns false we need only the code in "After Trigger" to be executed.
    Please guide me in achieving the above.
    Thanks
    Actual Problem- Elaborated:-
    In a report, first we need to check if the table used in code exists. In case it does, actual report is to be generated, and in case the table does not exist an error message is to be displayed as pdf output.
    To achieve this we have a function in "Before Trigger" that returns true/false based on table's existence. Now we need to execute the report code depending on the outcome of this function.
    For value = true, normal execution of report is to take place
    For value = false, code of main datatemplate needs to be bypassed, and flow to "After Trigger" so as to avoid BI Publisher error "table or view does not exist".
    The display of report/customised error message as output can be handled at the rtf level using sub-templates and if-else statements.
    Please let me know in case you need some other details from my end.

    Hi,
    I am not sure what kind of "Conditional Execution" you are looking for.
    Syndication Server is based on the "Port" concept and we can associate an already saved Syndicator Map that also includes your Search criteria. So, the syndication server simply executes this map at a defined interval and places the file in the appropriate folder of the "Port". But, Syndication server cannot determine the map to be executed based on a condition and it also cannot determine search criteria within a map based on a condition.
    If your requirement is to execute a map based on a condition, I suggest you to use "Syndicator Batch" commands and use a program that triggers appropriate map based on this condition.
    Hope this helps,
    Regards,
    Rajani

  • Conditional Execution of Validation Rule defined in EO

    Hi All
    I'm developing a web application using jdeveloper 11.1.0.3
    I have a drop down list with some values. There is a compare validation rule defined in EO object for an attribute. But I dont want to fire this validation only when a certain value from the drop down list is selected.
    When we go to edit option of this validation rule there is a tsb called validation execution. I want to know how to fill conditional execution area to full fill my problem

    You can create a Groovy expression in the 'Validation Execution' tab to return true based on which the validation rule will be applied. The new value of the attribute can be accessed via the attribute context validation variable 'newValue'
    Check this blog for more details on validation rules:
    http://blogs.oracle.com/workingwithadf/2010/11/adf-bc_business_rulesvalidation_eovo.html
    hope this helps.
    Regards,
    ~K

  • Conditional execution of syndication server

    I have a requirement for conditional execution of syndication server.  Is it possible to automate syndication server to run based on a predefined search and Map. I know we can do using syndication client but can we do the same using syndication server.  Thank you in advance.
    Regards
    Bala Pochareddy

    Hi,
    I am not sure what kind of "Conditional Execution" you are looking for.
    Syndication Server is based on the "Port" concept and we can associate an already saved Syndicator Map that also includes your Search criteria. So, the syndication server simply executes this map at a defined interval and places the file in the appropriate folder of the "Port". But, Syndication server cannot determine the map to be executed based on a condition and it also cannot determine search criteria within a map based on a condition.
    If your requirement is to execute a map based on a condition, I suggest you to use "Syndicator Batch" commands and use a program that triggers appropriate map based on this condition.
    Hope this helps,
    Regards,
    Rajani

  • JCOP Tools Problem Error code: 6985 (Conditions of use not satisfied)

    I have a problem with the JCOP tools. I am developing a very simple applet which does nothing at all. It is a "hello world" type applet so that I can get something working. It compiles ok, however as soon as I try to run it under the emulator I get an error.
    Status: Conditions of use not satisfied jcshell: Error code: 6985 (Conditions of use not satisfied) jcshell: Wrong response APDU: 6985
    This always happens when the jcshell issues the install command.
    The install command is:
    install -i 1234567890 -t -l -d -m -p -s -b -e -q C9#(1234567890) 1234567890 1234567890
    I must be doing something very basic incorrectly. I have tried searching the forums and internet and I haven't found anything. Any help would be appreciated.
    The code is this:
    package pt.microfil.test;
    import javacard.framework.*;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.APDU;
    public class testcard extends Applet {
         final static byte CLASS = (byte) 0x80; // Class of the APDU commands
         final static byte INS_READ = (byte) 0x02; // instruction for the READ APDU command
         // this is the text string which will send back from the ICC to the IFD
         final static byte[] text = {(byte) 'e', (byte) 't', (byte) 's', (byte) ' ',
         (byte) 'g', (byte) 'e', (byte) 'h', (byte) 't', (byte) 's', (byte) ' ',
         (byte) 'd', (byte) 'e', (byte) 's', (byte) ' ',
         (byte) 'G', (byte) 'l', (byte) 'u', (byte) 'm', (byte) 'p'};
         public static void install(byte[] bArray, short bOffset, byte bLength) {
              // GP-compliant JavaCard applet registration
              //new testcard().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
              new testcard().register();
         public static void install() {
              new testcard().register();
         public void process(APDU apdu) {
              byte[] cmd_apdu = apdu.getBuffer(); // the cmd_apdu variable is used because of performance reasons
              if (cmd_apdu[ISO7816.OFFSET_CLA] == CLASS) {  // it is the rigth class
              switch(cmd_apdu[ISO7816.OFFSET_INS]) {      // check the instruction byte
              case INS_READ: // it is a READ instruction
              // check if P1=P2=0
              if ((cmd_apdu[ISO7816.OFFSET_P1] != 0) || (cmd_apdu[ISO7816.OFFSET_P2] != 0)) {
              ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
              } // if
              // check if P3=length of the text field
              short le = (short)(cmd_apdu[ISO7816.OFFSET_LC] & 0x00FF); // calculate Le (expected length)
              short len_text = (short)text.length; // the len_text variable is used because of performance reasons
              if (le != len_text) {
              ISOException.throwIt((short)(ISO7816.SW_CORRECT_LENGTH_00 + len_text)); // give the expected length back to the IFD
              } // if
              apdu.setOutgoing(); // set transmission to outgoing data
              apdu.setOutgoingLength((short)len_text); // set the number of bytes to send to the IFD
              apdu.sendBytesLong(text, (short)0, (short)len_text);
              break;
              default : // the instruction in the command apdu is not supported
              ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
              } // switch
              } // if
              else {         // the class in the command apdu is not supported
              ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    }

    i also found this error and i change the package name and applet id.it is not changing.now i got same error.
    cm>  install -i 6d796170702e617070  -q C9#() 6d797061636b616765 6d796170702e617070
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting execution
    how can i solve the problem??

  • In the icloud settings, i am told i need to accept the terms and conditions to use icloud, but when i try to do so, i get a message "unable to connect to server". This has been going on for a week. There is no problem with either my wifi or cellular conne

    In the icloud settings, I am told I need to accept the terms and conditions to use icloud. However, when I click on "Terms and conditions", I get a message "unable to connect to server". This has been happening for a week now since I upgraded to iOS 7.06. There is no problem with my wifi or cellular connectivity, all other applications work perfectly. P.S.I have never used icloud before, but wish to do so now. How do I overcome this problem?

    Have you turned the iPad off then back on? That often helps with problems.

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Condition types used in cin

    i have some confusion on cin
    what are condition types used in cin with details
    and where will assign  TAXINJ and TAX INN  please give me full details with example if any documents available please send to [email protected]
    advanced thanks

    <b>TAXINN:</b>
    JEXP IN: A/R BED %
    JEXQ IN A/R BED
    JEAP IN A/R AED %
    JEAQ IN A/R AED Qty
    JESP IN A/R SED %
    JESQ IN A/R SED Qty
    JASS IN A/R Assessable Va
    JIN1 IN A/R CST
    JIN2 IN A/R LST
    JLST IN A/R LST
    JMAN IN Manual excise
    JMOD IN A/R BED ..............................
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Condition type used for invoice list

    Hello Gurus,
            following condition type used for invoice list, why do they exit in invoice list:
             RL00    MW15.  LR00    RD01

    Hi,
    Please go through the below document
    When you work with invoice lists, you need to be familiar with the following concepts:
    Prerequisites for invoice lists
    Relationship to Pricing
    Structure of an Invoice List
    Changing header and item data
    Integration with financial accounting (FI)
    Prerequisites
    You can only process invoice lists if the following prerequisite data is defined by your system administrator in Customizing for Sales:
    Condition type RL00 (factoring discount) must be maintained and, if required, also the condition type MW15.
    An invoice list type must be assigned to each billing type that you want to process in invoice lists. The standard version of the SAP R/3 System includes two types of invoice lists: LR for invoices and debit memos, LG for credit memos.
    Copying requirements must be defined (for example, the payer, terms of payment and other fields that must be identical in the documents to be included in the invoice list)
    In addition, before you process an invoice list, you must maintain the following master data:
    A customer calendar must be defined, specifying the time intervals or dates on which invoice lists are to be processed.
    The customer calendar must be entered in the Billing Sales Area view of the customer master record.
    Pricing condition records for the condition type RL00 and, if necessary, (e.g. in Germany) the condition type MW15 must be maintained.
    Output condition records for condition types LR00 and RD01 must be created.
    Relationship to Pricing
    The system processes factoring discounts in invoice lists in exactly the same way as other kinds of pricing elements. The data for the factoring discount is stored in condition records. Controlling during document processing is carried out via condition types, pricing procedures and access sequences. This control data is defined in Customizing for Sales by your system administrator.
    For further information, see  Conditions and Pricing.
    Structure of an Invoice List
    An invoice list represents an individual billing document. It consists of a document header and document items. Each item represents a billing document that you have included in the invoice list. The header contains an overview of summary information, such as the net value of all documents in the invoice list, the value of the factoring discount, details of taxes, and so on. It also contains information on partners and output.
    Changing Header and Item Data
    You can change some of the header data - for example, the billing date - when you process the invoice list. You can change an item - either an individual or collective invoice - and display document details. However, you cannot change any data in individual billing documents once they are part of an invoice list.
    It is possible, however, to make certain global changes to output in all items in an invoice list.
    For further information on output, see  Communication in Sales and Distribution Processing.
    Integration With Financial Accounting (FI)
    The documents that you want to combine within an invoice list must already have been billed and forwarded to Financial Accounting. Here the billing documents intended for an invoice list are blocked for normal dunning transactions.
    The dunning block on FI documents is lifted as soon as you create an invoice list and transfer it to FI . The system then calculates the new dunning date for the invoice on the basis of the invoice list date.
    In addition, the system enters invoice list numbers in the FI documents as reference numbers. Invoice list numbers can then be entered for incoming payments.
    When you save the invoice list, the system automatically creates an accounting document for the factoring discount and possible taxes and posts it to the corresponding G/L account in FI.
    Regards,
    Murthy

  • Same condition type used in MM , error?

    Hi ,
    I am (SD) using the same condition type which is used by MM and maintained different condition records in VK11. when I created STO , MM condition value is posting right , But with relevant to STO and Del , I create billing document , here The condition records what I maintained in vk11 are missing. I have check each and every step. where could be the error exists? cant we use the same condition type used by MM , though we maintained different acceess seq and condition records in VK11?
    Thank you,
    Kanna Palle.

    Hi,
    I copied the condition type and changed the name , but its already used by MM. Its a STO process .STO to DEL to IV Billing.I maintained condition records in vk11.In the combination of plant and material , I find different field name for material (but its still named as material and the data element is different from what MM material field). Its confusing I think.
    Precisely , I created access seq for plant and material , they field names are z123 and zabc. when I maintained condition records in vk11 ,  condition record saved in ZAAA and ZBBB fields. now at the time of Billing document , system throws an error saying, * condition record is missing *  The system checks z123 and zabc for condition records , which are not there becos they are in the fields ZAAA and ZBBB.
    At the time of Acc Seq creation , I tried to pick the same field which it shows in billing document.but that is not available in SD , its available only in ALLOWED FIELDS in MM. Pls Throw some light on this.
    Thanks,
    Kanna Palle.
    Any updates on this Pls?

  • To change vendor no for condition types using BAPI_PO_CHANGE

    Hii,
    how to change vendor no for certain condition types using BAPI_PO_CHANGE.
    Is it possible .
    Any parameter is there.
    Plz help urgent
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:23 PM

    Hi,
       It is possible.
    wa_pocond-vendor_no = wa_konv-lifnr.
    wa_pocondx-vendor_no = 'X'.
       wa_pocond-condition_no = wa_konv-knumv.
        wa_pocond-itm_number = wa_konv-kposn.
        wa_pocond-cond_type = wa_konv-kschl.
        wa_pocondx-condition_no = wa_konv-knumv.
        wa_pocondx-itm_number = wa_konv-kposn.
        wa_pocondx-cond_type = 'X'.
        wa_pocondx-change_id = 'U'.
        APPEND wa_pocondx TO it_pocondx.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder                = wa_konv-ebeln
          POHEADER                     =
          POHEADERX                    =
          POADDRVENDOR                 =
          TESTRUN                      =
          MEMORY_UNCOMPLETE            =
          MEMORY_COMPLETE              =
          POEXPIMPHEADER               =
          POEXPIMPHEADERX              =
          VERSIONS                     =
          NO_MESSAGING                 =
          NO_MESSAGE_REQ               =
          NO_AUTHORITY                 =
          NO_PRICE_FROM_PO             =
        IMPORTING
          EXPHEADER                    =
          EXPPOEXPIMPHEADER            =
         TABLES
           return                       = it_return
           poitem                       = it_poitem
           poitemx                      = it_poitemx
          POADDRDELIVERY               =
          POSCHEDULE                   =
          POSCHEDULEX                  =
          POACCOUNT                    =
          POACCOUNTPROFITSEGMENT       =
          POACCOUNTX                   =
          POCONDHEADER                 =
          POCONDHEADERX                =
           pocond                       = it_pocond
           pocondx                      = it_pocondx
          POLIMITS                     =
          POCONTRACTLIMITS             =
          POSERVICES                   =
          POSRVACCESSVALUES            =
          POSERVICESTEXT               =
          EXTENSIONIN                  =
          EXTENSIONOUT                 =
          POEXPIMPITEM                 =
          POEXPIMPITEMX                =
          POTEXTHEADER                 =
          POTEXTITEM                   =
          ALLVERSIONS                  =
          POPARTNER                    =
          POCOMPONENTS                 =
          POCOMPONENTSX                =
          POSHIPPING                   =
          POSHIPPINGX                  =
          POSHIPPINGEXP                =
          POHISTORY                    =
          POHISTORY_TOTALS             =
          POCONFIRMATION               =
        COMMIT WORK AND WAIT.

  • How to migrate pricing condition data using lsmw

    Hello All,
                 can any one explain how to migrate pricing condition data using lsmw.
    the scenario is we are trying to extend the pricing conditions from one sales area to other sales area on a combination of sales organization, distribution channel and division.

    Hi Sreedhar Kodali
    Pricing conditions can be extended with the following options:-
    1)  Customer / material with release status
    2)  Sales Org / Dist. Channel / Cust group / Material
    3)  Price List category / Currency / material with release status
    4)  Material with release status
    Assuming that your pricing condition in one sales area is different to another, first you have to create LSMW recording to extend the sales area and then pricing conditions can be uploaded accordingly.
    Thanks
    G. Lakshmipathi

  • Monthly purchase value,depending on condition type used.

    Can we search for PO,depending on condition type used in the PO.eg. we are using a condition ZENT for entry tax and
    the requirement is to search the po containing that ZENT condition.In dynamic selection mode there is condition group in
    purchase order detail,but it is not selecting the required PO.please guide.

    Hi,
    This requirement is not possible in std SAP Report.
    You need to develop a Z report with the help of ABAPers.
    Give proper logic for them for creating this req.
    Regards,
    Rahul

  • Conditional Filters using case statements

    Hello,
    I have a table view which displays Total Quota and Theatre Quota. Against the Total Quota, there are 2 values - Rollover Revenue and Theatre Revenue. Against the Theatre Quota, there is only Theatre Revenue.
    What I want to accomplish is to display only the Rollover Revenue Aggregated Quarterly number whenever there is a Total Quota number and not display the Theatre Revenue number
    In the table view,
    Year Name     Quarter Name     Quarter Name Sort     Person Region     Quota Name     Quarterly Quota     Credit Amount     QTD Attainment     Credit Type Name
    YEAR-2012     QTR-1-2012     QTR-1-2012     750     Total Quota     6,128,500     5,492,081     89.62%     Rollover Revenue Aggregated Quarterly
                   750          6,128,500     5,344,000     87.20%     Theatre Revenue
         QTR-2-2012     QTR-2-2012     750     Total Quota     5,922,500     5,890,264     99.46%     Rollover Revenue Aggregated Quarterly
                   750          5,922,500     6,120,000     103.33%     Theatre Revenue
         QTR-3-2012     QTR-3-2012     750     Total Quota     5,716,500     0     0.00%     
         QTR-4-2012     QTR-4-2012     750     Total Quota     5,510,500     0     0.00%     
    I used an example in the following link:
    http://oraclebizint.wordpress.com/2008/02/06/oracle-bi-ee-101332-conditional-filters-using-case-statements-in-filters/
    and applied the example in my scenario:
    CASE WHEN Quota."Quota Name" = 'Total Quota' THEN "Credit Type"."Credit Type Name" ELSE 'Dummy' END != 'Theatre Revenue'
    I still get duplicate rows.
    Thanks.

    Could you suggest any solutions for this problem where I can conditionally hide the number only for a certain type of data and not for all type of data?
    Thanks.

Maybe you are looking for

  • Macbook Pro running very slow all of a sudden

    Hello, my mac has suddenly started running extremely slow. It sits on the grey screen on start up for about 10 mins and i get the spinning wheel constantly when using through the day. it is also running extremely hot when in use and the fans are almo

  • How can i increase download speed on my MacBook Pro?

    How can I increase download speed on my macBook Pro?

  • Drag and drop from Pallette not working

    I installed studio enterprise 8.0 When I click any object from the palette to drag into my design screen, it does not drag to a specific location. I don't have the option to move it around the screen and place it where I want. Is there a setting prob

  • Not releasing to accounting

    Dear all One of the service invoice is not getting released to a/cing it is showing error as below Posting keys for account determination for transaction ZCS do not exist Message no. F5598 Diagnosis The posting keys necessary for account determinatio

  • How I can change skype name ivokaryon to ivonoros

    How I can change skype name ivokaryon to ivonoros