2010 May 19 11:30 AM
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.
2010 May 19 11:35 AM
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
2010 May 19 11:57 AM
I need to pass multiple value as input.Structures can be deep though.I dont think system accept deep structures.
2010 May 19 11:59 AM
2010 May 19 12:05 PM
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.
2010 May 19 12:54 PM
2010 May 19 12:33 PM
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.
2010 May 19 12:55 PM
No man ,it accepts only single value as of what u r saying that iab like makt
2010 May 19 1:04 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |