My last few posts were about OSS Notes, so here’s one more before I change subject. This one is based on SAP Note 1818192 – FAQ: Automated Note Search Tool. The content comes from SAP, not from me.
I didn’t know transaction ANST (Automated Note Search Tool). SAP seems to have released it around 2013. It looks very handy, yet most people I’ve asked had never heard of it.
What it does
ANST helps you find the right fix for an issue quickly. You tell it which program or transaction to run and reproduce the issue. ANST records a trace of every ABAP object executed, grouped by SAP application component. From the trace you can:
- Search for SAP Notes
- Find custom code involved in the issue
- Find missing customizing entries
- Get a list of ABAP objects to start debugging from
So it’s more than a note search. It takes you down to the object and code level.
Three steps
1. Reproduce the issue. Start transaction ANST (or ANST_SEARCH_TOOL), pick the option that fits, and run it (F8) to reproduce the problem. When you’re done, go back to ANST with the Back button. The options you see depend on the components installed.

2. Review the trace. ANST generates a trace grouped by application component. Select one or more components to search notes, or use the toolbar buttons Note Search, Customer Code and Customizing Tables.

3. Pick a note. ANST lists the most relevant SAP Notes for the components you selected. Choose the right one and implement it. You can display or download the note from here.

Initial screen
The initial screen, where you start the trace, has eight options:

- Execute: starts reproducing the issue with the inputs given.
- Application documentation: more on ANST and how to search notes.
- Open trace: opens a saved trace. If you don’t know the selection values, leave them empty and execute.

- Object customizing: choose which object types to use in the note search. Only those types show in the trace, which helps when reproducing the issue involves many steps and objects.

- Settings: general preferences and technical parameters.

| Setting | What it does |
|---|---|
| Date | Notes released before this date are ignored. |
| ALV on Res | Shows results in an ALV. Uncheck it if you don’t want to download notes from here, and results show read-only. |
| Max Size | Number of objects sent per block in the note search, for performance. Keep it below 800. |
| RFC Destination | The RFC destination used for the note search. |
| Custom object checkboxes | Which custom objects ANST looks for in the trace for Customer Code: BAdIs (including explicit enhancements), repaired objects, field exits, user exits, transaction variants and BTEs (business transaction events). |
| Max Objects | Maximum objects you can select for a note search, also shown next to each component in the trace. Go over it and you get an error. Select fewer objects or components and try again. |
- Delete trace: select the traces to delete and confirm. They’re deleted permanently.

- Trace on/off: start and stop tracing at any point, not only from the start of the reproduction. It works for SAP GUI and web applications, but only for the same user who started the trace in ANST. More here: ANST: start and stop the trace whenever you want
- Save trace: saves the trace for later, with a description. It’s saved automatically during reproduction and after the trace is generated, so you don’t have to reproduce the issue again.
Trace screen
After you reproduce the issue, the trace screen shows:

- Toolbar: expand, collapse, select and deselect sub-trees, search the whole trace, change the layout and print.
- Note Search: searches SAP Notes for the components or objects you selected and lists the most relevant ones. If nothing is selected, you get a message.
- Customer Code: when the issue comes from custom code, not SAP standard, no note will fix it. This lists the custom code and objects in the whole trace, regardless of selection.
- Customizing Tables: lists the customizing tables in the whole trace, grouped by component, for issues caused by missing or wrong entries. Also independent of selection.
- Application component sub-tree: the trace grouped by component, with the number of objects in brackets.
- Object leaf node: each object’s type, name, last changed date, package and software component.
Result screens
Note search result. All SAP Notes relevant to your problem, with the standard ALV toolbar to sort, filter and search.

| Column | Meaning |
|---|---|
| Download note | Double-click to download the note. You then go to SNOTE. |
| Status | The note’s status in this system (available, implemented and so on). |
| Priority | The note priority, as in the note header. |
| Note number | Opens the note in an external browser. |
| Application area | The application component the note was released for. |
| Note title | The note’s short text. |
Customer code result. All custom objects and repaired objects (SAP standard objects changed by the customer), with the standard ALV toolbar.

| Column | Meaning |
|---|---|
| Object type | For example class method, function module, class definition. |
| Object name | The object’s name. |
| Package | The package (development class) the object belongs to. |
| Component | The software component of the package. |
| Type | The ANST custom code type, as in the Settings custom object checkboxes. |
Customizing tables result. The customizing tables involved in the reproduction, grouped by application component.

| Column | Meaning |
|---|---|
| Application component | The component the tables are grouped by. |
| Table name | The customizing table. |
| Object date | Last changed date. |
| Description | The table’s short description. |
| Package | The package the table belongs to. |
| Component | The software component of the package. |
Points to remember
- The note search uses the objects in the trace, so it works best with fewer objects. Reproduce the issue in as few steps as possible.
- The search uses the RFC destination in Settings. Make sure RFC destination SAPSNOTE exists in SM59 and points to the SAP support system.
- Always read a note before implementing it, to confirm it matches your problem.
- First time using it and you get “Fatal Error. Customizing table is not filled.”? See SAP Note 1909768.
- Using it for a web application and you get “Web trace cancelled by the user.”? See SAP Note 1885730. If the error persists, open a ticket.
- If no note solves the issue, report it to SAP support on component PB-UPG-NA.


Leave a Reply