04-03-2006 12:54 PM
Hi Experts,
Can we use perform statement inside the RFC function module.
I am working with 4.6b version.
I am not sure about the cause of error.
Earlier without perform it was working well.
Now I have written perform , it is giving me error.
What would be the cause of the error.
Thanks In Advance
Irfan Hussain
04-03-2006 1:05 PM
Irfan,
You can very well use PERFORMs in Functions. Can you give the details of the error?
Regards,
Ravi
04-03-2006 1:05 PM
Hi irfan,
what error you got and you can use Perfroms. but try to check what is the error. while creating the Perfrom it should ask you to create in some ****F0I , did you created in side that include or some where..
Regards
vijay
04-03-2006 1:41 PM
Hi IRFAN HUSSAIN,
I notice that you are not marking your posts as question.
It is always good to reward your helpers.. coz they invest their time on it..
Thank you...
04-03-2006 1:45 PM
04-03-2006 1:14 PM
Hi,
I am using the Import Parameters of the function module inside the perform select statement in where condition , that's where I am getting the problem. I hope so.
Regards,
Irfan Hussain
04-03-2006 1:18 PM
Hi,
Maybe it is a changing parameter in the PERFROM that causes the error.
Try not to use the import parameters as parameters for your perform directly. Use a local variable instead and call the perform with that variable.
Regards,
Andreas
04-03-2006 1:22 PM
Hi Andreas,
I am working with the same logic, Provided by you.
Thanks & Regards,
Irfna Hussain
04-03-2006 1:22 PM
Hi,
what is the error, what it is saying. and are you sure of that.
try to use using parameter
PERFORM MOVE_HEADER_IN TABLES RETURN
<b>USING</b> SALESDOCUMENT
SALES_HEADER_IN.
Regards
vijay
04-03-2006 1:33 PM
Hi Vijay ,
The error was due to usage of import parameters in the perform.Which has been corrected now.
Regards,
Irfan Hussain