SAP TST_CA_TRCONTENT Function Module for Get some entries of transport requests (related to BPCA)









TST_CA_TRCONTENT is a standard tst ca trcontent SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get some entries of transport requests (related to BPCA) processing and below is the pattern details for this FM, 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 tst ca trcontent FM, simply by entering the name TST_CA_TRCONTENT into the relevant SAP transaction such as SE37 or SE38.

Function Group: TAO_SUT_GROUP
Program Name: SAPLTAO_SUT_GROUP
Main Program: SAPLTAO_SUT_GROUP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function TST_CA_TRCONTENT 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 'TST_CA_TRCONTENT'"Get some entries of transport requests (related to BPCA)
EXPORTING
IT_TRKORRS = "Table of Request Numbers
* IN_LANGU = SY-LANGU "R/3 System, current language

IMPORTING
EX_RETCODE = "Return value, return value after ABAP statements

TABLES
ET_E071 = "Change & Transport System: Object Entries of Requests/Tasks
ET_E071K = "Change & Transport System: Key Entries of Requests/Tasks
IN_FILTER_E071 = "Change & Transport System: Object Entries of Requests/Tasks
* EX_DISPLAYED_LOG = "table of messages to be logged in tao
* EX_TECHNICAL_LOG = "table of messages to be logged in tao
.



IMPORTING Parameters details for TST_CA_TRCONTENT

IT_TRKORRS - Table of Request Numbers

Data type: TRKORRS
Optional: No
Call by Reference: No ( called with pass by value option)

IN_LANGU - R/3 System, current language

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for TST_CA_TRCONTENT

EX_RETCODE - Return value, return value after ABAP statements

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for TST_CA_TRCONTENT

ET_E071 - Change & Transport System: Object Entries of Requests/Tasks

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

ET_E071K - Change & Transport System: Key Entries of Requests/Tasks

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

IN_FILTER_E071 - Change & Transport System: Object Entries of Requests/Tasks

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

EX_DISPLAYED_LOG - table of messages to be logged in tao

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

EX_TECHNICAL_LOG - table of messages to be logged in tao

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

Copy and paste ABAP code example for TST_CA_TRCONTENT 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:
lt_et_e071  TYPE STANDARD TABLE OF E071, "   
lv_ex_retcode  TYPE SY-SUBRC, "   
lv_it_trkorrs  TYPE TRKORRS, "   
lt_et_e071k  TYPE STANDARD TABLE OF E071K, "   
lv_in_langu  TYPE SY-LANGU, "   SY-LANGU
lt_in_filter_e071  TYPE STANDARD TABLE OF E071, "   
lt_ex_displayed_log  TYPE STANDARD TABLE OF TAO_MSG_LOG_TAB, "   
lt_ex_technical_log  TYPE STANDARD TABLE OF TAO_MSG_LOG_TAB. "   

  CALL FUNCTION 'TST_CA_TRCONTENT'  "Get some entries of transport requests (related to BPCA)
    EXPORTING
         IT_TRKORRS = lv_it_trkorrs
         IN_LANGU = lv_in_langu
    IMPORTING
         EX_RETCODE = lv_ex_retcode
    TABLES
         ET_E071 = lt_et_e071
         ET_E071K = lt_et_e071k
         IN_FILTER_E071 = lt_in_filter_e071
         EX_DISPLAYED_LOG = lt_ex_displayed_log
         EX_TECHNICAL_LOG = lt_ex_technical_log
. " TST_CA_TRCONTENT




ABAP code using 7.40 inline data declarations to call FM TST_CA_TRCONTENT

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 SUBRC FROM SY INTO @DATA(ld_ex_retcode).
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_in_langu).
DATA(ld_in_langu) = SY-LANGU.
 
 
 
 


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!