Fonction SAP TR_TADIR_POPUP_ENTRY_E071 - Dialog box for displaying/maintaining an object directory entry (TADIR)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IV_SUPPRESS_MOD_SHOW TRPARI-FLAG C 1 ' ' X Suppress display-change function
WI_E071_GENNUM E071-GENNUM C 3 ' ' X E071-GENNUM of the requested TADIR entry
WI_E071_OBJECT E071-OBJECT C 4 E071-OBJECT of requested TADIR entry
WI_E071_OBJ_NAME E071-OBJ_NAME C 120 E071-OBJ_NAME of requested TADIR entry
WI_E071_PGMID E071-PGMID C 4 E071-PGMID of requested TADIR entry
WI_MESSAGE_ENTER_DEVCLASS TRPARI-W_MSG_DEVC C 1 ' ' X Send message 'Maintain package'
WI_READ_ONLY TRPARI-S_READONLY C 1 ' ' X TADIR in display mode
WI_TADIR_DEVCLASS TADIR-DEVCLASS C 30 ' ' X TADIR_DEVCLASS (default for creating new TADIR)
WI_TADIR_GENFLAG TADIR-GENFLAG C 1 ' ' X TADIR-GENFLAG (generated object) (X/T/U/ )
WI_TADIR_MASTERLANG TADIR-MASTERLANG C 1 ' ' X TADIR-MASTERLANG (master language)

Paramètre Reférence Type Long. Description
ES_TDEVC TDEVC u 515
EV_DELETED TRPARI-FLAG C 1 General Indicator
WE_TADIR TADIR u 232 Output string for TADIR

Exception Description
DEVCLASS_NOT_FOUND Package not in TDEVC
DISPLAY_MODE Only display object
EXIT Function aborted
GLOBAL_TADIR_INSERT_ERROR Error inserting into global TADIR
INTERNAL_ERROR Internal program error
NO_OBJECT_AUTHORITY No authorization to execute the function
NO_REPAIR_SELECTED No repair request selected
NO_SYSTEMNAME System name cannot be determined or invalid length
NO_SYSTEMTYPE System type cannot be determined
NO_TADIR_TYPE Object type cannot be included in TADIR
OBJECT_APPEND_ERROR Error when locking and saving the E071 entries
OBJECT_EXISTS Object exists, deletion rejected
OBJECT_LOCKED Object locked by external request lock
RESERVED_NAME Violation of reserved TRESN names
TADIR_ENQUEUE_FAILED TADIR locked by short-term lock
TADIR_MODIFY_ERROR Error when saving TADIR entry
TADIR_NOT_EXIST TADIR does not exist, deletion rejected

Functionality
You can also use this function outside the Change and Transport System,since it uses short term locks (enqueue/dequeue edit locks) to updatethe database.
The function module TR_TADIR_POPUP_ENTRY_E071 displays the objectdirectory entry (TADIR) for the object sent in the parametersWI_E071_PGMID, I_E071_OBJECT and WI_E071_OBJ_NAME.
When creating objects you can also send the generation flag, thepackage and the original language (WI_TADIR_GENFLAG, WI_TADIR_DEVCLASS,WI_TADIR_MASTERLANG).
The parameter IV_SUPPRESS_MOD_SHOW suppresses the 'Display/Change'function on the dialog box.
The parameter WI_READ_ONLY is for display only.
Whether you can change the attributes in change mode depends on whetherthe object is being edited in its original system.

  • In the original system you can change the package and the person
  • responsible for the object.
    • In a non-original system you can change the person responsible only.

    • The parameter WI_MESSAGE_ENTER_DEVCLASS creates an 'Enter developmentclass' message on the dialog box.
      The function returns the new object directory entry WE_TADIR and thenew package ES_TDEVC.