‎2007 Aug 03 4:27 PM
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.
‎2007 Aug 03 4:49 PM
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
‎2007 Aug 03 4:49 PM
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
‎2007 Aug 03 4:51 PM
‎2007 Aug 03 5:45 PM
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