SAP Function TR_OBJECTS_INSERT - Transport Organizer: External interface for inserting 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
WI_ORDER E070-TRKORR C 20 ' ' X Default request (priority before request search)

Parameter Reference Type Length Text
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 of edited object keys
WT_KO200 KO200 226 Input table of edited objects

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 before the objects are saved, to lock themif necessary (request lock). Before this module is called, the moduleTR_OBJECTS_CHECK needs to have been called for the specified objectswhen you started maintaining them.

  • Warnings may appear.

  • 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.
    The objects can be lockable or non-lockable.
    A new, lockable object (OPERATION = "I") can also have the fieldsAUTHOR, DEVCLASS, GENFLAG and MASTERLANG filled, to specify thecorresponding TADIR attributes.
    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.

    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'.