Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Exit

Former Member
0 Likes
604

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
569

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?

5 REPLIES 5
Read only

Former Member
0 Likes
569

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.

Read only

0 Likes
569

Thanks for replying ,

But when i am taking MRP RUN it is not working as per user exit criteria.

Abhay

Read only

Former Member
0 Likes
569

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

Read only

Former Member
0 Likes
570

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?

Read only

0 Likes
569

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