User Exits for Functional Location
When a functional location is created, the structured location number is checked against the edit screen of the structure indicator. You can perform customer-specific checks with the function module EXIT_SAPLILOS_001, based on this standard check.
You can even change the location number directly, in dependency with a call parameter.
EXIT_SAPLILOS_001: User Exit when Checking Structure of Location Numbers