SAP Message RSDS_ACCESS006 - Error &1 while generating routine; line &2; &3&4

Diagnosis
When the file name routine was generated, the error message &V1&&V2& wasreturned. The error was detected in code line &V2&.
The type of the error was &V1&, see below:
template_not_found ,,= 1
template_syntax_error ,,= 2
program_syntax_error ,,= 3
internal_error ,,= 4
invalid_input ,,= 5
generation_error ,,= 6
OTHERS ,,= 7

System Response
The routine was not generated, and no data can be loaded.

Procedure

  • If the error type is program_syntax_error, correct the
  • implementation of the routine.
    • In other cases, contact your system administrator.