Message type: E = Error
Message class:  HRPAYDE_KGID - Message Class for ID No. Control Procedure Child Allowance 
Message number: 022
Message text: Invalid file name &1
File name &V1& does not meet the requirements of the ID No. Control
Procedure Child Allowance. See <DS:DE.HRPAYDE_KGID_FILENAME>data element
HRPAYDE_KGID_FILENAME</> for information about how to form the file
name.
The file is not processed.
Check the file name and, if necessary, correct it.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message HRPAYDE_KGID022 Invalid file name &1 typically occurs in the context of payroll processing in the SAP HR module, particularly when dealing with file generation for payroll data in Germany. This error indicates that the file name specified for the payroll output is not valid according to the system's naming conventions or requirements.
Cause: Invalid Characters: The file name may contain invalid characters that are not allowed in file names (e.g., special characters, spaces). Length Restrictions: The file name may exceed the maximum length allowed by the system. Incorrect Configuration: The configuration settings for payroll output may not be set up correctly, leading to an invalid file name being generated. Missing Parameters: Required parameters for generating the file name may be missing or incorrectly configured in the payroll processing settings.
Solution: Check File Name Format: Ensure that the file name adheres to the naming conventions required by SAP. This includes checking for invalid characters
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYDE_KGID021 The file structure of file &1 is invalid.
What causes this issue?  File &V1& has an invalid structure.System Response  The processing of the file is terminated.How to fix this error?  ...
HRPAYDE_KGID020 The family equalization fund key contains errors.
What causes this issue?  The family equalization fund key is made up of the abbreviation "FK" followed by nine digits.How to fix this error?...
HRPAYDE_KGID023 Element ELMAHeader of file &1 is inconsistent.
What causes this issue?  The content of XML element <LS>ELMAHeader</> of file &V1& is not consistent with the file name or the gui...
HRPAYDE_KGID024 No files were found.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.