If you need to execute MRP in SAP AFS for a single material for a plant you can use the BAPI “J_3AM_DISPOSITION”. This is the BAPI which is called by the standard SAP MRP transaction /AFS/MD02.
J_3AM_DISPOSITION
You need to set the importing parameters as below.
Parameter “I_BANER” (Creation Indicator for Purchase Requisitions) can accept below values. Set the value as per the requirement.
Parameter “I_J3ADZDI” should be set as below.
How the parameters correspond to the transaction /n/AFS/MD02 is shown below.
SIGN UP TODAY!
Sign up to receive our monthly newsletter and special deals!
TECH GADGETS I USE EVERY DAY
These are some of the tech gadgets I use every day. If you make a purchase through these links I will earn a small comission at absolutely no extra cost to you.