Skip to Content
0
Former Member
May 15, 2008 at 08:37 AM

BADI - How to change material description in MM02

377 Views

Hi,

I have done implementation for the BADI - BADI_MATERIAL_CHECK~CHECK_DATA.

The code is:

DATA:WA1 TYPE SHORT_DESC.

DATA: WA TYPE SHORT_DESC.

WA-MAKTX = 'HELLO'.

LOOP AT STEXT INTO WA1.

CONCATENATE WA1-MAKTX WA-MAKTX INTO WA1-MAKTX.

MODIFY STEXT FROM WA1.

ENDLOOP.

But the material description is not being changed while executing the transaction MM02.

May I know how to change the material description while BADI is executing?

Regards,

Bala Raja