Automated Note Search Tool

Published on January 2017 | Categories: Documents | Downloads: 27 | Comments: 0 | Views: 182
of 9
Download PDF   Embed   Report

Comments

Content

SAP Knowledge Base Article

 

  1818192 - FAQ: Automated Note Search Tool
Version   21     Validity: 01.04.2014 - active  

Language   English (Master)

Symptom
l
l
l

All kind of errors for which an SAP Note with ABAP correction instructions that solves the issue exist
All kind of errors caused by customer code
All kind of errors caused by incorrect customizing

Environment
Reference to Support Packages
Software Component                        Release     Package name
________________________________________________________________________
SAP Basis component
                                          700          SAPKB70028
                                          701          SAPKB70113
                                          702          SAPKB70213
                                          731          SAPKB73106
As of Release 740 ANST is available for All support packages

Resolution
This kba has a translation to Chinese:
http://scn.sap.com/docs/DOC-50401

Warning:
1. Before using ANST for the first time, read note 1909768
2. As of the following Support Packages, the transaction code has been shortened from ANST_SEARCH_TOOL to ANST:
Software Component
SAP_BASIS
SAP_BASIS
SAP_BASIS
SAP_BASIS
SAP_BASIS

Release
700
701
702
740
731

Support Package
SAPKB70030
SAPKB70115
SAPKB70215
SAPKB74005
SAPKB73111

Description 
This application searches SAP correction notes for a specific problem based on the issue replication in your system. Additionally, it will provide a
list with the customer code involved together with other features useful to solve the problem.

How does it work ?
When a problem occurs and you suspect it's an error for which a SAP Note correction could exist, go to transaction ANST_SEARCH_TOOL and
reproduce the problem by specifying the transaction or program involved:
E.g. for transaction OASV:

 
Then start the tool:

  or F8:

Then replicate the issue:

 

After pressing "Enter" you get the following error at the bottom of the screen:

Now go back (F3)
The control is transferred again to the Note Search Tool. A list of the application components involved in the execution will be displayed:

 
Select the component or components you think the problem belongs to and click on
notes

 icon: The tool will start searching for correction 

 
After some time you get a list of notes that are not implemented in your system and that could be related to your issue:

 
You can click on the note link to read the note:

 
In our example, SAP note 1279254 solves the issue and after implementing it, the error will disappear and the note will not be displayed anymore.
Caution: Before implementing an SAP Note, do always check its implementability and possible reported side-effects.

Advanced features
Integration with the “Note Assistant” (SNOTE)

Once the error has been reproduced and the result of the search shows a relevant note that most likely will solve the program, you can decide the
implementation directly from the notes list by double clicking on the “Download Note” icon .

 

 
If you confirm the download, the tool will automatically call the note assistant (transaction SNOTE) and download the note leaving it ready for the
implementation.
Specific selections
After reproducing the issue, if the first note search displays too many notes, you can be more specific selecting the components, e.g. just FI-FI-AA
but not FI:

 
You can also display the objects that were found in the trace for each subcomponent and search notes for a single object:

 
Also, you can navigate / edit the object by double clicking on it:e.g. doble click on MA03BO00:

And for example set a break-point if you wish or just analyze the code.
Customer Code identification 
It may happen that the issue is not related to the standard code but to customer code such as Badi implementations, user-exits, field-exits or
repaired standard code. Click on icon 

  to identify it:

Example for transaction PA30:
Issue: There is a mistake in the Spanish Income TAX percentage calculation for an employee. You were unsuccessful in searching Notes, but there
is still a chance that the issue is caused by a mistake on customer's side.
After running transaction PA30 for an employee and displaying infotype 0062 (TAX Spain), you get the list of objects involved in the trace,
classified by component (Yellow folders).
By the way, you will notice that sometimes you get a folder called "TMP": Objects that for any reason have no application component will be placed

there (Badis, Customer code..).

 
Click on the icon “Customer Code“ 

 
Double click on the row corresponding to the object you want to display / edit:
E.g. click on the 1st row that corresponds to a user exit:

 
Double click now on ZXPADU01:

  
Web applications

The tool is also capable to reproduce web application issues, for this, the process is very similar to the Transaction and program options:
Imagine we want to reproduce a CRM WebUI issue:

We will get a new popup:

Just press Start Recording and the browser will open immediately to reproduce the web issue:

 
When the issue is reproduced, we should STOP the recording using the “Stop Recording” button of the popup:

The TBOM will be recording....

 
 
And you will get the objects like in a transaction or program:

Customizing tables list
When there aren't any notes available to solve an issue it can be that the customizing is involved. What seems to be a bug turns out to be a

customizing issue that is solved by changing customer settings.
For this purpose, another option is available by clicking on the icon "Customizing tables" :

 

You will get a list of the customizing tables involved in the process grouped by application component in a tree list.

 
By clicking on the table name, you will be directed to transaction SM30 with the name of the table view filled or a list of views in case there are
more than one.
Open trace option (reuse test cases)
Once an issue is reproduced with the tool, you can reuse the trace to search notes again. This means that for example, the application user can 
reproduce the issue and an expert technical consultant can use the trace to search notes. Or perhaps try to search notes a week later when some 
more notes may be available.
During the execution you can indicate a description for the trace that will be created.

 
Later on, you can use this description to identify and retrieve this trace by clicking the “Open trace” icon.

 
With the F4 option you can search and select your trace.
Delete trace option:
You may also want to remove some traces from the system. For this, you can use the button “Delete Trace”:

You will see the existing traces and you can select the ones you want to remove and delete them from the system.

Customizing
There exists also the possibility to customize some of the search parameters in order to optimize the performance and the results.

 
Object Customizing:
At this respect, you can activate/deactivate the objects that the internal search engine should take into account by clicking on the icon “Objects
customizing” . A list of dictionary objects will be presented that can be selected (classes, methods, function modules, etc…).

 
Options:
Also you can indicate the initial date from which the tool will search available notes. Notes released with a date older than the one specified in this
field will not be considered.
The ALV display option in case you wish to have the output lists in ALV format which is the default option.

Remarks
This tool is based on the trace of the process replicated. After reproducing the issue, a list of application components is shown and later on, a note
search looking for notes that have these objects in their correction instructions is done.
Therefore, try to replicate the issue using the minimum steps possible. Otherwise, the performance might be endangered as the trace could get
unnecessary objects and as a result you could get notes that are irrelevant for the issue.
If there is any "Released for customer" SAP correction note that solves your issue, the note will be displayed (Otherwise, please report the case to
SAP). There is an exception with "Pilot release" notes that of course will not be shown.

 
Notice that the objects collected during the trace are classified by the component they belong to (yellow folders). Therefore, it might happen that
searches for notes in component X may get notes belonging to component Y, because objects that belong to component X where modified in a
note that belongs to component Y. 

Standard release:
Refer to SAP note 1778716

Note Search not possible / No notes found:
This function requires the correct setting up of the connection SAPSNOTE , which is also used for the Correction Workbench. If none of the
connections are available, no notes are found. To set up the connection, see SAP Notes 33135 and  22235.

Too many notes found / Non relevant notes displayed:
It's necessary that the notes have the support package section filled, otherwise the tool will show notes that are already implemented. If any issues
happen with a particular note, it should be notified to be note owner by opening an incident to the note component.
If a note has the validity section filled for a specific release and there aren't any correction instructions for the same release, the note will be 
displayed. This is as well a problem with the note that has to be fixed by the note owner.
Do always manually check any SAP note before implementing it in your system.

Can not start the tool: You get the following message:
Fatal Error. Customizing table is not filled!
Message no. ANST001
Check the solution in note 1909768

Not able to use ANST to create a trace out of a Web dynpro application
You try to record data for WDA and get the following information "Web trace canceled by user" immediately after pressing "Start recording".
Solution:
Check that it's not an authorization issue.
You can debug it at the following point:
SAPLANST_SEARCH_TRACES
LANST_SEARCH_TRACESU15
lv_change_param_exe            NOT_AUTHORIZED <<<<<<<
lv_msg Error changing parameter rstr/send_global_trace: Exception
NOT_AUTHORIZED

Want to use ANST to search for notes but do not want to download and implement the notes?.
You may change the layout doing the following steps, form the ANST_SEARCH_TOOL main screen: Click on "Options"

Now unmark ALV on Res and Save.

This is how the layout will look like:

See Also
l

Try the new Automated Note Search Tool Training Course at the marketplace. It's free:

Just click on the following link:
Automated Note Search Tool Training / Demo
l

Before using ANST for the first time, read note 1909768

Header Data
Released On 01.04.2014 07:10:42
Release Status Released to Customer
Component
BC-UPG-NA SAP Notes Assistant
Priority
Normal
Category
Problem

Product
This document is not restricted to a product or product version

References
This document refers to:
CSS SAP Notes
33135   Guide for OSS1
22235   OSS1: What to do, if R/3 does not run?

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close