on 06-04-2008 6:05 AM
hi,
all can any one send me link for RFC to RFC scenario
where response of one RFC is mapped with request of another RFC.
thanks and regard
Diwakar Chaube
Hi Diwakar,
SAP does not recommend diverting an existing, functioning RFC connection between two SAP business
systems so that the data passes through the Integration Server.
If you still want to do it, as Raj said you can simply
1. Import the RFCs of sender of receiver.
2. Do the necessary mapping.
3. Configure sender and receiver RFC adapters.
Before that check if you have RFC destination for the RFC adapter. If not You should establish it. To establish an RFC destination for the RFC adapter.
1. Call the transaction Display and Maintain RFC Destinations (SM59).
2. Select an existing RFC destination of type ABAP Connections (for example, ABAP_Old) by double-clicking it.
3. Choose Destination ® Copy and copy the RFC destination using a new name (for example, ABAP_New).
4. Save the new RFC destination (ABAP_New) and delete the old RFC destination (ABAP_Old).
5. Create a new RFC destination (for example, RFC_Adapter) of type T (TCP/IP connection) as the RFC destination for the RFC adapter.
6. Select the registration type Registered Server Program and in the Program ID field enter the corresponding program ID from the configuration of the sender RFC adapter.
7. In the Gateway host and Gateway service fields, enter the gateway host and gateway service from the configuration of the sender RFC adapter.
8. If the sender system is a Unicode system, define the RFC destination as Unicode.
9. Using the name of the old ABAP connection (ABAP_Old), create a new RFC destination of type L (logical destination with reference entry).
10. In the Reference Entry field enter the RFC destination (RFC_Adapter) for the RFC adapter.
For more details take a look at this link. http://help.sap.com/saphelp_nw70/helpdata/en/25/76cd3bae738826e10000000a11402f/content.htm
**
Kindly reward points, if you find this tip useful!
Thanks
Vikranth
Edited by: Khimavath Vikranth on Jun 4, 2008 8:18 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Your scenario is like this:
RFC1.Req>XI>RFC2.Req
RFC1.Res<XI<RFC2.Res
You should first import both the RFC structures into your IR. When you import your RFC's they will have Request and Response parts.
Now your mapping should incorporate this:
RFC1.req->MapTo>RFC2.req
RFC1.Res<Mapto<RFC2.res
As you can see the RFC1 wants to get the response once it sends the Request and hence from sender side it is Sync. Same is true for the Reciever RFC. and hence this is all and all Syn scenario.
You can do this using BPM but as you said Sync Sync Bridge, then no that is not required.
If you are using BPM then you should have these things.
-->Reciver step which will listen req from RFC1(Sync)
-->Sender step which will push the request to another RFC (Sync).
check the thread
Note: reward points if solution found helpfull
Regards
Chandrakanth.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.