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

form inside user exit

Former Member
0 Likes
501

Is it possible to define a form (subprocedure) inside a user exit? When I try it complains that I'm trying to define a form inside of a function. Of course I have no choice because the whole user exit is a function. What's the best way to work around this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
469

i came to know from one of the posts here in SDN, the options are,

1) create a custom function module and call it

2) write ur subroutine in a report prog. and call that subroutine of that report prog.

3) develop a INCLUDE and add it in MAIN prog.

for more info. pls. search in SDN

thanq

3 REPLIES 3
Read only

Former Member
0 Likes
470

i came to know from one of the posts here in SDN, the options are,

1) create a custom function module and call it

2) write ur subroutine in a report prog. and call that subroutine of that report prog.

3) develop a INCLUDE and add it in MAIN prog.

for more info. pls. search in SDN

thanq

Read only

0 Likes
469

Option 3 is not an option because the main program is standard SAP. I was aware of the other two, just seemed like there should be another way. Thanks!

Read only

0 Likes
469

Yes, u r correct. Actually, in the original post, they hv given 3 options........i forgot the 3rd option exactly.........but, i guess, its creating a function group, anyways, i hope the other 2 wuld solve.

thanq