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

hep in writing Function Module

Former Member
0 Likes
613

Hi Friends,

Can we have table as pass by reference in the Export parameter of a Function Module?

Also, if I can get some good question answers to revise my ABAP basics.

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
581

Hi,

Yes..You can have an internal table as an export parameter of a function module..

you have to create a table type in SE11..

Then use that table type when you define the exporting parameters..

Example for table type ALM_ME_BAPI2080_NOTPARTNRE_T

Thanks,

Naren

4 REPLIES 4
Read only

Former Member
0 Likes
582

Hi,

Yes..You can have an internal table as an export parameter of a function module..

you have to create a table type in SE11..

Then use that table type when you define the exporting parameters..

Example for table type ALM_ME_BAPI2080_NOTPARTNRE_T

Thanks,

Naren

Read only

0 Likes
581

Hi Ankit,

Yes, you can! But besides leaving the 'Pass value' checkbox blank, you need to use a "Table type" as a reference type. Look at SE11 the table type MARA_TAB.

I hope it works.

Marcelo

Read only

Former Member
0 Likes
581

instead, it is better to create a <b>changing</b> parameter. create your table type from se11 and refer your changing-parameter to that table type.

Read only

0 Likes
581

Thanks a lot ,

Marcelo,Sam and Naren !!!