Skip to Content
author's profile photo Former Member
Former Member

connection to SAP


I am using .Net connector (c# lang) to connect SAP with both single login and load balancing feature. How do i check in sap whether connection is established or not?

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 04, 2004 at 06:23 AM


    check the (marginal) <b>.net connector documentation</b> chapter 5.3:

    <i>After your program is running, use the SAP gateway monitor (transaction SMGW) to verify that

    your .NET program is registered. If the registration works properly, you can see on the logged

    on clients screen the PROGID and the host machine.

    The SAP Gateway offers detailed tracing capabilities from within the SAP system. On your

    RFC server you can also enable tracing by setting the environment variable RFC_TRACE and

    CPIC_TRACE. The traces can be quite large so should only be used when there is a problem.

    For TRFC servers you also have the TRFC monitor (SM58). For QRFC you have the SAP

    Queue monitor (transaction SMQ2) to monitor QRFC calls</i>

    my be its <b>smq1</b> and not smq2 but you surely will find your connection PLUS the traces will inform you about connection failures.

    Add comment
    10|10000 characters needed characters exceeded