Application Development 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: 

How to encrypt files in SAP ?

Former Member
0 Kudos

Dear,

Today, we have a Banking process that exchange files between us and the

banks, this files cointains confidential informations of money transactions

made by our customers. We need to encrypt the .txt files before send it

thorough FTP server.

I know that SAP uses Secure Store and Forward(SSF) interface that makes use

of Public-key Cryptographic Standards(PKCS).

But SSF is available only for "System Security for SAP Web AS ABAP Only",

"System Security for SAP Web AS Java Only", SSL protocol and

HTTPS protocol.

The Bank that will receive our files uses a DELPHI program that suport the

following Algorithm RSA (Rivest, Shamir, Adleman), DSA

(Digital Signature Algorithm) or DH (Diffie-Hellman), Seince these are the

most common and public algorithm I'll prefer to use them, but I 'don't know

how to implement a abap code to make use of this encryption.

I'll appreciate any help or information about this subject you can give.

Alex

11 REPLIES 11

Former Member
0 Kudos

Have a look at <a href="http://help.sap.com/saphelp_47x200/helpdata/en/53/251a355d0c4d78e10000009b38f83b/frameset.htm">this.</a>

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/21/f36c0e389511d5992200508b6b8b11/content.htm">This</a>is the higher level url.

Message was edited by: Rob Burbank

0 Kudos

ok, i alredy read that documentation.

but, This one dont talk about how i can implementad encrypt in ABAP.

if anyone help me, thanks a lot.

0 Kudos

Look at FM FIEB_PASSWORD_ENCRYPT.

There are other threads in the forum about encryption. You can search for those.

Rob

0 Kudos

Rob,

There aren't threads about kind of encryption. This function dont makes what i want. Read the firts threads again, please.

thanks a lot,

Alex

0 Kudos

Alex,

Our organization does encryption on our HR data.

We actually went with a 3rd party company that provided us with the RSA server and a series of ABAP-based Func Mods.

When we read/write to the DB, we must call the FMs, which "awaken" the RSA server to encrypt/decrypt the data.

The data stored on the actual DB server is encrypted.

I would suggest looking at 3rd party companies to assist you. We had found quite a few with a simple Google search.

0 Kudos

I read them and know what they say. My suggestion was just to get you started. You can look at the code to see if what the FM is doing will help you.

Rob

0 Kudos

hi Rob,

ok, now i understand you. Thanks a lot.

Alex

0 Kudos

hi John,

ok, but i'm sorry, Before i do what you told, i don't understand this point.

Are Those functions provided by company went RFC FMs(non-SAP) or FM's in ABAP CODE?

Can you set the kind of encrypt in your FM?

thanks all!

Alex

0 Kudos

Are Those functions provided by company went RFC FMs(non-SAP) or FM's in ABAP CODE?

Can you set the kind of encrypt in your FM?

Our encryption is at a field level.

When a user changes the value of a field that we encrypt, we are "forced/bound" to the 3rd party's FMs (which are written in ABAP). This "binding" is done by using the Conversion Routine of the domain.

The conv routine calls out to the RSA server and uses the RSA key to construct/de-construct a value. That value is returned through the FMs.

I believe that we had to select RSA encryption at the start-up.

0 Kudos

If you're unsure about closing your post or assigning points please check the at the top of the forum list.

Rob

0 Kudos

Bod and John,

Thanks for your help!

I will try contact with SAP Service Channel, but this kind of encryption is the most

difficult to make up. The ABAP/4 not support the Algorithm RSA (Rivest, Shamir, Adleman) at

the moment. The numbers of algorithm are largest than data types(r3) support.

Alex!