Skip to Content
Author's profile photo Horst Keller

ABAP News for Release 7.50 – Dynamic RFC Destinations

Up to now, there was no officially released or documented possibility to create a fully fledged dynamic RFC destination that can be entered behind CALL FUNCTION DESTINATION.

If you crawl the Web for “dynamic RFC destination”, you find one or the other hint how to achieve that, but the general recommendation is: Don’t do that!

In order to direct that uncontrolled growth into the right channels, a new class is delivered with ABAP 7.50:

DATA(dest) =

  cl_dynamic_destination=>create_rfc_destination(

    logon_client   = …

    logon_user     = …

    logon_language = …

    sid            = …

    server         = …

    group          = …

    … ).

  

CALL FUNCTION ‘DEMO_RFM_PARAMETERS’

      DESTINATION dest

      EXPORTING …

From ABAP 7.50 on, CL_DYNAMIC_DESTINATION is the officially released and documented possibility to create a dynamic RFC destination and the only one to be used if SM59 is not sufficient.

Assigned tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ram Shanker
      Ram Shanker

      Good notes. Thanks for update new things!

      Author's profile photo Prasenjit Bist
      Prasenjit Bist

      Hi Horst,

      Could you please comment about the future of ABAP in the s4/hana roadmap based SAP world.

      Regards,

      Author's profile photo Horst Keller
      Horst Keller
      Blog Post Author
      Author's profile photo Prasenjit Bist
      Prasenjit Bist

      A general question is there any way that in future we see a ABAP runtime on HCP allowing ABAP on public s4/hana clouds. also any work on classical screens to allow for screen personas like and in fiori style outputs or it's going to be ui5 and abap mix in future?

      Author's profile photo Thomas Bauer
      Thomas Bauer

      Thanks! Very helpful

      Author's profile photo William Gao
      William Gao

      More flexible