SAP TR_SHOW_OBJECT_ATTRIBUTES Function Module for
TR_SHOW_OBJECT_ATTRIBUTES is a standard tr show object attributes SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for tr show object attributes FM, simply by entering the name TR_SHOW_OBJECT_ATTRIBUTES into the relevant SAP transaction such as SE37 or SE38.
Function Group: STRJ
Program Name: SAPLSTRJ
Main Program: SAPLSTRJ
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TR_SHOW_OBJECT_ATTRIBUTES pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'TR_SHOW_OBJECT_ATTRIBUTES'".
EXPORTING
IV_PGMID = "E071-object-pgmid (e.g.: R3TR/..)
IV_OBJECT = "E071 object type (e.g.: PROG/TABL/..)
IV_OBJNAME = "E071-object-name (e.g.:)
* IV_READ_ONLY = ' ' "
* IV_CHECK_DATE = '~' "
* IV_CHECK_CFG = '~' "
IMPORTING
EV_GOON = "Continue processing
EV_PF12 = "Terminate processing
ES_OBJECT_ATTRIBUTES = "
IMPORTING Parameters details for TR_SHOW_OBJECT_ATTRIBUTES
IV_PGMID - E071-object-pgmid (e.g.: R3TR/..)
Data type: E071-PGMIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_OBJECT - E071 object type (e.g.: PROG/TABL/..)
Data type: E071-OBJECTOptional: No
Call by Reference: No ( called with pass by value option)
IV_OBJNAME - E071-object-name (e.g.: )
Data type: E071-OBJ_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
IV_READ_ONLY -
Data type: TRPARFLAGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_CHECK_DATE -
Data type: TADIR-CHECK_DATEDefault: '~'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_CHECK_CFG -
Data type: TADIR-CHECK_CFGDefault: '~'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TR_SHOW_OBJECT_ATTRIBUTES
EV_GOON - Continue processing
Data type: TRPARI-S_CHECKEDOptional: No
Call by Reference: No ( called with pass by value option)
EV_PF12 - Terminate processing
Data type: TRPARI-S_CHECKEDOptional: No
Call by Reference: No ( called with pass by value option)
ES_OBJECT_ATTRIBUTES -
Data type: KO018Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TR_SHOW_OBJECT_ATTRIBUTES Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_ev_goon | TYPE TRPARI-S_CHECKED, " | |||
| lv_iv_pgmid | TYPE E071-PGMID, " | |||
| lv_ev_pf12 | TYPE TRPARI-S_CHECKED, " | |||
| lv_iv_object | TYPE E071-OBJECT, " | |||
| lv_iv_objname | TYPE E071-OBJ_NAME, " | |||
| lv_es_object_attributes | TYPE KO018, " | |||
| lv_iv_read_only | TYPE TRPARFLAG, " ' ' | |||
| lv_iv_check_date | TYPE TADIR-CHECK_DATE, " '~' | |||
| lv_iv_check_cfg | TYPE TADIR-CHECK_CFG. " '~' |
|   CALL FUNCTION 'TR_SHOW_OBJECT_ATTRIBUTES' " |
| EXPORTING | ||
| IV_PGMID | = lv_iv_pgmid | |
| IV_OBJECT | = lv_iv_object | |
| IV_OBJNAME | = lv_iv_objname | |
| IV_READ_ONLY | = lv_iv_read_only | |
| IV_CHECK_DATE | = lv_iv_check_date | |
| IV_CHECK_CFG | = lv_iv_check_cfg | |
| IMPORTING | ||
| EV_GOON | = lv_ev_goon | |
| EV_PF12 | = lv_ev_pf12 | |
| ES_OBJECT_ATTRIBUTES | = lv_es_object_attributes | |
| . " TR_SHOW_OBJECT_ATTRIBUTES | ||
ABAP code using 7.40 inline data declarations to call FM TR_SHOW_OBJECT_ATTRIBUTES
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single S_CHECKED FROM TRPARI INTO @DATA(ld_ev_goon). | ||||
| "SELECT single PGMID FROM E071 INTO @DATA(ld_iv_pgmid). | ||||
| "SELECT single S_CHECKED FROM TRPARI INTO @DATA(ld_ev_pf12). | ||||
| "SELECT single OBJECT FROM E071 INTO @DATA(ld_iv_object). | ||||
| "SELECT single OBJ_NAME FROM E071 INTO @DATA(ld_iv_objname). | ||||
| DATA(ld_iv_read_only) | = ' '. | |||
| "SELECT single CHECK_DATE FROM TADIR INTO @DATA(ld_iv_check_date). | ||||
| DATA(ld_iv_check_date) | = '~'. | |||
| "SELECT single CHECK_CFG FROM TADIR INTO @DATA(ld_iv_check_cfg). | ||||
| DATA(ld_iv_check_cfg) | = '~'. | |||
Search for further information about these or an SAP related objects