‎2008 Feb 26 5:41 AM
Hi,
I am creating one RFC in that i need to declare one import parameter whose length is is.
when i am giving like i_exclide like kna1-loevm is not accepting.
when i am declaring like i_exclude like char1.
it is giving error like reference parameters are not allowed in RFC.
anybody can tell me how to declare.
thanks,
maheedhar
‎2008 Feb 26 5:50 AM
Hi,
Go to se37,
Give ur RFC function module and click change.
Go to "Import" tab , you can find a checkbox "Pass Value" , check this checkbox.
Now you try to compile the code , you wont get that error.
Reward points for useful answer.
Thanks,
Jey
‎2008 Feb 26 5:46 AM
hi
You cannot declare fields as a reference. You have to declare as pass value as an import parameter. just check the box in the import tab of the function module.
Please reply if any help needed.
Varun mathur
‎2008 Feb 26 5:50 AM
Hi,
Go to se37,
Give ur RFC function module and click change.
Go to "Import" tab , you can find a checkbox "Pass Value" , check this checkbox.
Now you try to compile the code , you wont get that error.
Reward points for useful answer.
Thanks,
Jey
‎2008 Feb 26 5:51 AM
Hi
Ur declaration is right but after giving:
I_EXCLIDE LIKE kna1-loevm there is a checkbox 2 places after it called 'Pass Value', u need to check that to avoid this error.
Thanks
Vasudha
‎2008 Feb 26 5:53 AM
‎2008 Feb 26 6:09 AM
Hi Maheedhar,
Instead of LIKE use TYPE and click on the check box "pass Value".
I hope this solves your problem.......
reward points if helpful.
P347633