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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.