Contents: Related pages: |
SAPEX allows to extract SAP objects to a defined path within the SAP server. The extraction mechanism will download SAP objects related to the SAP package they belong. It will create a directory for every package where all the pertaining objects will be placed. As you will see below, you can define exactly what objects to extract. As before mentioned, the approach is to model a SAP package as a Kiuwan application. As there will be a directory for every downloaded package, you can model application names with the same names as the packages, and configure every app’s source directory to the package directory.
IMPORTANT: Abap Code Extractor does not delete previous content of extraction directory. So, you need to delete it before a new extraction.
After the extraction finishes, you will have to run Kiuwan (in this step Kiuwan is not automatically invoked). |
SAPEX presents the following sections:
Objects to download
This section allows to filter the objects to download (Programs, Function modules, Classes and Web Dynpros)
Additional downloads
This option allows to select to download also the screens and assocaietd texts
Export options
Physical path where the extractor will download requested objects (if the directory does not exists the extractor will create it)
Run program |
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:
|
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: |
Besides ABAP source code, Kiuwan analysis is also based on SAP metadata.
KAPEX allows you to export the selected information ('metadata') from SAP system, creating .txt files in the selected directory.
If SAP metadata is available, that information will be used by Kiuwan, thus providing more accurate results.
Run program |
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. |
You can execute Kiuwan Local Analyzer from within SAP server.
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).
Run program |