In the blog on ANST we focused on searching notes for ABAP GUI applications. This blog will focus on web application that run ABAP code in the backend (such as FIORI, BSP, webdynpro for ABAP).
Questions that will be answered in this blog are:
- How do I use ANST for web applications?
- What do I need to do to prepare my system for this?
- What do I need to do for using ANST for FIORI back end recording?
System preparation for ANST for web applications
First you need to follow the instructions in OSS note 2286869 – ANST: Trace On/Off error “Dynamic Start and Stop cancelled by user” to get rid of the trace error. Unfortunately this note is not really clear. The short instruction on what to do follows now. Go to transaction FILE and search for the ANST_TRACES_GLOBAL. It should look like this:
Then select the logical file definition and delete the line for Physical path. Should look like this:
Now we are good to go for the web part recording, but not yet for FIORI.
ANST for FIORI
To use ANST for FIORI you first need to install OSS note
2605555 – ANST: Enahcement to support Fiori applications. Please follow also the manual steps in the note very carefully.
Tip: this note contains a very good PDF attachment as manual for ANST.
Run ANST for web application
Running ANST for web applications is not very much different from running on SAP GUI. Upon start of the ANST tool select your web application (which is bit different per application):
After you now start with Execute you get a popup screen to confirm recording start:
After pressing start your web browser will start and you can perform the actions you want to trace. To stop go back to the ABAP screen and press the Stop Recording button:
The rest of the ANST processing is the same as usual.
Reference OSS notes
Reference and bug fix notes:
Nice blog!!!