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: 

fucntion module exit

Former Member
0 Kudos

hai

i have problem in "function module exits ".

while i was creating enhancement in 'cmod' transaction function module exit of "XD01-SAPMF02D", in that function module source contain include program........

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(I_KNA1) LIKE KNA1 STRUCTURE KNA1

*" VALUE(I_KNB1) LIKE KNB1 STRUCTURE KNB1 OPTIONAL

*" VALUE(I_KNVV) LIKE KNVV STRUCTURE KNVV OPTIONAL

*" VALUE(I_ADDRHANDLE) LIKE ADDR1_SEL-ADDRHANDLE

*" OPTIONAL

*" TABLES

*" T_KNAS STRUCTURE KNAS OPTIONAL

*" T_KNAT STRUCTURE KNAT OPTIONAL

*" T_KNB5 STRUCTURE KNB5 OPTIONAL

*" T_KNBK STRUCTURE KNBK OPTIONAL

*" T_KNBW STRUCTURE KNBW OPTIONAL

*" T_KNEX STRUCTURE KNEX OPTIONAL

*" T_KNVA STRUCTURE KNVA OPTIONAL

*" T_KNVD STRUCTURE KNVD OPTIONAL

*" T_KNVI STRUCTURE KNVI OPTIONAL

*" T_KNVK STRUCTURE KNVK OPTIONAL

*" T_KNVL STRUCTURE KNVL OPTIONAL

*" T_KNVP STRUCTURE KNVP OPTIONAL

*" T_KNZA STRUCTURE KNZA OPTIONAL

*"----


====> Include zxf04u0<=====

endfunction.

double click on it it ll show error is following

"program name zx..... reserved for includes of exit function groups"..

how can i modify it?

3 REPLIES 3

former_member589029
Active Contributor
0 Kudos

Include zxf04u0 does not exist at this point and when you click on the include statement it tries to create the include. However standard SAP has a check which tells you that the namespace zx.... is reserved for includes of exit function groups.

SAP doesn't distinguish if you create a ZX include manually through SE38 or SE80 (which you should not do) or using the 'right' method and creating it out of a exit function module (which you are doing). That's why you are getting this message even though you are using the right method.

Just ignore the message, confirm it and that will create the include where you can then put your user exit coding in.

Hope that explains it,

Michael

Former Member
0 Kudos

hit enter key and proceed....

Former Member
0 Kudos

Hi,

Its just a warning message, you can ignore that by pressing ENter and proceed with creating the incldue.

Regards

Karthik D