2005 Aug 10 7:20 PM
Hi,
I have a function called
Z_FS_FUSED_BUSINESS_OBJ_DATA,
I have also defined a form in this function called
FORM conglomerated_data
All of this is in one function group called z_fs_inbound
If I have another function, in another function group, what is the syntax for calling the form in the first function group ; i tried
PERFORM conglomerated_data in program
Z_FS_FUSED_BUSINESS_OBJ_DATA
but this did not work
thanks
2005 Aug 10 7:23 PM
2005 Aug 10 7:23 PM
2005 Aug 10 7:24 PM
Hi,
Create an include program in the main program of the function pool. Save the form subroutine in this include. Then you can call it directly from each function.
"For each function group <fgrp> there is a main program, generated by the system, called SAPL<fgrp>.
The main program contains INCLUDE statements for the following programs:
L<fgrp>TOP. This contains the global data for the function group.
L<fgrp>UXX. These includes contain the function modules themselves. The numbering XX indicates the chronological order in which the function modules were created. This includes L<fgrp>U01 and L<fgrp>U02 contain the first two function modules in the function group.
L<fgrp>F01, L<fgrp>F02... These includes can be used to write subroutines (forms) that can be called as internal forms by all function modules in the group. "
Svetlin
Message was edited by: Svetlin Rusev
2005 Aug 10 7:26 PM
2005 Aug 10 8:37 PM