‎2006 Aug 23 1:17 PM
Hi friends,
Actually, there is a userexit, we created a new include in it, say XXX, now when I try to edit some code in this include. I have a trouble to compile or check the error,
e.g when I wrote this
code:
FORM KOBED_973.
this is not test
ENDFORM.
FORM KOBEV_973.
ENDFORM.
try to compile it gives me error ( cant compile as its
only include ) and when I do activate, it gives msg,
activate object generate successfully,
Any idea, what I can do to see the error messages ?
Regards,
Message was edited by: Shah H
‎2006 Aug 23 1:32 PM
Hi Shah,
Looks like you are using a VOFM Routine and not a user exit. There is a difference in Routine and User exit.
When ever you face such an issue what you need to do is generate the main program of the include. There is a difference between Generate and Activate. I hope this helps.
Cheers
VJ
‎2006 Aug 23 1:37 PM
hi,
Yes might be you are right, pls let me know what I can do to test the code/syntax ?
Regards
‎2006 Aug 23 1:41 PM
Hi Shah,
GENERATE the main program of the incude. USe the men options UTILITITES -> MAIN PROGRAM and once you get to the main program generate the program it will check all the syntax for you and throw any error if it exists.
How to test a routine, you must check with your functional consultant. A routine can be triggered from different ways like from output, from copy control and many more different ways.
Cheers
VJ
If it helps some points would be nice
‎2006 Aug 23 1:47 PM
Hello Vijayendra,
How to generate the main program ?? under utilities I cant see the option-> main program ??
Regards,
Message was edited by: Shah H
‎2006 Aug 23 1:36 PM
Hi Shah!
You are talking about user-exits, but your example is from a requirement. Use transaction VOFM to create / change the includes. In overview list you have also the additional update to activate / deactivate. This will trigger the link of your new include into a standard main program -> after this you can make the normal program syntax checks and generations.
Regards,
Christian
‎2006 Aug 23 1:43 PM
Hello christian,
Many thanks for your input, when I enter the T.code vofm it gives msg "you are not allowed to change cross-client customzation" when I click enter, it shows me screen. I go in requirement, and click pricing, here shows me the table containing routine, I select one, and now when I try to activae, the button is ofcourse dis-able ?? any idea what I can do, also would be nice if you pls let me know what include/routine difference is ?
Regards,
‎2006 Aug 23 7:32 PM
Hi,
> msg "you are not allowed to change
> cross-client customization"
... you are missing the authority -> transaction is in display mode
> and now when I try to activae, the
> button is of course disable ??
-> no authority, no way to do this right. Get the authority / ask someone else to do this.
Regards,
Christian