none
How to trace RFC DLL and SAP Adaptor RRS feed

  • General discussion

  • Hi everybody, 

    hope it will help as it helped me a lot.
     
    Just to suggest how to  trace RFC communications between Biztalk and SAP :


    SAP dll Tracing :

    Create these env variables

     

    CPIC_TRACE=1

    RFC_TRACE=1

    RFC_TRACE_DIR=C:\Logs\Rfc

    Biztalk adapter Tracing

    In file C:\Program Files\Microsoft BizTalk Server 2006\BTSNTSvc.exe.config add the following

      <system.diagnostics>

        <sources>

          <source name ="System.ServiceModel" switchValue="Verbose">

            <listeners>

              <add name="xml" />

            </listeners>

          </source>

          <source name ="System.ServiceModel.MessageLogging"

                  switchValue="Verbose, ActivityTracing">

            <listeners>

              <add name="xml" />

            </listeners>

          </source>

          <source name ="System.Runtime.Serialization" switchValue="Verbose">

            <listeners>

              <add name="xml" />

            </listeners>

          </source>

     

          <source name="Microsoft.ServiceModel.Channels" switchValue="Error">

            <listeners>

              <add name="xml" />

            </listeners>

          </source>

          <source name="Microsoft.Adapters.SAP" switchValue="Information">

            <listeners>

              <add name="xml" />

            </listeners>

          </source>

        </sources>

        <sharedListeners>

          <add name="xml" type="System.Diagnostics.XmlWriterTraceListener"

       traceOutputOptions="LogicalOperationStack"

              initializeData="C:\logs\AdapterTrace.svclog" />

        </sharedListeners>

        <trace autoflush="true" />

      </system.diagnostics>

      <system.serviceModel>

        <diagnostics>

          <messageLogging

               logEntireMessage="true"

               logMalformedMessages="false"

               logMessagesAtServiceLevel="true"

               logMessagesAtTransportLevel="true"/>

        </diagnostics>

      </system.serviceModel>

    • Edited by rkacel Wednesday, May 13, 2009 3:12 PM missing second part
    Wednesday, May 13, 2009 3:11 PM