‎2006 Nov 29 5:22 AM
Hello guys,
I have created a function module.
Now I want to pass Internal table by reference to the function module.
My function module will modify inernal table and I wanted the
modified internal table back in my calling program.
Should I Pass the internal table as a Table parameter or changing parameter.
How do I do that ?
Regards,
Vishal
‎2006 Nov 29 5:24 AM
‎2006 Nov 29 5:25 AM
Hi,
You can do both..
If you give it as changing parameter..Then you need to create a table type or use an existing table type for an internal table..
Otherwise you can use TABLES parameter..
Thanks,
Naren
‎2006 Nov 29 5:25 AM
‎2006 Nov 29 5:26 AM
Hi Vishal.
give it in TABLES parameter and it will work.
Regards,
Nagaraj
‎2006 Nov 29 5:27 AM
Hi
Declare in under TABLES only. Table will export back with the modified values to your program.
Regards
Surya.
‎2006 Nov 29 5:28 AM
YOU CAN USE BOTH BUT IN CHANGING YOU CAN ONLY PASS THE BODY OF THE TABLE WHERE IN TABLES PARAMETER YOU CAN SEND THE HEADER LINE AS WELL AS BODY.
SHIBA DUTTA