Sunday, October 14, 2012

TRINT_TADIR_INSERT SAP Function module - Internal: Insert an entry in the object directory (TADIR)


TRINT_TADIR_INSERT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below are the pattern details for this FM showing its interface including any import, export parameters etc and for your convenience any standard documentation available. All this information and more can be viewed if you enter the function module name TRINT_TADIR_INSERT into the relevant SAP transaction such as SE37 or SE80.

Within the comments section below there is also an opportunity for you to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name TRINT_TADIR_INSERT or its description.
Pattern for FM TRINT_TADIR_INSERT - TRINT TADIR INSERT
Associated Function Group: SDI0
Released Date: Not Released
CALL FUNCTION 'TRINT_TADIR_INSERT' "Internal: Insert an entry in the object directory (TADIR)
  EXPORTING
*   author = SY-UNAME           " tadir-author  Object author
*   masterlang = SPACE          " tadir-masterlang  Object was generated in this language
    devclass =                  " tadir-devclass  Development class
*   genflag = SPACE             " tadir-genflag  X: Object is a generated object
    object =                    " tadir-object  Object subtype (PROG, TABL ...)
    obj_name =                  " tadir-obj_name  Object name
    pgmid =                     " tadir-pgmid   Object type (R3TR, R3OB, ...)
*   srcsystem = SY-SYSID        " tadir-srcsystem  Original system
*   edtflag = SPACE             " tadir-edtflag  'X' -> Object cannot be edited
*   srcdep =                    " tadir-srcdep  L: Object must be checked against the GTADIR
*   force_mode = SPACE          " trpari-flag   Forces update, entry must exist
*   paknocheck = SPACE          " tadir-paknocheck  Exception Indicator for Package Check
*   objstablty = SPACE          " tadir-objstablty  Release status of a development object
  IMPORTING
    es_tadir =                  " tadir         Object directory entry (TADIR)
  EXCEPTIONS
    OBJECT_EXISTS_GLOBAL = 1    "               Object already exists globally
    OBJECT_EXISTS_LOCAL = 2     "               Object already exists locally
    .  "  TRINT_TADIR_INSERT

SAP Documentation for FM TRINT_TADIR_INSERT


FUNCTIONALITY

This function may only be used in the Change and Transport System because it performs database updates without setting up short-term locks (enqueue/dequeue editing lock).
The function changes existing table entries in the database without validation.
The function module TRINT_TADIR_INSERT inserts the object directory entry specified in parameters PGMID, OBJECT, OBJ_NAME (TADIR) in the database.The other input parameters are assigned to the TADIR fields.
The final object directory entry generated on the database is returned with parameter ES_TADIR. 

No comments:

Post a Comment