Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI

Former Member
0 Likes
332

need to explore the usage of this BADI.

MD_CHANGE_MRP_DATA

Can somebudy provide input on it's usage and so on

1 REPLY 1
Read only

Former Member
0 Likes
275

see its documentation in SE18

60000001
Application components:  PP-MRP-PR, PP-MRP-PE, PP-REM-PLN
Function group: M61X
You can use the Business Add-In (BAdI) MD_CHANGE_MRP_DATA to change the MRP data that is read during the following processes.
Planning run of 50000001, 50000002, and 50000003
Creation of the 50000004
50000005
Using the available BAdI methods, you can implement a user-defined logic when importing the MRP element from the database.
In the processes mentioned above, the internal table MDPSX is built up from the MRP elements read from the database. In the standard logic for MRP, it is defined whether an MRP element is taken into account in the MRP and in which form (for example quantity, date).
You can use this Business Add-In to
Take into account MRP elements in certain cases, although they are never taken in to account according to the standard logic.
Not take into account MRP elements, which are considered according to the standard logic.
Change characteristics such as MRP relevance, dates, quantities and so on, of imported MRP elements
You can define in your implementation whether you want to take action in the display only or also in planning.
You should however note the far-reaching consequences that, for example, subsequent net requirements calculation can have in planning and interpretation of the planning results. There is no consistency check after running the methods. SAP takes no responsibility for any data inconsistencies which result or for errors in subsequent processes.
60000002
60000003
The Business Add-In is not active in the standard.
The Business Add-In cannot be used multiple times.
6000000420000001
20000002
60000005
Sample code is defined for the following cases:
Third party requisitions are to be taken into account (Method CONSIDER_THIRDPARTY).
Customer consignment orders are to be taken into account (Method CONSIDER_CUSTCONSIGNMENT).
Returns for sales order are to be taken into account (Method CONSIDER_OTHER_SD_TYPES).
Dependant requirements of a consumption-based material are to be taken into account (Method CONSIDER_RESB).
Stock transfer purchase requisitions are not to be availability relevant (Method CHANGE_MDPSX_MDUA).
60000006
Methods for changing or not taking into account a row, which has already been constructed for table MDPSX (table of imported MRP elements).
50000006
50000007
50000008
50000009
50000010
50000011
50000012
50000013
50000014
50000015
50000016
50000017
50000018
50000019
50000020
50000021
50000022
50000023
50000024
50000025
50000026
50000027

Methods for taking into account MRP elements, which would not be transferred into table MDPSX after the import:
50000028
50000029
50000030
50000031

20000003