Ho to make a variable mandatory or optional?

Hi All,
    Please let me know where in the Query designer is the option to make a variable mandatory or optional?
Thanks!

Hi All,
     Thanks for the reply, that was very helpful. But now when i right click on the selected variable, the screen where i cud edit shows up and i see that variable entry is "Optional" & i need to change that to Mandatory but the problem is the screen is blanked out, that is i cannot make any changes, i can only see but not edit. But there are some other variables were i can change them from optional to mandatory but not this one...can you pls throw some light on this?
Thanks a lot!

Similar Messages

  • Make a field , mandatory to optional

    I wanted to make the last name field which is a mandatory field to an optional one. Could somebody help me on this.
    Thanks in advance

    Hi,
    Modify FormMetaData.xml and make the field optional.I am not sure if modifying only formMetadata.xml will give you error.If yes then modify the tjspGenerateCreateUserForm.jsp.There are already many post for modifying the jsps.
    Below post might be helpful.let me know if you have any questions.
    OIM Form Customization
    Regards
    Nitesh

  • Unable to make field non-mandatory using SM30/T588M

    Hello Gurus -
    My client would like the field LAND1 (country key) to be optional in infotype 21 (Family Members/Dependants).  Standard delivery appears to be that this field is mandatory if any of the address fields are populated.  We have tried to make this non-mandatory by setting it as Optional or Hiding it in T588M.  No matter how we set this field up, it still behaves as mandatory if any address field is populated.  We are certain we are at the correct Mod Pool/Variable Key combination as we have successfully changed other field requirements for this infotype.
    Does anyone have any input as to why we are encountering this problem and/or suggestions as to how to get around it?
    Thanks!
    Zaj

    Hi,
    Follow IMG path -> Personnel Management -> Personnel Administration -> Customizing User Interfaces-> Change Screen Modifications
    Try using the below screen for modification for IT 0021:
    Module Pool          MP002100
    Standard screen      2001
    Alternative screen   2001
    Feature         P0021
    In feature see that you maintain for which MOLGA Country Grouping and subtyes you want to use.
    I hope this will help you.
    Thanks,
    Padmaja.

  • How to make a field Mandatory in a Table view?

    How to make a field Mandatory in a Table view?
    The requirement is, the user should not be able to append a new Row, unless and untill he enteres the data in the column SOLD-TO. Now how do i acheive making this field madatory. Normally in Edit form view, we can go in customizing and flag Mandatory, for table view we don't have this option.
    Please can anyone of you guide me in this approach?
    Jagadish.G

    Hi Jagadish,
    have a look in this thread, part of the code you can use in eh_insert method or logic to write enable/disable insert button.
    Re: Assignment Block Mandatory
    regards
    Ismail
    Edited by: Ismail Shaik on Oct 21, 2009 11:36 AM

  • How can I make settlement rule mandatory in create work order (IW31)

    How can I make settlement rule mandatory in create workorder and saving without release.
    I kanow we can make settlement rule mandatory upon Release order but here requirement is
    Create work order (IW21) save without releasing that time settlement rule should default.

    Hi,
    1.If you want the settlement rule default then maintain account assignment data in technical object and when MO is created on that it would be copied into the settlement rule...
    2. If you want to make those fields mandatory .... plz check up field selections in config , if you cannot find those then use SHD0 Transaction variant to make those fields mandatory.
    3. Enter SHD0 , Enter IW31 in transaction and ZIW31 for transaction variant ..click create option and this takes you to IW31 initial screen , here enter required values of technical object etc and press enter and this gives you IW31 Initial scree screen variant , click continue and this takes you to inside screen and here enter required field values and on pressing enter gives you screen variant .. so you need to enter field values and check the flow of screen variants and on getting settlement rule screen variant select required option for the fields you need.
    4. Finally you can save that in package created in SE80 for transporting to other client .., you can activate the variant in SHD0 -->Standard variants -->you can find activate option ..
    regrds
    pushpa

  • Make one field mandatory in material master

    hello
    i have searched through the forums but not able to get the right answer.
    i need to make one field MARC-MMSTA mandatory. It lies in field selection group 51.
    There are other fields in this field selection group.
    Hence what happens is when we make the group mandatory all the fields become manadatory.
    Any thoughts please ?
    Thank you.
    Regards
    KK

    Hi,
    In t-code OMSR create the new selection group(Between 221 to 240) ie., select the field MARC-MMSTA assgin new selection group .Then goto OMS9 enter selection group make option as per your requirement.
    Let me know any issue.
    Regards,
    Vairavan.P

  • I want to make Requistioner field Mandatory in the Purchase requistion.

    Whenever i create purchase requistion i want to make  Requistioner field mandatory. I have checked the filed selection NBB and changed to mandatory and ME51 also  made mandatory after that also whenever i create with ME51 PR is going to next screen without asking for requistioner.
    Please let me know where actullay i have to make mandatory so that whenever i create it should ask the requistioner.
    Thanks.

    H,
    You also select the field Requisitioner as mandatory for below field selection>
    AKTH,ME51 & ME51N
    Because always the field selection: mandatoey , display & optional    will work in
    Setting Priority
        Hide 1
        Display 2
        Required entry 3
        Optional entry 4
    SAM
    Edited by: Saminathan Gopalan on Jun 22, 2010 3:25 PM

  • Department Field in the Cost Center as a mandatory from optional.

    Hi,
    I need to make Department field in the Cost Center as a mandatory from Optional.
    Kindly suggest on making mandatory to Department field in the Cost Center.
    Regards,
    Anand Sheelavant,

    Anand,
    Go to IMG General settings and configure new transaction fields. Select the transaction codes to be adjusted, I think you should use KS01 (Creat Cost Center) and KS02 (Modify CostCenter) and create new transaction variants where deparment field is mandatory. Then use these newly created transactions variants to substitute the standard ones by assigning/activating them to transaction codes, KS01 and KS02.
    Hope this solve your issue.
    Regards,
    GG

  • How can i make a field mandatory in SO header .

    Dear expart
    How can i make Customer group  mandatory in SO header data.Under sales tab pricing and static.
    Plz give me spro or the direct transaction code if any.
    Yeasin

    Hi Yeasin,
    There are three ways.
    1) By using incompletion procedure by using OVA2 T.Code which is already discussed by Raja.After this assign this incompletion procudere to your document type in VOV8 and also check the box incompletion messages.
    2)By using SHD0 T.Code.
    Goto SHD0 T.Code.
    Enter the transaction code as "VA01".
    Select the transaction variant as "BUS2032".
    Two programs will appear .Select the last one(BUS2032_4480).Click on details.
    Search for the field "VBKD-KDGRP" using "CTRL+F".
    Against that field tick the mark Required.
    Save.
    3) By using SE51 T.Code.
    Enter the program name as "SAPMV45A" and screen number as "4301".
    Select Layout editor.
    Click on Change.
    The screen layout will be opened.
    Select the field "Customer group" and double clik on it.
    Attributes screen will be opened.
    Goto Program tab and for the Input field,tick this and for input select the option required from the dropdown.
    Save.
    Now If you then you can find it as mandatory.Among these three you can use any one.
    Regards,
    Krishna.

  • Make a parameter mandatory when you choose a particular value from pameter2

    Hello,
    How do I make a parameter mandatory in sql script?
    I have 2 optional parameters:
    1) parameter1 (&1)
    2) parameter2 (&2)
    parameter1 has 4 values:
    1) East
    2) West
    3) North
    4) South
    paramete2 has 3 values:
    1) 123
    2) 456
    3) 789
    when I choose a value (North) from parameter1 the parameter2 has to become mandotory. If i choose any values from parameter1 other than North, parameter2 should be optional.
    Any help would be greatly appreciated.
    Thank you

    We do not currently support mandatory parameters in the standalone release. Its in the works thou
    tim

  • How to make a checkbox mandatory

    Hello,
    I created  a checkbox where I want the user to check that they have read and acknowledged a privacy statement.
    I am curious how I make the checkbox mandatory, as I dont see an option in the Object Pallete.
    Thanks in advance!
    Nik

    Write the following line code on initialize event of the CheckBox to make it mandatory.
    this.mandatory = 'error'
    Nith

  • How to make extended field mandatory in Master Agreement

    Hello All,
    I am new to SAP CLM, and I have requirement where one extended field in master agreement needs to be made as mandatory field.
    I tried in extension definition but check box to make it required is disabled and I am unable to find other way to do it.
    Can some one help me and Please let me know how make extended fields mandatory in CLM.
    Regards,
    Prabhat

    Hi
    This could be achieved using Page Customization.Go to Setup-> User Interface-> Page Customization, open master agreement object (create new with UI ID:contracts.contract.ui.buyside.default if doesn't exist ) and add a new customization for extended field with Property set to Required.
    Regards
    Mudit Saini

  • How to make a fld mandatory in module pool program?

    I need help on following 2 things
    I have module pool program created, in that many screen subscreens created.
    1.I want to make a field mandatory
    second one  is, I have a general tab and  data tab.
    General tab screen - 2101
    Data tab = 2102
    In general tab, I have edited the values (change mode), when change the values and try to save it,
    It is holding old value.but If i exucute the transaction once again, it is showing the changed value(new value)
    For ex: there is a date field  value is 03/08/2009
    If I change this to 03/09/2009 and press on Save button from the standard menu, still it is showing the  value 03/08/2009. but I execute this transaction once again it is showing the value as 03/09/2009
    I will be thankful if someone helps me here

    Hi Chitra,
    Go to the properties of the filed select program tab and say input required.
    then you will get the problem solved.
    For second one actually its saving but not displaying the saved value at the same time ,
    for this you write the select statement after saving , so that once save is execute m, select statement also will execute  and it will display the newly saved value.
    so after saving imdeatly u write the select statement.
    like case sy-ucomm.
    when 'SAVE'.
    insert ztable.
    select filed from z table.
    endcase.
    let me know if ur problem solved.
    Regards
    Rajendra

  • Radio Button to make other field Mandatory

    I have two Radio Buttons that I want when clicked on (either one) to make a Number Field mandatory. I have viewed many websites on setting a mandatory field but the script I am using will not work. I have tried a couple ways of writing it but I seem to be missing something.
    I have used this script in the Show of: click & change
    Here is the script that I'm using right now.
    if  (this.rawValue==1)   
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    And this one:
    if (this.rawValue==2)
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    Thanks,
    HHud5757

    So, I put a quick form together to test your code.
    On the change event of the radio button list (not the radio button itself), I added:
    if (this.rawValue == 1) tfTest.mandatory = "error";
    else tfTest.mandatory = "disabled";
    In my case, the radio button with the value of 1 is the one I want to make the field mandatory. If you want either button to make it mandatory, then use:
    if (this.rawValue == 1 || this.rawValue == 2) tfTest.mandatory = "error";

  • How do I make a variable path in AppleScript?

    I'm mass distributing an application, and for the next update I want to add customization. My application currently make a folder in the "Documents" folder. The folder is called "MCL_CONFIG". What I need to do is make a unicode text file in "MCL_CONFIG". Since it's going to be used on many different computers the path to where I'm making the new file has to change depending on the user. How can I make a variable path to a non-directory? Here's the section of my code with the problem:
    tell application "Finder"
        if folder MCLConfig exists then
        else
            display dialog "Welcome to Mc Launcher! You will only recieve this message once, unless you delete the MCL_CONFIG folder." buttons {"Ok"} default button 1
            make new folder at New_User with properties {name:"MCL_CONFIG"}
        end if
    end tell
    It's not shown but I set the variable MCLCONFIG to (path to documents folder from user domain) & "MCL_CONFIG" as text.
    As a side note how do I make the code look like it does in applescript, here?

    You can do something like:
    set supportFolder to ((path to application support from user domain) as text)
    set appName to "My Spiffy App"
    set subFolder to "MCL_CONFIG"
    tell application "Finder" -- add application support folders if needed
      if not (exists folder (supportFolder & appName)) then
        make new folder at folder supportFolder with properties {name:appName}
        make new folder at result with properties {name:subFolder}
      end if
    end tell
    Edit: it is recommended that the folder in Application Support be named with your application's bundle identifier, but most just use the application name.

Maybe you are looking for

  • I really need help from anyone about transfering from my ipod to my compute

    I don't know what I did, but There is nothing in my itunes any more. Also all my settings are gone (such as all my playlists and pod cast subscriptions. I still have everything that I had already down loaded into my ipod in my ipod. Is there any way

  • Transfer Routine required

    Hi, I am getting the Alpha Numeric (for example:150DD say)data for the field 0SALESEMPLY into the infosource 2LIS_11_VAHDR, but the data type for 0salesemply is NUMC in the info source. Because of this data type(NUMC) the data for this filed is loadi

  • ICloud mail not displaying email content

    My iCloud mail account is not displaying the content of incoming emails, regardless of whether I access the account on my Mac, iPad Mini, or iPhone 4 (all with the latest OS). The only way I can view the content is to select the email and hit the 're

  • J1ih Error

    Hi ASAP, While posting the Excise JV for Material with ref. to movt. type 105 material document, system is throwing error whereas for Movt. type 321 it is not. Can you plz let me know why system is throwing error, where what config. is missing. Thank

  • Can't open my iTunes or my iPhoto

    Hello !! I really need some help !! I've got an iBook G3 which has little memory left (200 Mo, maybe it's the problem) but which has always worked perfectly . But, since last month, I haven't been able to open neither iTunes or iPhoto. When I click o