Skip to Content
-2

Can Someone answer how to make a field Mandatory in CRM WEB UI scree

scn.jpg

I am new to CRM. I got some urgent Requirements on priority basis, Can someone help me in completing below.

1. How to make a field mandatory in CRM WEB UI. (Screenshot attached with Required field Highlighted in yellow).

2. How to make a field in BOOKING screen mandatory based on Filed value in LEAD screen in CRM WEB UI . (As per our Business we have flow like Enquiry->Lead->Booking Screens in order).

3. How to populate a value of one field in Lead screen to field in Booking screen. (Our Business flow is mentioned in above point).

scn.jpg (145.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 17, 2017 at 04:28 AM

    Hi Kiran,

    To make the field mandatory, go to the Configuration->select the Field Properties for that field -> In Properties, select the 'Mandatory' check box.

    Apply and then save. ( This is static, it will always be mandatory )

    To make the field mandatory based on the value of some other field, you will have to use the GET_P method of that attribute.

    Sample code:

    case iv_property.
         when if_bsp_wd_model_setter_getter~fp_input_mandatory.
           if iv_display_mode = abap_true.
            rv_value = abap_false.
           else.
           **** Your Condition *****
             rv_value = abap_true.
            endif.
    endcase.

    To populate the default value in a field.. use the GET method of that attribute.

    -Ricky.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Kiran,

      You have to do that in BSP_WD_CMPWB tool. I checked that screenshot. You are on the right path.

      Before clicking EDIT button, make sure you are on correct configuration. Click on 'Choose Configuration' and select the correct configuration. Once the correct configuration is loaded, click EDIT button. It will ask for a TR. Select the TR or create a new one. Once you provide the TR number, the configuration will load again in editable mode. Then select the field and click 'Show Field Properties'. It will display the properties in EDIT mode. Select 'Mandatory' check box and APPLY. Click SAVE.

      Sorry, I am not infront of the system right now to give you screenshots.

      -Ricky.

  • Nov 28, 2017 at 07:02 AM

    Hi Kiran,

    Please refer to the blog

    https://blogs.sap.com/2013/09/26/how-to-make-input-fields-mandatory-in-crm-web-ui/

    Best Regards,

    Varun Agarwal

    Add comment
    10|10000 characters needed characters exceeded