Skip to Content

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

MDG-M Material Description Checks

I am trying to write a check in the 'Define Validaitons/Derivations' BADI in method 'IF_EX_USMD_RULE_SERVICE~CHECK_ENTITY' to check the length of the derived material description.

the material description is being derived in the cross entity badi because the various elements o fthe description are being pulled from multiple entities (namely MATERIAL and MVKESALES). However I am expecting to be able to check the material description in the normal CHECK_ENTITY method and BADI.

My code is never called because the MATERIAL entity where TXTMI (material description) is stored is never looped through. The method loops through each changed entity starting with MATERIAL, MARCBASIC, MVKESALES etc etc etc. but it never goes into the MATERIAL description entity. It should loop through the MATERIAL entity twice, once for all the MARA fields and once for the descriptions table, but it'n not?!?!?!??!?!?!

Any ideas on how to solve the issue?

replied

I have managed to get around the issue by executing the checks on the custom field VARIANT FOR DESCRIPTION before it is used to derive the standard material description

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question