SAP E2E_TESTING_AGENT_AT_REC_START Function Module for









E2E_TESTING_AGENT_AT_REC_START is a standard e2e testing agent at rec start 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 testing agent at rec start FM, simply by entering the name E2E_TESTING_AGENT_AT_REC_START 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_TESTING_AGENT_AT_REC_START 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_TESTING_AGENT_AT_REC_START'"
EXPORTING
* IV_TRACE_TYPE = 'USER' "
* IV_USER_NAME = SY-UNAME "
* IV_MANDT = SY-MANDT "
IT_CALLER_INFOS = "
IV_STATUS_ID = "

IMPORTING
EV_RETURN_CODE = "
ES_MESSAGE = "
EV_START_DATE = "
EV_START_TIME = "

EXCEPTIONS
E2E_TA_REL_NOT_SUPPORTED = 1 E2E_TA_ERROR = 2
.



IMPORTING Parameters details for E2E_TESTING_AGENT_AT_REC_START

IV_TRACE_TYPE -

Data type: CHAR10
Default: 'USER'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_USER_NAME -

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

IV_MANDT -

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

IT_CALLER_INFOS -

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

IV_STATUS_ID -

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

EXPORTING Parameters details for E2E_TESTING_AGENT_AT_REC_START

EV_RETURN_CODE -

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

ES_MESSAGE -

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

EV_START_DATE -

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

EV_START_TIME -

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

EXCEPTIONS details

E2E_TA_REL_NOT_SUPPORTED -

Data type:
Optional: No
Call by Reference: Yes

E2E_TA_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for E2E_TESTING_AGENT_AT_REC_START 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_trace_type  TYPE CHAR10, "   'USER'
lv_ev_return_code  TYPE SY-SUBRC, "   
lv_e2e_ta_rel_not_supported  TYPE SY, "   
lv_es_message  TYPE E2ET_MESSAGE, "   
lv_e2e_ta_error  TYPE E2ET_MESSAGE, "   
lv_iv_user_name  TYPE SY-UNAME, "   SY-UNAME
lv_iv_mandt  TYPE SY-MANDT, "   SY-MANDT
lv_ev_start_date  TYPE SYDATUM, "   
lv_ev_start_time  TYPE SYUZEIT, "   
lv_it_caller_infos  TYPE E2ET_ECATT_INVOKE_INDENT_T, "   
lv_iv_status_id  TYPE HIER_TREEG. "   

  CALL FUNCTION 'E2E_TESTING_AGENT_AT_REC_START'  "
    EXPORTING
         IV_TRACE_TYPE = lv_iv_trace_type
         IV_USER_NAME = lv_iv_user_name
         IV_MANDT = lv_iv_mandt
         IT_CALLER_INFOS = lv_it_caller_infos
         IV_STATUS_ID = lv_iv_status_id
    IMPORTING
         EV_RETURN_CODE = lv_ev_return_code
         ES_MESSAGE = lv_es_message
         EV_START_DATE = lv_ev_start_date
         EV_START_TIME = lv_ev_start_time
    EXCEPTIONS
        E2E_TA_REL_NOT_SUPPORTED = 1
        E2E_TA_ERROR = 2
. " E2E_TESTING_AGENT_AT_REC_START




ABAP code using 7.40 inline data declarations to call FM E2E_TESTING_AGENT_AT_REC_START

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_trace_type) = 'USER'.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_ev_return_code).
 
 
 
 
"SELECT single UNAME FROM SY INTO @DATA(ld_iv_user_name).
DATA(ld_iv_user_name) = SY-UNAME.
 
"SELECT single MANDT FROM SY INTO @DATA(ld_iv_mandt).
DATA(ld_iv_mandt) = SY-MANDT.
 
 
 
 
 


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!