Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Integrating PGP encryption in SAP

$
0
0

Hello Ronak,

 

 

I was able to encrypt the .txt file.

 

we have to do below steps to encrypt the file.

 

I.Basis team has to Install PGP s/w on UNIX server

 

2.Create OS  commnads encrypt/decrypt from SM59

 

3.Call encrypt command from  using the FM

 

concatenate 'filename'  '-r' 'publickey of ur vendor to whom u want to send the file'   into v_input separated by space.

 

*Encrypt File with TMO Public Key.

 

      call function 'SXPG_COMMAND_EXECUTE'

 

        exporting

 

          commandname           = 'ZUNIX_COMMAND_EN'    "SM69 Unix command"

 

          additional_parameters = v_input

 

          operatingsystem       = c_os

 

        importing

 

          status                = e_status

 

          exitcode              = e_exitcode

 

        tables

 

          exec_protocol         = t_result.

 

I hope this will help you. Let me know if you need more info.I will be more happy help you.

 

 

 

PGP File Encryption, Decreption using SM 69 in ABAP


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>