<?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: Encryption and decryption in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606350#M1277562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply... it is very useful.. could you please give code if you have..&lt;/P&gt;&lt;P&gt;or do you tell me where should write or call the encryption function modules..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2009 04:06:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-03T04:06:33Z</dc:date>
    <item>
      <title>Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606345#M1277557</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 want to encrypt the bank data in SAP system and transfer this encrypted file to legacy system ... in legacy sytem file should be decrypted. Please help me how to do the procedure for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;reddy,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 05:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606345#M1277557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T05:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606346#M1277558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to encryprt or decrypt the file using C programming or java.&lt;/P&gt;&lt;P&gt;first it will encrpt the file and then the decrypter will decrypt the file and save on the local machine or on the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the payment extracter work in this mechanism only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 05:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606346#M1277558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T05:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606347#M1277559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be you can do some Encryption in the source and use the same logic at the non SAP systewm also..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 06:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606347#M1277559</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-05-19T06:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606348#M1277560</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 encrypt using a third party encryption software&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Make a Z copy of the RSEOUT00 program (To be able to encrpyt file before writing to application server)&lt;/P&gt;&lt;P&gt;2) Ask the basis to create a command for calling the third party application&lt;/P&gt;&lt;P&gt;3) Use a file port in your partner profile&lt;/P&gt;&lt;P&gt;4) Call the command created in step 2 using function module SXPG_COMMAND_EXECUTE from your ZRSEOUTOO program&lt;/P&gt;&lt;P&gt;5) Take the output and write it the required application folder path as similar to the outbound process.&lt;/P&gt;&lt;P&gt;6) Check the application folder file and it should have the encrypted file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not having any encryption system, then we have to do it on our own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 10:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606348#M1277560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T10:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606349#M1277561</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;My earlier post was with an approach using IDocs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606349#M1277561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606350#M1277562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply... it is very useful.. could you please give code if you have..&lt;/P&gt;&lt;P&gt;or do you tell me where should write or call the encryption function modules..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 04:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606350#M1277562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T04:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606351#M1277563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your Z copy code of RSEOUT00, call a perform to do the encryption&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
START-OF-SELECTION.
* Selection of all important EDIDC-set
*   and collect in internal table
  PERFORM select_all_edidc.

Inside the routine, select the file name to be encrypted from the EDIDS table and call the SXPG_COMMAND_EXECUTE FM inside this perform
  PERFORM encrypt_file.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 11:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606351#M1277563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606352#M1277564</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;Sorry for breaking up the code in 2 posts. Had some problem in posting in earlier and now too. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form  ENCRYPT_FILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; DATA:  l_ipfile    TYPE sxpgcolist-parameters        
            l_status    TYPE extcmdexex-status
            l_excode    TYPE extcmdexex-exitcode
            l_host      TYPE rfcdisplay-rfchost
CONSTANTS:  c_aix        TYPE sxpgcolist-opsystem VALUE 'AIX'

* Select file name from EDIDS to be processed
DATA:        lt_btcxpm   TYPE TABLE OF btcxpm

  READ TABLE int_edidc INTO lw_edidc INDEX 1.
  IF sy-subrc IS INITIAL.
    SELECT stapa1 stapa2
       FROM edids
      UP TO 1 ROWS
       INTO (l_stapa1,l_stapa2)
      WHERE docnum = lw_edidc-docnum
       AND  status  = '03'.
    ENDSELECT.
    IF sy-subrc IS INITIAL.
      CONCATENATE l_stapa1 l_stapa2 INTO l_fname.
      SPLIT l_fname AT c_slash INTO l_str1  l_str2 l_str3  l_str4  l_str5 l_str6 .
      l_ipfile = l_str6.
      l_host = sy-host.

*   Execute the Unix command , it will sign and exctrypt the document
*   and place the file in Out folder of application server
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          commandname                   = c_commant 
"Command to call your encrytping system, created by BASIS
          additional_parameters         = l_ipfile
          operatingsystem                 = c_aix
          targetsystem                      = l_host
          stdout                                = c_x
          stderr                                 = c_x
          terminationwait                    = c_x
        IMPORTING
          status                                 = l_status
          exitcode                              = l_excode
        TABLES
          exec_protocol                       = lt_btcxpm
        EXCEPTIONS
          no_permission                      = 1
          command_not_found             = 2
          parameters_too_long            = 3
          security_risk                        = 4
          wrong_check_call_interface   = 5
          program_start_error              = 6
          program_termination_error     = 7
          x_error                                 = 8
          parameter_expected             = 9
          too_many_parameters           = 10
          illegal_command                    = 11
          wrong_asynchronous_parameters = 12
          cant_enq_tbtco_entry          = 13
          jobcount_generation_error     = 14
          OTHERS                        = 15.
      IF NOT sy-subrc IS INITIAL.
      ENDIF. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Yogesh Surender on Jun 3, 2009 2:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 12:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606352#M1277564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T12:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption and decryption</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606353#M1277565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 04:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encryption-and-decryption/m-p/5606353#M1277565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T04:05:23Z</dc:date>
    </item>
  </channel>
</rss>

