Fonction SAP BAPI_XMI_LOGOFF - Log Off an External Management Tool

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INTERFACE BAPIXMLOGR-INTERFACE C 3 X Interface From Which You Should Log Off

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548

Functionality
Use this method to close a session with a CCMS system administrationinterface, or to log off the XMI interface completely.
You must then close the RFC connection with the C RFC call rfcClose ifyou want to log off the R/3 System completely.

Further information
XMI documentation (SAPnet/CCMS)

Description
INCLUDE BAPI_TABLE

Value range
MSG_NOT_LOGGED_ON: You have not logged onto the R/3 System.
MSG_PROBLEM_DETECTED: A problem occurred in the XMI function modulethat is not directly connected to the XMI functions. The problem isprobably caused by a function module that was called. To analyze theproblem, examine the R/3 System log.
MSG_CANT_LOG_ACTION: The action had to be terminated because the R/3XMI logging mechanism reported an error.

Description
Enter the identification code of the CCMS system administrationinterface from which you want to log off.
There are three specification options:

  • A specific interface (XMB, for example): The connection to a specific
  • interface is closed if it was the last. The XMISESSION methods are thenstill available.
    • '*' all SMAPIs are logged off. Just like the first variant, the
    • XMISESSION methods are then still available.
      • If the parameter is not set, the system logs you off completely. XMI
      • calls are no longer possible. Use this variant if you want to break theconnection completely. (You must then close the RFC connection with theC RFC call rfcClose.) The session answers the next SXMI_LOGON with anew SESSIONID.

        Value range
        The three ID codes that are currently possible are as follows:

        • XBP: Background processing

        • XBR: Database backup

        • XMB: Basic functions

        • XOM: Output management

        • XDB: Database administration