Why is Field value sometimes used an sometimes not?

In workflow, I have been able to execute rules using things like
[<OpportunityType>]="New Accountt"
I see in the expression builder help files that sometimes FieldValue is used i.e.
(FieldValue('<OpportunityCategory>') = 'Small Deal'
Could someone give a quick over view of the differences between using 'FieldValue' and not using 'FieldValue'?

I posted this in the wrong forum so I will post this in the admin forum. thanks

Similar Messages

  • Adding field values together using Advanced Field Management

    Hi All
    I have 5 currency fields on the Revenue page, that I need to add together into one field, Total Amount (currency field also). I have made Total Amount field read only, and using adv field mgt set the following default and ticked post default:
    [<Revenue>]=[<cCorporate_Income_ITAG>]+[<cDonation_Income_ITAG>]+[<cFlower_Income_ITAG>]+[<cHost_ITAG>]+[<cMerchandise_Income_ITAG>]
    It does not seem to work, is this possible at all or am I not doing something right.
    Help....

    I'm having a very similar issue. I'm trying to do the calculation as a default field value and receive the following error:
    [1] An error occurred calculating the default value for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00412) [2] Could not evaluate expression 'Expr: '=[<cMetal_Rate_ITAG>]*[<nQuoted_Weight_ITAG>]*[<nDross_Factor_ITAG>]'' for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00394) [3] Generic SSA NOTOK error message.(SBL-DAT-00472)
    I can make the update work via workflow, but this does not help during the initial creation of the record.
    Any ideas?

  • After adding fields on KNA1 using append structure, not null dn't work

    Hello, all.
    let me ask you something.
    after adding fields on standard table 'KNA1' using append structure, not null , default value doesn't work.
    when I check table using data object check(utilities > data object > check),  the report says like this.
    Fld name  Position Data Type     Length Decimals Not null  Default
    MANDT    1            VARCHAR2 9                           X           '000'
    KUNNR    2            VARCHAR2 30                         X            ' '
    LAND1    3            VARCHAR2 9                           X            ' '
    ZMBRN   178        VARCHAR2 30                          X            ' '
    ZKUNNR 179        VARCHAR2 30      
    ZSEQ     180         VARCHAR2 12      
    fields ZKUNNR, ZSEQ  doesn't check not null, default.
    Any advice will help.
    thank in advance.

    Using 'initial values' check at SE11, I can explicitly make a filed not null.
    but when I use append structure, there is no way for checking 'initial values' check at SE11.
    thanks anyway.

  • Sort Rowset field values without using rowset.sort or sortscroll

    Hi dudes,
    any one tell me the different ways to sort a rowset values ie, single field or more than one field without using Rowset.sort or Sortscroll() method. i tried some ways but not get the optimum solution.

    My first question to you would be why you want alternatives for Rowset.sort or Sortscroll.
    Your question doesn't describe your true issue or motive to search for alternatives for delivered PeopleTools Apis & Buildin Functions.

  • E-mail - can I sometimes use WiFi, sometimes not?

    Sorry if this question has already been asked 1,000 times before - it's a very obvious question, but I can't find it on the site anywhere.
    I generally check my e-mail on my phone when I'm in a WiFi hotspot (using the messaging app, not a web-based one). This usually works fine - it will use whatever WiFi I happen to be connected to.
    However, sometimes I'm nowhere near a WiFi hotspot, in which case I'm quite happy to use 3G instead - asdamobiles.co.uk in my case.
    The annoyance is, though, that the message app complains it can't find the WiFi. I can get round this by doing the following whenever I'm away from a WiFi hotspot:
    1. Go into messaging
    2. Select Options | Settings
    3. Select e-mail
    4. Select mailboxes
    5. For each mailbox I want to check (and I have a few!):
    5a. Select the mailbox
    5b. Click on Connection settings
    5c. Click on incoming e-mail
    5d. Scroll down to Access point in use
    5e. Change this from "Default connection" to my asdamobiles.co.uk one
    5f. Repeat steps 5d and 5e for outgoing e-mail
    Then it works. Of course, I have to remember to change it back again afterwards, or it will use that instead of my WiFi when I'm back home or in range of a hotspot.
    What I'd like it to do is use whatever my current connection happens to be - I might be connected via WLAN, or I might be browsing the web using the asdamobiles.co.uk connection. How do I get my phone to use whatever connection happens to be available without having to go through the long-winded process above?
    Thanks in advance!
    Chris.

    Thanks, chanchan! That sounds like a solution - but unfortunately I've just tried that, and it's not working for me. The current setting is "Ask when needed", and when I click on this to change it, "Always ask" is indeed an option. But it's already selected - and as soon as I select it again, it reverts to "Ask when needed". And then it doesn't ask - it just uses the WLAN.
    In answer to your first point, sometimes I'm already connected, sometimes I'm not. This aspect of it is flaky, too - most of the time, it finds the relevant WLAN and connects, but sometimes it doesn't. For instance, I'm at home now - and when I just tried to read my e-mail, it told me it couldn't find the WLAN. However, the WLAN icon was visible, when I clicked on it, it showed me my home WLAN, and I was able to connect to it. Then when I went into messaging, it *did* get my e-mail. It's yet another intermittent problem I've had out of quite a lot of problems ever since getting this phone, to be honest.
    You're quite right that it should use (prompting you first if that's what you've selected) the 3G if it can't find WiFi - it should, ideally, be able to use any available connection in a priority order. It's annoying little things like this, together with the appallingly designed OVI software interfaces, that makes me think this is a great phone let down by poorly thought out software.

  • Setting field to NULL using script does not work

    Hi,
    This is a Hibernate and Oracle SQL developer-related question.
    My application uses salesmeeting with customers and an officer. When the salesmeeting is active, OfficerID is set to the salesmeeting. If the officer closes the salesmeeting, officerID shall be set to NULL. Now, sometimes when explorer doesn't close correctly, the OfficerID is still set in the database. So, when another officer tries to login to the salesmeeting it's is locked by the first officer because only one officer at the time can access a salesmeeting.
    Now to the problem: I'm trying to develop a script which simply updates the database and sets the officerID for a specific salesmeeting to NULL in order to "unlock" that salesmeeting.
    The script looks like this:
    UPDATE SALESMEETING SET OFFICERID = NULL
    WHERE OFFICERID = 'XXXXX' AND SALESMEETINGID = '12345'
    I commit the changes and OfficerID is set to NULL or (null) as it looks is SQL developer.
    When logging in to the application, officerID is set to the active officer, so far so good. But, when running the Hibernate method saveOrUpdate() for the salesmeeting, the server hangs and nothing happens.
    The thing is, when I manually set officerID to NULL by simply leaving the field blank, saveOrUpdate() works perfectly fine.
    The third way of setting trying to set the value to null, by manually setting officerID
    by typing (null) in the field generates another problem (I guess this is interpreted as the String "(null)")?
    So, what I am wondering is what my script does wrong, is it not really setting officerID to NULL or is there something I need to understand about Hibernates saveOrUpdate()?
    Thanks!
    Message was edited by:
    user615023

    Hi,
    To set a column to null, you have written right script.
    Please make sure that 'null' & null are entirly different thing.
    may be when system get hang, you might have written 'null' in stead of null.
    Thanks.

  • Why is it better to use Proxies and not adapters

    When I connect 2 systems via XI, i can use proxies (if supported by the external systems) or adapters.
    The general view of SAP is that I should use (JAVA or ABAP) proxies where possible, and not adapters.
    Why are these "better" than file adapter or idoc adapter (monitoring, error handling, performance, ?????).
    thanks,
    Jan

    As received from SAP :
    Proxies support both Synchronous and Async. Connectivity - ALE/IDOC is only Async.
    Proxies don't use standard IDOCS, but what you decide to use in the proxy def. on SAP side.
    Proxies are only supported on 6.20 onwards.
    I would use IDOC adapters for standard IDOCS - and if no ABAB knowledge is available for maintenance.
    If there is a standard ALE scenario available - I would use it (eg. Masterdata replication).
    If ABAB is already extensively used in the organisation and they are running 6.20+ - I would use proxies.
    I would always prefer proxies for Synch. Communication - instead of RFC (if running 6.20+).

  • Why does Input menu (to use different language) not appear?

    Hi, I am trying to enter special characters (German umlauts) into a Pages document. So far I am only able to do this via Edit > Special characters where I have to laboriously select and insert my character. So I checked the Help to use a different keyboard layout and got to the page titled "Viewing Keyboard Layouts for Other Languages" - I followed the steps exactly, but the so-called Input menu does not show on my Pages menu bar. Anything else I need to do? Any and all advice welcome - btw I am a new Mac user, I finally made the switch from PC to Mac, so I am still learning my way around.
    Thanks in advance!

    System Preferences > Language and Text > Input Sources tab. Top of the left column, tick (check) "Keyboard and Character Viewer", Bottom of window next to search field, tick "Show input menu in menu bar"
    System Preferences > Keyboard > Keyboard tab; tick "show keyboard and character viewers in menu bar"
    For most purposes there's no need to use character viewer or change input source. All the standard diacritical marks and common symbols can be accessed directly from the standard keyboard. ü is produced by pressing alt (option) + U, release them and type U. Similarly é is alt+e, followed by e.
    If you open Keyboard Viewer and press the alt (option) key, the location of the marks will be revealed. Note that five of them are highlighted in orange; these are the ones which can be used with multiple  letters (acute, umlaut, gràve, circumflex and tilda)
    Shift+Alt will show more.

  • Prompt for values to use in calculations, (not filter)

    Hi the BO WEBI experts.
    I want to create a variable to capture user input for estimated 'billing degree' .
    Later I want to use this value for calculations on Key Figures.
    I struggle with how to make the variabel, since it seems like I need to connect the variable to the Universe, to be able to make it.
    Thank you for good answers.
    Best Regards

    Hi Ingrid,
    I believe you want to capture a value entered by user,  in the webi report variable.
    Please clarify the workflow where exactly the user enters the value, which you want to capture.
    Does the query has a prompt, where user will enter any value, which you want to capture in the variable?
    In this case, first create a prompt in the query. Go to EDIT Query mode, drag the object in the 'query filters' and specify the prompt condition.
    Now, run the query and get the result set and then create a variable using UserResponse function.
    Also see the 'function help' for UserResponse function from the 'variable editor'.
    This variable will give you all the values entered by user in the prompt.
    If this is not the case, please specify the exact requirement and the workflow.
    Regards,
    Abhijeet

  • Issue facing : Deletion of Qualified Look up field value : Using Import Map

    Hi All,
    We are having qualified multi-valued look up field in the main table. Using import map for the main table record update, we are trying to delete the qualified look up field value. But it is not working.
    Please guide on how you have achieved this.
    One approach is to supply NULL value, though I am not sure or have tried this.
    Regards,
    Ganga

    Hi Ganga,
    I assume that you are trying to delete the Qualifier values for the Qualified look up table. The only possibility is to pass the Null values to the already Existing records in the Main table. Please note that if you are passing one Null value only one record will get deleted. So you will have to pass the Null values equivalent to the number of values for the Multi Valued Qualified table.
    Kind Regards,
    Thamizharasi N

  • Access field value in ALV

    Hello experts,
    I have created an simple ALV Grid report, in that I have implemented double click event n I want to create a new ALV grid with new data to be displayed. So I want to access field value ie using SLIS_SELFIELD or anything. Could anyone please guide me how can I access a field value using slis though SLIS_SELFIELD has methods like SEL_TAB_FIELD... I wan to access something like SEL_FIELD_VALUE but its not available in the class.
    Thanks in advance...
    Regards,
    Viral Patel

    Hi Viral,
    SLIS_SELFIELD has an attribute named VALUE which holds the value you selected row & TBAINDEX holds the row number.
    Refer below code snippet :-
    FORM user_command
              USING s_ucomm LIKE sy-ucomm
              s_selfield TYPE slis_selfield.                    "#EC CALLED
      CASE s_ucomm.
        WHEN '&IC1'.
          CLEAR wa_podat2.
          READ TABLE itab_podat2 INTO wa_podat2 INDEX s_selfield-tabindex.
          CHECK sy-subrc = 0.
          IF wa_podat2-ebeln = s_selfield-value.
            SET PARAMETER ID 'BES' FIELD wa_podat2-ebeln.
            IF wa_podat2-ebeln IS NOT INITIAL.
              CALL TRANSACTION c_tcode.
            ENDIF.
    For above event to happen, you have to use parameter I_CALLBACK_USER_COMMAND of  REUSE_ALV_GRID_DISPLAY as below :-
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = l_repid
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = itab_fieldcat
          it_events               = itab_events
        TABLES
          t_outtab                = itab_podat2[].
    Regards
    Abhii
    Edited by: Abhii on Nov 30, 2009 11:25 AM

  • How to get-set Hidden field value from JSP ?

    Hii,
    I am quite newbie about jsp and looking for some help..
    I have several url links on my jsp page.
    I when I click one of them, I want to reload my page with new request parameter(s) but also keep the older one(s) in hidden field(s)...
    but I dont know how to set and get hidden field value "syntax" and I am not sure about where/when should I do this... at first I though that I can do it in "onClick" property of url..
    Thanks..

    Hy,
    I have a problem just like that. I am trying to send the value of an subdomain is to another page to be able to modify an entry.
    So in listsubdomains.jsp I have
    <input type = "hidden" name = "subdomainid" value="<%=subdomains.SubdomainID%>"><%=subdomains[i].SubdomainID%>.
    This shouls send the id of the subdomain.
    I an sending this to modifysubdomain.jsp with <form name = "listsubdomains" method = "post" action = "modifysubdomain.jsp">
    and there I retrieve the value like this:
    Integer id = new Integer (request.getParameter("subdomainid"));
              out.println(request.getParameter("subdomainid"));
    My problem is that no matter what is the value I chose to modify it always sends the first value. If I another value manually it works, but just then.
    Please give me some ideas.

  • Why does Maverick mail no longer search properly? I used to search for a name and it would find it in All mailboxes. Now it sometimes works, but mostly not. Any solutions?

    Why does Maverick mail no longer search properly?
    I used to search for a name and it would find it in One or All mailboxes. Now it sometimes works, but mostly not. Any solutions?

    I would like to add that Comcast is my internet provider. Perhaps that is part of the issue although the Connection Doctor confirms the mail box is connecting to the internet. No other function processes when Connection Doctor program is used to find the source of the issue. I have read forum posts but am unable to find a way to get my Apple mail to be delivered to my computer. It worked fine up until I chose to transfer mail to the Cloud. My mail account is a .mac account.
    Still hoping someone out there can help me.
    thanks,
    anne

  • Retrieving lookup field values from a main table using MDM JAVA APIs

    Hi all,
    am trying to retrieve the main table data...., i could able to retrieve all the data except lookup field values..., iam facing some runtime exceptions and i dont know why exactly it is throwing this exception..., i pasted piece of code where exactly the error is and the exception also.
    in the below sode i set some result set definitions and passing them to retrieveLimitedRecordsCommand. it is showing some exception at retrieveLimitedRecordsCommand.execute(); command.
    //*** Code  ***//
      supportingMainResultDefinitions = new ResultDefinition[] { rdQual ,rdFlat, rdqFlat  };
                                            retrieveLimitedRecordsCommand.setResultDefinition(rd);
                                            retrieveLimitedRecordsCommand.setSearch(new Search(tableId));
                                            retrieveLimitedRecordsCommand.setSession(sessionId);
                                            retrieveLimitedRecordsCommand.setSupportingResultDefinitions(supportingMainResultDefinitions);
                                            try {
                                            retrieveLimitedRecordsCommand.execute();
                                                    PrintRecords.toConsole(retrieveLimitedRecordsCommand.getRecords());
                                                    } catch (CommandException e) {
                                                    e.printStackTrace();
    //***  Below is the Exception raised ***//
    java.lang.UnsupportedOperationException: Unexpected field type -1
            at com.sap.mdm.internal.schema.PropertiesHelper.createField(PropertiesHelper.java:274)
            at com.sap.mdm.internal.schema.PropertiesHelper.convertFrom(PropertiesHelper.java:281)
            at com.sap.mdm.internal.data.RecordMetadata.<init>(Unknown Source)
            at com.sap.mdm.internal.data.RecordsLoader.<init>(Unknown Source)
            at com.sap.mdm.internal.data.RecordsLoader.<init>(Unknown Source)
            at com.sap.mdm.internal.data.RecordResultSetHelper.convertFrom(Unknown Source)
            at com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand.execute(Unknown Source)
            at com.sap.mdm.apitutorial.lesson2.RecordsDisplay.getDisplayRecords(RecordsDisplay.java:303)
            at org.apache.jsp.Sample_jsp._jspService(Sample_jsp.java:190)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:534)
    If anyonw worked on this concept..., please provide me the solution
    Regards
    Praveen k

    Which version are you using?  Can you please try and narrow down to the offending field?  You can do this by limiting the fields you provide to ResultDefinition.

  • A Mail keyboard shortcut I set sometimes works and sometimes doesn't - why?

    Using the keyboard shortcut panel I changed the keyboard shortcut for "Send" to CMD+E.
    After quitting and restarting Mail I can see in the menus that this is showing CMD+E now.
    Problem is - when composing a message sometimes CMD+E works and the mail gets sent and sometimes I just get a beep and nothing happens.
    Why would that be?
    doug
    iMac G5 20" / iSight   Mac OS X (10.4.5)   1.5 GB RAM

    My point is that the behavior that motivated your post is not necessarily a bug itself. The bug is somewhere else. The reason sometimes it works as you expect and sometimes it doesn't could very well be that sometimes the other command is enabled (thus causing it to be chosen) and sometimes it isn't (thus causing Send to be chosen).
    Actually, I've just tried it, out of curiosity, and the Edit > Find > Use Selection for Find is indeed sometimes enabled and sometimes disabled when a new message is created depending on where the cursor is located, so I maintain that what you call second bug is probably not a bug at all. Rather it's expected behavior resulting from a conflict that you've introduced.
    The bug is somewhere else, namely whatever it is that prevents the Keyboard Shortcuts preference pane to realize that there is a conflict and whatever it is that causes the shortcut to disappear from the other command when its menu is displayed. But that's not what is causing the behavior that motivated your question. That behavior is the expected behavior when two commands have the same keyboard shortcut and the one that gets the first chance at handling the command is sometimes enabled and sometimes disabled.
    Does it sound like I have it right?
    Almost.
    iMac G5 17" (iSight)   Mac OS X (10.4.4)  

Maybe you are looking for

  • How can I read and display data with OR without recording at the same time?

    Hi all,   This forum has been of much help to me, but I have a rather specific question I can't seem to find an answer to.  I am new to LabView, educating myself with tutorials, trial and error, and this forum.    Attached is what I have so far.  I w

  • Mystery red border

    Hi, im getting a mystery red border on my tables. I have checked the border colour in properties (its set to black). any ideas what this could be?

  • Bizarre windows server behavior

    Ok so I have a Windows server that is doing some bizarre stuff. My first thought is some sort of worm/virus but nothing detects anything. What is happening is let's say I am on the server and do an FTP command. If I monitor my firewall it reports tha

  • Sorting program

    i have no clue what is wrong with this. please help. i think its something wrong with my methods... public class bubbleSort4{   public static void main (String []args){     bubbleSort4(x);     for (int y=0; y<x.length-1; y+=1){       System.out.print

  • Help with downlaoding itunes please

    I cannot download itunes after my computer was restored to factory settings.  The message I am getting while trying to install is- An error occurred during the installation of assembly 'policy.8.0.microsoft.VC80.CRT.version="8.0.50727.4053".type="win