Conditional branch based on attribute selection ? bug?

I am trying to base a conditional branch on attribute selection and it results in an error which i can't understand. So i am wondering now whether i am doing something wrong or whether this is a bug in ALSB.
Does anyone have a clue whether i am doign something wrong or agree that it might be a bug?
I have the following configuration:
Selected path: ./elementX/@attributeY
in variable: body
Branch1: operator : =
Value : "Brochure"
Label : "TestLabel"
and this leads to the following vague error:
<con:fault  xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382000</con:errorCode>
<con:reason>com.bea.wli.sb.stages.StageException</con:reason>
<con:location>
<con:node>BranchNode1</con:node>
</con:location>
</con:fault> and the following stacktrace in the logfile:
####<22-mrt-2007 8:14:32 uur CET> <Error> <ALSB Kernel> <NUW04896> <xbusServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-00457F11B55FD06D1480> <> <1174547672363> <BEA-382016> <Failed to instantiate router for service ProxyService Selectief_Bijsluiten/proxyservices/Siebel_Brieven_Conditional_Variant: com.bea.wli.sb.pipeline.PipelineException: com.bea.wli.sb.stages.StageException
com.bea.wli.sb.pipeline.PipelineException: com.bea.wli.sb.stages.StageException
     at com.bea.wli.sb.pipeline.BranchNode.doRequest(BranchNode.java:142)
     at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:57)
     at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:771)
     at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:141)
     at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:75)
     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:646)
     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:645)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:643)
     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:264)
     at com.bea.wli.sb.transports.file.FileTask.process(FileTask.java:103)
     at com.bea.wli.sb.transports.poller.listener.PolledMessageListenerMDB.onMessage(PolledMessageListenerMDB.java:42)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)
     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4060)
     at weblogic.jms.client.JMSSession.execute(JMSSession.java:3953)
     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4467)
     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
com.bea.wli.sb.stages.StageException
     at com.bea.wli.sb.stages.expressions.xquery.XQueryExprExecutor.executeJavaObject(XQueryExprExecutor.java:102)
     at com.bea.wli.sb.pipeline.BranchNode.computeBranchName(BranchNode.java:174)
     at com.bea.wli.sb.pipeline.BranchNode.doRequest(BranchNode.java:130)
     at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:57)
     at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:771)
     at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:141)
     at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:75)
     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:646)
     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:645)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:643)
     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:264)
     at com.bea.wli.sb.transports.file.FileTask.process(FileTask.java:103)
     at com.bea.wli.sb.transports.poller.listener.PolledMessageListenerMDB.onMessage(PolledMessageListenerMDB.java:42)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)
     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4060)
     at weblogic.jms.client.JMSSession.execute(JMSSession.java:3953)
     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4467)
     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.lang.NullPointerException
     at weblogic.xml.query.tokens.Token$Kind.isNested(Token.java:143)
     at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:89)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:133)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.core.RTVariable.fetchNext(RTVariable.java:49)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.node.Data$Attribute.fetchNext(Data.java:224)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.node.Data.fetchNext(Data.java:174)
     at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
     at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:195)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.typing.GenericCast.cast(GenericCast.java:198)
     at weblogic.xml.query.runtime.typing.GenericCast.fetchNext(GenericCast.java:183)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.core.RTVariable.fetchNext(RTVariable.java:49)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.compare.ComparisonIterator.fetchNext(ComparisonIterator.java:40)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.logic.BoolEffValue.exec(BoolEffValue.java:51)
     at weblogic.xml.query.runtime.logic.BoolEffValue.fetchNext(BoolEffValue.java:47)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
     at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
     at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:156)
     at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
     at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:125)

Hi,
I am working in ALSB 2.6. I am facing this problem but little different way. The attribute selection is working fine only if that conditional attribute is the last attribute in the element. Otherwise it is giving the following message
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>
BEA-382000: com.bea.wli.sb.stages.StageException: line 1, column 5: {err}FORG0003: expected zero or one item, got two or more items
</faultstring>
<detail>
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382000</con:errorCode>
<con:reason>
com.bea.wli.sb.stages.StageException: line 1, column 5: {err}FORG0003: expected zero or one item, got two or more items
</con:reason>
<con:location>
<con:node>VerifyPaymentCard_Branch</con:node>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Is the order of the attribute important? or am I missing something?

Similar Messages

  • OSB 11g - Conditional Branch Problem using attribute selection

    Folks,
    Came across a problem using OSB Conditional Branch using attribute selection, it fails & is most likely a bug. It was bug in ALSB2.5 but read in forums was fixed in ALSB 2.6
    things I am doing -
    1. In the Msg Flow, Conditional branch is @ the start of the flow
    Xpath :- ./cm:processLineItem/cm:lineItem/@actionCode
    In-Variable: - body
    Label: - MODIFY
    Operator:- =
    Value:- 'Modify'
    It fails with BEA-382000 error Code
    <con:errorCode>BEA-382000</con:errorCode>
         <con:reason>
         com.bea.wli.sb.stages.StageException: {bea-err}TYPE003: Runtime Type Mismatch
         </con:reason>
    What could be wrong with Xpath or is it a Bug ?
    Thanks,
    Abhijeet

    Hi Abhijeet,
    Your case is re-producible. It may be a bug.
    BTW, I have noticed a strange behaviour -
    1. If there is only one attribute then it works fine (<cus:lineItem actionCode="Modify")
    2. If the attribute which you want to refer in selection, is in the last then also it works fine (<cus:lineItem priorityRanking="201" quantity="1"> actionCode="Modify")
    So I will suggest you to raise a case with support and meanwhile as a workaround I would suggest you to use actionCode attribute in the last of lineItem node. So your XML should be like -
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <cus:processLineItem xmlns:com="http://vodafone.com.au/ebo/vha/CommonComponents" xmlns:cus="http://vodafone.com.au/cm/ocv/ebm/CustomerOrder" xmlns:cus1="http://vodafone.com.au/ebo/vha/CustomerManagement">
    <com:header>
    <com:createDateTime>2008-09-29T11:49:45</com:createDateTime>
    <!--Optional:-->
    <com:webUser>test</com:webUser>
    <com:channel>string</com:channel>
    <com:applicationName>string</com:applicationName>
    <com:businessIdentifier>string</com:businessIdentifier>
    <!--Optional:-->
    <com:entityIdentifier>string</com:entityIdentifier>
    <!--Optional:-->
    <com:sourceIdentifier>string</com:sourceIdentifier>
    <!--Optional:-->
    <com:statusCode>Success</com:statusCode>
    <!--Optional:-->
    <com:messageIdentifier>string</com:messageIdentifier>
    </com:header>
    <cus:lineItem priorityRanking="201" quantity="1" actionCode="Modify">
    <!--You have a CHOICE of the next 3 items at this level-->
    <!--Optional:-->
    <cus1:product ID="string">
    <!--Zero or more repetitions:-->
    <cus1:attribute>
    <com:name>test</com:name>
    <com:value>test1</com:value>
    </cus1:attribute>
    </cus1:product>
    </cus:lineItem>
    </cus:processLineItem>
    </soapenv:Body>
    Regards,
    Anuj

  • 1 Conditional report based on 3 select lists/ 3 different select statements

    I have made 1 report based on the three select lists. The report is displayed in the center of the page. The user needs to fill them in order, the select lists are:
    Selectlist:
    1. P1_LOVPG - Null is allowed, but is only appearing at top with a label of Productgroup
    2. P1_LOVSG - Null is allowed, but is only appearing at top with a label of Subgroup
    3. P1_LOVMA - Null is allowed, but is only appearing at top with a label of Manufacturer
    LOVPG contains a distinct collect of the ProductGroups
    QUERY LOV = select distinct pg from X
    LOVSG contains a distinct collect of the SubGroups inside the selected PG.list
    QUERY LOV = select distinct sg from X where pg = :P1_LOVPG
    LOVMA contains a distinct collect of the Manufacturers inside the selected SG.lst
    QUERY LOV = select distinct ma from X where sg = :P_LOVSG
    Based on the the selected items the user would see the following:
    Table X
    PG SG MA ART
    A-----X----M---1
    A-----X----N---2
    A-----Y----M---3
    A-----X----M---4
    B-----X----M---5
    B-----Y----N---6
    B-----Z----O---7
    Seletion 1 PG = A -> selects PG A in select list result, User sees:
    Report A
    PG SG MA ART
    A-----X----M---1
    A-----X----N---2
    A-----Y----M---3
    A-----X----M---4
    Query would be: select * from X where PG = :P1_LOVPG
    Selection 2, user still sees the above, can only select from the SG select list NULL, X, Y. User needs to choose between X or Y value. He picks X, he sees:
    Report B
    PG SG MA ART
    A-----X----M---1
    A-----X----N---2
    A-----X----M---4
    Query would be: select * from X where PG = :P1_LOVPG and SG = :P_LOVSG
    Selection 3, user still sees selection 2 on his screen, can only select from the MA list bewteen NULL, M or N, user needs to choose between M or N. He picks M, he sees:
    Report C
    PG SG MA ART
    A-----X----M---1
    A-----X----M---4
    Query would be: select * from X where PG = :P1_LOVPG and SG = :P_LOVSG
    As you can see the query changes as the user goes deeper into the structure. It is a simple if then else system where the quey changes. How do I set this up in htmldb?
    (I've read something about Oracle's SQL and it's decode function, but can they be used with changing select statements?)

    are you sure your data meets the JOIN conditions?
    You can make a quick check.. only example...
    select single * from KONP into ls_konp
    where knumh = P_knumh.
    if sy-subrc eq 0.
    select * from from A905 into table lt_a905 where
         kappl in so_kappl
         and kschl in so_kschl
         and VKORG in so_vkorg
         and vtweg in so_vtweg
         and kondm in so_kondm
         and wkreg in so_wkreg
         and knumh = ls_konp-knumh.
    if sy-subrc eq 0.
    select * from A919 into table lt_a919
    for all entries in lt_a905
    where kappl = lt_a905-kappl
    and kschl = lt_905-kschl
    and knumh = lt_905-knumh.
    endif.
    endif.

  • Need to do conditional processing based on just-selected list item

    hi -- I have a vertical, unordered list. Each list item branches to a different page when selected.
    When the list item is selected, and before the branch happens, I need to do some conditional processing
    that depends on which list item was just selected.
    How can I get information about which list item was just selected?
    Thanks,
    Carol

    Carol - List items get rendered as links on the page so as soon as you click the link the browser goes there. You can't normally run a process on the current page by clicking that link. I suppose you could build each list item target (defined in the list item definition) to use javascript that submits the page, perhaps passing the item name as the "request" value. Then when the page is submitted, an after-submit process could do whatever you need it to and similarly a branch could be defined for each list item that would take the user to the intended page.
    Scott

  • OSB 11g: Conditional Branch value will not accept string Value

    OSB 11g 11.1.1.3.0 (OSB11_MAIN_GENERIC_100418.1323885)
    When I edit a message flow and create a conditional branch I:
    1. Enter an Xpath expression
    2. Name the variable containing the XPath expression
    3. Select an operator (=)
    4. Enter a string value for Value: 'true'
    5. Give the label a name (isMember)
    6. Save my work
    7. When I go back into the branch the 'true' value is gone and the Value field is blank.
    If I enter a number it saves fine - only when I enter text with single quotes
    is this a known bug?

    Thank you, however I still think this is a bug because:
    1. Version 10g training materials has this example as a lab exercise and says in particular 'make sure to place single quotes around the text string: 'true')
    2. The documentation for 11g says to enter a value but does not say it cannot be a 'string'
    3. If I don't enter any value for the value field, when I click Save it indicates an error -the field cannot be empty. When I place a numeric in the field(unquoted) I can save it and return to it and the numeric value is still there. If I enter a 'quoted string' I can save it but when I return to it, it is gone
    4. If I enter the same information using the eclipse IDE I can see the 'quoted string' is saved and when I view it (not edit but view) in the web IDE (sbconsole) I can see the 'quoted string'. If I edit it the string disappears.
    I will continue to test. While you may be correct and the intent is to accept only numerics, that does not make sense to me. Why not allow simple and fast conditional branching based on text string values in a message? I know I can use other mechanisms to achieve the same goal: a routing table would work also.
    My point was the behavior of the UI implies a bug.
    Edited by: jo**** on Nov 21, 2010 8:44 AM

  • Conditional branching in OSB

    Hi,
    I wan to use conditional branching in OSB for a WSDL WS.I am not able to use operationl branching because the method names and request message names are different.
    I want to do conditional branching based on operations or request messages.
    For example if operation name and request msgs are as below,
    add , addRequest
    minus , minusRequest
    What should I give for the "Selected path" and "variable" in the condtions?
    Thanks.

    Can you paste the Message section please, where you are defining the Part of request and response.
    The part should be element based and not type based for Operational Branching to work.
    I did a test and its working correctly, Find the WSDL I used below:
    <definitions
      name="Test"
      targetNamespace=
        "http://tempuri.org/OTN.wsdl"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:tns=
        "http://tempuri.org/OTN.wsdl"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:wsx=
       "http://tempuri.org/OTN">
      <types>
        <xsd:schema
          targetNamespace=
            "http://tempuri.org/OTN"
          xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <xsd:element name="AddRequest">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand1"
                 nillable="true" type="xsd:decimal"/>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand2"
                 nillable="true" type="xsd:decimal"/>
            </xsd:sequence>
          </xsd:complexType>
         </xsd:element>
    <xsd:element name="MinusRequest">
          <xsd:complexType >
            <xsd:sequence>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand1"
                 nillable="true" type="xsd:decimal"/>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand2"
                 nillable="true" type="xsd:decimal"/>
            </xsd:sequence>
          </xsd:complexType>
         </xsd:element>
        </xsd:schema>
      </types>
      <message name="addRequest">
        <part name="addRequest" element="wsx:AddRequest"/>
      </message>
       <message name="minusRequest">
        <part name="minusRequest" element="wsx:MinusRequest"/>
      </message>
      <message name="Response1">
        <part name="Result" type="xsd:string"/>
      </message>
        <message name="Response2">
        <part name="Result" type="xsd:string"/>
      </message>
      <portType name="Test">
        <operation name="add">
          <input message="tns:addRequest"/>
          <output message="tns:Response1"/>
        </operation>
        <operation name="minus">
          <input message="tns:minusRequest"/>
          <output message="tns:Response2"/>
        </operation>
      </portType>
      <binding name="Test" type="tns:Test">
        <soap:binding style="document"
          transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="add">
          <soap:operation soapAction="add"/>
          <input>
            <soap:body use="literal" />     
          </input>
          <output>
            <soap:body use="literal"/>
          </output>
        </operation>
        <operation name="minus">
          <soap:operation soapAction="minus"/>
          <input>
            <soap:body use="literal" />     
          </input>
          <output>
            <soap:body use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="Test">
        <documentation>Test</documentation>
        <port name="Test" binding="tns:Test">
          <soap:address
            location="http://localhost:8090/Test"/>
        </port>
      </service>
    </definitions>

  • How to create a condition based on a select that retrieve dynamically a LOV

    Hi all, I need to create a condition based on a select that retrieve dynamically a LOV.
    So, the condition have to be:
    inventory_item_id NOT IN (SELECT inventory_item_id FROM apps.mtl_system_items_kfv WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV')
    I need to create a LOV based on this select without making any join with the folder which contains the field inventory_item_id, because otherwise I have the contradiction:
    and o124757.INVENTORY_ITEM_ID = o118741.INVENTORY_ITEM_ID -- join between the main custom folder (o118741) and the LOV custom folder (o124757)
    and o118741.INVENTORY_ITEM_ID NOT IN (o124757.INVENTORY_ITEM_ID) -- condition
    These two condition together don't show any data, obviously....This means also, that I can't use a calculated field, because if I want to see this field, I have to create a join, another time, with the main custom folder.
    I tried to create a LOV on the Administrator, but when I create the condition I have to check manually the values....and if in the future this LOV will increase I need every time to re-check all the values.....instead I need that the inventory_item_id have to be NOT IN dinamically in the list of values retrieved by the select.
    Anybody has inplemented something similar ??
    Thanks in advance
    Alex

    Hi alex,
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    where incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    You want to add this condition to the first query it holds good for this scenerio.All the items which are NOT IN will be retrieved.Here you are selecting other than "General_faults_iptv"
    But again your trying to select in the second query where you want "General_faults_iptv"
    SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    If you carefully go through what your doing,you will understand.In the above explantion ,there will be no records generated.First query your saying NOT IN and again your saying for the same IN,how will records retrieve its meaningless.
    I dont know what you want to get from second query.I would suggest you to do is dont use the second query and just use the first query and you will get.Here is the query and this will give you result.
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    AND incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    Regards,
    Kranthi.

  • Create a condition based on a select

    Hi, I have the necessity to create a condition, inside a report, based on a select, for example (when I build a condition):
    Item: "Item (RUO)".Description
    Condition: IN
    Values: select item_description from ISUPP_LOV_RUO_SLA_PRODUCTS_V -> 3 values
    How can I dynamically pass these 3 values to the condition, without using hard coded strings as 'A','B','C' ??
    Thanks
    Alessandro

    Hi,
    If you are using Discoverer Desktop then you can create a condition based on a subquery. You create worksheet that returns those 3 rows then create the condition where then item is in the first worksheet.
    If you are Discoverer Plus then you will have to join the folders in the EUL. So you create a folder for ISUPP_LOV_RUO_SLA_PRODUCTS_V and join it to the report folder using "Item (RUO)".Description = ISUPP_LOV_RUO_SLA_PRODUCTS_V.item_description .
    Rod West

  • Branch to different page based on the selection of select list

    Hi All,
    I have to create an application in which i have a form containing a field with static lov's ...
    now i want that whenever i click on a save button it branches to some page based on the selected value of lov of that field...
    like if i select marketing from lov and press save button then it will branch me to marketing page...
    so how can i achieve that in my apex application
    please help if anyone knows the answer

    in the page branch, change the page to *&PX_LOV_NAME.*
    change X to page number and the LOV_NAME to the name of your select list
    Don't forget to add the . on the end
    Hope this helps

  • "Filter the LOV based on the selected conditions" RADIO BUTTON doesn' work

    Hi All, I'm trying to create a cascading parameters mechanism, but I found certain difficulties.
    I need to have 2 LOV connect: the master LOV retrieve a list of User's groups, and the detail LOV has to retrieve only the customer's categories that come from the user's groups selected.
    So, in order to retrieve the values I defined on the Administrator:
    1) one custom folder for the master LOV (list of the User's groups) and another custom folder for the details LOV (list of the customer's categories).
    2) The 2 LOV as item classes
    On Discoverer Plus, following the manual ("About filtering lists of parameter values based on selected conditions ("cascading parameters"), I tried to create thw first parameter based on the master LOV, but I DON'T have the radio button "Filter the list of values based on the selected conditions" enabled !!!...I CAN'T USE IT !
    If this radio button is not enabled, I can't link the master parameter with the detail parameter.....
    Anybody can help to discoverer what I missed during the creation of cascading parameters ?
    Thanks in advance for your help
    Alex

    Hi Manav, thanks for your reply !
    I resolved the problem, linked the two custom folders with a join !
    The radio button didn't work just only the parameter where condition has to be deselected and then re-selected !!
    Alex

  • Popup need attributes value based on row selected in table

    When a row is selected in a table, how can we pass multiple attributes to a pop-up corresponding to that particular row?
    Suppose, there is a link in every row of table corresponding to that particular row and when ever a user click to that particular link , a popup should be displayed. Requirement is I want to pass multiple attributes to that pop-up based on the selected row. How is it possible, any suggestions please? Like I want to pass a person location id , person country id, person id and person manager id?
    Thanks in Advance...

    Hi,
    Welcome to OTN. Always mention your JDev version and technologies used (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    If your table and popup is on the same jspx page, you can drop the same datacontrol as table (or read-only table) and again drop the same as form (editable / read-only based on your requirement) inside the popup as well.
    -Arun

  • How to Select Members Based on Attributes using Excel VBA

    Hi there,Does anyone know how to select members based on attributes using Excel VBA?I don't seem to be able to find macros or functions to do that.Panda

    you can use the Range or the Cells objects to get a reference to your range values
    in this sample the data is on A1 to B5
    Dim lineList(4)
    lineList(0) = Array(Cells(1, 1).Value, Cells(1, 2).Value)
    lineList(1) = Array(Cells(2, 1).Value, Cells(2, 2).Value)
    lineList(2) = Array(Cells(3, 1).Value, Cells(3, 2).Value)
    lineList(3) = Array(Cells(4, 1).Value, Cells(4, 2).Value)
    lineList(4) = Array(Cells(5, 1).Value, Cells(5, 2).Value)

  • Question re a branch's REQUEST attribute

    Can somebody explain to me the purpose of a branch's REQUEST attribute?
    When a button is pressed, its name is placed into the REQUEST application-level item. If it is a Submit button, processing will then take place and a branch that meets the conditions that are set will be run. So what is the point of having a REQUEST attribute in the branch itself? Thanks.

    For an example let's suppose you want to execute same PL-SQL block when submit or save buttons are pressed. If you write this on button pressed, you have to write two blocks of code, one to be executed after Submit and another for Save, whereas if you just assign a request after pressing a submit/Save button you can execute one single block based on the condition, "When Request contains- Save or Submit".
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Enable/Disable item Based Value from Select in Tabular Form

    Hi Guys
    I want to Disable text field in Tabular form, Based on the Select List Item Value.
    Let's Say
    I'm having one select lista and text box in each record in tabular form.
    Select List having 2 items ... Add Text(return value 1) and No Text(return value 2)
    if value =1 then i want to enable text box , so user can enter value.
    if value=2 then text box won't allow to add text or will become disalbe.
    Please Help
    Thanks

    Hi,
    You can do this by using a small java script
    <script language="JavaScript" type="text/javascript">
    <!--
    function FldEnableDisable(pThis)
    if (pThis == 50)
      $x('P2_TEXT').disabled=true;}
    else
    { $x('P2_TEXT').disabled=false; }
    //-->
    </script>Here P2_Text is the text box whose value I am enabling or disabling based on the selected value from a List box. On The list box I have onChange="javascript:FldEnableDisable(this.value)" ( You can specify this under HTML Form Element Attributes)
    Thanks,
    Manish Jha

  • While selecting value from combo box in one frame, based on the selection..

    Hi friends,
    can someone help me out on a issue as it follows:-
    iam developing an application where Iam using xsl,html,javascript and xml.
    There is no existense of Database at all. data is read from xml.
    now,
    In a window there are 3 frames. In the 1st frame combo box is there.
    Based on the selection in the combo box data will be displayed in the 2nd frame.
    now onchange or onselect methods not giving the expected result.
    actually,in the the xsl which is having 3 frames,the 1st and 3rd frame
    calling src="abc.xml" and src="abc.xml"which are static.
    but in the 2nd frame the data need to be changed dynamically.
    I have given frame name="frame_ExchangeDetails2" rows="3%" src="cc_marketWatch_02.xml"/>
    usually data dynamically comes from database.but here i have to refer xml file
    something like [window.href.location="abc.xml"]
    but the problem is when you refer supose:-
    <frame name="frame_ExchangeDetails2" rows="3%" src="cc_marketWatch_02.xml"/>
    the frame is having static page,though there are functions in javascript which are called in onload and onchange.which are not working.
    I have tried putting if condition like:-
    if(document.abc.fieldname.value=='6'
    {   window.location.href = "cc_custLookUpData-mobileno.xml";   
    so that it could go to the repective page.
    but it is not working.
    so what should i do if I select from combo box in one frame and based on the selection xml/html page will be displayed in the 2nd frame.
    if anybody has google account i can forward the zip file so it will be easier to understand.
    Regards
    Message was edited by:
    Postqueries
    Message was edited by:
    Postqueries

    If you have rights to modify tabular model then, you can create a measure in your Tabular model which returns previous week and then use this measure in Pivot Table.
    Thanks,
    Sagar K 
    (Blog: http://datamazik.blogspot.in/)

Maybe you are looking for

  • I have 2 IDs.  Can I swap IDs on my iphone / ipad?

    Hi, I few years back I opened up an iTunes account, with Apple ID...  [email protected]  I purchased music on this account and more recently apps, etc.  This is also the account I connect my iPhone and more recently my iPad to, to sync my music colle

  • Is there a way to achieve 'Panel Resize Event Filter' like function?

    Gopalakrishnan P Hi all, Panel resize filter is not available in Event structure. So if I use the below code, on pressing the maximize button, windows will maximize the front panel and later LabVIEW brings it back to the mentioned size. There will b

  • Soundtrack Pro 2 - We need a patch!

    Thinking about about that big FCPS2 upgrade? Wait a while. At least until they patch Soundtrack Pro 2. The NAB presentation got me sooo stoked about STP2 (and FCPS2 in general) I couldn't WAIT to start rocking with it. fast-forward 2 months. I've now

  • Why did updating to iOS 8.3 crash my iPhone 5s?

    After I downloaded the huge iOS 8.3 update, the last thing I expected was for my phone to stop working. The screen displayed an iTunes logo and the power cord, so I hooked it up to my computer to do a restore (just praying that maybe my hundreds of b

  • Displaying BLOB images from table in a report

    I am trying to upload images to a table, display them in a report afterwards. I have succeeded in the first part, but not in the second.<br> <br> I can display images in a report if they are in located in wwv_flow_file_objects$ where they are automat