Fonction SAP TR_SYS_PARAMS - Determine System Name, Type, Change Option

Paramètre Reférence Type Long. Description
EV_C_SYSTEM TRPARI-S_CHECKED C 1 Obsolete: Always returned empty
EV_SFW_BCSET_REC T000-CCORIGCONT C 1 Recording Client for Switch BC Sets
SYSTEMEDIT TADIR-EDTFLAG C 1 System Change Option
SYSTEMNAME SYST-SYSID C 8 System Name (e.g. C11)
SYSTEMTYPE SYST-SYSID C 8 System Type ('SAP' or 'CUSTOMER')
SYSTEM_CLIENT_EDIT T000-CCCORACTIV C 1 Change Option for Client-Dependent Customizing Objects
SYSTEM_CLIENT_ROLE T000-CCCATEGORY C 1 Client Role (see Documentation)
SYS_CLIINDDEP_EDIT T000-CCNOCLIIND C 1 Change Option for Repository Objects in Logon Client

Exception Description
NO_SYSTEMNAME System name cannot be determined or invalid length
NO_SYSTEMTYPE System type cannot be determined

Functionality
The function module TR_SYS_PARAMS can also be started outside of theChange and Transport System, since the database is not updated.
The function determines the global system parameters for: system namesystem type, system editing, client modification, the modification ofclient-independent objects and the client role.

  • System name specifies the current 3-character system name

  • System type is either "SAP" (SAP system) or "CUSTOMER" (customer
  • system)
    • System editing can be set so that everything is editable (" "),
    • or nothing is editable ("N").
      • Client modification can be set so that everything can be changed
      • (" "), nothing can be changed ("2") or everything with recording ("1")or everything but nothing client-dependent may be exported.
        • Client-independent object modification can be set so that all
        • client-independent objects in the logon client can be changed (" "),client-independent customizing objects cannot be changed ("1"),Repository objects cannot be changed ("2") or that neitherclient-independent customizing objects nor Repository objects can bechanged ("3").
          • Client role specifies the role of the client. The following
          • values are possible:
            Productive client ("P")
            Test client ("T")
            Customizing client ("C")
            Demo client ("D")
            Training client ("E")
            SAP reference client ("R")

            Note
            The parameters must always be fetched together, and then stored in theglobal data of the appropriate function group.

1278425Connecting ERP QM to EWM