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

In Function Module

Former Member
0 Likes
419

Hi all,

My function Group name is Z_TEST

in that i am having function Module ZTEST

In this function group i have one system generated include with the name Z_LTEST$02.

for what this include is created and what is the purpose of this include.

Thanks in Advance...

2 REPLIES 2
Read only

Former Member
0 Likes
398

Hi Joe,

When you create a function group or function module in the Function Builder , the main program and include programs are generated automatically.

The main program SAPLfgrp contains nothing but the INCLUDE statements for the following include programs:

キ LfgrpTOP. This contains the FUNCTION-POOL statement (equivalent for a function group of the REPORT or PROGRAMstatement) and global data declarations for the entire function group.

キ LfgrpUXX. This contains further INCLUDEstatements for the include programs LfgrpU01, LfgrpU02,... These includes contain the actual function modules.

キ The include programs LfgrpF01, LfgrpF02,... can contain the coding of subroutines that can be called with internal subroutine calls from all function modules of the group.

The creation of these INCLUDE programs is supported from the ABAP Workbench by forward navigation (for example creation of a subroutine include by double clicking on the name of a subroutine in a PERFORM statement within a function module).

Regards,

Ruthra

Read only

0 Likes
398

Hi Sundaresan ,

thanks for ur reply.

What you mentioned is known one..but my doubt is the include i mentioned is With '$'.Inside this Importing parameter,tables,exceptions of the function module is there.