SAP ANST_TESTING_AGEN_PFA_BSPWDAPP Function Module for ANST: Analyze webdynpro and BSP application









ANST_TESTING_AGEN_PFA_BSPWDAPP is a standard anst testing agen pfa bspwdapp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ANST: Analyze webdynpro and BSP application 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 anst testing agen pfa bspwdapp FM, simply by entering the name ANST_TESTING_AGEN_PFA_BSPWDAPP into the relevant SAP transaction such as SE37 or SE38.

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



Function ANST_TESTING_AGEN_PFA_BSPWDAPP 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 'ANST_TESTING_AGEN_PFA_BSPWDAPP'"ANST: Analyze webdynpro and BSP application
EXPORTING
I_URL_TYPE = "Type of URL
I_URL = "URL application
* I_COLLECT_TRACE = 'X' "General Flag
* I_ACTION = 'C' "General Flag
* I_WAIT_TRACES = "General Flag
* I_ATRA_OBJECT_NAME = "Character field of length 40
* I_UNAME = SY-UNAME "User for which to trace
* I_WITH_TABLE_TRACE = "General Flag

IMPORTING
E_MESURED_TIME = "
E_DIALOG_ANSWER = "General Flag
E_START_DATE = "Date and Time, Current (Application Server) Date
E_END_DATE = "Date and Time, Current (Application Server) Date
E_START_TIME = "Date and Time, Current Application Server Time
E_END_TIME = "Date and Time, Current Application Server Time
E_TIMEZONE = "Time zone
E_TRACE_USER = "SAP System, User Logon Name

TABLES
* ET_ATRA_FILES = "ANST ATRA File

EXCEPTIONS
ANST_TA_PFA_ERROR = 1 ANST_TA_ENV_ERROR = 2 ANST_TA_NO_DATA = 3 ANST_ERROR = 4
.



IMPORTING Parameters details for ANST_TESTING_AGEN_PFA_BSPWDAPP

I_URL_TYPE - Type of URL

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

I_URL - URL application

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

I_COLLECT_TRACE - General Flag

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_ACTION - General Flag

Data type: FLAG
Default: 'C'
Optional: Yes
Call by Reference: Yes

I_WAIT_TRACES - General Flag

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

I_ATRA_OBJECT_NAME - Character field of length 40

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

I_UNAME - User for which to trace

Data type: SYUNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: Yes

I_WITH_TABLE_TRACE - General Flag

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

EXPORTING Parameters details for ANST_TESTING_AGEN_PFA_BSPWDAPP

E_MESURED_TIME -

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

E_DIALOG_ANSWER - General Flag

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

E_START_DATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Optional: No
Call by Reference: Yes

E_END_DATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Optional: No
Call by Reference: Yes

E_START_TIME - Date and Time, Current Application Server Time

Data type: SY-UZEIT
Optional: No
Call by Reference: Yes

E_END_TIME - Date and Time, Current Application Server Time

Data type: SY-UZEIT
Optional: No
Call by Reference: Yes

E_TIMEZONE - Time zone

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

E_TRACE_USER - SAP System, User Logon Name

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

TABLES Parameters details for ANST_TESTING_AGEN_PFA_BSPWDAPP

ET_ATRA_FILES - ANST ATRA File

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

EXCEPTIONS details

ANST_TA_PFA_ERROR -

Data type:
Optional: No
Call by Reference: Yes

ANST_TA_ENV_ERROR -

Data type:
Optional: No
Call by Reference: Yes

ANST_TA_NO_DATA -

Data type:
Optional: No
Call by Reference: Yes

ANST_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ANST_TESTING_AGEN_PFA_BSPWDAPP 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_i_url_type  TYPE CHAR128, "   
lt_et_atra_files  TYPE STANDARD TABLE OF ANST_ATRA_FILE, "   
lv_e_mesured_time  TYPE I, "   
lv_anst_ta_pfa_error  TYPE I, "   
lv_i_url  TYPE STRING, "   
lv_e_dialog_answer  TYPE FLAG, "   
lv_anst_ta_env_error  TYPE FLAG, "   
lv_e_start_date  TYPE SY-DATUM, "   
lv_anst_ta_no_data  TYPE SY, "   
lv_i_collect_trace  TYPE FLAG, "   'X'
lv_i_action  TYPE FLAG, "   'C'
lv_anst_error  TYPE FLAG, "   
lv_e_end_date  TYPE SY-DATUM, "   
lv_e_start_time  TYPE SY-UZEIT, "   
lv_i_wait_traces  TYPE FLAG, "   
lv_e_end_time  TYPE SY-UZEIT, "   
lv_i_atra_object_name  TYPE CHAR40, "   
lv_i_uname  TYPE SYUNAME, "   SY-UNAME
lv_e_timezone  TYPE TIMEZONE, "   
lv_e_trace_user  TYPE SYUNAME, "   
lv_i_with_table_trace  TYPE FLAG. "   

  CALL FUNCTION 'ANST_TESTING_AGEN_PFA_BSPWDAPP'  "ANST: Analyze webdynpro and BSP application
    EXPORTING
         I_URL_TYPE = lv_i_url_type
         I_URL = lv_i_url
         I_COLLECT_TRACE = lv_i_collect_trace
         I_ACTION = lv_i_action
         I_WAIT_TRACES = lv_i_wait_traces
         I_ATRA_OBJECT_NAME = lv_i_atra_object_name
         I_UNAME = lv_i_uname
         I_WITH_TABLE_TRACE = lv_i_with_table_trace
    IMPORTING
         E_MESURED_TIME = lv_e_mesured_time
         E_DIALOG_ANSWER = lv_e_dialog_answer
         E_START_DATE = lv_e_start_date
         E_END_DATE = lv_e_end_date
         E_START_TIME = lv_e_start_time
         E_END_TIME = lv_e_end_time
         E_TIMEZONE = lv_e_timezone
         E_TRACE_USER = lv_e_trace_user
    TABLES
         ET_ATRA_FILES = lt_et_atra_files
    EXCEPTIONS
        ANST_TA_PFA_ERROR = 1
        ANST_TA_ENV_ERROR = 2
        ANST_TA_NO_DATA = 3
        ANST_ERROR = 4
. " ANST_TESTING_AGEN_PFA_BSPWDAPP




ABAP code using 7.40 inline data declarations to call FM ANST_TESTING_AGEN_PFA_BSPWDAPP

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 DATUM FROM SY INTO @DATA(ld_e_start_date).
 
 
DATA(ld_i_collect_trace) = 'X'.
 
DATA(ld_i_action) = 'C'.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_e_end_date).
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_e_start_time).
 
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_e_end_time).
 
 
DATA(ld_i_uname) = SY-UNAME.
 
 
 
 


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!