on 04-07-2015 7:53 AM
Hi,
I want to create gateway service.
My rfc function is in the other sap system So I want to call and map rfc other system and get entity as export parameter and tables that rfc .
How can I do?
thnks...
Hi Kaan,
Ensure your system, where you are building your gateway service is connected to system which has RFC.
You can either go with Mapping RFC approach.
1. When you go with mapping approach.
Data Model -> Import ->RFC/BOR
Give your entitytype name. Select Target system as "Remote". Now provide RFC destination name. Your RFC destination name should be the Trusted rfc destination created between both the system. Check SM59 for the same.
Same steps repeat while mapping on Service Implementation step :
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you are going with mapping approach, you don't need to call the RFC manually. You just give the RFC name here and map the Import and export parameters with your properties defined in entity type.
Once you are done with mapping. Click on generate button and your DPC class code will be generated.
For details please follow this blog/document :
Regards,
Tejas
Hi Tejas,
I have a new problem.
I did all step but when execute gateway client there is an error like,
<message xml:lang="en">RFC call ended with "Communication Failure" exception (Function call failed; could not find the function Z_RFC_DI_ARA_01).</message>
Z_RFC_DI_ARA_01 function is in another sap system
Discussion successfully moved from SAP Fiori to SAP Gateway which is the more appropriate community for this Discussion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.