on 05-18-2017 7:50 AM
Hello Experts,
Is there any way we can execute a class-method with RFC Destination in program.
For example.. Any RFC function module when we call it in program we use the Destination so that internally the super User id configured in SM59 will take control of doing things, Similary is there any way to call a Class-method with RFC destination.
Please let me know for any queries/updates.
Thanks
To emulate RMI, you'll have to serialise your class instance, send it to an RFC FM as a parameter of that FM, which then deserialises it and does the necessary work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, RFC is one of the few things you still need function modules for. RFC is due to be replaced with RMI, but this is not available yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you want to call another class in another SAP system you could check the <removed by moderator> which is able to call function modules and class methods in other SAP systems via RFC destination. It requires some additional customizing and is generic.
It supports also to call class methods using the RFC stack from Java or .net.
Thanks,
Alfred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mattew/Mike,
Please correct me if i am wrong.
My understanding is that for this typical requirement i need to create a RFC FM and have the same input parameter. and inside of this FM call the Class method will be called.
Thanks and regards,
Balajisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.