Skip to Content
0
Former Member
Sep 30, 2011 at 08:32 AM

user exit MV45AFZZ

333 Views

Hi Gurus,

I have put logic in userexit "MV45AFZZ" , in FORM USEREXIT_SAVE_DOCUMENT_PREPARE .That is to change schedule line category based on "User Status" . If user status is u201CAPPR u201C schedule line category should automatic change to CP .

loop at XVBEP.

if RV45A-ASTTX = 'APPR'.

xVBEP-ETTYP = 'CP'.

xvbep-updkz = 'U'.

xvbep-BDART = '4'.

modify xvbep .

ENDIF.

endloop.

This is working fine, updating the value.

Now the problem is:

1. Whenever schedule line cat changes via user exit for sales orders and sales order saved, sales order is not showing in MD04 . if I will changed schedule line category manually CP . It is showing in MD04.

We have make to order scenario . so it is not coming for MRP run if I will changed through user exit.

Please help me out .

Thanks in advance .

Regards,

Subhash