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

table in import and export parameters

Former Member
0 Likes
1,339

Hi,

this is a general doubt. can we pass an internal table in import/export parameters of FMs. I know there are table parameters, but can this be done in import export parameters.

Regards,

Vijay

1 ACCEPTED SOLUTION
Read only

sergey_korolev
Active Contributor
0 Likes
1,301

Yes, if your export/import parameter would be of <b>TABLE TYPE</b> defined in the dictionary.

8 REPLIES 8
Read only

Former Member
0 Likes
1,301

u can use table line but not the tables.

Regards

prabhu

Read only

0 Likes
1,301

> u can use table line but not the tables.

>

Really? Ever used REUSE_ALV_GRID_DISPLAY?

Read only

Former Member
0 Likes
1,301

yes,

in SAP Release 3.0 onwards, you should pass tables also in IMPORT/EXPORT paramters only.

FORM <FORM_NAME> USING ITAB TYPE <TABLETYPE>.

ENDFORM.

regards

srikanth

Message was edited by: Srikanth Kidambi

Read only

sergey_korolev
Active Contributor
0 Likes
1,302

Yes, if your export/import parameter would be of <b>TABLE TYPE</b> defined in the dictionary.

Read only

Former Member
0 Likes
1,301

hi,

in Function Modules if want to pass tables you have to use tables statement cant possible with Import/export statements, but in subroutines you can pass the tables.

Regards

Ashok P

Read only

Former Member
0 Likes
1,301

Yes, you can pass the internal tables to the import/export parameters of the FMs.

For example, you can refer standard BAPIs or standard Funtional Modules.

regards,

Thangesh

Read only

Former Member
0 Likes
1,301

Hi vijay,

1. if we pass thru TABLES,

then we can pass an internal table,

WITH HEADER LINE

2. But if we use import/export,

it has to be a TABLE TYPE

defined in the data dictionary.

(This table type will not have any header line).

regards,

amit m.

Read only

naimesh_patel
Active Contributor
0 Likes
1,301

Hello,

No it is not possible

regards,

Naimesh

Message was edited by: Naimesh Patel