Help with a mandatory field

There is a field on the Opportunities called 'Competitor' which is mandatory for the reps to pick from (picklist). This implies that when they create a new opportunity, they have to pick a value from this picklist. Now.. what we need is to have them update this value when they close the opportunity. We need to know who the competitor really was when we lost the opportunity. How can this be done exactly? Can we display a message or something when they close the opp?
Thanks,
Anna

You can make fields mandatory based on the Sales Stage.
Go to Data Rules & Assignment -> Sales Processes -> Sales Stage -> Additional Required Fields

Similar Messages

  • Help with the date field!!! in opportunity

    hello friends!!!!
    I have a requirement that in opportunity tab milestone we have created date profile with 4 different date types and position them to milestone tab in opportunity header data.
    Now the issue is out these 4, 2 of them we wish to have as mandatory fields
    date type                     desciption
    ZNOH_CONTSIG          Date of signature
    ZNOH_COSTART         Contract Start Date
    Can you please help how is that possible..
    what procedure will it be behind this !!

    Hello Manuel Rodriguez 
    I have awarded you 6 points for your helpful answer as it didn´t solve my question posted here but a related issue was solved.
    I tried to use the incompletness procedure and also the badi but in both the ways you can check for a field but in my case in opportunity tab milestone
    it looks like an ALV with CRM concept it has date profiles behind that using date management in SPRO. Please have a look if possible.
    Any help would be gr8 and any ideas from people which can give me any infos about it will be great!!!!!!!!!!!
    Many thanks in Advance.
    Pankaj

  • Help Needed regarding Mandatory Field.

    Hi All,
    I have requirement that i have to make certain feilds mandatory in my WD4A view. I have made the "state" property of the fields(input element) as "required". Then i tried doing an event on the view to check whether it throws an error, stating mandatory fields are blank, but i dint get any message.
    Please help me to understand whether what i did is suffice or i need to handle the mandatory concept through my code.
    Thanks,
    Selvakumar M.,

    Hi Selva,
    You need to call the static method check_mandatory_attr_on_view of class cl_wd_dynamic_tool. This would then automatically verify if all the mandatory fields have been filled or not. It would then populate the error messages into an internal table and display them in the view. Also the mandatory fields which haven't been filled would be highlighted with a red border. You need to put the below coding into the action up on which you want to trigger the data chesks.
    data: lt_msg TYPE cl_wd_dynamic_tool=>t_check_result_message_tab,
              lo_view_controller TYPE REF TO if_wd_view_controller,
              lo_message_manager type ref to if_wd_message_manager.
      lo_view_controller ?= wd_this->wd_get_api( ).
      lo_message_manager = lo_view_controller->get_message_manager( ).
      cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
        EXPORTING
          view_controller = lo_view_controller
          display_messages = abap_true
        IMPORTING
          messages = lt_msg ).
    Regards,
    Uday

  • Can someone help with auto-size fields in forms?

    I created a form in Acrobat for my team members with auto-size text fields that allow to shrink the text when the field size is not large enough to show the entire text. When I then open the same form file with Adobe Reader on my machine with text that has shrunk in some field, I can see all the text and have also a scroll function when the text size has reached its lower limits and there is still more text to show.
    However, when I receive the filled out forms back from other team members' iPads (they use my template created with Acrobat), the text didn't shrink as on a PC version and the scroll function is disabled. I checked the template and the fields are correctly set to auto-size left and they do work on my PC's and laptop's Adobe Reader. But the iPad version of Adobe Reader may cause some issues.
    Can anybody help with solutions?
    Thank you!
    Klaus

    The filled version of your PDF document (20140722 Daily Meeting Report...pdf) is no longer a PDF form because it has been flattened.
    Once an interactive PDF form (such as your template version) is flattened, all form fields are replaced with images of filled data.  You can no longer interact with form fields, edit form data, or tap/click any buttons in the flattened PDF document.  That is the reason why the text in auto-size text fields did not shrink.
    When you email a PDF document (including a PDF form) in Adobe Reader for iOS, the E-mail Document dialog is displayed.
    In this particular case, your team member must have selected "Share Flattened Copy".
    If you would like to keep the interactivity of a PDF form, you can select "Share Original Document".  Please advise your team members to select the "Share Original Document" option when emailing filled forms.
    Unfortunately, once flattened, a PDF document cannot be reverted back to the original "unflattened" state.  However, if your team members still have the original filled forms, they can resend the forms with the "Share Original Document" option.
    Please let us know if you have further questions.

  • Help with a password field

    I have a Flash site I'm working on that has a private login
    area. The login is not meant to be high security, we just want to
    limit access to current and potential clients who we give a
    password to.
    Here is the site in
    progress.
    What I need help with is the client login window. The login
    field is in a pop-up when you mouse over the word "client login."
    The temp password is forumdemo. When you use the button after
    typing in the password, everything is fine. But when you use the
    enter key, it initiates the "incorrect' action every time, even if
    the password is correct.
    This is driving me crazy because when I originally built the
    login box as an entirely separate movie, the enter key worked fine.
    If you want to see it working, just click on the "client login"
    words rather than using the pop-up box.
    The code is the same in both. The only difference is that the
    password field, button and other elements are now a Movie Clip.
    Anybody have any thoughts? The scripts are below; developed
    with the help of people on this forum (thanks!).
    Ignore everything else - the content is not finalized. The
    final site will be our company website, with work samples and the
    like, and the main page will include a working demonstration of
    what we can do with Flash 8 and green screen video. We haven't
    finished that stuff yet.

    I tried. it didn't quite do it.
    I don't know how to trace the value of things, I'm still
    lurnin', but what I did do, is replace the _root.password.text with
    all of the following
    _parent.password.text
    _parent.loginPopup.password.text
    _root.loginPopup.password.text
    _root.loginPopup.password
    I'm sorry to say none of them fixed the problem, and I think
    my problem is that I don't know what you mean by tracing the value.
    Well, I know what you mean, but I don't know how to do it. I'll dig
    into the documentation, but if you or anyone has an easy answer,
    I'll take it!
    Thanks, I appreciate your help and all the help I've gotten
    on this forum building that site.

  • Saving Notifications with blank Mandatory Fields

    Dear Experts,
    I have an observation.
    The tabs 10\TAB02 and 10\TAB06 of a notification are having mandatory fields.
    Saving of this notification is refused without filling the mandatory fileds of tab 10\TAB02, but the same thing is not happening with the other tab namely 10\TAB06. (This notification is saving without filling the mandatory fields of this tab).
    How to avoid this?
    Regards
    Jogeswara Rao

    10\TAB01     Notification 1     Header Info
    10\TAB02     Additional data 1     Equipment/Material
    10\TAB06     Location                                            
    10\TAB10     Item     Catalogs & Codes
    10\TAB11     Tasks     Tasks
    10\TAB17     Additional data 4     Additional Data
    20\TAB01     Item overview     Object Part & Damage
    20\TAB02     Item causes     Causes
    20\TAB03     Item tasks     Tasks
    20\TAB04     Item activities     Activities
    This is the set-up.
    -Jogeswara Rao
    Edited by: K Jogeswara Rao on Jul 16, 2010 7:21 AM

  • Help with City, State Field

    Hi
    I need help in take one field with the City, State to 2 fields. One with City and the other State. I know how to take 2 fields into 1 but what is the script for 1 into 2 using the "," has the divider?
    Thank you in advance!

    Have a look here: http://w3schools.com/jsref/jsref_split.asp

  • Problem with a mandatory field

    Hello Experts, Iu2019m trying to make mandatory the u201CNumAtACardu201D field in the u201CA/P invoinceu201D I´m using this code but it doesnu2019t work
    If @transaction_type = 'A' AND @Object_type = '18'
    begin
    if exists (SELECT T0.docnum FROM dbo.OPCH T0
    WHERE T0.NumAtCard is null and T0.DOCENTRY = @list_of_cols_val_tab_del)
    select @Error = 1, @error_message = 'Enter Vendor Ref. Number'
    end
    Hope you can help
    Thanks.

    Hi
    I just copied from forum and paste it on my sp_transaction .All I delete was no 1,2,....
    I didn't receive any error . 
    If @transaction_type = 'A' AND @Object_type = '18'
    begin
    if (SELECT T0.NumAtCard FROM dbo.OPCH T0
    where T0.DOCENTRY = @list_of_cols_val_tab_del) is null
    Begin
    select @Error = 1, @error_message = 'Enter Vendor Ref. Number'
    end
    End
    Can you try one more time
    Thank you
    Bishal

  • Hey Guys, just got FCP 7 upgrade, need help with Depth in Field.

    I just got the upgrade and really want to know how to use Depth in Field on video. Could anyone explain or direct me to a video tutorial. Because i bought a whole course from rippletraining.com and it doesn't show how to do this with video. Any suggestions ?

    and it doesn't show how to do this with video.< </div>
    Welcome to the family.
    You can only use DOF with stacked 3D layers in Motion.
    Be sure to try the manuals. Just open the Help system and type in your words.
    bogiesan

  • Help with a date field script

    Sorry if this is a repeat. I was interrupted and found that my browser had crashed when I came back so I'm not sure if the question got asked.
    I need a script for a date field (mm/dd/yyyy) where the user can only fill in a date that is between 12/31/1899 and the current date (whatever the date when the form is opened). I'm getting better at writing these but I haven't been successful with this one. Any help would be greatly appreciated.
    Thanks!

    I have a feeling I already answered this question some time ago... Anyway, you can use this code as the field's custom validation script:
    var minDate = util.scand("mm/dd/yyyy", "12/31/1899");
    var maxDate = new Date();
    event.rc = true;
    if (event.value) {
        var d = util.scand("mm/dd/yyyy", event.value);
        if (d<minDate || d>maxDate) {
            app.alert("Error! The entered date must be between " + util.printd("mm/dd/yyyy", minDate) + " and " + util.printd("mm/dd/yyyy", maxDate));
            event.rc = false;

  • Search page with Non-Mandatory Fields

    JDev 11.1.2.3.0 ADF BC
    I have a Search page that has 12 fields where Nothing is mandatory while inputting at least one(any of the fields) is mandatory. I am looking to reduce the code in this case, I don't want to use a Stored procedure or backing bean method to handle the if and else's. I would be excited to handle this at the Model part itself(Writing a proper SQL query or by means of bind variables/view criteria).
    Hope the use case is clear.

    You can use ViewCriteria with Validation property set to "Selectively Required"
    Dario

  • Please help with dynamic form field names in cfloop

    Hi,
    I need to create a form with day, date, month, year and time for 12 months
    Instead of coding them 12 times, I create day,date,month,year and time fileds in my form 1 time and then I use cfloop from="1" to="12" index="i" to loop these form fields 12 times.
    I gave each form field name such as: <input type="text" name="ScheduleDate_# i #" value=" "> this way each of those field will be named differently such as:
    ScheduleDate_1, ScheduleDate_2,ScheduleDate_3, ScheduleTime_1,ScheduleTime_2, etc
    I'm facing problem when this form is submitted, I think the error has something to do with the pound sign (##) when it comes to updating the back end
    I use MS SQL
    It doesn like this:
    <CFLOOP From="1" To="12" index="k">
    <CFIF Len(Trim(Form.MeetYear_#k#)) NEQ 0 AND Len(Trim(Form.MeetTime_#k#)) NEQ 0>
    <cfquery name="CreateSchedule" datasource="#DSN#">
    UPDATE TableSchedule 
    SET SchedDay = <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedDay_#k##">,SchedMonth =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedMonth_#k##">,SchedDate =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedDate_#k##">,SchedYear =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedYear_#k##">,SchedTime =
    <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.SchedTime_#k##">
    Where SchedId = <cfqueryparam cfsqltype="cf_sql_numeric" value="#k#">  
    </cfquery>
    </CFIF>
    </CFLOOP>
    Can anyone help please?

    You can't nest hash marks. Do this instead:
    SET SchedDay = <cfqueryparam cfsqltype="cf_sql_varchar" value="#form["SchedDay_" & k]#">
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Search help with multiple key fields

    Hi,
    I want to dispaly search help on a field from a internal table have multiple key fields i.e combination of fld1 + fld2 +fld3 makes one single row. Therfore can any one tell me how to return that single row , because if I am using function F4IF_INT_TABLE_VALUE_REQUEST I get only one return field that I select by which I can't get the actual line that I have selected as there may be more that one line for that field.
    please suggest any way through programming not by creating any search help through se11.
    thanks

    Hi,
    Use select query to select the fields & display them.
    In the following code i've selected only a single field in select query but u can do it for more than 1 & proceed similarly.i've tried it before using this code.
    SELECT WERKS
             NAME1
             FROM T001W
             INTO TABLE ITEMP
             WHERE IWERK = 'M011'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                  DDIC_STRUCTURE   = ' '
                RETFIELD         = 'WERKS'
                  PVALKEY          = ' '
                  DYNPPROG         = ' '
                  DYNPNR           = ' '
                  DYNPROFIELD      = ' '
                  STEPL            = 0
                  WINDOW_TITLE     =
                  VALUE            = ' '
               VALUE_ORG        = 'S'
                  MULTIPLE_CHOICE  = ' '
                  DISPLAY          = ' '
                  CALLBACK_PROGRAM = ' '
                  CALLBACK_FORM    = ' '
           TABLES
                VALUE_TAB        = ITEMP
                  FIELD_TAB        =
               RETURN_TAB       = T_RETURN
                  DYNPFLD_MAPPING  =
             EXCEPTIONS
                  PARAMETER_ERROR  = 1
                  NO_VALUES_FOUND  = 2
                  OTHERS           = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      S_WERK-LOW = T_RETURN-FIELDVAL.
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • Help with sales table fields

    hi!
    can someone help me in finding the following fields from vendor tables:
    confirmed sales order quantity
    on order sales order quantity
    open PO quantity
    moving average price
    outstanding delivery PO
    thanks,
    Srikanth.

    check out these tables,
    VBAK Header Data
    VBAP Item Data
    VBAG Release Data by Schedule Line in Sch.Agrmt.
    VBUK Header Status and Administrative Data
    VBUP Item Status
    VBRL SD Document: Invoice List
    VBPA Partner
    VBKD Business Data
    VBKA Sales activities
    VBEP Schedule Line Data
    VBRK Billing: Header Data (invoice)
    VBRP Billing: Item Data (invoice)
    VBFA Sales Document Flow
    VTTP Shipment item
    regards,
    seenu

  • Need help with adding form fields to PDF created in InDesign that includes links

    I created a collateral piece in InDesignCC that includes hyperlinks and bookmarks - I then used LiveCycle to add an image field and text field to the front cover so our sales folks can customize it before use - the sales people with Reader can't save it without the hyperlinks and bookmarks being lost. Anyone have an option on how to fix that?

    No.  Not at all.  I feel like I have clicked EVERYTHING.  Lol.  But obviously I have missed something.

Maybe you are looking for

  • Labeling Columns in Text File

    Still new to labview and learning - but having difficulty labeling the heading of the columns when writing to text file. I am trying to seperate 13 columns of text and tried a few solutions I have found on the boards, but not having any luck. All hel

  • Remote access files on remote server with KM iview

    Hello experts, We want that user can upload and download files via a KM iview which point to a remote server folder. I know some about webdav. Could you please tell which method is the best way? BR, Jianguo Chen

  • Unable to link to specific OEM target pages

    Hi We have about 400 individual targets we monitor through grid control. I'm creating some documentation (in MS Word) and including hyperlinks to specific target pages - eg: http://gcserver:port/em/console/monitoring/hostOverview$type=host$target=hos

  • Intercompany billing of a dien material

    Hi, I am trying to bill material type Dien using intercompany functionality. In a stockable material all the process flow well. First we create the purchase order. Then we use VL04 to create the delivery and then with that delivery we made the  invoi

  • Set up mail with personal domain

    Hi all, I bought a domain in Godaddy, and its working properly with outlook. My iPhones and all other devices are working perfectly with that email setups, now Im trying to setup that account into Mail but its doesn't recognise the email. I already f