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

User Exit

Former Member
0 Likes
487

Moved by moderator to correct forum: please in future also use a more meaningful subject for your questions.

Hi Friends....

i displayed a report in ck11n transation code when user select the bellow path.

Path : in Menu tool bar Cost-> User exit display-> Cost Report 2.

my exit is : SAPLXCKA & Function Module is : EXIT_SAPLCKAZ_002 & Inclue is ZXCKAU02.

I Dispalyed body output in REUSE_ALV_GRID_DISPLAY.

Problams :

1. But how to displayed Header & Footer in output layouy.

Note : when i wrote Form & End form statement we got a error. that is

Incorrect nesting :Before the statement the form, the structure interduced by "FUNCTION" must be concluded by "ENDFUNCTION".

Edited by: Matt on Nov 12, 2008 10:09 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
388

Hi

create a program (executable or subroutine pool type) and define your subroutine there.

call that subroutine in your exit : perform <routine name> IN PROGRAM <program name> IF FOUND.

thanks

vishal kapoor

2 REPLIES 2
Read only

Former Member
0 Likes
388

Seems you are writing a form routine in ZXCKAU02m which is not allowed as it is within function.. end function. You need to see what you want to do , and remopve form routine from that include

Read only

Former Member
0 Likes
389

Hi

create a program (executable or subroutine pool type) and define your subroutine there.

call that subroutine in your exit : perform <routine name> IN PROGRAM <program name> IF FOUND.

thanks

vishal kapoor