<?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 How to validate password? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545374#M852974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends by giving emplogin and password i want to validate password.&lt;/P&gt;&lt;P&gt;Please can you help with this...requirement...&lt;/P&gt;&lt;P&gt;i have a table with client name and password as field ..&lt;/P&gt;&lt;P&gt;and my code is this but its not working ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data declarations for local variables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA : L_CODE TYPE ZUFPL7.&lt;/P&gt;&lt;P&gt;      DATA : L_SUPNAM TYPE ZUFPL7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data declarations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: EMPLOGIN TYPE ZFIR_PASS-EMPLOGIN,&lt;/P&gt;&lt;P&gt;       PASSWORD TYPE ZFIR_PASS-PASSWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1111 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'LOGIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE EMPLOGIN&lt;/P&gt;&lt;P&gt;          FROM ZFIR_PASS&lt;/P&gt;&lt;P&gt;          INTO L_CODE&lt;/P&gt;&lt;P&gt;          WHERE EMPLOGIN IN ZFIR_PASS-EMPLOGIN.&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 I000.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT SINGLE PASSWORD&lt;/P&gt;&lt;P&gt;   FROM ZFIR_PASS INTO L_SUPNAM&lt;/P&gt;&lt;P&gt;   WHERE  PASSWORD IN ZFIR_PASS-PASSWORD.&lt;/P&gt;&lt;P&gt;   IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;     MESSAGE I000.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 1000. " if emplogin &amp;amp; password matches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_1111  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2008 08:18:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-28T08:18:18Z</dc:date>
    <item>
      <title>How to validate password?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545374#M852974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends by giving emplogin and password i want to validate password.&lt;/P&gt;&lt;P&gt;Please can you help with this...requirement...&lt;/P&gt;&lt;P&gt;i have a table with client name and password as field ..&lt;/P&gt;&lt;P&gt;and my code is this but its not working ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data declarations for local variables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA : L_CODE TYPE ZUFPL7.&lt;/P&gt;&lt;P&gt;      DATA : L_SUPNAM TYPE ZUFPL7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data declarations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: EMPLOGIN TYPE ZFIR_PASS-EMPLOGIN,&lt;/P&gt;&lt;P&gt;       PASSWORD TYPE ZFIR_PASS-PASSWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1111 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'LOGIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE EMPLOGIN&lt;/P&gt;&lt;P&gt;          FROM ZFIR_PASS&lt;/P&gt;&lt;P&gt;          INTO L_CODE&lt;/P&gt;&lt;P&gt;          WHERE EMPLOGIN IN ZFIR_PASS-EMPLOGIN.&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 I000.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT SINGLE PASSWORD&lt;/P&gt;&lt;P&gt;   FROM ZFIR_PASS INTO L_SUPNAM&lt;/P&gt;&lt;P&gt;   WHERE  PASSWORD IN ZFIR_PASS-PASSWORD.&lt;/P&gt;&lt;P&gt;   IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;     MESSAGE I000.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 1000. " if emplogin &amp;amp; password matches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_1111  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 08:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545374#M852974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T08:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate password?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545375#M852975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to pass both login id and password to where clause. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : L_CODE TYPE ZUFPL7.&lt;/P&gt;&lt;P&gt;DATA : L_SUPNAM TYPE ZUFPL7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*data declarations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_EMPLOGIN TYPE ZFIR_PASS-EMPLOGIN,&lt;/P&gt;&lt;P&gt;                  p_PASSWORD TYPE ZFIR_PASS-PASSWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1111 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'LOGIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE EMPLOGIN&lt;/P&gt;&lt;P&gt;FROM ZFIR_PASS&lt;/P&gt;&lt;P&gt;INTO L_CODE&lt;/P&gt;&lt;P&gt;WHERE EMPLOGIN = p_emplogin and&lt;/P&gt;&lt;P&gt;              password   = p_password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC 0.&lt;/P&gt;&lt;P&gt;MESSAGE I000.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 1000. " if emplogin &amp;amp; password matches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_1111 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 08:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545375#M852975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T08:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate password?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545376#M852976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By seeing the above code i came to unstand ur new to ABAp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write select query as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select count(*) from &amp;lt;tab&amp;gt; where emplogin = &amp;lt;field&amp;gt; and password = &amp;lt;password&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 100 or some thing else......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 15:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545376#M852976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate password?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545377#M852977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    use function: SUSR_LOGIN_CHECK_RFC to check the logon id and password of employees into a custom application&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;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 16:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-password/m-p/3545377#M852977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T16:06:26Z</dc:date>
    </item>
  </channel>
</rss>

