- PURPOSE: Check of international location number (ILN)
- DESCRIPTION: This function module is a wrapper of ‘BUSINESS_NUMBER_CHECK’ and checks the international location number (ILN) for each country (controlled by the international license plate number).
The BUSINESS_NUMBER_CHECK function module checks the international location number (ILN) for each country (controlled by the international license plate number). The ILN consists of 3 parts: positions 1 to 7 (this part is described as the base number in the case of an ILN of type 2), positions 8 to 12, and the check digit.
If the check has negative results i.e. the number is invalid, then the NOT_VALID exception is triggered. A corresponding message is issued at the same time. If the number is valid then nothing happens.
In the case of South Africa, the system carries out the check according to a special algorithm which differs from the one for all other countries. A check does not take place for Belgium, Italy, Spain and the Netherlands.
Following is the interface for the function module
- Import Parameters
- BUSINESS_NUMBER: International location number (part 1)
- CHECK_NUMBER: Check digit for international location number
- COUNTRY: Country Key
- SUPPLEMENT_NUMBER: International location number (Part 2)
- Export Parameters
- MESSAGE: Displays error message if any.
- Exceptions
- NOT_VALID: This exception occurs if entered Business number is invalid.
- NOT_AUTHORIZED_MSG_GETDETAIL: This exception occurs if the user is unauthorized to run BAPI_MESSAGE_GETDETAIL FM.
- NOT_AUTH_BUIS_NUMBER_CHEK: This exception occurs if the user is unauthorized to run /WINSHTLQ/BUSINESS_NUMBER_CHEK FM.
- NO_RELEASE_FOUND: This exception occurs if no SAP BASIS release is found in the SAP system.
Example:
Enter Input as below:
If the entered details are invalid, below error message is displayed.