cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Commit fault com.sap.aii.af.rfc.afcommunication.RfcAFWException: alt

Former Member
0 Kudos

Have a RFC interface between Sap R/3 and XI. Submit RFC request:

-


call function 'Z_PGM'

in background task

destination 'XID'

tables

it_zmsfi_labels = t_table.

COMMIT WORK.

-


Getting error in SM58 in R/3 : Commit fault com.sap.aii.af.rfc.afcommunication.Rf cAFWException: alternat

Message no. SR053

Any ideas? If I do test connection on in SM59 on TCP connection it's Ok.

Thanks

Rakesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Refer to SAP Note "FAQ XI 3.0 RFC Adapter" Q.No 19

<i>Q 19: While sending a RFC call to the RfcAdapter I get a error message like "com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of binding via CPA-cache failed..." or "com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed...". What is missing?

A: The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:

Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.

Sender Interface: The name of the RFC function module.

Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions

Receiver Party/Receiver Service: These fields are empty. This will match the wildcard '*'.</i>

Former Member
0 Kudos

Hi Sekhar

My sender agreement is as per SAP NOTE. but still i m getting the same error

Thanks

Rakesh

Message was edited by:

Rakesh teki

Former Member
0 Kudos

Hi,

Check the XID the destination.

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Regards

Chilla

Former Member
0 Kudos

Thanks to everyone,

I was finally able to figure out the problem, the reason is that,

When R/3 calls back XI, it passes the SYS-ID and client number and checks the same in the Integration Configuration (Under Business System Service-> Adapter Specific Identifiers. The R/3 System ID and the client Number ), If they are not the same, then it throws the error : Commit fault com.sap.aii.af.rfc.afcommunication.RfcAFWException: alt.

I modified the info there and was able to resolve the issue.

Thanks

Rakesh

Former Member
0 Kudos

Hi Rakesh,

Would you please elaborate more on this, i am bit new to XI and not really sure what you are refering to with the below steps. Please enlight me on where i find 'Business System Service'?

"When R/3 calls back XI, it passes the SYS-ID and client number and checks the same in the Integration Configuration (Under Business System Service-> Adapter Specific Identifiers. The R/3 System ID and the client Number ), If they are not the same, then it throws the error : Commit fault com.sap.aii.af.rfc.afcommunication.RfcAFWException: alt."

Thanks

Chandra

Former Member
0 Kudos

Hi Rakesh,

Would you please elaborate more on this, i am bit new to XI and not really sure what you are refering to with the below steps. Please enlight me on where i find 'Business System Service'?

"When R/3 calls back XI, it passes the SYS-ID and client number and checks the same in the Integration Configuration (Under Business System Service-> Adapter Specific Identifiers. The R/3 System ID and the client Number ), If they are not the same, then it throws the error : Commit fault com.sap.aii.af.rfc.afcommunication.RfcAFWException: alt."

Thanks

Chandra

Former Member
0 Kudos

Hi,

see the below link

Regards

Chilla

Former Member
0 Kudos

Hi Chilla

Thanks for your response.

I checked the link that you had specified, and it suggests to use

" COMMIT WORK"

I have used it in my RFM, but still I get the error.

Thanks

Rakesh