Fonction SAP TRINT_TRESN_GET_FAULTS -

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
WI_FAULT_COUNT WBO_PAR-TYPE_I s 2 1 X
WI_TRESN TRESN u 123

Paramètre Reférence Type Long. Description
WE_FAULT_COUNT WBO_PAR-TYPE_I s 2 Number of objects selected

Paramètre Reférence Long. Facultatif Description
TT_TADIR TADIR 232 X

Functionality
When a namespace convention is entered, the function moduleTRINT_TRESN_GET_FAULTS returns the directory entries (TADIR) of theobjects violating this convention. It is irrelevant whether thereactually is a reservation entry in the reservation table TRESN for thenamespace specified, meaning that this module can therefore also checkwhether there is a free namespace for a new reservation.
For the namespace convention passed with WI_TRESN, only the followinginformation is functionally evaluated:

  • Namespace key

  • Development class

  • Reservation type

  • The selection is different depending on reservation type:
    • Standard reservation D: Objects in the namespace with incorrect
    • development class
      • Special reservation F: Objects in the namespace that are not flagged
      • as generated
        The optional parameter WI_FAULT_COUNT (default 1) can be passed withthe maximum number of objects to be selected. If you are onlyinterested in finding out whether there are violations of the namespaceconvention, it is enough to search for a single object. WI_FAULT_COUNT= 0 or space can be used to find all violations.
        WE_FAULT_COUNT returns the number of selected objects for whichdirectory information (TADIR) is stored in table TT_TADIR.

        Notes
        Requirements for calling the function remotely:
        The RFC call is performed with user SAPCPIC, who has the authorizationprofile S_A.CPIC with the authorization S_RFC_VERS, allowing readaccess using the function groups entered in it. The function group 0ST1must therefore be entered in S_RFC_VERS.