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

Passing table as an import parameter

Former Member
0 Likes
1,315

Dear experts,

While developing an RFC,i felt a problem and though i managed it.Still some doubt resides in mind.

We have sections Import,Export,Tables,Sourcecode in SE37.

Example i wish to pass tabular structure as input to RFC.I found that in import and export parameters

i cannot take table type,i can only take table type in Tables section.

So i defined input table as well as Output table in tables section only.I gave description as Input table and Output table

for my understanding.I gave the source code and fetch data in my output tabe.

It works !.But is that the only way ?.Or i was required to declare tables in some other section in order to conclude them as

input/output table.

Dear experts,

While developing an RFC,i felt a problem and though i managed it.Still some doubt resides in mind.

We have sections Import,Export,Tables,Sourcecode in SE37.

Example i wish to pass tabular structure as input to RFC.I found that in import and export parameters

i cannot take table type,i can only take table type in Tables section.

So i defined input table as well as Output table in tables section only.I gave description as Input table and Output table

for my understanding.I gave the source code and fetch data in my output tabe.

It works !.But is that the only way ?.Or i was required to declare tables in some other section in order to conclude them as

input/output table.

8 REPLIES 8
Read only

Former Member
0 Likes
1,181

Hi,

You can use deep structure with table type in RFC and assgn that deep structure in Import and Export parameter of RFC.

Thanks & Regurd

Amit Sontakke

Read only

0 Likes
1,181

I need to pass multiple value as input.Structures can be deep though.I dont think system accept deep structures.

Read only

0 Likes
1,181

Ever try to assign makt to an internal table

Read only

0 Likes
1,181

Hi,

There is a table type which is created in SE11 which refers to a table or a structure.

Create one there and in import and export give

A type <table_type>

It should work. MAKT_TAB is a table type for MAKT table

Regards,

Arnab.

Read only

0 Likes
1,181

Type table doesnot work !

Read only

Former Member
0 Likes
1,181

Hi aditya,

You can refer to any table as below try it -

Parameter Name Type Spec Associated type

ITAB LIKE MAKT

This simply means you have to use LIKE to refer to any table.

Hope this helps.

Read only

0 Likes
1,181

No man ,it accepts only single value as of what u r saying that iab like makt

Read only

0 Likes
1,181

HI,

create a table type in SE11 and refer that table type in the function module interface.

Provide the points if the inputs are helpful.

With regards,

Vamsi