How to define password field

How do I define a password field in a module pool screen painter,where it should display only asterisk on value entry?

Hi Anitha,
do like this.
for password field follow below procedure...
parameters: P_pass(10).
at selection-screen output.
loop at screen.
if screen-name = 'P_PASS'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
kindly reward if useful.
cheers,
Hema.

Similar Messages

  • How to define hidden field

    Hi,
    I have to use submitForm by http, I have some hidden fields and some input fileds. I am facing problem how to define hidden fields with aFields?
    Thanks

    I kow it but this is all about Javascript, how to to display off lnam text field?
    Here is code:
    var dialog1 = {
            initialize: function (dialog) {
                // Create a static text containing the current date.
                var todayDate = dialog.store()["date"];
                todayDate = "Date: " + util.printd("mmmm dd, yyyy", new Date());
                dialog.load({ "date": todayDate });
            commit:function (dialog) { // called when OK pressed
                var results = dialog.store();
                // Now do something with the data collected, for example,
                console.println("Your name is " + results["fnam"]
                    + " " + results["lnam"] );
            description:
                name: "Personal Data",    // Dialog box title
                align_children: "align_left",
                width: 350,
                height: 200,
                elements:
                        type: "cluster",
                        name: "Your Name",
                        align_children: "align_left",
                        elements:
                                type: "view",
                                align_children: "align_row",
                                elements:
                                        type: "static_text",
                                        name: "First Name: "
                                        item_id: "fnam",
                                        type: "edit_text",
                                        alignment: "align_fill",
                                        width: 300,
                                        height: 20
                                type: "view",
                                align_children: "align_row",
                                elements:
                                        type: "static_text",
                                        name: "Last Name: "
                                        item_id: "lnam",
                                        type: "edit_text",
                                        alignment: "align_fill",
                                        width: 300,
                                        height: 20
                                type: "static_text",
                                name: "Date: ",
                                char_width: 25,
                                item_id: "date"
                        alignment: "align_right",
                        type: "ok_cancel",
                        ok_name: "Ok",
                        cancel_name: "Cancel"
        app.execDialog(dialog1);

  • How to disable Password field in Oracle User administration

    Hi ,
    How can I personalize the password field on the user - define form not updatable ? I have tried forms personalization on this field but it didnt work. Can anyone have an idea whether this field can be personalized at all
    Thank you in advance !

    See if this works out for you. I tested and it is ok
    Trigger Event - WHEN-NEW-ITEM-INSTANCE
    Trigger Object - USER.USER_PASSWORD
    Processing Mode - Both
    Action Type - Property
    Object Type - Item
    Target Object - USER.USER_PASSWORD
    Property Name - ENABLED (APPLICATIONS COVER)
    Value - FALSE
    Save and close/open both forms. In Enter or Query modes, when ever user navigate to Password field, it is disabled and not editable.
    Hope this works as you expected. Just play around :-)

  • How to use password fields

    Hi All,
    I have to a create login page with fields user name and password .could you please explain me how to implement the entered password field as invisible in the text fields (that is passward field) where the user is going to enter the password.
    Thanks
    Kumar

    Hi,
    ---There is one property called secret.
    ---set secret :*TRUE*
    Regards
    Meher Irk

  • How to create password field in screen painter

    hi all,
        i am designing login screen. in that i hv to create one input-output field as a password field. i.e when i enter the characters it will display in <b>*(star) format.</b>
         also is there any way to do the same using <b>parameters</b> statement in report? give me the Way or coding.
    thanks in advance,
    regards,
    Vinod.

    HI GOPI
       I TRY TO ENCRYPT FORMULA IN PASSWORD PROTECT.BUT ITS NOT WORK .ITS SUCCESSFUL COMPILE & WHEN I PUT PASSWORD ITS SHOWING WHAT I GIVEN THERE. SO I THINK IN MY CODING PART THERE IS SOME ERROR.CAN U HELP ME PLEASE.
    I BRIEFLY DESCRIBE.........
    HERE FOR LOGIN PURPOSE I USE MODULE POOL PROGRAM & THERE I CREATE TWO FIELD ONE FOR (USER_NAME & PASSWORD).THERE SHOWING TWO ERROR (1ERROR ONE) EVEN IF YOU GIVE WRONG USER & PASSWORD THEN LOGIN SUCCESSFUL AND (2 SECOND ONE) IF YOU GIVE PASSWORD IN PASSWORD FIELD THAT   LOOK LIKE (****) MEANS ENCRYPT.
    I ALSO SEND MY CODING CAN YOU CHECK PLEASE.
    REPORT  ZLOGIN_PRO MESSAGE-ID ZBABUN.
    TABLES: ZTABLE_LOGIN.
    data: itab like table of ztable_login with header line,
                  OK TYPE SY-UCOMM.
                     CALL SCREEN 100.
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK.
    WHEN 'LOGIN'.
        SELECT * FROM ZTABLE_LOGIN INTO TABLE ITAB.
            SELECT * FROM ZTABLE_LOGIN INTO TABLE ITAB WHERE PASSWORD = ZTABLE_LOGIN-PASSWORD.
      SELECT USER_NAME FROM ZTABLE_LOGIN INTO ITAB-USER_NAME.
       SELECT PASSWORD FROM ZTABLE_LOGIN INTO ITAB-PASSWORD.
    LOOP AT ZTABLE_LOGIN.
      if itab-user_name ca itab-password.
           message i006.
    ELSEIF SCREEN-GROUP1 = 'ZTABLE_LOGIN-PASSWORD'.
    SCREEN-INVISIBLE = '1'.
    MODIFY ZTABLE_LOGIN.
    CONTINUE.
           call transaction 'SBWP'.
         else.
         message e020.
         CLEAR  : ZTABLE_LOGIN-USER_NAME,ZTABLE_LOGIN-PASSWORD.
       endif.
    END LOOP.
    WHEN 'LOGOUT'.
    MESSAGE I007.
    LEAVE PROGRAM.
    WHEN 'CREATE'.
      CALL TRANSACTION 'ZLOGIN_NEW_USER'.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  IN
    note: FIELD NAME OF USER_NAME = ZTABLE_LOGIN-USER_NAME
                                        PASSWORD = ZTABLE_LOGIN-PASSWORD
    PLEASE REPLAY ME.
    .I AM WAIT FOR UR RESULT.
    THANKS
    LAXMIKANTA.

  • How to define maximum field width on an updatable report

    I have an updatable report.
    From a user's perspective, this is a form in my app. How can I define the maximum number of characters the user can enter into a field?
    I tried entering the following into the report column's element attributes, but none of these worked:
    width=10px
    width:10px
    max-width=10px
    max-width:10px
    I don't know why the Tabular Form Element section allows to define Element Width and Number of Rows, but not the maximum width.
    Thanks
    Boris

    Hi Boris,
    If your updateable report is created by using a wizard than its not.
    You could use the apex_item.text api which allows for setting the max field width.
    Jos

  • How to encrypt password field in JHS_USERS table?

    Hi,
    We have developed an application using Jdeveloper 10.1.3 and Jheadstart 10.1.3.2.52 version. we are using custom login module using oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule class.
    We need to encrypt the password in the table JHS_USERS.
    Please let us know the best way of doing it.
    Thanks in advance.
    Thanks & Regards,
    Rama Krishna. P

    Thanks Brent, for pointing my to dbms_crypto package, which seems to be the successor of dbms_obfuscation_toolkit that I was looking at.
    I just jumped in in the middle of this thread, my specific requirements might differ from the topic starter's requirements.
    Unencrypted storage of passwords in the JHS_USERS table is judged as very unsecure by the security officers that are auditing our application. Anybody with access to the table (DBAs, support engineers, developers, etc.) can read the passwords. As users tend to reuse passwords or password patterns across applications, this is a serious security issue that goes beyond the scope of just our application. So the requirements are: It should not be possible to retrieve a unencrypted password by means of a select statement on JHS_USERS table.
    The solution we are heading for is:
    - A stored function that generates an MD5-encrypted string for the password, based on the unencrypted password and username. (Using MD5-facilities of dbms_crypto or dbms_obfuscation_toolkit package.)
    - Database triggers on JHS_USERS that converts unencrypted password when a user is created or password is changed. (Using the before mentioned stored function.)
    - MD5 is a one-directioal encryption mechanism. So the stored passwords cannot be decrypted. This is exactly what we are looking for in terms of security. But I think it forces us to customize the authenticateUser method. That method compares the password entered in the logon page with the password retrieved from JHS_USERS. So just before that comparison, we have to convert the entered username/password combination to a MD5-string too. (Preferable by using the before mentioned stored function again, to be 100% sure that the same algoritm is applied.)
    This solution seems to be quit simple and straight forward. However, before starting the implementation I am very curious for experiences (and drawbacks) with similar constructs.
    Regards, Eric

  • How to use   password field

    hi
      i want to use edit box like  ******  type.

    Hi
    If you are using 8.8 PL 20 or above you can set  Edit text property "IsPassword" to true .Otherwise you have create your own activex control.
    Regards
    Vivek

  • How to Handle Blank Field Value based Condition in SmartForms

    Dear Sir,
    In SMARTFORM , we need to define a Condition that incase Field Value is not equal to  BLANK value (blank means that field is empty) then a specific text gets printed .
    Our problem is that  We do not know as how to define  Empty Field Value  based condition .
    Had it been Non Empty Field value based condition then solution was simple and could be done in following way :
    Field Value                        R                     Comparision Value
    WA_KZDKZ                      =                      'X'
    In our case , we need to give Blank (Empty Value) instead of 'X' .
    Kindly help us pl .
    Rgds
    B Mittal

    Hi,
    To handle blank field values in SMARTFORMS,
    Go to the conditions tab in your SMARTFORM and give condition there
    Field                Comparision operator          value
    <Field name>      <> Here symbol is diff     space.
    eg:
    wa_mara-matnr    =/                                   space.
    Regards,
    Santosh Kumar M.

  • How to encrypt the text in password field in Oracle Forms version 6i

    Need help!
    How to encrypt the text in password field in Oracle Forms version 6i?
    one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be encrypted?
    Thanks!

    Hello,
    Do you mean "hidden" (replaced with stars) or encrypted (that needs to be decrypted ?
    Francois

  • How to make  a Password Field in a Dynpro?

    Hi Folks,
    as the subject says i need to make a password field in my dynpro. i know how to do it with parameters but thats not what i need. i made a dynpro with a field in which Users can type a Password and i need it to be shown like this "********".
    how can i do this?
    thanks in advance.

    heh... its really annoying that i just can't find such easy things with google and have to post it in the forums -.-
    anyway. thanks a lot.

  • How to define ABC class field in the Customer Master Sales tab

    HI All,
    can any one let me know how to define the new  ABC class in the Customer Master Sales tab like below.
    u2013 A (> 6,000,000 )
    u2013 B (> 1,000,000u20136,000,000 )
    u2013 C (> 100,000u20132,000,000 )
    u2013 D (< 100,000 )
    can any one let me know how to define and path in IMG.
    Thanks in advance.
    kumar reddy.

    In my opinion, you don't have any such std table/view to update ABC Classification field. You might need to update relevant infostructure based on your requirement, such as sales, invoiced, etc..
    Try with following, based on your requirement:
    MC(A
    SIS: Customer,Inc.Orders - Selection
    MC+A
    SIS: Customer Returns, Selection
    MC+E
    SIS: Customer, Sales - Selection
    MC+I
    SIS: Customer Credit Memos - Selec.
    Regards
    JP

  • Very Urgent: how to define field symbols in class using se24 Points assured

    hi all
    I am new to abap oo programming. I am using se24 to build a class
    where some methods have code which involves working with field sybmols but i am not able to figure out way for how to define field symbols in the attributes section.
    I tried defining like : fld_sym type ref to  dbtab-fld
    but in the method implementation if i try to use it like assign fld to <fld_sym> there it says fld_sym is not defined as a field symbol.
    So can anyone please guide me how to define field symbols in se24.
    Also what should be the general steps while creating a class using se24.
    Points assured
    thanks

    Hi
    Global classes are like Global fun modules in which the Methods and code is already written and is mainly used for Reusability purpose.
    Goto SE24 tcode and see the std global classes like
    CL_ABAP_CHAR_UTILITIES
    see the links
    chk out the links below:
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Have a look at these links for OO ABAP.
    http://www.sapgenie.com/abap/OO/
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    SDN Series:
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Basic concepts of OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    http://www.henrikfrank.dk/abapuk.html
    http://www.erpgenie.com/abap/OO/
    Reward oints if useful,
    Aleem.

  • How to print * in Password Field

    Dear ALL,
                   Can anybody tell me to how to print * For Password field.What is that type?
    Regards,
    Mayank

    Hi Mayank,
    Refer the code below. This code is checking the Password against a custome database table.
    Hope this helps you.
    REPORT  YLAX_TEST7                              .
    tables :ZS_ETTIFN_REP.
    data : i_ettifn like zs_ettifn occurs 0 with header line,
           ws_lines(10) type n.
    PARAMETERS: p_pass TYPE xuncode.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'P_PASS'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    START-OF-SELECTION.
    select * from ZS_ETTIFN_REP into table i_ettifn .
    describe table i_ettifn lines ws_lines.
      WRITE: / p_pass,ws_lines.
    <b>Reward points if this helps.
    Manish</b>
    Edited by: Manish Kumar on Feb 11, 2008 12:15 AM

  • How to define an itab including a field-symbols

    *Please see below code, I define a field-symbols structure <wa>:
    FIELD-SYMBOLS: <wa>   TYPE ANY.
    data: wa type ref to data.
    create data wa type (p_table).
    assign wa-> to <wa>.
    My question is after <wa> get assigned, if I want to define a new internal table or structure which should include <wa>, like below:
    data: begin of itab occurs 0.
    include structure <wa>.
    data: status type c.
    data: end of itab.
    But it doesn't work. How can I do that?
    Thank you very much!

    Hi Yu,
    Just check with this example, u will get a good idea.
    PROGRAM ZMAIN.
      DATA: BEGIN OF STR,
              A VALUE 'a',
              B VALUE 'b',
              C VALUE 'c',
              D VALUE 'd',
            END   OF STR,
            CN(5) VALUE 'D'.
      FIELD-SYMBOLS <FS> TYPE ANY.
      DO 3 TIMES.
        ASSIGN COMPONENT SY-INDEX OF
               STRUCTURE STR TO <FS>.
        IF SY-SUBRC <> 0. EXIT. ENDIF.
        WRITE <FS>.
      ENDDO.
      ASSIGN COMPONENT CN OF STRUCTURE STR TO <FS>.
      WRITE <FS>.
    2.
    TYPES: BEGIN OF comp,
             f1 TYPE string,
             f2 TYPE i,
           END OF comp.
    DATA:  BEGIN OF stru,
             k1 TYPE comp,
             k2 TYPE comp,
             k3 TYPE comp,
             k4 TYPE comp,
           END OF stru.
    FIELD-SYMBOLS: TYPE comp.
    ASSIGN stru-k1 TO RANGE stru.
    DO 4 TIMES.
      ASSIGN INCREMENT 1 TO .
    ENDDO.
    PROGRAM P1MAIN.
      TABLES TRDIR.
      DATA NAME(30) VALUE 'TFDIR-PNAME'.
      FIELD-SYMBOLS <F> TYPE ANY.
      MOVE 'XYZ_PROG' TO TRDIR-NAME.
      PERFORM U IN PROGRAM P1SUB.
      ASSIGN (NAME) TO <F>.
      WRITE <F>.
      CALL FUNCTION 'EXAMPLE'.
    PROGRAM P1SUB.
      TABLES TFDIR.
      FORM U.
        FIELD-SYMBOLS <F> TYPE ANY.
        DATA NAME(30) VALUE 'TRDIR-NAME'.
        ASSIGN TABLE FIELD (NAME) TO <F>.
        WRITE <F>.
        MOVE 'FCT_PROG' TO TFDIR-PNAME.
      ENDFORM.
    FUNCTION-POOL FUN1.
      FUNCTION EXAMPLE.
        DATA NAME(30) VALUE 'TRDIR-NAME'.
        FIELD-SYMBOLS <F> TYPE ANY.
        ASSIGN (NAME) TO <F>.
        IF SY-SUBRC = 0.
          WRITE <F>.
        ELSE.
          WRITE / 'TRDIR-NAME cannot be reached'.
        ENDIF.
      ENDFUNCTION.
    PROGRAM P1MAIN.
      TABLES TRDIR.
      MOVE 'XYZ_PROG' TO TRDIR-NAME.
      CALL FUNCTION 'EXAMPLE'.
    FUNCTION-POOL FUN1.
      FUNCTION EXAMPLE.
        DATA NAME(30) VALUE 'TRDIR-NAME'.
        FIELD-SYMBOLS <FS> TYPE ANY.
        ASSIGN LOCAL COPY OF MAIN
          TABLE FIELD (NAME) TO <FS>.
        IF SY-SUBRC = 0.
          WRITE <FS>.
        ELSE.
          WRITE / 'Cannot find TRDIR-NAME'.
        ENDIF.
      ENDFUNCTION.
    Regards,
    Kumar

Maybe you are looking for

  • How do I make a photo album for an iPad?

    See the question above. I also have Lightroom. Could I make a book with L.R.?

  • My mac computer got slow.

    Hi there, friends have a problem with my mac, it happened when you download the "MacTubes" install, I set down my video, but either surprise that this does not begin downloading until there all goes well, and I started to find out why the video did n

  • With out changing/opening the fmb file and fmx file Can i know the version

    Hi all, I am working with forms in different versions. I have number of fmx files with few are complied in 5i, few are in 6i and few are complied in 10g. All are in the same directory. The problem is because of all are reside in the same directory, i

  • Boost the speed of my Mac or be used for the RAM?

    HI is there any way that i can use my 8GB memory stick to boost the speed of my Mac or be used for the RAM?

  • Change PO

    Hi All, I am working on a MM-SUS scenario. setup: ECC6.0 & SRM5.0. I am able to successfully create a PO for SUS vendor & process the PO in SUS. Likewise, I am able to change the PO in R/3 & see the changed PO in SUS for the first time. But, when I c