SAP Function RSTS_CHECK_NAME - Check TemSe Object Name for Validity

Parameter Reference Type Length Default Optional Text
NAME RSTSTYPE-NAME C 20 TemSe Object Name to Check

Exception Text
FB_NAME_INVALID Invalid Object Name

Task of function module RSTS_CHECK_NAME
TemSe objects can be up to 20 characters long and must adhere to thefollowing conventions:

  • The first character in the name must be a letter or an underscore

  • The other characters, up to the maximum of 20 characters, may be
  • digits, characters, or underscores.
    • If the name is less than 20 characters, empty spaces must be added to
    • complete the name.
      The function module checks whether the name adheres to the conventionand reports the exception FB_NAME_INVALID if the convention is notadhered to.

      Parameter

      NAME
      The TemSe object name to check

      Exceptions

      FB_INVALID_NAME
      If the naming convention is not adhered to