SAP Message TO040 - The length of the pattern is &1, however it must be between 7 and 9

TO040 : The length of the pattern is &1, however it must be between 7 and 9