Application Development 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: 

Perform In RFC function Module

Former Member
0 Kudos

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

9 REPLIES 9

Former Member
0 Kudos

Irfan,

You can very well use PERFORMs in Functions. Can you give the details of the error?

Regards,

Ravi

former_member188685
Active Contributor
0 Kudos

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

0 Kudos

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...

0 Kudos

Hi Irfan,

I didn't notice that, please mark your thread as question and Reward for helpful answers.

please read this..

Regards

Vijay

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

Hi Andreas,

I am working with the same logic, Provided by you.

Thanks & Regards,

Irfna Hussain

0 Kudos

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

0 Kudos

Hi Vijay ,

The error was due to usage of import parameters in the perform.Which has been corrected now.

Regards,

Irfan Hussain