Application Development and Automation 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: 
Read only

Perform In RFC function Module

Former Member
0 Likes
1,047

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
Read only

Former Member
0 Likes
1,009

Irfan,

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

Regards,

Ravi

Read only

Former Member
0 Likes
1,009

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

Read only

0 Likes
1,009

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

Read only

0 Likes
1,009

Hi Irfan,

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

please read this..

Regards

Vijay

Read only

Former Member
0 Likes
1,009

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

Read only

0 Likes
1,009

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

Read only

0 Likes
1,009

Hi Andreas,

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

Thanks & Regards,

Irfna Hussain

Read only

0 Likes
1,009

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

Read only

0 Likes
1,009

Hi Vijay ,

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

Regards,

Irfan Hussain