MASKWITHFORMAT
Create a token of specified format without inserting it in the database.
Import Parameters
- STARTTOKEN - If the format is
SEQUENTIAL_TOKEN
, this is the first token in the sequence.
From the common parameters, refer to the source code below for exact parameters.
Table Parameters
VALUE - An array of values (Input parameter).
TOKEN - An array of tokens corresponding to value array (Output parameter).
Source Code
FUNCTION MASKWITHFORMAT.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(NAEUSER) TYPE STRING
*" VALUE(NAEPASSWORD) TYPE STRING
*" VALUE(DBUSER) TYPE STRING
*" VALUE(DBPASSWORD) TYPE STRING
*" VALUE(FORMAT) TYPE INTEGER
*" VALUE(STARTTOKEN) TYPE STRING
*" VALUE(LUHNCHECK) TYPE INTEGER
*" TABLES
*" VALUE STRUCTURE ZSTR STRUCTURE
*" TOKEN STRUCTURE ZSTR STRUCTURE
*"----------------------------------------------------------------------
ENDFUNCTION.