Skip to Content
0
Former Member
Jan 22, 2009 at 04:06 PM

how to encrypt/decrypt 4 character field in ABAP?

188 Views

Hello SDN Community,

I have done extensive searches before posting this. Have even explored fuction modules FIEB_PASSWD_ENCRYPT/DECRYPT. Even looked at SSF Developers Guide - chapter 4. The FIEB function modules were dead-end. SSF looks like it concerns securing of documents or files. Talks about certificates.

I also looked at the SSF_BASE64_ENCRYPT/DECRYPT function modules on my system, which is ECC 6.0. Wasn't sure if they could be used on a stand-alone basis, plus I couldn't find any documentation about them.

I only want to encrypt, and then decrypt, the values in a 4 character field.

eg- DATA: MYFIELD(4) TYPE C.

Is there an ABAP function module, or coding example, that would demonstrate this?

Or possibly I overlooked something in the information that I have already found?

Thank you,

Dean Atteberry.