‎2005 Oct 12 3:49 AM
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
‎2005 Oct 12 4:08 AM
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
‎2005 Oct 12 4:14 AM
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
‎2005 Oct 12 4:41 AM
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.
‎2005 Oct 12 5:16 AM
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 )