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: 

Calling RFC..performance issue.

Former Member
0 Kudos

Dear all,

We have a custom transaction to create sales order. Now i'm calling this transaction in my RFC to create the SO for some prtal application. Now is there any performance issue in this approach??

Pls suggest.

Is there any other method to achieve it??

Regds,

Anup

4 REPLIES 4

Former Member
0 Kudos

There are standard SAP BAPIs for creating a sales order. Is there any reason why you went for a custom RFC? If you definitely have to use this custom RFC, then you will have to look at the code of this function module to finetune it. I don't think anyone here can suggest anything without looking at the code. Do a test in SE37 to see where it is spending the time. If it is in database selects, then check what improvements you can make there. If it is in the logic, check what improvements you can make there( avoiding too many nested loops etc). Use the tools like runtime analysis to determine where most of the time is consumed.

Srinivas

Former Member
0 Kudos

Hi Anoop,

If your RFC FM is creating sales order in MASS then you need to see as RFC uses dialog process and this is limited by the maximum allowed time of dialog work process ( normally 20 mins ) . The workprocess will time out . However if your RFC creates one sales order per call then I guess there should not be a performance issue except some issue in your code itself.

Cheers

0 Kudos

Dear Sanjay and Sriniwas,

Thanks for the reply.

Actually the thing is..client already hav a custom transaction to create SO. They don't want to change the business logic. So i wrote a RFC and inside the RFC i write a bdc prg and then call that custom transcation. Yes in one request only one SO will be created. Now what do u guys suggest??

Regds,

Anup.

0 Kudos

Hi Anup ,

If its one SO for one call of RFC then I dont think there will be a performance issue go ahead with it.

Cheers.

( Dont forget to reward if answers were helpful )