SAP TRINT_DISPLAY_OBJECTS Function Module for
TRINT_DISPLAY_OBJECTS is a standard trint display objects 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 trint display objects FM, simply by entering the name TRINT_DISPLAY_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: STRV
Program Name: SAPLSTRV
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function TRINT_DISPLAY_OBJECTS 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 'TRINT_DISPLAY_OBJECTS'".
EXPORTING
* IV_CUA_STATUS = 'DEFAULT' "
* IV_QUIT_POPUP = ' ' "
* IT_INACTIVE_FCODES = "
* IV_TITLE = "
* IS_SORT_DESCRIPTION = "Sort Sequence
* IV_FIRST_NODE_TEXT = "
* IV_START_COLUMN = 0 "Column from which the dialog box starts
* IV_START_ROW = 0 "Row from which the dialog box starts
* IV_REQUEST = "
* IV_REQUEST_TYPE = "
IMPORTING
ET_MERGED_OBJECTS = "
CHANGING
CT_OBJECTS = "Table with Objects
* CT_LAYOUT = "
EXCEPTIONS
INVALID_REQUEST_TYPE = 1
IMPORTING Parameters details for TRINT_DISPLAY_OBJECTS
IV_CUA_STATUS -
Data type: RSEU3-STATUSDefault: 'DEFAULT'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_QUIT_POPUP -
Data type: TRPARI-FLAGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_INACTIVE_FCODES -
Data type: STRWB_INACTIVE_FCODESOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TITLE -
Data type: RSEU1-TIT_TEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_SORT_DESCRIPTION - Sort Sequence
Data type: STRWB_DR_SORTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_FIRST_NODE_TEXT -
Data type: SNODETEXT-TEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_START_COLUMN - Column from which the dialog box starts
Data type: SY-CUCOLOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_START_ROW - Row from which the dialog box starts
Data type: SY-CUROWOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_REQUEST -
Data type: E070-TRKORROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_REQUEST_TYPE -
Data type: E070-TRFUNCTIONOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TRINT_DISPLAY_OBJECTS
ET_MERGED_OBJECTS -
Data type: TR_OBJECTSOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for TRINT_DISPLAY_OBJECTS
CT_OBJECTS - Table with Objects
Data type: STRWB_OBJECTSOptional: No
Call by Reference: No ( called with pass by value option)
CT_LAYOUT -
Data type: STRWB_STREENODESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_REQUEST_TYPE - Invalid request type
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TRINT_DISPLAY_OBJECTS 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_ct_objects | TYPE STRWB_OBJECTS, " | |||
lv_iv_cua_status | TYPE RSEU3-STATUS, " 'DEFAULT' | |||
lv_et_merged_objects | TYPE TR_OBJECTS, " | |||
lv_invalid_request_type | TYPE TR_OBJECTS, " | |||
lv_iv_quit_popup | TYPE TRPARI-FLAG, " ' ' | |||
lv_ct_layout | TYPE STRWB_STREENODES, " | |||
lv_it_inactive_fcodes | TYPE STRWB_INACTIVE_FCODES, " | |||
lv_iv_title | TYPE RSEU1-TIT_TEXT, " | |||
lv_is_sort_description | TYPE STRWB_DR_SORT, " | |||
lv_iv_first_node_text | TYPE SNODETEXT-TEXT, " | |||
lv_iv_start_column | TYPE SY-CUCOL, " 0 | |||
lv_iv_start_row | TYPE SY-CUROW, " 0 | |||
lv_iv_request | TYPE E070-TRKORR, " | |||
lv_iv_request_type | TYPE E070-TRFUNCTION. " |
  CALL FUNCTION 'TRINT_DISPLAY_OBJECTS' " |
EXPORTING | ||
IV_CUA_STATUS | = lv_iv_cua_status | |
IV_QUIT_POPUP | = lv_iv_quit_popup | |
IT_INACTIVE_FCODES | = lv_it_inactive_fcodes | |
IV_TITLE | = lv_iv_title | |
IS_SORT_DESCRIPTION | = lv_is_sort_description | |
IV_FIRST_NODE_TEXT | = lv_iv_first_node_text | |
IV_START_COLUMN | = lv_iv_start_column | |
IV_START_ROW | = lv_iv_start_row | |
IV_REQUEST | = lv_iv_request | |
IV_REQUEST_TYPE | = lv_iv_request_type | |
IMPORTING | ||
ET_MERGED_OBJECTS | = lv_et_merged_objects | |
CHANGING | ||
CT_OBJECTS | = lv_ct_objects | |
CT_LAYOUT | = lv_ct_layout | |
EXCEPTIONS | ||
INVALID_REQUEST_TYPE = 1 | ||
. " TRINT_DISPLAY_OBJECTS |
ABAP code using 7.40 inline data declarations to call FM TRINT_DISPLAY_OBJECTS
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 STATUS FROM RSEU3 INTO @DATA(ld_iv_cua_status). | ||||
DATA(ld_iv_cua_status) | = 'DEFAULT'. | |||
"SELECT single FLAG FROM TRPARI INTO @DATA(ld_iv_quit_popup). | ||||
DATA(ld_iv_quit_popup) | = ' '. | |||
"SELECT single TIT_TEXT FROM RSEU1 INTO @DATA(ld_iv_title). | ||||
"SELECT single TEXT FROM SNODETEXT INTO @DATA(ld_iv_first_node_text). | ||||
"SELECT single CUCOL FROM SY INTO @DATA(ld_iv_start_column). | ||||
"SELECT single CUROW FROM SY INTO @DATA(ld_iv_start_row). | ||||
"SELECT single TRKORR FROM E070 INTO @DATA(ld_iv_request). | ||||
"SELECT single TRFUNCTION FROM E070 INTO @DATA(ld_iv_request_type). | ||||
Search for further information about these or an SAP related objects