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

New Function Pool Program Question?

Former Member
0 Likes
431

I am new to these processes.......If I copy a Function Pool Include to a new one, and create a new Function Group to link it to, thus I assume a new Function Pool SAPLZXXX program will will be automatically created, I am trying to determine how, or where config?, is done to link it (the new Function Pool/SAPLZXXX) to its process?

Any input will help.....Thank-You.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
410

Hi,

When you create a Function group under a Function pool, then inside of that Function group main program there will be some includes

· 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.

Regards

Sudheer

3 REPLIES 3
Read only

Former Member
0 Likes
411

Hi,

When you create a Function group under a Function pool, then inside of that Function group main program there will be some includes

· 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.

Regards

Sudheer

Read only

Former Member
0 Likes
410

check below thread...

Read only

ferry_lianto
Active Contributor
0 Likes
410

Hi,

When you copy the function pool include (SE38), SAP will call FM RS_FUNCTION_COPY in order to link to new include to the corresponding function group.

You can check also related FM RS_FUNCTION_, RS_ and FUNC_* (SE37).

Regards,

Ferry Lianto