Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reading a file

Former Member
0 Likes
608

Hi All,

Is there any way to read an Encripted file in ABAP . My file is encripted as PGP(http://www.cs.hmc.edu/qref/pgp.html#encrypting).

Thanks in advance.

Thomas.

Hi All,

Is there any way to read an Encripted file in ABAP . My file is encripted as PGP(http://www.cs.hmc.edu/qref/pgp.html#encrypting).

Thanks in advance.

Thomas.

3 REPLIES 3
Read only

Former Member
0 Likes
549

Hi Thomas,

Are you able to open the file in excel format? If so Just enable the Macros....

You can then read the file using normal GUI_UPLOAD function module.

Regards,

Vidya.

Read only

former_member192350
Active Participant
0 Likes
549

You'll need to decrypt it at the OS level first; normally the sending party will encrypt the data with the public key you've provided them, and you can then decrypt it with your private key. In the past I've written shell-script wrappers to execute the PGP commands to encrypt/decrypt interface data like this, and called those commands via function SXPG_COMMAND_EXECUTE from ABAP; for inbound interfaces you call the decrypt function then read the resulting file and for outbound interfaces you create the file then call the encryption function.

Rich

Read only

Former Member
0 Likes
549

hello all,

Thanks for u r patience and time for replying,

Any suggestions and comments about the book

http://www.amazon.com/Migrating-Your-Data-Michael-Willinger/dp/1592290280