How to restrict user to must enter value in compulsory fields

Greetings !
I had a personal information form. I want to restrict user to enter values in all fields e.g Compulsory fields (Username, D.O.B etc)
how i restrict user to must enter value in Compulsory fields

I created an example on apex.oracle.com
http://apex.oracle.com/pls/apex/f?p=18686:1:0:::::
like you see a red staric placed on ID it means it is complusory to enter because it is a primary key, i want this on every field or to restrict user to enter all data , if any field left blank it will give error "to Fill respective field ", but not on creation but on left blank (if user type ID e.g 12 and skip ename field and go on Job field it gives error to fill Ename first)

Similar Messages

  • How to display texts automatic. besides entered value for a field in Trans.

    How to display texts automatically besides the entered value for a field in a standard transaction screen. For example you have a value table and a text table associated to it. Then on entering the value field and pressing enter the text associated should get displayed immediately besides the value. Like if you have 'LOC' as the value and 'Location' as the text associated to it, on entering this value 'LOC', you automatically get the text 'Location' printed besides it automatically in a transaction screen ?
    Message was edited by: Sarika Kedia

    Hi sarika,
    Welcome to SDN.
    1. first of all, such display of text,
       is not automatic.
       (it appears to be automatic)
    2. At design time,
       a) take one extra field for text
         and mark it as OUTPUT ONLY
    3. Then in PBO coding,
        call some module, and in that module
        write code
    4. The code should be to
       select from TEXT Table
       into the work area.
    EG. THE SCREEN TEXT FIELD NAME IS
    T510A-FIELDNAME.
    CLEAR t510a.
      SELECT SINGLE * FROM t510a INTO t510a
      WHERE trfar = FIELVALUE.
    5. This will take care of
       displaying the text value of that field.
    regards,
    amit m.

  • User can not enter value in INPUT field.

    hi experts,
    i have a table control on the screen which have one input field which user needs to fill. But as per he business req. we don't want him to enter any value, values should be enter from the search help only.
    If i make input field Read only it comes in gray color and user get confused. tell me some way so i can create white input field in which user can not enter values from key board.
    Please suggest...
    points will be awarded...

    >
    ashish gupta wrote:
    > hi experts,
    >
    > i have a table control on the screen which have one input field which user needs to fill. But as per he business req. we don't want him to enter any value, values should be enter from the search help only.
    >
    >
    > If i make input field Read only it comes in gray color and user get confused. tell me some way so i can create white input field in which user can not enter values from key board.
    >
    >
    > Please suggest...
    >
    > points will be awarded...
    This you cannot control. because if it is enabled only in that case you can see it white.
    do that thing as suggested by basakar to add a new input field just besides first one with zero padding.
    One workaround is use an image instead of real input field. the image should have the input field as image.
    and besides it create the input field with width 0 and padding also zero.
    i think this can fulfill the requirement.
    Thanks
    sarbjeet singh

  • How to restrict user to not enter same value in tabular form

    Greetings !
    i m asking second time the questiion because i was not answered preivously, so please dont mind if it is a duplicate one,
    question was: i created tabular form as shown in example.
    i want to validate username as you see in my example to restrict user to enter the same value in username field before submit page.
    e.g when user is entering data as u see test in username in first row, when he/she goes to second row and type the same username like test " message will appear or restrict user that already typed or in use"..
    http://apex.oracle.com/pls/apex/f?p=45296:1:22797340776918:::::
    this all be done on typing before submit record.
    please gudie

    Hi,
    i m asking second time the questiion because i was not answered preivously, so please dont mind if it is a duplicate one,question was: i created tabular form as shown in example.
    i want to validate username as you see in my example to restrict user to enter the same value in username field before submit page.
    e.g when user is entering data as u see test in username in first row, when he/she goes to second row and type the same username like test " message will appear or restrict user that already typed or in use"..
    http://apex.oracle.com/pls/apex/f?p=45296:1:22797340776918:::::
    this all be done on typing before submit record.>
    Stick the below code in the Page Header > Javascript > Execute when Page Loads field.
    $('[input[name="f03"]').blur(function(){
      if ($('input[name="f03"][id!="'+$(this).attr('id')+'"]').val() == $(this).val()) {
         alert('Duplicate Entry.');
         var x = $(this).attr('id');
         setTimeout("(function(p){$('#'+p).focus();})('"+x+"')",100);
    })Note :
    a.f03 is the "name" of your username column in the Tabular form.
    b. This validates only the displayed values . If your Tabular Form has multiple pages then all the rows not currently displayed will be ignored.
    Cheers,

  • Restrict User not to enter more than 4 character number in UITextField.

    Hi i want to restrict user not to enter number which is 4 character long and not to enter a number after 4 decimal points.
    can ne1 help me on this??

    funmania wrote:
    To show alert view, one must use IBAction, but i am dealing with many text field and 1 button, how can i show alert views for all UITextFields?
    create an IBAction called finishedEditingTextField:(id)sender. In that method, check the sender against the text fields. For example,
    - (IBAction)finishedEditingTextField:(id)sender {
    if (sender == textField1) {
    if (textField1.text = @"String 1") {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"String 1" message:@"You typed String 1 into the first text field" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
    [alert show];
    [alert release];
    if (textField1.text = @"String 2") {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"String 2" message:@"You typed String 2 into the first text field" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
    [alert show];
    [alert release];
    if (sender == textField2) {
    // Some more code
    Hook up this method to each text field's didEndEditing (or something similar), or the button's Touch Up Inside event.
    BTW, you don't need an IBAction to show an alert; you just need to alloc/init it, show it, then release it. You can do this "inline," in any part of your code.
    Check out my blog—Cups of Cocoa

  • How to restrict users working on Windows 7 clients from accessing Windows Explorer and other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2

    Dear All,
    We are having an infrastructure setup of around 500 client computers managed through group policy.
    Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
    Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
    It would be great if you can assist me with the following query.
    How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
    Can we disable Network Tab on the left hand pane ?
    explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.

    >   * explorer.exe is blocked already, but users are able to enter the
    >     Windows Explorer by clicking on the name which is visible on the
    >     Start Menu.
    You cannot block explorer.exe when you do not replace the shell - the
    desktop you see effectively IS explorer.exe...
    Your requirement sounds like you need a custom shell:
    http://gpsearch.azurewebsites.net/#2812
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • OAF PO Page Entry - User enter value in particular field  - Then want to check it should be unique othewise Message

    OAF PO Page Entry - User enter value in particular field  - Then want to check it should be unique othewise Message must be displayed so that user will select the non unique value in the entry filed. Please let me know will it be possible using personalization? Or I have to customize the controller extend it?

    Hahaha..
    Every tools have its own pros and cons.. There are much more things which you do in OAF (which is a web based solution) which you can't even imagine in Forms
    Cheers
    AJ

  • How to restrict user to change original file in word document.

    Hi experts,
    I am begineer in DMS. I am not able to understand how to restrict user to make any changes to a word document attached any DIR or any object link.
    Ex: I have a created a DIR attaching a word doc to equipment master.
    However, the user is still able to make changes to that word document usign CV03 tcode. I am sure most of you might have faced this problem. Please respond.
    We are using SAP 3.1i version. It is very old version.
    Thanks in advance,
    Kiran

    Kiran,
           The task that you have mentioned could be accomplished by setting up a status network for your document type. While setting up the status network, SAP has defined statuses which could potentially lock objects and fields corresponding to that status type.
    More information could be found at
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/9f/857f3a1c7b11d294d200a0c92f024a/frameset.htm
    I am not aware of 3.0i but you can navigate to customisation --> Cross Application Components --> Document Management --> Control Data --> Define Document Types --> Click on a doc type and go to
    define doc status.
    Here if you define a document with status type S the object is essentially locked for editing.
    Sojan

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How To Restrict Users To Only Create Purchase Requisitions with Item Catalog?

    Hi, everyone 
    Please help me, 
    How To Restrict Users To Only Create Purchase Requisitions with Item Catalog? is it possible? 
    Regards,   Manuel

    Hi Steenie Norman
    First click on the text item ---> Tools ---> Property Pallete ---->
    and change the Keyboard State to Local Only also this Depend in your OS
    hope this useful ....
    Regards
    Mohammed

  • How to restrict user access in Oracle Application Server 10g (9.0.4)?

    Can anybody please let me know how to restrict user access in 10g AS? To be specific, how to allow http requests from specific IPs only?

    Hi,
    You have to edit httpd.conf and modify acces rights for each protected directory
    e.g.
    <Directory /var/www/sub/payroll/>
    Order allow,deny
    Allow from 192.168.1.0/24
    </Directory>
    then you have to restart Oracle HTTP Server
    jm--

  • How to restrict user at selection screen while executing in background mode

    hi all,
    how to restrict user at selection screen while executing in background mode
    Regards
    Deepak

    Hi,
    We can get the Program whether this is running in background or not then we need to use SY-BATCH, if the SY-BATCH is set to X then the program is running in Background,
    so in the INITIALIZATION event, you can use this SY-BATCH and check the User names, and give the error messsage which you want to restrict
    Regards
    Sudheer

  • How to restrict user's inputs to F4 help Values?

    Hi Experts,
    I have created a custom infotype where i have a custom search help created for one of the fields, the problem is that even if i give values other than the values in the search help the infotype doesnt throw any error and gets saved.
    So can anybody explain how to restrict the field only to search help values.
    Thanks,
    Revanth.

    Hai.
    Check the example it may help you.
    See the following ex:
    TYPES: BEGIN OF TY_MBLNR,
    MBLNR LIKE MKPF-MBLNR,
    END OF TY_MBLNR.
    DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.
    data: it_ret like ddshretval occurs 0 with header line.
    At selection-screen on value-request for s_mat-low.
    Select MBLNR from mkpf into table it_mblnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'MBLNR'
    PVALKEY = ' '
    DYNPPROG = ' '
    DYNPNR = ' '
    DYNPROFIELD = ' '
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    VALUE_TAB = IT_MBLNR
    FIELD_TAB =
    RETURN_TAB = IT_RET
    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.
    IF SY-SUBRC = 0.
    read table it_ret index 1.
    move it_ret-fieldval to S_mat-low.
    ENDIF.
    Go through the test program.
    REPORT Ztest_HELP .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
    SELECT MATNR
    FROM MARA
    INTO TABLE ITAB
    UP TO 10 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'MATERIAL NUMBER'
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_MATNR'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3. 
    Regards.
    Sowjanya.b.

  • How to restrict users from printing documents and exporting to local file

    Hi SAP gurus,
    I have two questions.
    1. How can I restrict users from printing a document? i.e. billdoc? I would like to know if I could block it though authorization. If yes, what auth obj to use?
    2. How to restrict certain users from exporting to local file? the System> List>Save-->Local File. I have tried restricting it using auth object S_GUI but it seems it is only applicable to older versions of SAP. im on ecc6.
    Thank you in advance.

    Hi,
    Check this:
    Create your own gui status and attach it to the list in the event START-OF-SELECTION.
    In the menu painter extra -> adjust template.
    Make it a list status and you will see all the standard list options appear including list->download
    Deactivate the ones you don't want. 
    If you just want to prevent users from downloading the list you can achieve this with authorization object S_GUI, activity 61. Menu option will still be there though.
    Please note that if you remove authorisation for S_GUI activity 61 then all downloads will not be possible. 
    If you just want to disable downloads only for a particular report, you can try this test program:
    Code:
    REPORT ztest. 
      DATA: PROGNAME LIKE SY-CPROG value 'Z_CHECK_AUTH', 
            FORMNAME LIKE SY-XFORM value 'F_CHECK_AUTH'.
    START-OF-SELECTION. 
        CALL FUNCTION 'SET_DOWNLOAD_AUTHORITY' 
             EXPORTING 
                  FORM    = FORMNAME 
                  PROG    = PROGNAME 
             EXCEPTIONS 
                  OTHERS  = 1.
      WRITE: / 'TEST'.
    You also need this:
    Code:
    PROGRAM z_check_auth.
    FORM f_check_auth USING pe_result TYPE i. 
      pe_result = 5. 
    ENDFORM.
    Also have a look at the exit SGRPDL00.
    Hope this helps you.
    Rgds,
    Raghu

Maybe you are looking for

  • How to re-download Ps and Lr after hard drive is replaced

    I have license for CC on two computers.   Had it installed on my PC and Mac.   Hard drive for the Mac was replaced.  How do I re-download my products?

  • Burning disc error

    i have tried updating drivers and windows (xp sp2), reduced writing speed to 8x, udpated itunes, using cd-r and i STILL get an unknown disc error occurred-cannot be burned. here are diagnostics Microsoft Windows XP Home Edition Service Pack 2 (Build

  • Making a shape move in Flash 8..Help

    I am trying to make a ball move, it's all perfect apart from this: Statement must appear within on/onClipEvent handler = ( isJumping) = false;) Then I put in "on", then it says: Unexpected 'on' encountered. That's a bit of fail, any help? I will post

  • Strange behavior of Spry Accordion in IE

    Hi there, I am using DW CS3 and I inserted a spry Accordion in the html page. I added about 15 or so panels to the accordion. It works fine in Firefox but in IE 6 when I click on a panel that is some where in the middle or at the bottom of the page,

  • N Series - Intel Core 2 Duo T7300

    I can't seem to find the N Series with Intel Core 2 Duo T7300 in the Canada website. I can only find it in the US site. Did I miss a link in the Canada website? I may be purchasing one so it needs to be ship to Canada. Thanks! Marie