<?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: password encoding: string to hex and back in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229757#M1010169</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;No, they are not available on the SMF system &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 11:50:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-11T11:50:58Z</dc:date>
    <item>
      <title>password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229749#M1010161</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;I am writing an application that requires a username and password input via a WebDynpro UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to convert this data to a hexadecimal format during passing these value to the API function&lt;/P&gt;&lt;P&gt;that needs them. And  convert them back to string format just before calling the target API function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would at least prevent displaying the password in plain text in the debugger, which would be a dramatic security issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 10:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229749#M1010161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T10:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229750#M1010162</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;Try FM&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_ENCRYPT&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD_DECRYPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 10:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229750#M1010162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T10:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229751#M1010163</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;Thanks a lot. But this FM's do not exist on my System.&lt;/P&gt;&lt;P&gt;Are they a part of SAP Basis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229751#M1010163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229752#M1010164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sahla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is available in R/3, which version are you using. I don't know if they are available in &amp;lt; 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are function modules provided by SAP for encrypting and decrypting passwords.&lt;/P&gt;&lt;P&gt;Available under Function Group&lt;/P&gt;&lt;P&gt;FIEB_PASSWORD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check through se80, if this Function Group is available in your system ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229752#M1010164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229753#M1010165</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;I am developping in solution manager environment using ABAP Basis release 701.&lt;/P&gt;&lt;P&gt;The function group does not exist in se80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229753#M1010165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229754#M1010166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea about SOLMAN part..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:34:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229754#M1010166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229755#M1010167</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;Is there any dependencies on other R/3 specific functions?&lt;/P&gt;&lt;P&gt;Is it possible to post me the source code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229755#M1010167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229756#M1010168</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;Can you try find these FMs&lt;/P&gt;&lt;P&gt;UIPW_DECRYPT&lt;/P&gt;&lt;P&gt;UIPW_ENCRYPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are available under Function Group UIPW. I think these are specific for UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229756#M1010168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229757#M1010169</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;No, they are not available on the SMF system &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229757#M1010169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229758#M1010170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sahla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  please check the code below to see how to cast characters into hex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: len type i,
      off type i,
      hex1(20) type x.

data asci_str(100) type c.

field-symbols &amp;lt;fs&amp;gt; type any.

asci_str = 'abdgFÜu676!·(FPP'.

len = strlen( asci_str ).

while off lt len.
  assign asci_str+off(1) to &amp;lt;fs&amp;gt; casting type x.
  hex1+off(1) = &amp;lt;fs&amp;gt;.
  add 1 to off.
endwhile.

write: / hex1.
write: / asci_str.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229758#M1010170</guid>
      <dc:creator>karol_seman</dc:creator>
      <dc:date>2008-08-11T11:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229759#M1010171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sahla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if i can copy SAP Standard code and paste it. I can give my own logic for password encryption / decryption (you can do it in thousand ways).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229759#M1010171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229760#M1010172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The encoding works fine. What's about conversion back to character?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 12:13:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229760#M1010172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T12:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229761#M1010173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sahla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  to convert it back use casting type c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: len type i,
      off type i,
      hex1(20) type x,
      str(20) type c.

data asci_str(100) type c.

field-symbols &amp;lt;fs&amp;gt; type any.

asci_str = 'abdgFÜu676!·(FPP'.

len = strlen( asci_str ).

while off lt len.
  assign asci_str+off(1) to &amp;lt;fs&amp;gt; casting type x.
  hex1+off(1) = &amp;lt;fs&amp;gt;.
  add 1 to off.
endwhile.

off = 0.

while off lt len.
  assign hex1+off(1) to &amp;lt;fs&amp;gt; casting type c.
  str+off(1) = &amp;lt;fs&amp;gt;.
  add 1 to off.
endwhile.


write: / asci_str.
write: / hex1.
write: / str.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Karol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 12:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229761#M1010173</guid>
      <dc:creator>karol_seman</dc:creator>
      <dc:date>2008-08-11T12:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229762#M1010174</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;I get the message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The length of "hex1" in bytes must be a multiple of the size of a unicode character, regardless of the size of the Unicode character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get thepoint ofthis message!??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 12:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229762#M1010174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T12:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229763#M1010175</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;  i don't get this message. I guess it is just warning and program is working. Is it correct? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message says that length of variable hex1 must be bigger then str because hex value is represented in more bytes. Just change the declaration of hex1 length and try again. For example 40.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 12:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229763#M1010175</guid>
      <dc:creator>karol_seman</dc:creator>
      <dc:date>2008-08-11T12:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229764#M1010176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately the error remains. It is an error and not a warning.&lt;/P&gt;&lt;P&gt;I changes the size to 40, 60 , 100. the error always heppens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Sahla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 13:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229764#M1010176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: password encoding: string to hex and back</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229765#M1010177</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; that's very strange for me. Unfortunately it is very difficult for me to find a problem because I get no error message. Try this code where output string in without length:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: len type i,
      off type i,
      hex1(20) type x,
      str type string.

data asci_str(10) type c.

field-symbols &amp;lt;fs&amp;gt; type any.

asci_str = 'abdgFÜu676'.

len = strlen( asci_str ).

while off lt len.
  assign asci_str+off(1) to &amp;lt;fs&amp;gt; casting type x.
  hex1+off(1) = &amp;lt;fs&amp;gt;.
  add 1 to off.
endwhile.

off = 0.

while off lt len.
  assign hex1+off(1) to &amp;lt;fs&amp;gt; casting type c.
  concatenate str &amp;lt;fs&amp;gt; into str.
  add 1 to off.
endwhile.


write: / asci_str.
write: / hex1.
write: / str.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have still error please copy whole text of error message here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Karol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 13:33:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-encoding-string-to-hex-and-back/m-p/4229765#M1010177</guid>
      <dc:creator>karol_seman</dc:creator>
      <dc:date>2008-08-11T13:33:18Z</dc:date>
    </item>
  </channel>
</rss>

