cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call a "Non-Remote-Enabled" Function Module in RAP Action

lukasmetzger
Participant
1,519

Hi everyone,

I am currently trying to call a Function Module within a RAP Action:

FP_FUNCTION_MODULE_NAME

I came across a topic that was already covered in multiple questions. Below are a few other posts for reference:

However, none of the proposed solutions can be applied in my case for the following reasons:

  1. It is not possible to call the FM with DESTINATION ‘NONE’ because the FM is not “Remote-Enabled”
  2. Calling the FMas part of the Save-Sequence, within the save_modified method, is not possible because my action uses import parameters that are no longer accessible here

Note: I am working in S/4 HANA On-Premise - Release 2023

The only option I see is to capsulate the FB in a new FB to enable the call in a separate LUW.

Are there any alternative approaches or does it make more sense to look for a comparable class or "new" / "released" functionality?

Thanks in advance for any feedback! 🙌

Best regards,
Lukas

Accepted Solutions (1)

Accepted Solutions (1)

RaymondGiuseppi
Active Contributor
  • First, if the FM is not RFC-compliant, it's not a BAPI (and that's not enough)
    'In the SAP system, BAPIs are stored as RFC-capable function modules in the ABAP Workbench Function Builder.'
  • You can then create an RFC FM to wrap these FMs. (Is the FM released)
lukasmetzger
Participant
0 Likes
Thanks for the feedback. I updated the post accordingly and will now try to wrap the FM.

Answers (0)