Skip to Content

PGP encryption and moving of a file from one system to another


Hi All,

Could you please provide me the necessary information in setting up the below jobs in Redwood CPS.

a) How can i do pgp encryption to a file in a SAP system?.  Could you please provide me the necessary steps.

b) How can i do pgp encryption to a file in a non SAP system?.  Could you please provide me the necessary steps.

b) Can i move a file from one SAP system  to another SAP system(example ECC to BI)?. If so, could you please provide me the necessary steps.

c) Can i move a file from a SAP system  to a Non- SAP system?.  If so, could you please provide me the necessary steps.

d) Can i move a file from a Non-SAP system  to another Non- SAP system?.  If so, could you please provide me the necessary steps.

e)How can i ftp a file  and move it to a different network?. Could you please provide me the necessary steps.

Thank you in advance.

Thanks and Regards,

Ramana

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 17, 2014 at 09:57 AM

    Hi Ramana,

    a) You have a file in an SAP system that you want to encrypt, I you have the full path to the file, you can create and use an appropriate external command to perform the encryption, unless you know of an ABAP program to do that. Once you know which option you have, you can either schedule SAP_AbapRun to run the ABAP to encrypt the file, or SAP_ExternalCommandRun if you have an external command defined for the process.

    b) On the target system, you install a platform agent (license required) and check which command you have for pgp encryption. On Unix, you would use gpg. Simply create a BASH job definition with a String parameter named File and fill the following source: gpg -e -u `whoami` -r user@company.com <${File} > $File"_encrypted"

    b2) Talk to your SAP Basis team, you could use SAP CTS/STMS for that,  you could integrate that into CPS

    c)I imaging the file is an output of an ABAP program ? Run the ABAP program from within CPS with SAP_AbapRun, then the file will be on the CPS server, you can then copy the file to the target host, again, platform agents required on CPS system. You can use FTP, sFTP, SCP, NFS, CIFS (Windows share) whatever your platform requires.

    d) Platform agents required on source system. Target system must have windows share/NFS/SSHD/FTP or whatever you could use for file transfers

    e)Please see the documentation on jftp.

    Regards,

    HP

    Add comment
    10|10000 characters needed characters exceeded