Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call Method - Parameters exporting

Former Member
0 Likes
1,238

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

4 REPLIES 4
Read only

Former Member
0 Likes
889

I don't think there is any limitations for number of export parameters while calling a method.

Regards

Abhinab Mishra

Read only

former_member229729
Active Participant
0 Likes
889

Hi,

There is no Limit for the Exporting or Importing Parameter.

Regards,

Ramani N

Read only

Former Member
0 Likes
889

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.

Read only

Former Member
0 Likes
889

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.