Вы находитесь на странице: 1из 4

Batch Management - User

Exits & Badis


Purpose
This wiki page describes the Userexits and BAdIs available in Batch Management.

Overview
The batch Management functionality is integrated with several different business areas. Therefore, there are BAdIs and
Userexits available in different programs.

Important Notes

To access the BAdIs you can use transaction SE18. Then, copy and paste the BAdI name.

To access the userexits you can use transaction SE37. Then, copy and paste the userexit name.

Function Modules VB_CREATE_BATCH and VB_CHANGE_BATCH are the responsible for create and change
batches internally.

Standard batch characteristics are those which begins with letters LOBM_.

Batch Master

BAdI BATCH_MASTER
It is called in MSC1N and MSC2N to validate users input.

EXIT_SAPLV01Z_013
It is called in Function Modules VB_CREATE_BATCH and VB_CHANGE_BATCH to set/change master data. It is also called
in transaction MIGO.

EXIT_SAPMM07M_003
It is called in MM coding (MB1A, MB1B, MB1C, etc) but only for new batches.

Batch Classification

EXIT_SAPLV01Z_012

It is called in Function Modules VB_CREATE_BATCH and VB_CHANGE_BATCH to determine whether classification and
exits should be executed. In other words, its possible make the system ignore the classification routines. Just set the
parameters TYPE_OF_CLASSIFYING and EXTENDED_CLASSIFYING accordingly.

EXIT_SAPLV01Z_014
Its called in VB_CREATE_BATCH and VB_CHANGE_BATCH to set/change free characteristics. Free characteristics are
those that do not begin with LOBM_.

EXIT_SAPMM07M_004
It is used to fill the classification data in MM transactions.

Batch Numbering Internal

EXIT_SAPLV01Z_001
Replacement of the number range, decision for internal or external numbering.

EXIT_SAPLV01Z_002
Assignment of customer-specific batch number. Also used to assign an existing batch (allow_existing_batch) via
VB_CREATE_BATCH.

EXIT_SAPMM07M_010
Called in MM coding to assign existing batches.

Batch numbering External

EXIT_SAPLV01Z_003
Replacement of the number range, decision customer-specific check.

EXIT_SAPLV01Z_004
Check of batch number based on customer rules.

Batch Status Management

EXIT_SAPLV01D_001
Determination of the initial status of a batch.

SLED Management

BAdI VB_SLED_MANAGEMENT
Its used to set VFDAT/HSDAT and switch off SLED management.

EXIT_SAPLVBMD_001
It has similar functionality as BAdI VB_SLED_MANAGEMENT

Batch Information Cockpit

BIC_ADDITIONAL_DATA
Add additional columns to selection result master and selection result stock.

BIC_FOLLOW_UP_ACTION
Allows defining actions for batches in the selection result (for example, change of batch status).

BIC_SELECTION
Definition of custom selection screen and selection logic.

Batch Where-Used List

BAdI VB_BWUL_EXPLOSION
Allows fine-tuning the selection for each object (batch, PO, production order).

BAdI VB_GET_POS_PLANT
Pre-determines plant for the selection screen of BWUL.

BAdI VB_GET_EXT_BATCHES
Allows reading external batches for a subcontracting process.

EXIT_SAPLCHVW_001
Allows filling additional columns into Batch Where-Used List.

Derivation

BAdI DERIVATION

1.

Allows to activate/deactivate derivation during goods movement;

2.

Allows to set parameter current senders only;

3.

Changes BWUL explosion and BWUL result;

4.

Changes values of derived fields/characteristics.

Batch Determination

BAdI VB_BD_SELECTION
Can be used instead of the standard selection to select batches from stock. Its important to point out that the standard batch
selection wont work after the BAdI activation.

BAdI VB_BD_SELECTION_CRITERIA
It is used to change the selection criteria (it will generate a new CUOBJ).

EXIT_SAPLV01F_001
It is used to change the selection criteria (will generate a new CUOBJ)

EXIT_SAPLV01F_002
Allows changing the communication structures BDCOM, KOMKH, KOMPH. These structures are used in function module
VB_BATCH_DETERMINATION. For more information you can access document

Вам также может понравиться