Hierarchy

⤷

⤷

IMG Activity
ID | SD_ATP_SDV03V02 | BAdI: Enhancement of Rescheduling Functions |
Transaction Code | S_EBJ_98000345 | (empty) |
Created on | 20131009 | |
Customizing Attributes | SD_ATP_SDV03V02 | BAdI: Enhancement of Rescheduling Functions |
Customizing Activity | SD_ATP_SDV03V02 | BAdI: Enhancement of Rescheduling Functions |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | SD_ATP_SDV03V02 |
Use
The Business Add-In (BAdI) Enhancement of Rescheduling Functions (SD_ATP_SDV03V02
) is used in the Availability Check component (SD-BF-AC). This BAdI belongs to the enhancement spot Rescheduling Functions (ES_SD_ATP_RESCHEDULING
). You can use this BAdI to modify rescheduling (program SDV03V02
, transaction V_V2
). The BAdI is called in the subroutine XTAB_SORT
after the system has determined the list of sales document items and stock transfer document items that are to be processed by rescheduling. (The system selects and sorts items based on your settings in the rescheduling selection screen.)
Using the method Change Item List (XTAB_CHANGE
), you can do the following:
- Change the sorting (priorities) of the items
- Remove items from the item list
Note that to ensure consistency, items that have been removed by the method still take part in the rescheduling run. Immediately after the method has been executed (before rescheduling is called), the system performs consistency checks and processes the removed items as follows:
- Sales order items
For excluded sales order items, the system sets the Fixed date and qty indicator. Rescheduling is not allowed to change the confirmations of the item.
- Stock transfer order items
Excluded stock transfer order items are moved to the end of the list, which causes them to have lower priority. If sufficient quantities are available, rescheduling can still confirm these items.
Note that the system does not allow you to change values (such as the plant or material of an item). If you change values in the method, the system resets them to the previous values after the method is executed.
Requirements
Standard settings
For more information about the standard settings (filters, single or multiple uses), see the Enh.Spot Element Definitions tab in the BAdI Builder (transaction SE18
).
Activities
Example
You can find example implementations in the BAdI Builder on the Enh.Spot Element Definitions tab in the BAdI Builder (transaction SE 18) in the Implementation Example Classes section.
The example implementation Filtering and Sorting Sales Documents (SD_IM_ATP_SDV03V02_EXAMPLE
) is relevant if you have added the Sales Document field (data element VBELN_VA
, field ZBELN
) to the rescheduling selection screen. (For more information about how to add fields to the selection screen, see the See also section.)
The example implementation processes the sales document items that match the selection criteria as follows:
- Sales document items that match the inclusive selection values are moved to the top of the item list, which causes them to have the highest priority in the rescheduling run.
- Sales document items that match the exclusive selection values are removed from the item list. After the execution of the example implementation, the system sets the Fixed date and qty indicator for these items. Rescheduling is not allowed to change the confirmations of the item.
See also
For information about implementing BAdIs in the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Select a release and choose Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.
Enhancing the Selection Screen
The enhancement spot Rescheduling Screens (ES_SD_ATP_SDV03V02_CUST_SEL
) allows you to enhance the rescheduling selection screen. You can add fields to the existing group boxes (Data, Options, Sort order) or append fields at the bottom of the screen (outside of the group boxes).
Note
Both the enhancement spot Rescheduling Screens (ES_SD_ATP_SDV03V02_CUST_SEL
) and the enhancement spot Rescheduling Functions (ES_SD_ATP_RESCHEDULING
), to which the BAdI Enhancement of Rescheduling Functions (SD_ATP_SDV03V02
) is assigned, belong to the composite enhancement spot Rescheduling (ESC_SD_ATP_RESCHEDULING
).
For the implementation, you use the enhancement options of the Rescheduling Screens enhancement spot, which are located in the rescheduling program (SDV03V02
). The enhancement options are listed in the following table:
Enhancement Enhancement Option
Add fields to the Data group box SDV03V02_SELECTION_SCREEN_01
Add fields to the Options group box SDV03V02_SELECTION_SCREEN_02
Add fields to the Sort order group box SDV03V02_SELECTION_SCREEN_03
Add fields after the Sort order group box (outside of the group boxes) SDV03V02_SELECTION_SCREEN_04
Initialize the new selection fields (for example, define field labels) SDV03V02_INITIALIZATION
(event INIZIALISATION
)
Process existing and new selection fields (for example, set default values) SDV03V02_SSO
(event AT SELECTION-SCREEN OUTPUT
)
For more information, search for Enhancement Options in the documentation of SAP NetWeaver at http://help.sap.com.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | SD_ATP_SDV03V02 | 0 | HLA0006562 | Availability Check |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20131009 |
SAP Release Created in |