SAP Message SMOG507 - Regeneration of not existing object &1 &2 not possible

Diagnosis
The object &V1 &V2 does not exist in the register table.Therfore the system tried to regenerate the object. During theregeneration the function module SMOG_GNFUN_GENKEY_GET was calledrecursivly. This is not allowed.