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

Include inside in the USER-EXIT

Former Member
0 Likes
1,806

Hi all,

Please tell me, is it advicable to write include statement inside USER-EXIT .

Thanks,

Muthu.

5 REPLIES 5
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
910

Hi,

But how will you create an INCLUDE, if you have to it has to be in customer namespace, if you want to create in the customer name space this should not be a problem, infact you get an advantage that your code is stored in an include program and you can modify it with out touching the USER-EXIT every time.

Regards,

Sesh

Read only

Former Member
0 Likes
910

hi

yes it is advidable to write ur code on side the user exit. if u directly write the code it will give the error.

regards

ravish

<b>plz dont forget to reward points if helpful</b>

Read only

Former Member
0 Likes
910

hi Muthu,

There is already a include provided in the User-Exit which is is customer namespace Z* which you can use. You still need other include then you can create it and use in this Z* include. There is no harm in it.

Regards,

Atish

Read only

Former Member
0 Likes
910

hi

good

yes you can do it,

thanks

mrutyun^

Read only

Former Member
0 Likes
910

Hi,

You can make subroutine calls inside a User exit, only if the exit is part of a function pool. All the subroutines can be placed in an include in the function pool & can be called with a Perform Statement from the User Exit

<b>Reward points</b>

Regards