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: 

Unable to add piece of code within a customer exit

Former Member
0 Kudos
547

Hello SDNer,

I was working on user exit and I was unable to proceed further.

Steps followed to find the customer exit.

Eg : XK02

1] T code xk02 -> goto system -> goto status.

2] I searched for the function 'CALL CUSTOMER-FUNCTION' found it.

3] Finally i was on the function module EXIT_SAPMF02k_001

4] I double clicked on INCLUDE ZXF05U01 to add some code and test it

But here i was getting the following error message on the status bar

Error : Program name ZX....are reserved for includes of exit function groups

now how do enter in to the include program and add my own code and test it.

Would be rewarded.

Thanks and regards,

Ranjith

6 REPLIES 6

h_senden2
Active Contributor
0 Kudos
203

how did you test it ?

For this kind of exits you have to create a project in CMOD/SMOD

Add the enhancement

Add the code

Activate the code

Run transaction XK02 to test (with for instance a breakpoint)

regards,

Hans

Former Member
0 Kudos
203

Hi,

I am not able to open the include program INCLUDE ZXF05U01

to add some code and activate it that what my problem is.

Regards,

Ranjith

203

Double click on the include inside the exit FM, then

just press enter to ignore that warning and create your include. Add your code and activate...

Regards

Karthik D

Edited by: Karthik D on Nov 4, 2008 12:30 PM

Former Member
0 Kudos
203

Hi Karthik,

That worked and thanks for your reply.

Rewarded.

Regards,

Ranjith

0 Kudos
203

If you got the solution please mark the question as answered.

Regards

Karthik D

Former Member
0 Kudos
203

My question has been answered with the appropriate solution thanks