SAP TRINT_CALL_XPRA Function Module for









TRINT_CALL_XPRA is a standard trint call xpra 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 call xpra FM, simply by entering the name TRINT_CALL_XPRA into the relevant SAP transaction such as SE37 or SE38.

Function Group: SCTS_EXE_EXP
Program Name: SAPLSCTS_EXE_EXP
Main Program: SAPLSCTS_EXE_EXP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TRINT_CALL_XPRA 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_CALL_XPRA'"
EXPORTING
* IV_TRKORR = ' ' "
* IT_E071 = "
* IV_DETERMINE_XPRAS = 'X' "
* IV_SFW_CHECK_ACTIVE = 'X' "
* IV_HANDLE_LOCKFLAG = 'X' "
* IV_SFW_CALL = ' ' "
* IV_STATLOG_FILE = ' ' "

CHANGING
CT_XPRAS = "
.



IMPORTING Parameters details for TRINT_CALL_XPRA

IV_TRKORR -

Data type: TRKORR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_E071 -

Data type: TR_OBJECTS
Optional: Yes
Call by Reference: Yes

IV_DETERMINE_XPRAS -

Data type: TRPARI-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SFW_CHECK_ACTIVE -

Data type: TRPARI-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_HANDLE_LOCKFLAG -

Data type: TRPARI-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SFW_CALL -

Data type: TRPARI-FLAG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_STATLOG_FILE -

Data type: TRFILE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for TRINT_CALL_XPRA

CT_XPRAS -

Data type: SCTS_XPRA_RESULTS
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for TRINT_CALL_XPRA 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_xpras  TYPE SCTS_XPRA_RESULTS, "   
lv_iv_trkorr  TYPE TRKORR, "   SPACE
lv_it_e071  TYPE TR_OBJECTS, "   
lv_iv_determine_xpras  TYPE TRPARI-FLAG, "   'X'
lv_iv_sfw_check_active  TYPE TRPARI-FLAG, "   'X'
lv_iv_handle_lockflag  TYPE TRPARI-FLAG, "   'X'
lv_iv_sfw_call  TYPE TRPARI-FLAG, "   SPACE
lv_iv_statlog_file  TYPE TRFILE. "   SPACE

  CALL FUNCTION 'TRINT_CALL_XPRA'  "
    EXPORTING
         IV_TRKORR = lv_iv_trkorr
         IT_E071 = lv_it_e071
         IV_DETERMINE_XPRAS = lv_iv_determine_xpras
         IV_SFW_CHECK_ACTIVE = lv_iv_sfw_check_active
         IV_HANDLE_LOCKFLAG = lv_iv_handle_lockflag
         IV_SFW_CALL = lv_iv_sfw_call
         IV_STATLOG_FILE = lv_iv_statlog_file
    CHANGING
         CT_XPRAS = lv_ct_xpras
. " TRINT_CALL_XPRA




ABAP code using 7.40 inline data declarations to call FM TRINT_CALL_XPRA

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.

 
DATA(ld_iv_trkorr) = ' '.
 
 
"SELECT single FLAG FROM TRPARI INTO @DATA(ld_iv_determine_xpras).
DATA(ld_iv_determine_xpras) = 'X'.
 
"SELECT single FLAG FROM TRPARI INTO @DATA(ld_iv_sfw_check_active).
DATA(ld_iv_sfw_check_active) = 'X'.
 
"SELECT single FLAG FROM TRPARI INTO @DATA(ld_iv_handle_lockflag).
DATA(ld_iv_handle_lockflag) = 'X'.
 
"SELECT single FLAG FROM TRPARI INTO @DATA(ld_iv_sfw_call).
DATA(ld_iv_sfw_call) = ' '.
 
DATA(ld_iv_statlog_file) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!