2008 May 02 7:28 AM
Hi
How to pass internal tables through export parametes of the calling function module. i
think i can pass it by reference ....
if so can anyone suggest how to do it?
Hi
How to pass internal tables through export parametes of the calling function module. i
think i can pass it by reference ....
if so can anyone suggest how to do it?
2008 May 02 8:09 AM
Hi,
Passed by reference for internal table is recommended ,
Check the calling function module import and export parameter,
give the internal table name in the export parameter.
Regards
Adil
2008 May 02 8:28 AM
hi
For passing an internal table we use tables option
which meant for both export and import.
and under this what ever internal tables r declared
r always transfed as pass by reference or value as defined in FM
Now to do pass by reference in that particular FM . for that we have to specify the type as pass by reference and the type of table under under tables option in F
reward points if helpfull
snehi chouhan
2008 May 02 8:44 AM
HI I KNOW THIS OPTION BUT I believe that TABLES option is obsolete in ecc 6.0 IN THAT CASE HOW DO I PASS MY INTERNAL TABLES thru import/export parameters?
2008 May 02 8:45 AM
@ adil .
if i give it in import parameter of function module wont it take the work area only?
2008 May 02 8:47 AM
@ adil .
if i give it in import parameter of function module wont it take the work area only?
2008 May 02 8:47 AM
When you want to use export parameter, you will first have to declare a table type!!!
2008 May 02 8:49 AM
no dear i have confirmed it tables opyion is not obsolute in ecc6.0 u can go ahead wuth tables option
thanks & regards
snehi chouhan
2008 May 02 8:50 AM
Hi ,
You need to use a table type for it , go to SE11 and create a table type with the structure same as that of the internal table you want to pass ,adn then use this table type in the parameters of the FM
Regards
Arun
2008 May 02 8:49 AM
Hi,
You can Export values of an Internal table in two ways, by :
1) specifying in Tables tab
(Not recommended since it's an obsolete in ECC 6.0)
If used, will reduce the performance of the FM
Tables are always passed by reference
2) specifying in Exports tab.
The parameter should be a Table type (created in se11)
having a Line type that refers to the structure of the data.
Pass by Value is not used for Normal Function modules.
Used usually for RFC enabled FMs.
Cheers,
Remi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |