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

Is it possible to call Normal function Module from WD4A , Not RFCs

Former Member
0 Likes
683

Is it possible to call Normal function Module(FM) from WebDynPro for ABAP , Not RFCs

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
662

Then could you please help me to know the difference in calling FM and RFC

Is it possible to call Normal function Module(FM) from WebDynPro for ABAP , Not RFCs

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
662

Yes. You can call any function from within your WD4A component, RFC enabled is not required.

Regards,

Rich Heilman

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
662

Ok, one exception. You should not call functions which deal with the frontend, or SAPgui, such as GUI_UPLOAD or GUI_DOWNLOAD. These types of functions will not work as in WD4A, there is no SAPgui.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
663

Then could you please help me to know the difference in calling FM and RFC

Read only

0 Likes
662

There is no difference, unless you are specifically calling the RFC to connect to another system. If so, then you need to add the DESTINATION keyword to the function call and specify the destination name. This name must be defined in SM59. But, if you are not going to another system, you can call the RFC the same way you call the regular function module.

REgards,

Rich Heilman

Read only

Former Member
0 Likes
662

Hi

Thank you very much