Marking Field Mandatory Based on a particular Product Selection

Hi All,
I have a different requirement, when I select a particular product names from the product picklist I have to make another field as mandatory. I dont have dynamic layouts to do this option.
Is there anyway where I can make a field as mandatory based on a value selection from another picklist field?
Thanks
Natraj

Hi, If the product ID = 1,2 or 3 and if the mandatory field is not filled set an internal field value to 1 using default field value and write a validation rule on that internal field forcing the user to fill in mandatory field. Extend the same using workflow using update field operation. Hope it helps
-- Venky

Similar Messages

  • Making a DFF field mandatory based on another field

    Hello All,
    We have a requirement where in we need to make a DFF field mandatory based on another field.
    example:
    DFF has two fields :
    Filed1 : values 'Email', 'Fax'
    Filed2
    If 'Email' is selected in 'Field1' then Field2 should become mandatory.
    Any inputs on this will be really helpful.
    Thanks & Regards,
    Satya.

    hi kumar3a,
    recently, i spent considerable amount of time wracking my brain on a similar problem. the nearest i came to a solution was when i used a forms personalisation. mind you, forms personalisation will not work directly on the DFF window, so it has to be approached in a roundabout sort of way.
    i got this information from an Oracle Support personnel - MOS Note 1078348.1.
    i would start with the flexfield segment as "not required", and then using Forms Personalization, i would make it "required". i would try to figure out how to establish a condition where the previous 'required' flexfield segment's value is checked to see if this 'not required' segment needs to be made 'required'. in theory, this should solve the issue. i gave up on it because the forms personalisation would need to cover WHEN-VALIDATE trigger event, and we had close to 100 validations going on through other preexisting forms personalisations, which rendered it near impossible to employ this method.
    best regards.

  • Making a field mandatory based on values in a drop down

    Hi,
    I am new to Javascripting on the Adobe Designer and we have a requirement to make a text field mandatory based on one of the values selected in a drop down list on the same form.
    When I say mandatory I mean we need to prevent the form from being Saved if this text field is not filled - specifically when a value (say "Promotion") is selected on a drop down.
    Please help me with the events under which the script needs to be placed and the scripting commands.
    Thank you!
    Neera

    Hi,
    You can put PPR event on EMAIL field. Catch that event in PFR and put your logic there like:
    if EMAIL is not null then make FORMAT field mandatory (for that u can catch that in PR)
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Make a field mandatory based on a segment in distribution account

    Hi there,
    I have a requirement to make a flexfield segment mandatory to enter extra information when the user selects a particular account when entering the distribution lines of a Purchase Order. Only when segment 2 lies within a particular range of values, should this field become mandatory.
    Has anyone done anything similar before? Please let me know how to get about it.
    Thnx in advance :)
    Ash.

    Hi,
    You can do this by creating Context Sensitive DFF.
    While defining a Context in the DFF, put :<BLOCK_NAME>.<FIELD_NAME> in the Reference field.
    FIELD_NAME should be the field, on the basis of which you want the DFF to be mandatory. Check "Synchronize with Reference Field" check boc in the DFF window.
    The Contexts need to be defined exactly with the same name as the values, which might come in the refernce field.
    Gajendra

  • Setting fields mandatory based on other fields

    Hi,
    In my adobe form there are 4 input fields(F1,F2,F3 and F4) and one field(F5) which is input optional. But if any field (F1, F2,F3 or F4) gets changed, the fifth field F5 has to be mandatory. I guess some java scrip is required but I dont have any idea on the same.
    Please help.

    we have a similar situation where a field must be filled in if a value is chosen in our dropdown box.
    you can throw a popup message stating that the field must be filled...
    JavaScript
    xfa.host.messageBox("This is a message", 3, 1);
    FormCalc
    xfa.host.messageBox("This is a message", 3, 1)
    A valid integer representing the value of the button pressed by the user:
    u2022 1 (OK)
    u2022 2 (Cancel)
    u2022 3 (No)
    u2022 4 (Yes)
    Or what we did is just checked all the values after the SUBMIT and issued error messages in a message area letting the user know what they missed.

  • How to make some fields mandatory based on radio button selected

    Hi,
    As per requirement i have two radio buttons in my screen.
    1.update
    2.Display.
    When the user clicks update then certain fields of selection screen should be made mandatory.
    And if the user cliks the Display Radio Button then certain fields should be made mandatory.
    How to code for it.
    Thanks and Regards,
    Smriti

    Hi ,
    use this code ,
    now according to your requirement you make changes to your parameters.
    parameters: r1 as radiobutton group g1, " this id you update button
                r2 as radiobutton group g1.         " this is for display
    PARAMETERS: TEST1(10) MODIF ID SC1, " assume these are the fields as parameters.
    TEST2(10) MODIF ID SC2,
    TEST3(10) MODIF ID SC1,
    TEST4(10) MODIF ID SC2.
    AT SELECTION-SCREEN OUTPUT.
    if g1 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    elseif g2 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Please let me know if you still need any help.
    Thanks and regards,
    Rajeshwar

  • Make field in Material master mandatory based on the material group

    Hello all,
    I need to make the field "post to inspection flag" mandatory based on the material group while creating the Material master.
    I found options for making the field mandatory based on Material type,Industry sector and plant NOT based on the material group.
    Could anyone please provide suggestions on setting up the field as mandatory based on material group while creating material master
    Thanks,
    Sre

    Hi Sre,
    You can make Material Group field as Mandatory while Creating Material Master.
    SPRO>Log General>Material Master>Field Selection>Maintain Field Selection for Data Screens
    Select Screen # 48
    In the Field selection (Field Ref.) of (MARA - MAKTL) screen , Change the settings from Optional to Required Entry for T Codes MM01, MM02 or you can select the Material Type ;
    Please note this  by choosing this selection the fields of Profit Center and  Division will also become Mandatory.
    Hope this helps,
    Best regards
    Amit Bakshi

  • Making only onr field mandatory in material master

    Hi,
    We want to make a field 'Account Assignment Group (MVKE-KTGRM)' (field is in  Sales: Sales org - 2 view) mandatory for finished products only.
    The field 'Item category Grp' in the same view is already mandatory.
    We do not want to make any other additional field mandatory.
    How this can be done?
    Regards,

    hi,
    You can make the field mandatory based on the only below points:
    1. Transaction
    2. Material type
    3. Industry sector
    4. Plant
    5. Procurement type
    6. Sap delivery
    Now as per above field reference, you can't do only based on the finished production...
    So, think abt it and then choose the field reference key as per your req. and then only it is possible to make it mandatory...
    As per my view you can make it possible via material type, plant ..
    Think abt it...
    Regards
    Priyanka.P

  • Making Field-GR BAsed IV Mandatory in ME32L

    Hi,
    How to make Field-GR Based IV Mandatory in ME32L?
    Please suggest.
    Thank you.

    Hi,
    Go to SPRO > Materials Management > Purchasing > Scheduling Agreements > Define Screen Layout at Document Level.
    Choose your transaction. (me32) If you need this for me32l and if this transaction is not shown, copy me32 and rename it has me32l. This will create a new entry.
    Go into the particular transaction and go to "GR/IR Control". Here change the tick to "Required Entry" in the feild "GR based IV".
    This should make the field mandatory.
    Regards,
    Tharaka

  • Product hiearchy field mandatory in sales view

    Dear Experts,
    How can I make product hiearchy field mandatory in sales view for only one plant
    Pooja

    For one plant it is not possible

  • Marking fields as mandatory in VF01 transaction

    Hi Friends,
    Please refer to the below screen shot - we are posting the final billing to customer in SAP (post outbound delivery).
    Here we use the available fields under Foreign Trade/Customs tab - to mention details of shipping line & vessel name (it is fetched on output form).
    My question is can these fields be marked as mandatory, as many times users tend to miss filling these fields.
    The fields we want to mark as mandatory are "Transport-Departure" under Handling tab;
    "Office of Exit" & "Export customs off." under Geography tab;
    "Description" under Comments tab;
    Kindly advise.

    Anusha,
    Please do search the forum about notes as SAP notes is the support backbone provided by SAP itself to all its customers. You need to contact your basis team to get an S-ID. Check the links below, They should help you out
    How to get OSS ID ?
    How to see OSS Notes?
    OSS notes - how to view
    Thanks,
    Ravin

  • Making Fields mandatory in Production Order

    Hi,
    In transaction code CO01 i want to make the PLANNING PLANT field mandatory, Kindly guide me how to do this??
    Naren

    Hi Narendra,
    Goto SHD0.
    ennter t-code co01 there. goto tab page screen varients and anter varient name Zco01. Write program and screen name there.( you can get this names from F1 help on the field in the co01. in the field press F1 and goto technical information. Pick the program and screen from there.)
    Then create a varient with this information, you will goto co01 tcode, enter there and you will get a pop up asking for different values. You can make the filed you require as mandatory.
    come back if more help is required.
    Sumeet

  • How to make tax classification field mandatory in sales order ?

    Hi,
    while creating sales order, " how to make tax classification field mandatory ".
    Please tell me the procedure.
    In tcode OVA2. what are the entries for fields,table.
    Regards,
    sapsduser

    Dear ,
    Could you please share why you want to make tax Classification field mandatory in sales order.
    Maintain Tax classification field for customer in Customer Master Data = (Sales Area Data - Billing document Tab page)
    Tax Classification field for Material in Material Master Data = Sales Org. 1 View.
    While creating sales order and enter customer and material system automatically fetch the tax classification related data into sales order.
    Tax is calculated based on the ship to party.
    Hope this will help you.....
    Regards,
    Manoranjan.

  • Validation in f-48 for reference key field mandatory

    Hi,
    please help in Validation
    Prerequisite for validation of reference key field mandatory in f-48 for particular user
    Regards,
    Mahendra

    Hi,
    The validation will be
    Prerequisites:
    BKPF-TCODE = 'F-48' AND
    SYST-UNAME= ( Enter user name here)
    Check
    BKPF-XBLNR <> ''
    Message
    Go to message click on change Icon near message Number on next screen select individual Maintenance and right message in free number available and enter this number in ob28 message screen for this validation.
    Regards
    Edited by: MILIND on Feb 22, 2011 2:32 PM

  • How to make some fields mandatory for a custom screen we have added

    Hi All,
    Please let me know how can I make some fields mandatory through coding in PBO for only some fields of a screen.
    Say if I have 4 fields in my screen(module pool not selection screen) i want to make mandatory 2 fields based on some conditions how to do this? I tried using screen-group but this will make mandatory all the fields of that screen mandatory.
    I want only specific fields based on condition in run time.
    Regards
    Mahesh

    Hi Mahesh,
             Try this ..
      Assign the same group to those fields , say GRP
           in  PAI
             IF <CONDITION>
                Loop at screen.
                   if screen-group1 = 'GRP'.
                      screen-required = '1'.
                      modify screen.
                   endif.
                 endloop.
              ENDIF.

Maybe you are looking for

  • How to setup a mac for a friend

    In just a few hours my adult daughter's new MacBook Air-13" will arrive at my house.  She lives in Africa but will visit us in 2 weeks so she had her new MBA shipped to my place.  But she's not familiar with Macs and she wants me to set-up her MBA wi

  • Set list permission with worflow

    I have two lists,  listA will be used by admin to add users with some required information , we need once admin added the user,  a contribute permission is added for user to listB. I'm trying to use sharepoint designer to accomplish this but all acti

  • Can anyone explain to me why some of my photos are landing in events and others are appearing only in photo stream?

    I want to delete photos from camera roll on my iPhone to clear space to install ios7 but after importing photos to iPhoto on my macbook pro only 4 out of 339 photos taken in September landed in events, though all 339 are in Sept photo stream. It seem

  • Some newbie trouble with default scripts in DVDS-4

    HI We are trying to make video that works with menus and controllers and a contents listing at the beginning. It's content is like a book. Most of us write Flash or Director and are not used to the DVDSP-4 constructs. Simple set up is: animation intr

  • Upgraded to cable internet from DSL created a disaster

    Today I switched from dsl to cable.  I was very excited to run a spped test through the ethernet cable before the cable guy left.  The disaster part starts here.  I tried to hook the new cable router into my airport extreme (running most recent firmw