SAP E2E_TEST_AGENT_DBA_TRACE_GET Function Module for









E2E_TEST_AGENT_DBA_TRACE_GET is a standard e2e test agent dba trace get 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 e2e test agent dba trace get FM, simply by entering the name E2E_TEST_AGENT_DBA_TRACE_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function E2E_TEST_AGENT_DBA_TRACE_GET 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 'E2E_TEST_AGENT_DBA_TRACE_GET'"
EXPORTING
IV_START_DATE = "
IV_START_TIME = "
IV_END_DATE = "
IV_END_TIME = "
IV_TRACE_USER = "
* IT_TRACE_IDS = "
* IT_TBOM_BASE = "
* IT_TABLE_TYPES = "

TABLES
T_BOM_BASE_KEYS = "

EXCEPTIONS
RELEASE_NOT_SUPPORTED = 1 E2E_TA_ERROR = 2
.



IMPORTING Parameters details for E2E_TEST_AGENT_DBA_TRACE_GET

IV_START_DATE -

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

IV_START_TIME -

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

IV_END_DATE -

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

IV_END_TIME -

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

IV_TRACE_USER -

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

IT_TRACE_IDS -

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

IT_TBOM_BASE -

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

IT_TABLE_TYPES -

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

TABLES Parameters details for E2E_TEST_AGENT_DBA_TRACE_GET

T_BOM_BASE_KEYS -

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

EXCEPTIONS details

RELEASE_NOT_SUPPORTED -

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

E2E_TA_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for E2E_TEST_AGENT_DBA_TRACE_GET 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_iv_start_date  TYPE DATS, "   
lt_t_bom_base_keys  TYPE STANDARD TABLE OF E2ET_TBOM_BASE_KEYS, "   
lv_release_not_supported  TYPE E2ET_TBOM_BASE_KEYS, "   
lv_e2e_ta_error  TYPE E2ET_TBOM_BASE_KEYS, "   
lv_iv_start_time  TYPE TIMS, "   
lv_iv_end_date  TYPE DATS, "   
lv_iv_end_time  TYPE TIMS, "   
lv_iv_trace_user  TYPE SYUNAME, "   
lv_it_trace_ids  TYPE ATRA_TRACE_IDS_T, "   
lv_it_tbom_base  TYPE E2ET_TBOM_BASE_T, "   
lv_it_table_types  TYPE VALUEKEYS. "   

  CALL FUNCTION 'E2E_TEST_AGENT_DBA_TRACE_GET'  "
    EXPORTING
         IV_START_DATE = lv_iv_start_date
         IV_START_TIME = lv_iv_start_time
         IV_END_DATE = lv_iv_end_date
         IV_END_TIME = lv_iv_end_time
         IV_TRACE_USER = lv_iv_trace_user
         IT_TRACE_IDS = lv_it_trace_ids
         IT_TBOM_BASE = lv_it_tbom_base
         IT_TABLE_TYPES = lv_it_table_types
    TABLES
         T_BOM_BASE_KEYS = lt_t_bom_base_keys
    EXCEPTIONS
        RELEASE_NOT_SUPPORTED = 1
        E2E_TA_ERROR = 2
. " E2E_TEST_AGENT_DBA_TRACE_GET




ABAP code using 7.40 inline data declarations to call FM E2E_TEST_AGENT_DBA_TRACE_GET

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.

 
 
 
 
 
 
 
 
 
 
 


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!