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: 

To load the Credit card numbers in PGP format to HR master data

Former Member
0 Kudos

HI

How to load the encrypted PGP file which contains credit card numbers into sap. we are dealing only with Travel mgmt.

requirement : Read Encrypted file in PGP format..Decrypt it and load ...finally when we view it shoud show only last 8 digits..

I have a rek which to load credit card numbers from file to HR employee data..but the data is coming in PGP encrypted format...

after loading the data only last 8 digits should display..

Please let me know what is the procedure to load ..does SAP has any standard functionality?

Thanks

1 ACCEPTED SOLUTION

mvoros
Active Contributor
0 Kudos

Hi,

I really doubt that there is a standard support for PGP in ABAP from SAP. Maybe some third party product. So I would suggest to decrypt your file using external OS command (SM49).

Honestly, your task is really hard and you should be really careful about way of implementing it. There are some OSS notes such as 633462 related to encrypting payment card details. I would suggest to do research about this as well. The best solution would be to use standard functionality offered by SAP.

Cheers

3 REPLIES 3

mvoros
Active Contributor
0 Kudos

Hi,

I really doubt that there is a standard support for PGP in ABAP from SAP. Maybe some third party product. So I would suggest to decrypt your file using external OS command (SM49).

Honestly, your task is really hard and you should be really careful about way of implementing it. There are some OSS notes such as 633462 related to encrypting payment card details. I would suggest to do research about this as well. The best solution would be to use standard functionality offered by SAP.

Cheers

Former Member
0 Kudos

Hi martin

Thanks a lot for your reply..it really helps...but i have some questions

I have gone thru the notes 633462 and 766703 ..and they have useful info about encrypting and decrypting the CC data in SAP in detailed steps...

Can you please elaborate little bit how can i do this...What should i do in SM49? How to decrypt the file using SM49?

Lets say if i get the credit card numbers in the encrypted form then how can decrypt in SM49?

or

Can i use the Encrypted data directly from the external file in PGP format and load into SAP? Coz decrypt step is not really necessary for loading for us...all we need is to load the cc numbers into SAP in HR profile (PA30)...

Please let me know

Govi

mvoros
Active Contributor
0 Kudos

Hi,

I don't have too much experience in encrypting payments card details. That's why I mentioned OSS ntoe as a good starting point. What I meant by using SM49 is that you have a file which is encrypted by PGP. You need to decrypt it and import it to SAP. SAP will encrypt it again but with different key. SAP does not have any libraries to handle PGP format (as far as I know). Therefore I would suggest to use PGP for decrypting. So you would call PGP utility which will read an input file and decrypt it. After decrypting you can import it into SAP. Don't forget to delete decrypted file.

Cheers