‎2008 Jan 09 4:02 PM
Hi experts,
i really hope someone can help asap.
I have created a function module in a different function group to an existing function module. Problem is that i need to access a form that is accessed in the existing FM, but of course i can not from my new FM.
I know there is something simple to do in my FM but can not think correctly.
could someone please help??
‎2008 Jan 09 4:11 PM
Have you tried like this?
PERFORM GET_DATA IN PROGRAM 'SAPLZTEST' IF FOUND.
Here, SAPLZTEST is the main program of the FG ZTEST which holds the FM.
Regards,
Naimesh Patel
‎2008 Jan 09 4:11 PM
Hi Dipesh,
call the form routine like:
PERFORM routine1( function_group_name ) ...
routine1 is the form routine in the program (function group in this case) that you want to access which is external to the current program (your new function group) from where you want to access it.
The program name in parantheses can be an include program if the form rouitne resides in the include program.
Hope this helps.
Thanks
Sanjeev
Edited by: Sanjeev Kumar on Jan 9, 2008 11:12 AM
‎2009 May 27 4:36 PM
‎2009 May 27 4:39 PM
While it is great that you are closing your old posts, please do not add unnecessary comments. It simply drags old posts to the top of the forum (and pushes current ones down).
Rob