Hierarchy

⤷

⤷

IMG Activity
ID | W_CS_BADI_004 | BAdI: Determination of Down-Selling Materials |
Transaction Code | S_PR0_40000347 | (empty) |
Created on | 20070108 | |
Customizing Attributes | W_CS_BADI | Enhancements Using Business Add-Ins |
Customizing Activity | W_CS_BADI_004 | BAdI: Determination of Down-Selling Materials |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_WSD_DOWN_SELL_MAT |
Use
You use this Business Add-In (BAdI) in the Material View component in the Sales Order application (VA01, VA02, VA03) to define the way the Material View determines down-selling materials for the provided material.
The BAdI is called when the Material View application is called.
Requirements
Standard settings
In the standard system, when no BAdI is implemented the Material View does not display any down-selling materials as there is no default code executed when no BAdI is implemented.
The BAdI is filter independent. Material View supports only one implementation of this BAdI.
This BAdI uses the interface IF_WSD_DOWN_SELL_MAT.
Activities
For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Example
method IF_WSD_DOWN_MAT~GET_DOWN_SELL_MAT.
" Table Z_DOWN_MAT doesn't exist in the standard system, just an example
data ls_down_sell_material like line of Z_DOWN_SELL_MAT.
clear ls_down_sell_material.
select * Z_DOWN_SELL_MAT into ls_down_sell_material where matnr = i_matnr.
" Add the material number of the down selling
" material to the return table
append ls_down_sell_material-down_matnr to RT_DOWN_MATNR.
endselect.
endmethod.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 1 | Mandatory activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20070329 |
SAP Release Created in | 700 |