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: 

USER EXIT

Former Member
0 Kudos
215

where do i code in an user wxit betwwn function and end function??

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos
88

in the Zinclude..

Former Member
0 Kudos
88

Hi,

just double click on the include Zxxxx

and create the include and write the code in include

regards,

siva chalasani

Former Member
0 Kudos
88

Hi Sir ,

Please have a look below .Hope it is suitable and simpler solution for your question.

Please do reward if useful.

Thankx.

Link-->http://publib.boulder.ibm.com/infocenter/tpfhelp/current/index.jsp?topic=/com.ibm.ztpf-ztpfdf.doc_put.cur/gtpg2/mac_uxmac.html

Former Member
0 Kudos
88

Between Function and Endfunction one ZXX...include is there.

If you double-click that include One warning meassage will appear. Then you click Enter Button.

it will navigate to Code Editor.

Here u can check what are the IMPORTING and EXPORTING parameters are there. Then accordingly u can write code.

- S

Former Member
0 Kudos
88

for example you will be knowing the user exit take it as

COPA0002,provide it in the smod then go for Display

in the next screen you will get Components click on that

in the next screen under Function module exits

you click on the required exit it will takes you into the screen shown below.

FUNCTION EXIT_SAPLKEAB_001.

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(ERKRS) LIKE TKEB-ERKRS

*" VALUE(EP_SOURCE)

*" VALUE(EP_SOURCE_BUKRS)

*" VALUE(EXIT_NR) LIKE TKEVA02-EXIT_NR

*" EXPORTING

*" VALUE(EP_TARGET)

*" VALUE(EP_TARGET_BUKRS)

*" VALUE(E_BUKRS_PROCESSED) TYPE KEDR_FLAG

*" VALUE(ET_FIELD) TYPE RKEI1_YT_FIELD

*" TABLES

*" GT_MESSAGE_TABLE STRUCTURE COPA_MESSAGE_TAB OPTIONAL

*" EXCEPTIONS

*" VALUATION_ERROR

*"----


INCLUDE ZXKKEU03.

ENDFUNCTION.

then double click on the include and write code in the include.

reward if useful.