‎2006 Sep 18 7:55 PM
Hi,
I want to write subroutines inside a Function Module. I think i can use one of the Include programs got created while creating the Function Group. Can you please suggest me a solution for this?
Thanks and Regards,
Kannan.
‎2006 Sep 18 9:00 PM
Hi Kannan,
1) Every function module is associated with function group.
2) Every function group will have two default includes namely L<FUNCTION_GROUP>TOP and L<FUNCTION_GROUP>UXX.
3) Apart from these you can have your own includes too.
4) Write a PERFORM statement in your function module code and double click on it and it will ask to assign for new INCLUDE L<FUNCTION_GROUP>F01 or to MAIN PROGRAM.
5) Just select that INCLUDE and write your FORM logic.
Thanks,
Vinay
‎2006 Sep 18 8:07 PM
Double-click on the subroutine name in the PERFORM statement and you will be prompted to create the FORM. It will prompt you to choose the new include by default (named L<function group>F01). Press enter. The new include is automatically inserted into the function group main program.
‎2006 Sep 18 9:00 PM
Hi Kannan,
1) Every function module is associated with function group.
2) Every function group will have two default includes namely L<FUNCTION_GROUP>TOP and L<FUNCTION_GROUP>UXX.
3) Apart from these you can have your own includes too.
4) Write a PERFORM statement in your function module code and double click on it and it will ask to assign for new INCLUDE L<FUNCTION_GROUP>F01 or to MAIN PROGRAM.
5) Just select that INCLUDE and write your FORM logic.
Thanks,
Vinay