Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MM BAPI with MARA and Matnr Classification Data

Hello all,

     I need a way to take a value in the material's classification and push it to a value in the material master.  This should be called for create and updates.  I first implemented BADI_MATERIAL_CHECK method CHECK_DATA.  That works correctly for everything on the GUI from MM01, to MM02 to mass maintenance.  This works because I look in the stack and get the classification data from (SAPLCLFM)ALLAUSP[] and then push it to the CMARA parameter in the BADI.  The problem is that when you call the BAPI_MATERIAL_SAVEDATA from outside of SAP via and RFC the values that are in

(SAPLCLFM)ALLAUSP[] aren't there.

So any ideas?  I looked at CACL_VALUE_CHANGE and the MODIFY_INPUT method but I can change only the classification data there. 

If anyone has any suggestions along these lines it would be most helpful.

Thanks.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question