How to set a condition to true if two items are both null ?

Hi,
I want to set a condition to true if two items P42_FICHE_ID and P42_AGENT_ID are both null. How to do ?
Sorry for being so dummy but could not find the answer in the Oracle documentation.
Regards,
Christian

Hello Christian,
You could use a PL/SQL Expression like (:P42_FICHE_ID IS NULL AND :P42_AGENT_ID IS NULL) or NOT(...) whatever you need.
Greetings,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/

Similar Messages

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • How to set the default value to the lov item

    Dear alll
    i have creation page in that two items are there those are lov's
    i am calling that creation page from another page
    i like this code to set the lov's
    OAMessageLovInputBean comp =
    (OAMessageLovInputBean)webBean.findChildRecursive("Company"); //grab the item
    comp.setValue(pageContext,companyname);
    when i set like
    when i am saving the records again it is showing error "please select a valid value"
    Regards
    Sreekanth

    Hi Pratap,
    I have tried the following code to set default value in OAMessageLovInputBean while loading the page but its not working.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String delToLoc = (String)pageContext.getSessionValue("deliverTOLoc");
    Number delToLocId = (Number)pageContext.getSessionValue("deliverToLocId");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject poHeadervo =
    (OAViewObject)am.findViewObject("PoHeaderMergeVO");
    PoHeaderMergeVORowImpl poHeaderVoRow =
    (PoHeaderMergeVORowImpl)poHeadervo.getCurrentRow();
    if (delToLoc != null && !"".equals(delToLoc)) {
    // poHeaderVoRow.setShipToLocation(delToLoc);
    OAMessageLovInputBean msb = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("DefaultShipToLocation");
    msb.setValue(pageContext,delToLoc );
    Please suggest me how to resolve this issue.
    Thanks & Regards,
    Sunita

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

  • I downloaded new os for my daughter's ipod touch.  I remember during setup after that I checked off my husband's email account and now she is receiving his texts.  How do I fix this.  The "icloud"/ "messages" buttons are both greyed out under settings

    I downloaded new os for my daughter's ipod touch.  I remember during setup after that I checked off my husband's email account and now she is receiving his texts.  How do I fix this.  The "icloud"/ "messages" buttons are both greyed out under settings

    Forgotten RESTRICTIONS Passcode
    - Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored.
    - Restore to factory settings/new iPod.
    - If you are up to file manipulation see:
    How to reset forgotten Restrictions...: Apple Support Communities

  • How to set the conditions for item deletion approval workflow?

    Hi,
    I have created approval workflow for item modifications ie, when user try to modify an item, it will send a mail to Project Manager. For that I set the conditions in Change the behavior of the overall task: 1. When the task process starts 2 . When the task
     process completes .
    Change the behavior of the single task: 1.when a task is Pending.
    [I followed this https://www.nothingbutsharepoint.com/sites/eusp/Pages/5-Steps-to-Enhance-SharePoint-2010-Approval-Workflow.aspx ]
    My Requirement is that I want to set this same workflow for the scenario: when the user deletes an item it will send a mail (intimation mail for item deletion) to Project Manager. here i dont want to send modification mails when user deletes an item.
    When user modifies an item: 1. intimation mail, 2. Approve/Reject mail 3. intimation for approval / rejection mail.
    When user deletes an item: 1. intimation mail.
    How can we set it in one approval workflow?? where i have to set the condition for sending either item modification mails or deletion mail.
    Thanks,
    Praveen ji

    Hi,
    According to your post, my understanding is that you wanted to start approval workflow when item deleted.
    You should first make some changes to trigger the workflow when you delete the item.
    You can use the Event Receiver to achieve it.
    In order to trigger workflow on item delete you need to create event receivers and from event receiver call the workflow already attached with list.
    http://ravendra.wordpress.com/sharepoint-workflow-on-list-item-delete/
    You can also create custom action to start the workflow, you can refer to the following article, then modify the workflow as your need.
    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=50
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Adobe Form -  How to set a condition for a Subform

    Hi All
    I am new in Adobe Form and learing it - (I had some knowledges of SmartForm) - One of the requirement I have to do is to print out a different layout (subform) according to a value of a flag.
    In Smartform, I can draw diffrent layouts and put a condition on each layout so each one can be printed accroding to the flag value.
    In Adobe Form, the subform (or any other object) cannot be conditional set - I don't know how to do it - Could comeone please show me how - I reward points for any reply - Thanks

    You are excused with your English - and you must excuse mine , too
    Your questions:
    But, how i write the condition ?
    1- If ( article.table1 = Null ) then ... ?
    2- If ( article.table1.Rangée1.SubForm2.lib_article.rawValue = " " ) then... ?
    Try this:
    1- // Locate the table node from to down
    var tNodes = xfa.resolveNodes("Table1[*]");
    If (tNodes.value == NULL)  {
        tNodes.presence = "Hidden" }     
    or
    2- // locate the varable fields and loop thru to check if they are all empty
    var fNodes_1 = xfa.resolveNodes("article.table1.Rangée1[*].SubForm2.num_article");
    var fNodes_2 = xfa.resolveNodes("article.table1.Rangée1[*].SubForm2.lib_article");
    var fNodesLength = fNodes_2.length;
    var table_empty = "Y";
    for (var fNodeCount = 0; fNodeCount < fNodesLength; fNodeCount++) {
       If     (fNodes1.item(fNodeCount).rawValue <> " ") or
              (fNodes2.item(fNodeCount).rawValue <> " ")      {
                 table_empty = "N";
    // Now find the table node and hide if if necc
    var tNodes = xfa.resolveNodes("Table1[*]");
    If table_empty = "Y"  {
        tNodes.presence = "Hidden" }    
    You must place those codes at the Subform Article level in Javascript mode
    Good Luck
    Edited by: Liem Van Duong on Jun 13, 2008 2:45 AM
    Edited by: Liem Van Duong on Jun 13, 2008 2:46 AM

  • ALV Question : How to set filter condition which contain dummy character?

    Hi,
    I want to set filter condition of ALV dynamicly (In my code),
    for example, set 'X' as filter condition in column "Description",
    I add the code successfully, but I can't get the correct filtered result, Why?

    Please post ur code here.
    U have to get a  handle to the IF_SALV_WD_FILTER interface
    data ref_filter   type ref to IF_SALV_WD_FILTER  .
    ref_filter ?= m_config_model->IF_SALV_WD_FIELD_SETTINGS~GET_FIELD( 'FIELD DESCRIPTION' )
    ref_filter->CREATE_FILTER_RULE( 
                       low_val = 'X'
    Now when u load the ALV tabl;e u should see a X value in the filter row, for the column 'FIELD DESCRIPTION'  and the filter should happen.
    As I said, pls paste ur code here.

  • How to set "dooutboundwss" tag to true

    Hi,
    I need to set dooutboundwss tag to true .
    Since this needs to be set, to send the wssecurity username token from business service to the endpoint...
    Can any one pls help it ASAP?

    Create a Replace in your message flow of the Request Action.
    Set the XPath value to ./ctx:security/ctx:doOutboundWss
    Set the In Variable to outbound
    Set the Expression to 'true'
    Replace Node Contents checkbox selected.

  • How to set partial delivery for Purchase Order line item

    Hi Team
    We have created a PO for 100 quantity along with 25% over delivery tolerance.  We have done 5 GRNs totaling for 95 quantity.  when we try to do another 10 quantity, system not accepting the GRN.
    I want to set the partial delivery for this line item.  Please help how to do this.
    regards
    Ravi

    where did you check the underdelivery tolerance of 0?
    the PO is the place to check, changes in material master will notz effect existing POs.
    if you removed the delivery complete indicator and the item still does not show up in MIGO, then set the "propose all items in MIGO settings"
    if it still does not show up, then you might have other restrictions like confirmations , last goods receipt etc.
    the error 'Document does not contain any selectable item" is often discussed in this forum, you will find numerous threads that list what you have to check.

  • How can set direction right to left for horizontal text area

    I want set direction right to left for horizontal text area
    to view right to left String Type

    I don't know that there is such a thing as right to left
    String Type (I can't find one at least). I am assuming this
    involves some language where printed materials are read from right
    to left.
    Before I try to offer a solution though, it will be helpful
    to know more about that text area. Is the intention to type into
    the text area or to load a string into it?
    And if you are loading a string into it, is the string
    already right to left?

  • How to set functional keys as shortcuts for menu items in AWT?

    Hello!
    I want to set functional keys as shortcuts for menu items in AWT, for example F1, F2... Here's my code:
    MenuItem menuItemHelp = new MenuItem ("Help", new MenuShortcut(KeyEvent.VK_F1));
    But, in result, this menu item is activated, when Ctrl-V pressed. Why?
    Thanks in advance for help.

    I have no idea what is going on but if you reinstall the jdk then it might fix it. I had some similar problems myself but reinstalling fixed them.

  • How to set a condition based on whether the following test is selected

    Hi,
    In addition to the 'Full Test' (Run UUTs), I would also like to allow for 'Partial Test' (Run Selected Steps Using Single Pass).
    In order to run 'Partial Test' I must run some precondition steps.
    I was thinking to write an 'Action type' step and in its precondition section to set:
    a) run only in 'Partial Test' (I already have a flag for that)
    b) run only if the next step (or any specific test for that matter..) is marked for testing.
    My questions:
    1) Is my approach appropriate or is there a better way to achieve the same goal?
    2) How would you specify a condition of a specific test being marked for testing?
    Thanks
    Rafi

    Hello Rafi,
    If your sequence file contains steps that you will always want to run before running your selected steps, it is best to place those steps inside the Setup step group. So when you run the selected steps, the steps in the Setup step group will always run. This way you do not need to use preconditions.
    However, if you only want those steps to run when you select run selected steps and not when you run Test UUTs; you will have to use preconditions. I would still place those steps inside of the Setup step group. As a side note, there is a TestStand API method Execution.InInteractiveMode which will return a Boolean true if you choose to run selected steps.
    In response to your second question, I would not think that you will need to mark a test using the above method since run selected steps will run all steps currently selected.
    I hope that this information is helpful.
    Regards,
    Kevin L.
    Applications Engineer
    National Instruments

  • How to set the condition for dynamic Xquery in OSB11g

    Hi to all,
    I have a requirement like three different requests all are converted in to standard format.For this scenario I use dyamic X-query transformation.For Example RequestA,RequestB and RequesrC what ever request it should be converted into one standard format say Response.For this I create three X-Query transformations,and proxy service.If i get the request from RequestA related XQuery will execute (RequstA to Response transformation).
    RequestA------Response
    RequestB------Response
    RequestC------Response
    Actually my idea is based on requset schema name (like RequestA) it will convert,for this scenario how can I set condition in dynamicXquery.
    Thanks in advance.

    Hi,
    Can u plz tel how make the x-query for an XML file,basically i follow the below link
    http://beatechnologies.wordpress.com/2010/12/01/dynamic-xquery-in-oracle-service-bus/
    In this example I'm creating the routing rulesXML file in Eclipse,I'm unable to assigning this xml file to an variable.I create a Xquery for this XML with any type,And I create GetRouting.XQ.can u pls tel which is correct method to Xquery with any type for this XML or else i send my jar file,tell me any modifications are required.
    Thanks in advance

  • How to set pre conditions to set the run mode to skip or normal?

    Could you please let me know how can I set a precondition based on a local variable so when the variable is 1 I can skip a test or when it is zero I programatically set the run mode to normal.
    Thanks

    I have a case where I use the Pre-Condition to skip some steps (subsequence call) for a specific test) if that test has run successfully already.
      This is handled in a 'SequenceFilePostStep", thus the "RunState.Caller....".
    The Precondition is set to 'False' so it won't run.
    'Set the Precondition on the next step to "False 'Remove" (The remove is to indicate that it will be removed later so it's not saved in the sequence file.)
    Locals.sPreviousPrecondition1 =RunState.Caller.Sequence.Main[RunState.Caller.RunState.NextStepIndex].Precondition,
    RunState.Caller.Sequence.Main[RunState.Caller.RunState.NextStepIndex].Precondition ="False 'Remove"& Locals.sPreviousPrecondition1
    The "False 'Remove" needs to be removed later, or it will be saved in the file and remain.  This is accomplished later with:
    'Need to copy the contents to a Local variable, manipulate it to remove the "False 'Remove" string then re-assign back into the Precondtion
    Locals.sPreviousPrecondition1 = RunState.Caller.Sequence.Main[RunState.Caller.RunState.PreviousStepIndex].Precondition,
    Locals.sPreviousPrecondition1 = SearchAndReplace(Locals.sPreviousPrecondition1,"False 'Remove","",0),
    RunState.Caller.Sequence.Main[RunState.Caller.RunState.PreviousStepIndex].Precondition =Locals.sPreviousPrecondition1
    Mike

Maybe you are looking for

  • 27" iMac electrical shock

    I'm getting an electrical shock on the outside aluminum case of my iMac- it is extremely strange and dangerous.  This iMac is a refurbrished one less than a year old. The mac is plugged into a grounded outlet as well.  The current is also translating

  • HT2499 DVD player v5.4.2 failure

    My DVD player application (v 5.4.2) launches when I insert a DVD, but fails to recognize the DVD and play it.  I have a MacBook Pro, running OS X v10.6.8.  The failure occurred slowly.  Over the course of weeks/months, the DVD player changed from pla

  • Preview and Finder can't see my .RW2 files

    I recently got a new camera (Panasonic GX7) which shoots the same raw file format .RW2 as my older Panasonic GF1 camera. My workflow is to convert the .RW2 files to .dng at import via Lightroom, and to save the .RW2 files as backup on a separate driv

  • Got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.

    got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.?????? Process:         Adobe Photoshop CC 2014 [851] Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Content

  • 64 bit software on x86 hardware

    I have a Windows XP machine that is 32 bit (x86) hardware.  The machine was sent to a company that was supposed to upgrade to Windows 7.  This is an x86 system. The company upgraded using Windows 7 64-bit software.  The system now seems to have some