Tuesday, November 26, 2013

Configuring SAP and BizTalk



SAP BIZTALK & ASSOCIATED ISSUES


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
Connect_PM  DEST=BIZTALK_2, TPNAME=BIZTALK_2

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.




Double click on it, and make sure the activation type is registered service program, it is not the default. Your SAP admin will need to fix this.




Perform the connection test, it must pass…your receive location will need to be configured and running....


Answer 4: 

Read what it says in the description panel, for destination name, there are two of these… make both blank, it will stop asking you for the saprfc.ini

 

No comments: