Message type: E = Error
Message class:  XS - SAPconnect: All messages 
Message number: 005
Message text: For a generic address entry, '*' must be at the end (exception: Internet)
You entered an address &V1& generically with '*'. However, you did not
place the special character '*' last, but in &V2& position.
Saving/processing your entry was terminated.
All address types (except for Internet addresses) begin with the part
of the address on the highest hierarchy level (for example, country). A
generic entry means that you do not have to specify a low part,
for example, you can specify DE 6227* as a fax routing entry rather
than specifying each recipient individually.
Place '*' in the last position of the address or enter the addresses in
full without '*'.
(Note: For Internet addresses, you should place '*' in first position.)
Error message extract from SAP system. Copyright SAP SE.
The SAP error message XS005 indicates that there is an issue with the format of a generic address entry in the system. Specifically, it states that the wildcard character '*' must be placed at the end of the address string, with the exception of Internet addresses.
Cause: This error typically arises when you are trying to define a generic address (for example, in a configuration or a settings entry) and you have not followed the correct syntax. The wildcard '' is used to represent any characters that may follow, but it must be positioned at the end of the string. For example, an entry like `exampleis valid, while*example` is not.
Solution: To resolve this error, you should: Check the Address Entry: Review the address entry that triggered the error. Ensure that if you are using the wildcard '*', it is placed at the end of the string. Correct the Format: Modify the entry to conform to
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
XS004 For Internet addresses, '*' must be at the beginning
What causes this issue?  You entered an Internet address &V1& generically with '*'. However, you did not place the special character...
XS003 You cannot specify an address for a generic address type
What causes this issue?  You have specified both a generic address type (type set to '*') and an address &V1&. The system can neithe...
XS006 Recipient & in another SAP system
What causes this issue?  Recipient &V1& of type &V2& resides in another SAP system (that is, system &V3&, client &V4&)...
XS007 Address & invalid
What causes this issue?  The address specified is invalid or initial (address value &V1&, address type &V2&).System Response  The acti...
Click on this link to search all SAP messages.