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

Converting ABAP code to become RFC's

Former Member
0 Likes
945

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

6 REPLIES 6
Read only

Former Member
0 Likes
903

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

Read only

Former Member
0 Likes
903

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

Read only

Former Member
0 Likes
903

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

Read only

Former Member
0 Likes
903

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

Read only

Former Member
0 Likes
903

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!

Read only

Peter_Inotai
Active Contributor
0 Likes
903

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