Tuesday, November 26, 2013

Configuring SAP and BizTalk


I get countless problems with SAP, it’s a pain to get going, but once its working, it’s golden.

Have you ever experienced any of these errors, well here are the errors and the solutions.

ERROR 1: The Messaging Engine failed while executing the inbound map for the message coming from source Details:"Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly. "

ERROR 2: The Messaging Engine failed to add a receive location …. to the adapter "WCF-SAP". Reason: "Microsoft.ServiceModel.Channels.Common.ConnectionException: Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_BUSY. SapErrorMessage=CMALLC : rc=2 > Connect from SAP gateway to RFC server failed

ERROR 3: The receive location "SAPxyz" with URL "sap://CLIENT=100;LANG=ENxyz&ListenerProgramId=BIZTALK_2&RfcSdkTrace=False&AbapDebug=False" is shutting down. Details:"The Messaging Engine failed while notifying an adapter of its configuration. ".

ERROR 4: The Messaging Engine failed to add a receive location "SAPxyz" with URL "sap://CLIENT=100;LANG=EN;@a/xyz…&ListenerProgramId=BIZTALK_2&RfcSdkTrace=False&AbapDebug=False" to the adapter "WCF-SAP". Reason: "Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_SYSTEM_FAILURE. SapErrorMessage=Open file 'saprfc.ini' failed: 'No such file or directory'.

Answer 1: When the sap adapter is deployed, it is supposed to deploy this assembly, however it does not, so you need to add it as a resource to BizTalk. 


 Answer 2 & 3

These are related, check you have a receive location setup, with your program ID, go into the SAP GUI and check via the /nsmgw command, look for your host, it will be the one running the BTSNTSvc command. You need to have it appear here first, get a receive location hooked up to this… if not there is your problem.


Check /nsm59 look for your entry point under TCP/IP, and sure it exists.