Contents:

Related pages:

 

Extract source code

Run program ZKW_SAPEX_CODE (using transaction SA38):

 

 

  By selecting 'Local directory', you may export source code to a local directory, that could be analyzed with a locally-deployed Kiuwan Local Agent directly.

 

When extracting code associated with a change request/task:

 

When extracting code associated with one or more package(s):

 

'Programs', 'Function modules', 'Classes' and 'Web Dynpros' checks

 

'Language'

 

If 'Only custom objects' is chosen:

  Take care when deactivating the 'Only custom objects' checkbox:

  • A too-wide number of objects could be selected, in particular SAP code not related to custom software.

 

The options in 'Additional downloads':

 

'Export to..':

 

 

After executing the program (click on the 'execute' button before the parameters or using F8 key), the exported items are displayed:

 

 

 

Extract metadata

This program exports the selected information ('metadata') from SAP system, creating .txt files in the selected directory.

Exported metadata are used by certain Kiuwan ABAP rules to improve the precision of defects found.

 

 

The exported metadata is global and could be reused in multiple analysis.

 If full metadata extraction takes too much time, you may perform multiple exports with different parts enabled.
Previously exported files are not removed; they are overwritten when regenerated.

 

Run analysis

When Kiuwan Local Analyzer is deployed in the SAP system, you may provide analysis parameters, previously to export the code (by clicking on the 'Export code' button), and then launch the analysis (by clicking on the 'Analyze' button, or pressing F8 key).