Skip to Content
0
Jan 11, 2023 at 09:39 PM

JCo RFC Servers & BACK Destination

225 Views

Hi,

Currently We're developing a Java application where we trigger some functions through RFC on our SAP System and in turn that SAP System will call some functions only defined on our Java Application.

image.png

I've read about the destination BACK however it's not supported in JCo and also after referring the SAP NetWeaver SDK Programming Guide (Page 91 / 7 - RFC Callback) This seems like a deprecated feature that could be dropped at any time.

The alternative we have implemented is creating an RFC Server with JCO then start it as a registered server program on the Gateway. This has achieved the functionality required but configuration wise it's not ideal.

Setting it up as a JCo Server requires more configurations than the CallBack on 'BACK' since we need to create the destination on SM59 and we also need to update the reginfo to whitelist the Host IP address of our Java Application

Are there other ways to achieve this kind of data flow without using a server? Better ways to do it?

I was tempted to write my own Java bindings for the SAPNW SDK but this is a bit overkill and Unsafe. Appreciate your inputs & suggestions

Attachments

image.png (69.4 kB)