Skip to Content
avatar image
Former Member

How to encrypt only one field (Credit Card field)

Hello PI guru

We are using SAP PI 7.4 (Single Stack). I have a requirement where in I am getting PGP encrypted CSV file which I have to decrypt

and then do the mapping and send it to the target.

Each record will have a credit card number field which should be encrypted before being sent to the target system (SAP)

Without using UDF, is there a good way of achieving this?


Some limitations are

1. The source can't encrypt it.

2. For many reasons (including java resource) we don't want to use UDF.


Any comment or feedback will be highly appreciated.


Thanks in advance
Ram

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Aug 19, 2015 at 07:33 PM

    >>>Without using UDF, is there a good way of achieving this?

    we don't have a standard function to apply the encryption at field level.

    AFAIK - You need a UDF/Java mapping/ AM to achieve this despite your limitations.

    Helpful resources-

    AM :

    Developing Adapter User-Module to Encrypt XML Elements in Process Integration 7.1

    JM:

    PGP encrypting part of an xml message

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 19, 2015 at 08:06 PM

    Hi Ram,

    Also, check this if it can be of some help to you

    PGP Encryption and Decryption process in PI

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 07, 2016 at 08:00 AM

    Hello Ram,

    Could you please let me know how did you manage to complete this design. How did you / decrypt only credit details field in the mapping.

    Any inputs shall be helpful.

    Regards,

    Hari

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 07, 2016 at 08:27 AM

    Hi Ram,

    You are using Single stack that is also java based only. So i think you cant ignore java 😉

    I dont think is there any other way except UDF or javamapping to encrypt one field.

    PFB thread for UDF.

    Regards,

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded