You are on page 1of 1

Set up customer exits for external batch number assignment

As part of the external batch number assignment, the following two function module exits are
available in the SAP enhancement SAPLV1ZE for checking a new batch number that has been
entered.

 EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range
object BATCH_CLT and/or external interval 02 with a number range object and/or
external interval you have defined yourself.
You also have the option of suppressing the batch number check, for example, based on
the material or plant.

 EXIT_SAPLV01Z_004. Using this exit, you can define your own checking rule.

Further notes

In both exits, a communication structure with the application data for each business transaction
(for example, plant or material type) is available. To obtain more information such as the time,
user name, or the date, you must use one of the exits.

Example

In the function module exit EXIT_SAPLV01Z_003, an external number range XY is determined,


against which the batch numbers are checked.

In the function module exit EXIT_SAPLV01Z_004, the batch number entered is checked against
your own rules.

Activities

1. Create the enhancement.


Either create a new project or use an existing project.
2. Activate the project.
Your enhancement only works after the project has been activated.

Further notes

In contrast to modifications, enhancements are always release-insensitive because they are not
included in the SAP original, but in a namespace reserved for the customer.

The general procedure for creating enhancements is contained in the enhancement transaction in
the "Utilities - Online manual" menu.

Every enhancement is documented. To access this documentation, choose the "SAP docu"
pushbutton in the enhancement transaction.

You might also like