INSERTTOKEN
Insert a token in database table for a single value with Token Format and luhncheck.
Import Parameters
- VALUE - The value to be tokenized.
From the common parameters, refer to the source code below for exact parameters.
Export Parameters
- TOKEN - The token for plaintext value.
Source Code
FUNCTION INSERTTOKEN.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(NAEUSER) TYPE STRING
*" VALUE(NAEPASSWORD) TYPE STRING
*" VALUE(DBUSER) TYPE STRING
*" VALUE(DBPASSWORD) TYPE STRING
*" VALUE(VALUE) TYPE STRING
*" VALUE(TABLENAME) TYPE STRING
*" VALUE(FORMAT) TYPE INTEGER
*" VALUE(LUHNCHECK) TYPE BOOLEAN
*" VALUE(CUSTOMDATA) TYPE STRING OPTIONAL
*" EXPORTING
*" VALUE(TOKEN) TYPE STRING
*"----------------------------------------------------------------------
ENDFUNCTION.