Application Development 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: 

Passing structure in RFC

Former Member
0 Kudos
399

hi,

i have to pass one structure in RFC function module .but how to pass a structure?

the structure contains the fields from diffrent tables.

i have used export parameters .But if i am using export parameter i have to use the call function statement in loop statement of my program.suggest me can i use the call function statement inside a loop in my program

1 ACCEPTED SOLUTION

Former Member
0 Kudos
116

hi create the structure in te se11 and activate it..give the structure in the tables tab of the fm

2 REPLIES 2

Former Member
0 Kudos
117

hi create the structure in te se11 and activate it..give the structure in the tables tab of the fm

Former Member
0 Kudos
116

Hi

Better to make a structure having different fields of table in your Report and fill it and then pass it to FM. (Even if you call FM in loop you need to pass all necessary data it creates a new internal session each time)

like

data: begin of s_xyz,

vbeln like vbak-vbeln,

mara like mara-matnr,

end of s_xyz.

Regards

Aditya