Show TOC

 Keygen Service for the ASCII Adapter

In the absence of Keygen service

If Keygen service is not available for some reason (example R/3 key(s) not specified in BDoc type) the keys (primary and foreign) and the task (system field) should/can be set by.

  1. The user through exits.

  2. Mapping keys in Structure Mapper, which will then set the task to insert. The temporary table should then contain the keys. The function module "SYSTEM_UUID_C_CREATE" can be used to generate the keys.

When/how to skip Keygen:

Ideally, if Keygen service is generated successfully (R/3 keys defined) the task of filling keys and the task should be handed over to it. However, if for some reason (R/3 keys values are not unique at runtime) it is desired to fill the keys and task outside the keygen, the keygen service should be skipped as it will try to alter the task based on the R/3 key field value. To bypass keygen, set the value of the variable DFLT_KGN_NOT_REQD to ‘X’ in pre-exit of keygen.