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

userexit + include + error message

Former Member
0 Likes
838

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

7 REPLIES 7
Read only

Former Member
0 Likes
797

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

Read only

0 Likes
797

hi,

Yes might be you are right, pls let me know what I can do to test the code/syntax ?

Regards

Read only

0 Likes
797

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

Read only

0 Likes
797

Hello Vijayendra,

How to generate the main program ?? under utilities I cant see the option-> main program ??

Regards,

Message was edited by: Shah H

Read only

christian_wohlfahrt
Active Contributor
0 Likes
797

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

Read only

0 Likes
797

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,

Read only

0 Likes
797

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