<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reg: Function module for pop up password in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160022#M1369960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;POPUP_GET_USER_PASSWORD for dsiplaying userid and password&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2009 08:37:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-09T08:37:04Z</dc:date>
    <item>
      <title>Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160021#M1369959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement like, i need to maintain the user id and password in a separate Ztable, each user need to enter the user id and password to run a report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to call pop up for password function module, then once they entered the password, i will check the user id and password in Ztable, then i will display corresponding data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement : Need to know the pop-up function module with user id and password parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Vijay.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160021#M1369959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160022#M1369960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;POPUP_GET_USER_PASSWORD for dsiplaying userid and password&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160022#M1369960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160023#M1369961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vijay &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please search in se37 . i found by searching only.&lt;/P&gt;&lt;P&gt;POPUP&lt;STRONG&gt;PASSWORD&lt;/STRONG&gt; --- press F4&lt;/P&gt;&lt;P&gt;you get &lt;/P&gt;&lt;P&gt;POPUP_GET_USER_PASSWORD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160023#M1369961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160024#M1369962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks kumar and sowmya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i tried this function module previosly, but when i executed, it is throwing dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the tables section, i dont know how to give the entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ma not able to execute this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vijay.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160024#M1369962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160025#M1369963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the way this FM will only validate user name password which is in system.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : gt type UDDICLS_REGISTRIES. " this is a table type
CALL FUNCTION 'POPUP_GET_USER_PASSWORD'
* IMPORTING
*   USER                 = sy-
*   PASSWORD             =
  TABLES
    registry_tab         = gt
 EXCEPTIONS
   CANCEL_PRESSED       = 1
   OTHERS               = 2
          .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually you do not need this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create your own screen.&lt;/P&gt;&lt;P&gt;for the password field, in the PBO or at selection-screen output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at screen,
 if screen-name = 'P_PWD'.
   screen-invisible = '1'.
endif.
modify screen.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after getting this you can write a select statement to fetch the matching record. and validate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Oct 9, 2009 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160025#M1369963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160026#M1369964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijayendra, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delcare table of type UDDICLS_REGISTRY_ATTR and pass to the FM which inturn will give  u the user id and password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160026#M1369964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160027#M1369965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the sampel code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : user type string,&lt;/P&gt;&lt;P&gt;       password type string,&lt;/P&gt;&lt;P&gt;       i_registry type UDDICLS_REGISTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_GET_USER_PASSWORD'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   USER                 = user&lt;/P&gt;&lt;P&gt;   PASSWORD             = password&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    registry_tab         = i_registry&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CANCEL_PRESSED       = 1&lt;/P&gt;&lt;P&gt;   OTHERS               = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160027#M1369965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T08:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160028#M1369966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we have the Authorisation concept why do you need a ZProgram to do this stuff.Based on the User profile you can give the authorisation to the T Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 09:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160028#M1369966</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2009-10-09T09:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160029#M1369967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Soumya, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;by the way this FM will only validate user name password which is in system&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again read the OP's post. He doesnot want to use this FM to validate the usename. He just wants to get the POP-UP for USER &amp;amp; PWD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this code &amp;amp; it works for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: V_DATE TYPE DATUM.

DATA: V_USER TYPE STRING,
V_PWD TYPE STRING.

SELECT-OPTIONS: DATE FOR V_DATE.

AT SELECTION-SCREEN OUTPUT.

DATA: ITAB TYPE UDDICLS_REGISTRIES.

CALL FUNCTION 'POPUP_GET_USER_PASSWORD'
  IMPORTING
    USER           = V_USER
    PASSWORD       = V_PWD
  TABLES
    REGISTRY_TAB   = ITAB
  EXCEPTIONS
    CANCEL_PRESSED = 1
    OTHERS         = 2.

IF SY-SUBRC = 0.
  IF V_USER NE 'SSAHA' AND V_PWD NE '12345'. "Do your Validations here
    MESSAGE 'No Auth. to Run report' TYPE 'A'.
  ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 09:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160029#M1369967</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-10-09T09:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Function module for pop up password</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160030#M1369968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created a screen and i selected option as invisible for the text field in the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is appearing like a password field and i can able to enter the password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 09:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-pop-up-password/m-p/6160030#M1369968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T09:33:27Z</dc:date>
    </item>
  </channel>
</rss>

