<?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: Function FIEB_PASSWORD_ENCRYPT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439139#M1412020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ausutosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are getting dump because you are not passing the correct data type and also not passing correct export and import parameter. the export parameter should have V_ENCRYPT instead of V_NEW_PASS. &lt;/P&gt;&lt;P&gt;First of all please declear your variable like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : V_ENCRYPT       TYPE FIEB_DECRYPTED_PASSWD VALUE 'SAP123', &lt;/P&gt;&lt;P&gt;           V_NEW_PASS   TYPE FIEB_ENCRYPTED_PASSWD.&lt;/P&gt;&lt;P&gt;here you can also pass v_new_pass as 32 char. &lt;/P&gt;&lt;P&gt;then call function module : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_DECRYPTED_PASSWORD = V_ENCRYPT&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_ENCRYPTED_PASSWORD = V_NEW_PASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work for you. you can go to se37 also to see the direct result. Please modified your code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2009 07:05:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-25T07:05:02Z</dc:date>
    <item>
      <title>Function FIEB_PASSWORD_ENCRYPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439137#M1412018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement wherein I have a fixed value such as SAP321 as the password. Now I have to encrypt that and store that in the table. For this purpose I am using the function module in the following manner.&lt;/P&gt;&lt;P&gt;DATA V_ENCRYPT TYPE FIEB_ENCRYPTED_PASSWD VALUE 'SAP123'.&lt;/P&gt;&lt;P&gt;data V_NEW_PASS type c.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          IM_DECRYPTED_PASSWORD = v_NEW_PASS&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          EX_ENCRYPTED_PASSWORD = V_ENCRYPT.&lt;/P&gt;&lt;P&gt;and storing v_NEW_PASS into the table. But I am getting the dump saying &lt;/P&gt;&lt;P&gt;The field "V_NEW_PASS" specified here is a different&lt;/P&gt;&lt;P&gt;field type.&lt;/P&gt;&lt;P&gt;Please suggest the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 06:41:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439137#M1412018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T06:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function FIEB_PASSWORD_ENCRYPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439138#M1412019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sourabh Batwara on Nov 25, 2009 12:36 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sourabh Batwara on Nov 25, 2009 12:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 06:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439138#M1412019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T06:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function FIEB_PASSWORD_ENCRYPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439139#M1412020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ausutosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are getting dump because you are not passing the correct data type and also not passing correct export and import parameter. the export parameter should have V_ENCRYPT instead of V_NEW_PASS. &lt;/P&gt;&lt;P&gt;First of all please declear your variable like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : V_ENCRYPT       TYPE FIEB_DECRYPTED_PASSWD VALUE 'SAP123', &lt;/P&gt;&lt;P&gt;           V_NEW_PASS   TYPE FIEB_ENCRYPTED_PASSWD.&lt;/P&gt;&lt;P&gt;here you can also pass v_new_pass as 32 char. &lt;/P&gt;&lt;P&gt;then call function module : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_DECRYPTED_PASSWORD = V_ENCRYPT&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_ENCRYPTED_PASSWORD = V_NEW_PASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work for you. you can go to se37 also to see the direct result. Please modified your code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 07:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-fieb-password-encrypt/m-p/6439139#M1412020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T07:05:02Z</dc:date>
    </item>
  </channel>
</rss>

