09-18-2008 11:03 AM
Hi,
I am using the code for the Tcode CO02 (User Exit) and i am facing a problem that when i am using the code as a normal program it is executing fine and displaying the pop up window and showing the data in it.
But when i am using that code in the USER EXIT code it is not trigerring that pop up window.
I am using the enhancement:-
*PPCO0007 * - Exit when saving production order
And the include in which i am writing the code is :-
INCLUDE ZXCO1U06
plzz provide me guidelines for solving this problem.
09-18-2008 11:04 AM
09-18-2008 11:08 AM
hi,
yes the project is active and the enhancement is also active,but still it is not displaying the data........
I am using the FM :-
POPUP_WITH_TABLE_DISPLAY_OK
Edited by: ricx .s on Sep 18, 2008 12:08 PM
09-18-2008 11:11 AM
Are you sure that user exit is triggered while saving?
Try activate the project and enhancement again.
thanks,
krishna
09-18-2008 11:25 AM
hi krishna,
can u plzz tell me how should i check that user exit is triggered while saving?
actually i am new to the user exit and hardly had done work on it ,so plzz tell me how to check it,i know that much that screen which is made up by someone else and i have to make user exit on CO02 i..e when any body tries to save the production order and when the user saves it that pop window having the details of it should display it...
plzz provide me guidelines for it.....
09-18-2008 11:27 AM
09-18-2008 11:32 AM
hi ,
i am using the following: -
Enhancement No. -> PPCO0007 (Exit when saving production order)
When i click on the enhancement the following is displayed:-
Function exit -> *EXIT_SAPLCOZV_001 *
When i double click the function exit the code i had written in the following include:-
INCLUDE ZXCO1U06
plzz tell me whether i am doing it right or worng?
09-18-2008 11:36 AM
First you have to create project in CMOD
and then assign enhancement PPCO0007
and then ur steps
"Function exit -> *EXIT_SAPLCOZV_001 *
When i double click the function exit the code i had written in the following include:-
INCLUDE ZXCO1U06
"
activate the enahncement and the project.
thanks,
krishna
09-18-2008 11:36 AM
Hi,
Put a breakpoint in the exit and run. If it stops at the breakpoint then the exit is right otherwise not.
Regards,
Surinder
09-18-2008 11:58 AM
hi surinder and krishna,
I had created a project in the CMOD tcode and then assign the enhancement
and then activate the function exit and then double click the INCLUDE and pasted the code and putted that code in the IF Endif. condition and also the break point.
when i execute the tcode CO02 and do some changes in it and when save it goes to the debug mode as i had implemented the break point in it but still it is not displaying the pop up window in it ..
what should i do now? plzz provide me guidelines for it .....
Edited by: ricx .s on Sep 18, 2008 1:39 PM
Edited by: ricx .s on Sep 18, 2008 1:47 PM