INSERTCUSTGENVALIDATOR
Insert a token in token vault for a single value with custom data. Depending upon the "ITOKEN" value, if it is ITokenGenerator
implementation, the generation logic of token will be decided by it. If it is ITokenValidator
implementation, the generated token is validated against it.
Import Parameters
ITOKEN - Allows users to create custom tokenization functions (
ITokenGenerator
andITokenValidator
as explained in CREATEGENVALTOKENFORMAT) that define the way data is tokenized.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 the corresponding value.
Source Code
FUNCTION INSERTCUSTGENVALIDATOR.
*"----------------------------------------------------------------------
*"*"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 OPTIONAL
*" VALUE(LUHNCHECK) TYPE BOOLEAN OPTIONAL
*" VALUE(ITOKEN) TYPE STRING
*" VALUE(CUSTOMDATA) TYPE STRING
*" EXPORTING
*" VALUE(TOKEN) TYPE STRING
*"----------------------------------------------------------------------
ENDFUNCTION.