‎2008 Jul 07 6:23 AM
Hi all ,
I have to use M61X0001 user exit . So that i have created the project & this user exit is assigned to it . & also project activated.
Please guide me how to assign this project to particular transaction.
Abhay
‎2008 Jul 07 6:30 AM
Hi,
No need to assign project to transaction.
Automatically according to your source code changes will be made in transaction.
Is this is the requirement or any other?
‎2008 Jul 07 6:25 AM
There is no need to assing for perticuler Tx because since you are using M61X0001 this its always triggeer for Tx for which this are made.
Amit.
‎2008 Jul 07 6:27 AM
Thanks for replying ,
But when i am taking MRP RUN it is not working as per user exit criteria.
Abhay
‎2008 Jul 07 6:26 AM
hi,
You cannot assign project to any transaction and you dont need any transaction for user-exits.
This user exit will get triggered whenever the program comes across this point.
Regards,
Subramanian
‎2008 Jul 07 6:30 AM
Hi,
No need to assign project to transaction.
Automatically according to your source code changes will be made in transaction.
Is this is the requirement or any other?
‎2008 Jul 07 6:34 AM
Hi ,
From below i will have to use MRP CONTROLLER
wiase selcection .
-
*
INCLUDE LXM61F01 *
----
----
example coding for User-Exit MRP
----
CLEAR: NO_PLANNING, STOP_PLANNING.
CASE USER_KEY.
----
materials of material type 'FERT' only
----
WHEN '001'.
IF MT61D-MTART <> 'FERT'.
NO_PLANNING = 'X'.
ENDIF.
----
materials with MRP type 'PD' only
----
WHEN '002'.
IF MT61D-DISMM <> 'PD'.
NO_PLANNING = 'X'.
ENDIF.
----
reorder-point materials
(any MRP type with MRP procedure 'reorder-point planning')
----
WHEN '003'.
IF T438A-DISVF <> 'B'.
NO_PLANNING = 'X'.
ENDIF.
----
stop planning after low-level code 03
----
WHEN '004'.
IF MT61D-DISST > '003'.
STOP_PLANNING = 'X'.
ENDIF.
----
select materials for one MRP controller (specified in user_par)
----
WHEN '005'.
UXPAR = USER_PAR.
CONDENSE UXPAR.
WRITE UXPAR+0(3) TO DISPO.
IF DISPO IS INITIAL.
EXIT.
ENDIF.
IF MT61D-DISPO <> DISPO.
NO_PLANNING = 'X'.
ENDIF.
----
select materials of one material class (specified in user_par)
----
WHEN '006'.
UXPAR = USER_PAR.
CONDENSE UXPAR.
WRITE UXPAR+0(9) TO MATKL.
IF MATKL IS INITIAL.
EXIT.
ENDIF.
IF MT61D-MATKL <> MATKL.
NO_PLANNING = 'X'.
ENDIF.
ENDCASE.
Abhay