‎2009 May 22 5:02 PM
Hi All,
CALL METHOD ZXXX->PROCESS
exporting
struct1 = struct1
struct2 = struct2
int_tabl1 = int_tab1
int_tabl2 = int_tab2
int_tabl3 = int_tab3
var1 = var1
var2 = var2.
I'm calling a method like above and exporting 2 structures,3 internal tables and 2 variables to do further processing in the PROCESS routine.
Is there a limit on exporting parameters while calling methods? Will it have any performace issues?
Any ideas appreciated.
Meghna
‎2009 May 22 5:19 PM
I don't think there is any limitations for number of export parameters while calling a method.
Regards
Abhinab Mishra
‎2009 May 22 5:48 PM
Hi,
There is no Limit for the Exporting or Importing Parameter.
Regards,
Ramani N
‎2009 May 22 6:20 PM
Hi, Abap doesn't have any restriction about the number of parameters, although there is a limitation about the size of any statement it cannot be greater than 28 kb.
‎2009 May 22 6:53 PM
Hi,
There is restriction on the number of Parameters passed to a method. But it is always better from the performance aspect to pass by reference. So, unless and otherwise needed you can always use the Pass By Reference to Pass by Value.
You can have a look at the link below for a detailed and complete overview of Method Declarations:
http://help.sap.com/saphelp_nw04/Helpdata/EN/56/1eb6c705ad11d2952f0000e8353423/frameset.htm
Hope this will help.
Thanks,
Samantak.