???? Key SAP Enhancements and User Exits for VA01 / VA02

1. User Exits via Enhancement SAPMV45A (Main program for VA01/VA02)

These are frequently used FORM-based exits:

 

User Exit Name Description

USEREXIT_MOVE_FIELD_TO_VBAK Move data to VBAK (Sales document header)

USEREXIT_MOVE_FIELD_TO_VBAP Move data to VBAP (Sales document item)

USEREXIT_MOVE_FIELD_TO_VBEP Move data to VBEP (Schedule lines)

USEREXIT_MOVE_FIELD_TO_VBKD Move data to VBKD (Business data)

USEREXIT_SAVE_DOCUMENT_PREPARE Logic before saving sales order

USEREXIT_SAVE_DOCUMENT Logic at saving time

USEREXIT_CHECK_VBAK Header-level validation

USEREXIT_CHECK_VBAP Item-level validation

USEREXIT_FIELD_MODIFICATION Dynamic screen field control

USEREXIT_NUMBER_RANGE Custom number range assignment

USEREXIT_READ_DOCUMENT Custom logic when reading a document

USEREXIT_WRITE_DOCUMENT Custom logic when writing document changes

You can implement these in Include MV45AFZZ.

 

2. Customer Exits (Project system - CMOD)

Enhancement Description

V45A0001 User exits for header fields display and check

V45A0002 User exits for item fields display and check

V45A0003 User exits for order copying functions

V45A0004 Check/modify header or item communication structures

V45A0005 Formula for alternative schedule line

V45A0006 User exits for availability check

V45A0007 Determination of alternative partners

V45A0008 Determination of item category

V45A0010 Incompletion log logic

V45A0011 Customer exit for pricing control

Use transaction SMOD to explore these enhancements, and CMOD to implement.

 

3. BADI (Business Add-Ins)

BADI Name Description

BADI_SD_SALES General Sales Document enhancement

BADI_SD_HEAD_SCR_CUS Header screen custom fields

BADI_SD_ITEM_SCR_CUS Item screen custom fields

BADI_SLS_HEAD~CHECK_BEFORE_SAVE Check logic before saving header

BADI_SLS_ITEM~CHECK_BEFORE_SAVE Check logic before saving item

Use transaction SE18/SE19 for implementing BAdIs.

 

???? Relevant Data Tables

Table Description

VBAK Sales Document: Header Data

VBAP Sales Document: Item Data

VBEP Sales Document: Schedule Line Data

VBKD Sales Document: Business Data

VBFA Document Flow

VBPA Partners

VBUK Sales Document: Header Status

VBUP Sales Document: Item Status

KOMK, KOMP Communication structures for pricing

SCHEDULE_LINES Related to delivery schedules

TVAK Sales Document Type Customizing

 

Software Factory 2