Hi All,
Adhering to ABAP Objects, in my project, i am creating instance methods or static methods instead of Function modules.
now i have a requirement, where some functionality needs to be invoked on another server using an RFC destination.
if i create a function module,
1)i can tick the radio button "Remote-Enabled Module" under the Attributes of function module and
2)i can invoke it as
CALL FUNCTION 'ZMY_FM' DESTINATION 'RFCDESTNAME' EXPORTING ... IMPORTING ...
in such cases is it mandatorily required to create an FM like above, or can i avoid it by writing an equivalent instance method or static method
if we replace the FM with a method, then
1)how can i make the method rfc enabled, and
2)what is the syntax of providing the rfc destination name while invoking method.
Is there any other concept provided in ABAP Objects, that is recommended instead of "Remote-Enabled Function Modules"
thanks in advance,
Madhu_1980