SAP Function TR_OBJECTS_CHECK - Transport Organizer: External interface for checking objects and keys

Parameter Reference Type Length Default Optional Text
IV_EXTERNALID CTSPROJECT-EXTERNALID C 32 ' ' X
IV_EXTERNALPS CTSPROJECT-EXTERNALPS C 32 ' ' X
IV_NO_PS TRPARI-FLAG C 1 ' ' X General Indicator
IV_NO_SHOW_OPTION TRPARI-FLAG C 1 ' ' X No 'display' on error dialog box
IV_NO_STANDARD_EDITOR TRPARI-FLAG C 1 ' ' X General Indicator

Parameter Reference Type Length Text
WE_OBJECTS_APPENDABLE TRPARI-S_CHECKED C 1 'X': TR_OBJECTS_INSERT can include objects
WE_ORDER E070-TRKORR C 20 Selected request (transport request)
WE_TASK E070-TRKORR C 20 Selected request (correction/repair)

Parameter Reference Length Optional Text
TT_TADIR TADIR 232 X Output table for object directory entries
WT_E071K E071K 282 X Input table for object keys to be edited
WT_KO200 KO200 226 Input table for objects to be edited

Exception Text
CANCEL_EDIT_OTHER_ERROR Cancel
SHOW_ONLY_OTHER_ERROR Cancel, user wants to go to display mode

Functionality
This function module is a part of the interface for the TransportOrganizer object tools (ABAP Workbench/Customizing).
This module must be called when you start maintaining(create/change/delete) an object, to check whether your user is allowedto edit the specified object.

  • A request number is queried and the objects are placed in the
  • appropriate task.
    • If you create a new object, a dialog box queries the object directory
    • entry.
      One or more objects can be copied in the table WT_KO200. The fieldsPGMID, OBJECT and OBJ_NAME need to be filled for each object. Theobjects can be either lockable or non-lockable.
      Keys for table objects can be specified in the table WT_E071K (forexample, for R3TR TABU T123 with the object function K).
      If you are editing a single object, you can use the alternative moduleTR_OBJECT_CHECK.

      Example for internal sap users
      You can find an example in the program RSWBO_EXAMPLE1.

      Value range

      • 'X':Objects must be recorded; before backing up the object changes, you
      • must call TR_OBJECTS_INSERT.
        • ' ':You do not have to record changes. You do not have to call
        • TR_OBJECTS_INSERT.

          Description
          If errors occur, the function module displays the cause of the errorsin a dialog box. In certain error situations, you cannot edit theobject, however you can display it in the CTO.
          If this is the case, you can choose 'Display' on the error box.
          The function module does not usually have enough information to decidewhether it can display the object.
          You can set this parameter to 'X' to suppress the function 'Display'.

385067Various problems with VOFM functions in Release 4.6C