Skip to Content
author's profile photo Former Member
Former Member

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


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?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 31, 2010 at 10:55 PM


    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.


    Add a comment
    10|10000 characters needed characters exceeded

    • 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.


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.