cancel
Showing results for 
Search instead for 
Did you mean: 

JavaScript or Python in RFA in PaPM Cloud to call BAPI or FM in S/4HANA PCE

Ruslan_M
Advisor
Advisor
760

Hi everyone,

Can anyone please share an example or explain how we can use in Cloud Profitability and Performance Management Remote Function Adapter function to call BAPI from S/4HANA PCE or On-Premise version?

There are some predefine functions for GL postings, or creation of SD and Purchase orders. But what if I need to upload, for example, Price Conditions (without creating of Sales Orders)? I tried to use JavaScript version of RFA, but there is no way to define RFC connection (by require for example).

Thanks for any help.

Accepted Solutions (1)

Accepted Solutions (1)

ZYT
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ruslan.minnegaliev,

It should be possible to call BAPI or FM in JS or Python RFA. SAP has published libraries to execute RFC call both for JS & Python:

Javascript: https://github.com/SAP/node-rfc

Python: https://github.com/SAP/PyRFC

Here is an example for https://stackoverflow.com/questions/64092571/optimization-of-code-written-using-python-and-bapi.

Our team has also been trying the same approaches. We'll share with you our experience when we're done.

Best regards,

Zhiyi Tang

Answers (0)