As Jurgen has mentioned, material substitution is a part of SD and has to achieved prior to the goods movement BAPI.
Have a look at FMs for the material substitution logic:
RV_MAT_SUB_SAVE
RV_KONDITION_SICHERN
RV_KONDITION_SICHERN_V13A
As Jurgen has mentioned, material substitution is a part of SD and has to achieved prior to the goods movement BAPI.
Have a look at FMs for the material substitution logic:
RV_MAT_SUB_SAVE
RV_KONDITION_SICHERN
RV_KONDITION_SICHERN_V13A