on 03-20-2009 4:22 PM
Hi,
We are implementing a BAPI to send data to PI. We have created the following
IN R\3
In SM59 create a new RFC connection type T (TCP/IP).
Technical settings:
Activation type: registered server program
PROGRAM_ID: test_program_id
Gateway options:
GAteway host: Host of your R\3 system
Gateway service: Gateway of your R\3 system
In XI
In your RFC Sender Communication Channel:
RFC Server Parameter:
Application Server: Host of your R\3 system
Application Server Service: Gateway of your R\3 system
PROGRAM ID: test_program_id
RFC Metadata Repository parameter
Message Serer: Your R/3 host.
Message Server Service...
SystemmID...
Use a user with authorization to do RFC calls.
Client...
Language...
After we finish setting up your CC, save and Activate.
Now check the RFC in R/3
When we run the program in SAP( which contains the BAPI ) for the first time, it runs & send the data but for next run it gives error in SAP side(SM58) : Commit fault: com.sap.aii.adapter.rfc.afcommunicat ion.RfcChannelMismatchE
Message no. SR053
Can any one help us to solve the RFC connection issue
Thanks
In SAP the gateway address should be of SAP not PI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You know for bapis you need to commit once the operation is done.
May be in this case after the RFC call is performed commit is not handled looks like as a result it is not able to make second call.
Check for commit handling in BAPI
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
make sure your program id is unique.try changing it.
Ref:
RFC adapter - /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
trouble shooting rfc/soap -
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.