‎2007 Apr 03 7:47 PM
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!
‎2007 Apr 03 7:58 PM
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
‎2007 Apr 03 7:58 PM
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
‎2007 Apr 03 8:10 PM
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
‎2007 Apr 03 8:11 PM
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.
‎2007 Apr 04 11:33 PM