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 programs in Function module

Former Member
0 Likes
3,966

Hi All,

Im in the need of inserting Standard Include program rapost_top into one z function module.

Where can i declare it? with in the function & end function or in Top include of the Function module?

Thanks in advance,

Helps will be appreciated.

2 REPLIES 2
Read only

Former Member
0 Likes
1,500

Hi,

If you want to execute the Include, every time when Function Module is executed then place that inclcude in FM between Function and END function.

else, You can create anew Zinclude in the function group of the FM and call the include in that created include.

Thanks & Regards,

Vamsi.

Read only

former_member209217
Active Contributor
0 Likes
1,500

Hi,

Its a standard TOP include which conains only data declarations and type-pool declarations and no executable code.

Copy all thos declarations and put it in the top include of custom function group.

Regards,

Lakshman.