Ansicht
Dokumentation

EXIT_SAPLILOS_001 - User exit when checking structure of location numbers

EXIT_SAPLILOS_001 - User exit when checking structure of location numbers

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

When creating a functional location, the structured location number is checked against the edit mask of the structure indicator. You are able to perform customer-specific checks on the basis of this standard check using the existing user exit.

You are even able to change the location number directly, using the call parameter CORRECT_BLOCK_DIGITS.

Example

It is often the case for customers that only very few characters are possible in particular positions in the structure nummer, or that a certain character string in one part of the structure number is not compatible with particular character strings in another part of the structure number.

Internal number assignment is delivered as sample coding for the last part of each location number. For example:

Edit mask: NNN-ANNN-XXXXX

Hierarchy levels: 1 2 3

Existing locations: 123-P101
123-P102
123-P201

Entry: 123-P1<

Generated number: 123-P103

Function:

  • The special character "<" is not normally allowed.
  • After the standard coding has been activated, "<" is interpreted as the required start of internal number assignment to the end of the current block. The end of the current block results from the definition of the hierarchy levels.
  • The system selects the locations that already exist (123-P1...) from the database in order to determine the next free number.
  • The SAP locking mechanism is also used to check whether the number found in this way is already being used by someone else working in parallel, or whether it is being used by you yourself. In cases such as these, the next number is reassigned.

Notes

  • In the R/3 System, the exception KEY_NOT_ALLOWED results in the standard message IL848.
  • After the exception KEY_NOT_ALLOWED_EXT, the customer-specific message that you defined in the user exit with MESSAGE ... RAISING KEY_NOT_ALLOWED_EXT, is displayed in the R/3 System. In this case, the message defined by you must contain a number as the first variable (&1), which the R/3 System uses to position the cursor in the input field of the structure number. For example, if you enter the number 1, the cursor is positioned left-aligned. You can use the standard message IL847 as a reference.

Further information





Parameters

BLOCK_DIGIT_CORRECTED
CORRECTED_KEY
CORRECT_BLOCK_DIGITS
EDITMASK
HIERARCHY_LEVELS
LABELING_SYSTEM
NO_SEPERATOR_CORRECTION
OBJECT_TABLE
STRUCTURED_KEY
STRUCTURE_INDICATOR

Exceptions

KEY_NOT_ALLOWED
KEY_NOT_ALLOWED_EXT

Function Group

XLOM

CPI1466 during Backup   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3224 Date: 20240523 Time: 072119     sap01-206 ( 37 ms )