2007 Jun 08 8:05 AM
Hello experts, i would like to find out how i can make RFC's out of my standard ABAP code, the thing is i don't know if i have to re-develop the code which was designed in ABAP but not set as RFC's! What modifications do i make to the code? or how do i make them RFC's? Or is making Idocs a simpler alternative please help i need this urgently
Thank you in advance
Tatenda Chaibva
2007 Jun 08 8:09 AM
Hi,
RFC's are nothing but the FM. If you have the FM ready then you can very easily convet it to RFC. but if you want to change your program to RFC then you may require to redesign everything.
If IDOC's are available use them. It is better.
Reward points if useful.
Regards,
Atish
2007 Jun 08 8:11 AM
hI,
In general the overhead for invoking a RFC module is more costely than invoking a method. The RFC has the normal fuba overhead plus the communication. Thus only if the operation performed is a complex functionality, say some Ackermann algorithm it may pay.
In case of small operations like a string concatenate there is no hope to get any improovement.
If you want to improve performance first go to the method in ABAP. Reduce the number of arguments and if in case it is called frequenly try to use a table like argument to bundle several calls into one.
Regards
2007 Jun 08 8:11 AM
Hi,
Wharever the Fields are there in the Selection-screen, you need to define those fields in the EXPORT of the Function module, and then copy the entire code in to function module
Regards
Sudheer
2007 Jun 08 8:14 AM
Hi,
Wharever the Fields are there in the Selection-screen, you need to define those fields in the EXPORT of the Function module, and then copy the entire code in to function module
Or else, you use the Submit with exporting to List memory, then the result will be exported to memory then use the IMPORT_FROM_LISTMEMORY function module to import it then display the output
Regards
Sudheer
2007 Jun 08 9:19 AM
The thing is i need to expose these RFC's to BizTalk so i need to know how to expose the relevant tables to the BizTalk system! Please assist me with a step by step process of how to do so!
2007 Jun 08 9:43 AM
Hi Tatenda,
What you can also do is create a wrapper FM with RFC enable flag with the same parameters and call the original FM within.
If you copy the original, all the corrections won't be copied over to yours during Support packages and Upgrades.
Peter