cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Consumption of S/4 HANA Classes in SAP BTP, ABAP Environment

rahulnair290795
Discoverer
0 Kudos

Hi Experts,

Can you please help me with the below request?

Our team wants to consume an S/4 HANA Class and its methods remotely in SAP BTP ABAP Environment. Is there a way that this can be achieved? If yes, can you please help me with the steps?

Thanks in advance.

View Entire Topic
peterpersiel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rahul,

You could expose methods via OData service or RFC in S/4HANA, consumed by ABAP Environment: Developing External Service Consumption (Outbound Communication)

For integration with on-premise system: Integrating On-Premise Systems

Best regards,
Peter

rahulnair290795
Discoverer
0 Kudos

Hi Peter,

We have tried both OData service and RFC. We are able to successfully perform operations on them.

But want to know if Classes and their methods can also be remotely consumed in BTP ABAP Environment. My question is specific as to whether this is possible in the current version of BTP ABAP Environment.

Regards,

Rahul Nair

peterpersiel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rahul Nair,

classes/methods can only be consumed if exposed via business service, RFC or other means.

Best regards,
Peter

rahulnair290795
Discoverer
0 Kudos

Hi Peter,

Can you please help me with the steps? Or example with source code.

Regards,

Rahul Nair