‎2008 May 02 5:12 PM
hi
please ,
I like to see in source code before importing parametrs the sentance " globale interface" in source code of Module function , instead of 'local interface'.
have you ever seen that?
like this.
FUNCTION Z_SPLIT_LONG_TEXT.
*"----
***""Globale interface:***
*" IMPORTING
*" VALUE(LIMIET) LIKE ZSPLIT-LIMIET
*" TABLES
*" TE_SPLITSEN STRUCTURE TLINE
*" GESPLITST STRUCTURE ZSPLIT
‎2008 May 02 5:21 PM
‎2008 May 02 5:21 PM
‎2008 May 02 5:59 PM
‎2008 May 02 8:09 PM
Hi Rich,
What is the difference between Local Interface and Global Interface in Function Modules.
Can u tell me in brief.
Can you tell me with any small example for the same scenario.
Thanks & Lots of Regards,
Sudheer.
‎2008 May 02 8:30 PM
Yes, of course. Most of you have used function modules, and know that alot of times, you will have separate includes for your FORM routines. Well, if the interface is local, then your FORM routines will not have access to these parameters, you would need to pass these parameters using FORM parameters. If you would set the parameters as global, then they are visible to any/all FORM routines that you declare within the function group. If you think about it, it really is not a good practice to globalize your parameters( good design calls for keeping things as local as possible ), which is why this feature has bee deemed obselete.
Regards,
Rich Heilman
‎2008 May 05 5:34 PM
Hi Rich,
I understood the concept.
Thanks for your response.
Can u please explain The Global Interface concept with an example..
Thanks & Regards,
Sudheer.....