Make fields mandatory in screen painting

How to make the fields mandatory in customizing screens?
I understand that i need to do some changes with fieldseection group.
but in that screen i am confused what i should actually do.
can some one guide me.

Hi,
Please Follow the Steps Bellow ,
--> Double Click on the Field you want Obligatory
--> A window will appear on the right side
--> In this window you will see a box with heading u2018Attributesu2019
--> There are Three u2018Tabsu2019
--> Go to the 2nd tab which is u2018Programu2019
--> The Label u2018Inputu2019 From the Dropdown menu  You can Select u201CRequiredu201D
Hope will solve out your problem,
Kind Regards,
Faisal

Similar Messages

  • Regarding input output field of the screen painter

    Hi Experts,
    I want to increase the height of the input output field in the screen painter.
    ie, multiline input output field.Is there any means?
    Or is there any alternative other than the input output field?
    Thanks & Regards,
    Soumya.

    hi,
    when u drag n drop some fields in the screen goto to one of the corners of dat fields drag to the extend u want to increase.
    or in attributes section  for u length n width of dat fields are available just increase to your wish.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Help Desk - make fields mandatory and sub catagories

    Is there a way to make fields mandatory (not in the portal) but on the ticket?
    Also, when creating custom attributes, is there a way to make a 'sub attribute' show up based on another attribute?
    thanks!
    This topic first appeared in the Spiceworks Community

    Hello Alex,
    To add a message, you can modify the EH_ONSAVE method of the controller class.
    For a sample code, please see below.
    I hope this helps.
    Kind regards,
    Kristoff.
    data: lv_entity         TYPE REF TO cl_crm_bol_entity,
            lv_coll             TYPE REF TO if_bol_entity_col,
            lv_current        TYPE REF TO if_bol_bo_property_access,
            lv_country          TYPE string,
    Address Data
    *navigate down to Address
        try.
          lv_coll = lv_entity->get_related_entities(
                   iv_relation_name = 'BuilStandardAddressRel' ).
          lv_current = lv_coll->get_current( ).
          catch CX_CRM_GENIL_MODEL_ERROR.
        endtry.
        if lv_current is not bound.
          return.
        endif.
        lv_entity ?= lv_current.
        lv_country = lv_entity->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING( 'COUNTRY' ).
        IF lv_country IS INITIAL.
              lv_msgsrv->add_message( iv_msg_type = 'E' iv_msg_id = 'Z_CRM_IC' iv_msg_number = '001' ).
              lv_input_nok = 'X'.
        ENDIF.

  • How to make fields mandatory in cost center

    Hi Sap Experts,
    How to make fields mandatory in cost center.
    Please give me advise.
    Regards,
    Raj

    If you want to make "Profit Center" field as mandatory, then OBA5 transaction code
    Application Area - KS
    Number 096
    make this as error for online and batch input. Then profit center will become mandatory.

  • How to read the contents of Input Field created via Screen Painter?

    Hi All,
    I have a module program / dialog program, on my second screen, I created an input/outbox field via screen painter of course,
    now in my PAI, how can I read the contents of the input/outbox field?
    Let's say the name of my input/outbox field is: P_WEKRS.  Note: Get Parameter and Set Parameter is ticked.
    PROCESS AFTER INPUT.
      LOOP WITH CONTROL TC_DATA.
        MODULE MODIFY_DATA.
      ENDLOOP.
    I want to get the value of the input/outbox field before my loop in table control?  I thought that it will work like normal parameter in non-dialog programs.
    Any helpful inputs will be appreciated/rewarded.
    Thanks.
    Jaime

    Hi, Jaime
    Do the following Change in you Follow Logic
    PROCESS AFTER INPUT.
    MODULE read_or_change_value. " Add this
    LOOP WITH CONTROL TC_DATA.
      MODULE MODIFY_DATA.
    ENDLOOP.
    Add the Bellow Module code in you Driver Program.
    MODULE read_or_change_value.
    DATA: P_WEKRS like " the Field on Screen. Must be the same name as on SCREEN. and Type must be same too.
    " Here you will find the Value in that Variable or if you will change the Value here you will find it change on Screen
    END MODULE.
    Please Reply if any Issue..
    Best Regards,
    Faisal

  • LEAD MANAGEMENT- how to make fields mandatory

    Is there a provision in lead management to make the fields mandatory so that lead number is not generated without filling the mandatory fields/ as it is in business partnerm using field groupings in customizing (eg. without submitting address proof BP number is not generated)

    Hi
    I dont know Kai's solution but it could be good.
    If you want to deal with badi you can use its method CHECK_BEFORE_SAVE, and in it
    if some fields are not filled you can write: RAISE do_not_save.
    Document won't be saved then.
    I checked in my system, and guid is generated (perhaps it is just generated by special FM, but you can not find it
    in any of tables like crmd_orderadm_h or crmd_order_index).
    So in my opinion just guid is generated but not saved in database, until this BADI allows to save.
    Regards
    Radek

  • F4 help for the selection screen field designed in screen painter

    Hi all,
    I have designed selection screen in the screen painter. in that for one of the fields i have to give f4 help. for that i have writter the code in PAI event. in this event i have used the standard Function module for f4 help. but no f4 help is comming for that field. can any body suggest what i have to do.
    Thanks & Regards,
    Giri.

    Hi,
    You must use the correct event to meet ur requirement use  POV event instead of  PAI event.
    for more clarification and example program see  below the demo program
    DEMO_DYNPRO_F4_HELP_DYNPRO
    DEMO_DYNPRO_F4_HELP_MODULE
    Cheers
    fareed

  • How to make Fields mandatory in service entry sheet

    Dear Experts,
    I need to make  "Quality of Service" and "Service Timeliness" fields mandatory for user entry  in VENDOR EVALN tab during Service Entry Sheet.
    Kindly help..

    Check the note attached to the configuration node.
    + for required (mandatory) field
    . for optional field
    - for hide
    for display
    Double click on the line showing ...+++...
    It will open up a list of fields grouped logically and you now have a radiobutton style way of changing status.

  • Make field mandatory through coding

    Hi experts,
    I would like to know if there is a way to make a field mandatory through coding.
    I have a field that should become mandatory based on the content of another field.
    Any idea on how i can achieve that ?
    Thanks for your help.
    Regards.
    Aw

    Hi,
    You could implement the DO_HANDLE_EVENT to check if you have value in the first field and based on that make second field as mandatory.
    data: lv_wrapper type ref to cl_bsp_wd_collection_wrapper,
    lv_order type ref to cl_crm_bol_entity,
    lv_value1 type string,
    lv_value2 type string,
    lv_msgsrv type ref to cl_bsp_wd_message_service.
    lv_wrapper = typed_context->[contex_node]->get_collection_wrapper( ).
    lv_order ?= lv_wrapper->get_current( ).
    * Check for required values
    check lv_order is bound.
    lv_value1 = lv_bp->get_property_as_string( iv_attr_name = '[first_field]' ).
    if lv_value1 is not initial.
    lv_value2 = lv_bp->get_property_as_string( iv_attr_name = '[second_field]' ).
    if lv_value2 is not initial.
    lv_msgsrv = cl_bsp_wd_message_service=>get_instance( ).
    lv_msgsrv->add_message( iv_msg_type = 'E'
    iv_msg_id = '[you_message_class]'
    iv_msg_number = 'your_msg_no'
    iv_msg_level = '1' ).
    endif.
    Hope this helps!
    Cheers
    Ajay

  • Make field mandatory conditionally ?

    I have two items
    a select list
    a date field
    if i select Yes in the select list
    i need to make the date field mandatory
    else
    make optional
    how can i do that ?

    See Region 3 at http://htmldb.oracle.com/pls/otn/f?p=24317:91
    If Yes is selected from that dropdown list, the mandatory indicator (red star) is shown otherwise it is hidden.
    Steps:
    1. Choose a Optional Label template for the Date Picker item
    2. Put the following in the Label field for the Date Picker item
    Date< span id="redstar" style="display:none;color:red">*< /span>3. Put the following in the HTML Form Element attributes of the Select list item
    onchange="RedStar();"4. Put the following in the Region Header for the Region 3
    <script type="text/javascript">
    function RedStar()
    var val=html_SelectValue('P91_SELECT2');
    if (val=='Yes') html_ShowElement('redstar')
    else            html_HideElement('redstar');
    window.onload=RedStar;
    </script>Hope this helps.

  • Make field mandatory thru SPRO

    Hi All,
             I wanna make a field mandatory in tcode J1IS . field name is STRTYP (Sub Tran type). I think we can do it thru SPRO. can u tell how i do it.
    Regards
    Jitendra

    Hi,
    Create a customizting Switch in SPRO, that is create a customizing table with fields KEY VALUES and then make this aviaalbe for customizing in SPRO.
    Like below
    KEY      VALUE
    FILED1  X
    Then in your program check the value of this customizing table entry.
    And make the filed mandatory/optional based on this value.
    Regards,
    Sesh

  • How can i make the radiobutton use screen painter?

    hey experts,
    i paint 3 radiobuttons in group1 use screen painter,
    but when i execute the screen,all of the radiobutton are black, it means radio1='x',radio2 = 'x',radio3 = 'x'.
    i only want radio1 = 'x',radio2 = ' ', radio3 = ' '.
    how to do that?
    and i can't do it in screen 1000.
    thank you.

    Hi,
    Select the three radio buttons in the screen painter,
    Edit->Grouping->Radiobutton group-> define.
    In this case all the radio buttons will be under one group and at a time only one will be active.
    Thanks,
    rajinikanth

  • Make Field mandatory on SU01

    Hi
    I want to know, If it is possible to make certain fields on user master record mandatory? For user ID creation I want to make Department and Function field as mandatory??

    Please take note that there is some tricky terminology in this area:
    There is an important difference between a standard transaction variant and a custom transaction variant (these are sometimes also called "variant transactions" which is not the same as a "transaction variant"). Some OSS notes mix the terms as well.
    Creating a new variant assigned to the standard transaction is better in my opinion, as it makes it possible to harden the tcode further without being forced to assign the "core" tcode for the custom transaction variants.
    As described in the note, the super users should have the additional standard access, via the additional custom code.
    This also means that if "normal" users can navigate back and forth (see transaction SU01_NAV) then they always experience the same screen variant.
    Cheers,
    Julius
    Edited by: Julius Bussche on Jul 9, 2009 10:11 PM

  • How to make field mandatory in Sales Order Item level?

    Hi SDN's,
    I need to make Shipping type field(Item level) mandatory in Sales order.
    Can any one tell me what is the user-exit to achieve this?
    Thanks in advance..
    Regards,
    Rahul

    Rahul,
    U can check the BADI     'BADI_SD_SALES_ITEM'
    othewise u can check
    Exit Program MV45AFZZ.
    Check the program SAPMV45A
    V45W0001
    V46H0001

  • How to make fields mandatory in Message Address for Custom Notification.

    Hi Experts,
    We have created a new custom Notification Type and we were in the process of configuring it. I want to know, if I want to make a few fields obligatory in Message Address, can that be achieved through configurations. I am basically an ABAPer so please pardon my ignorance if the question looks basic.
    In our implementation, I have seen different Work Orders with different mandatory fields in Message Addresses. I hope the same is achievable for notification as well.
    Thanks for your help.
    Regards,
    Subhrangsu

    There are 2 ways to make any Notification filed mandatory.
    1. Configuration route:
    Here Under Plant Maintenance->Maintenance and Service Processing>Maintenance & Service Notifications>Notification Creation>Notification types> Set Field selection for Notifications:
    You select influencing button and your notification type then select the Radio button under Required column (against the 
    field you want to make mandatory)
    2. User Exit Route: Through SMOD -->User Exit QQMA0014 -->Cutsomer Exit EXIT_SAPMIWO0_020 -->Include ZXQQMU20.
    Then put your code in this include.
    Code Sample:
    IF I_VIQMEL-QMART= 'AC'.
    IF T_VIQMSM-MNGRP IS INITIAL.
    MESSAGE ID 'IW' TYPE 'I' NUMBER 464 WITH 'Tasks'.
    RAISE EXIT_FROM_SAVE.
    ENDIF.
    ENDIF.
    (The above Code makes the 'Tasks' filling mandatory in the Notification type 'AC')
    Hope this answers your query.
    Regards
    Jogeswara Rao
    Edited by: K Jogeswara Rao on Oct 8, 2010 9:21 AM

Maybe you are looking for

  • HP Photosmart Premium C309g-m internet problems

    Hi. I have just purchased above printer to replace an old, wired, HP deskjet. I have installed the software on 1 laptop, connected wireless and 1 desktop, connected wired, to an ADDON GWAR3000 router. Everything installed and tested fine and both com

  • Doubt on server proxy and file to idoc scenario

    Hi,      I could able to solve most of my doubts from this forum, many regards to all who assisted me.Here are some simple doubts plz help me in solving them.           1.In FILE to PROXY scenario is it necessary to create rfc destination on IS and r

  • Opening a PDF moves content on Artboard

    I have a strange problem when I open PDF files in Illustrator. All of the content will be shifted on the artboard, sometimes it is just a few inches. Other times in can be up to 70 inchs from the artboard requiring us to zoom out to 3% to find the co

  • How to configure third party repository to Bea VCR adapter?

    Hi, I tried to configure the Bea VCR adapter as given in the document http://edocs.bea.com/wlp/docs92/pdf/day170adapter_developers_guide.pdf. But I haven't succeeded. I am implementing the JSR170 level1 API for a content server which having it's own

  • Cs5 Indesign Crashes

    Indesing crashed on launch.  It gets as far as "start up service registry" and then I get the message CS5 ha stopped working.  the problem details that comes up is Problem signature: Problem Event Name: APPCRASH Application Name: InDesign.exe Applica