Skip to Content
0
Former Member
Aug 12, 2009 at 05:30 AM

MD01 - User Exit

84 Views

Hi...

PP gurus...

I used user exit M61X0001 for executing MRP for diff MRP controller..

EXIT_SAPLM61C_001

EXIT_SAPMM61X_001

I used above mentioned function module & where I coded similar in both.

I am herewith attaching the sample code for your persual.

WHEN '100'.

IF mt61d-dismm = 'PD' AND mt61d-dispo = '100'.

no_planning = ''.

ELSE.

no_planning = c_x.

ENDIF.

WHEN '203'.

IF mt61d-dismm = 'VB' AND mt61d-dispo = '203'.

no_planning = ''.

ELSE.

no_planning = c_x.

ENDIF.

I defined user exit key 100 & 203 By customization T-code OMIX.

The problem is,

When I use user exit key '100' it is planning material

which are meeting condition MRP Type"PD & MRP Controller"100" alone.

The same thing is applicable for user exit key '203'.

Both the user exit key is working fine in Sandbox sever.

But when I transported to Quality, when I run MRP its planning for all the material except MRP TYPE"ND"

eventhough mentioning particular user exit key.

FYI: I have transported both the TR User exit & other one is configuration(OMIX)

Pls help me where did I go wrong...

Regards

Pradeep