Skip to Content


Hi Friends,

i saw the following code in a site. It is to encrypt and decrypt a password field. Can someone suggest where such a scenario arises tht uses these FMs. Also is there a way to display the text being typed masked as * ?

REPORT zpass .

DATA enpwd(32) TYPE c.

PARAMETER pwd LIKE enpwd .

                • Encrypting *******************



                im_decrypted_password = pwd


                ex_encrypted_password = enpwd.

                              • Decrypting *******************

                              CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'


                              im_encrypted_password = enpwd


                              ex_decrypted_password = pwd.

                                              • Output **********************

                                              WRITE:/ 'Encrypt data ', enpwd,

                                              / 'Decrypt data ', pwd.



                                              Add a comment
                                              10|10000 characters needed characters exceeded

                                              Assigned Tags

                                              Related questions

                                              1 Answer

                                              • author's profile photo Former Member
                                                Former Member
                                                Posted on Feb 10, 2005 at 10:12 AM

                                                mark the field as invisible = 'X' in display attributes of text field in Screen Painter.


                                                Subramanian V.

                                                Add a comment
                                                10|10000 characters needed characters exceeded

                                              Before answering

                                              You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
                                              You must be Logged in to submit an answer.

                                              Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.