Application Development 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: 

Capacity Planning : CM40 - User Exit CY190001

Former Member
0 Kudos

Hi,

I implemented project for user-exit CY190001 and activated it.

I am executing transaction CM40 with parameter "User Exit" selected and "Execute background job at once".

It creates and executes the job (RCCYMAB2) successfully. Job log says "Planning results were saved".

It seems it is not able to call user exit CY190001 code. I have several write statements and success messages just to check whether it is calling the user exit or not. But job log does not reflect any write or messages I have written in User--exit.

Can you help me to find out what I should do to activate the user-exit? Or am I missing anything here?

Thanks,

Chirag

2 REPLIES 2

StMou
Active Participant
0 Kudos

HI,

the user-exit run olny at end of function.

see standard function module CY01_USER_EXIT_PLANNING


  IF IN_FCMSG-PARAMETER3 = FC_CON_END_OF_FUNCTION.
    PERFORM RESET_LOGS.
    CALL FUNCTION 'CY01_USER_EXIT_1'
         TABLES
              IN_AFVG_TAB = WORK_AFVG_TAB.
    REFRESH WORK_AFVG_TAB.
    EXIT.

If you want say exactly when our user exit is used, you can put in DEVelopment system or QAlity System a message twpe X. Just for test

Rgds

Former Member
0 Kudos

HI,

I made mistake in one of the CHECK statement and was under impression that it is not being called.

Thanks,

C