<?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: HTTP_SCRAMBLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138836#M450254</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 can assign any random number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2007 14:02:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-13T14:02:42Z</dc:date>
    <item>
      <title>HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138829#M450247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HTTP_SCRAMBLE'
  EXPORTING
    SOURCE            = 'fpt_pwd'
    sourcelen         = len_pwd
    key               = 
* IMPORTING
*   DESTINATION       =&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;What does key stand for?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 13:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138829#M450247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138830#M450248</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;The key is used to 'scramble' the password by the c routine that you are calling in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The destination server does not need to know how to unscramble the password-technically the password goes across the wire unencrypted and in free text (bit of a security issue). The RFC server program provided by SAP which performs the actual issuing of the commands unscrambles the password. For example, the password is only 'scrambled' between the parent abap process and the hand-off to the RFC server program.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 13:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138830#M450248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T13:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138831#M450249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What should the value of key be ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 13:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138831#M450249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138832#M450250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Key is simply used to base the encryption on.  For example, if you pass the number 5 to the function module, you will always get the same encrypted destination, if you pass 10, it will be differnent,  15 also different.  It is just as a basis for the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 13:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138832#M450250</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-13T13:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138833#M450251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be anything.  It could be a random number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 13:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138833#M450251</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-13T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138834#M450252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;every where i see the key value as 26101957&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is related to the number of bytes occupied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this program &amp;lt;b&amp;gt;RSFTP004&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138834#M450252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T14:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138835#M450253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could even use this function module, ISU_RANDOM_INTEGER, to give you a random number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138835#M450253</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-13T14:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138836#M450254</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 can assign any random number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138836#M450254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138837#M450255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF itab OCCURS 0,
      line(132) TYPE c,
      END OF itab.

DATA: ftp_pwd(20) TYPE c,
      len_pwd TYPE i,
      pwd_key TYPE i value '5',
      ihdl TYPE i.

ftp_pwd = 'password'.

DESCRIBE FIELD ftp_pwd LENGTH len_pwd IN CHARACTER MODE.

CALL FUNCTION 'HTTP_SCRAMBLE'
  EXPORTING
    SOURCE            = 'fpt_pwd'
    sourcelen         = len_pwd
    key               = pwd_key
* IMPORTING
*   DESTINATION       =&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an exception error in "HTTP_SCRAMBLE"&lt;/P&gt;&lt;P&gt;The current program "SAPLSFTP" tried to access a part of a string using&lt;/P&gt;&lt;P&gt;an explicit offset specification.&lt;/P&gt;&lt;P&gt;However, the offset (7) was grater than the length of the string&lt;/P&gt;&lt;P&gt;(7).&lt;/P&gt;&lt;P&gt;This is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be wrong with my code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138837#M450255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138838#M450256</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF itab OCCURS 0,
        line(132) TYPE c,
      END OF itab.
 
DATA: ftp_pwd(20) TYPE c lower case,   "&amp;lt;--- change here
      len_pwd TYPE i,
      pwd_key TYPE i value '5',
      ihdl TYPE i.
 
ftp_pwd = 'password'.

*DESCRIBE FIELD ftp_pwd LENGTH len_pwd IN CHARACTER MODE.  "&amp;lt;--- remove here
 

SET EXTENDED CHECK OFF.              "&amp;lt;--- add here
len_pwd = STRLEN( ftp_pwd ).         "&amp;lt;--- add here 
 
CALL FUNCTION 'HTTP_SCRAMBLE'
  EXPORTING
    SOURCE       = fpt_pwd           "&amp;lt;--- change here
    sourcelen    = len_pwd
    key          = pwd_key
 IMPORTING                           "&amp;lt;--- change here 
  DESTINATION    = fpt_pwd.          "&amp;lt;--- change here

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138838#M450256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138839#M450257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should pass as a variable, not literal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HTTP_SCRAMBLE'
  EXPORTING
    SOURCE            =  fpt_pwd     "&amp;lt;- REmove the quotes&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich  HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138839#M450257</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-13T14:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138840#M450258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF itab OCCURS 0,
      line(132) TYPE c,
      END OF itab.
 
DATA: ftp_pwd(20) TYPE c,
      len_pwd TYPE i,
      pwd_key TYPE i value 26101957,
      ihdl TYPE i.
 
ftp_pwd = 'password'.
 
len_pwd = strlen( ftp_pwd ).
 
CALL FUNCTION 'HTTP_SCRAMBLE'
  EXPORTING
    SOURCE            = ftp_pwd
    sourcelen         = len_pwd
    key               = pwd_key
 IMPORTING
  DESTINATION       = ftp_pwd&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138840#M450258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T14:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_SCRAMBLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138841#M450259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks folks !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 14:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-scramble/m-p/2138841#M450259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T14:10:21Z</dc:date>
    </item>
  </channel>
</rss>

