Step 4 (To-Be) - Running the Data Extract Program

The Data Extract program must be run on your To-Be system to obtain the data required for the SAP HANA migration assessment. If you plan to extract the data to your local machine, create an empty directory on your client machine named ‘TO-BE’. This directory will store the data downloaded from your To-Be system. You may wish to choose a more descriptive directory name, for example, one that includes the SAP system ID.

To run the Data Extract program on your To-Be system, carry out the following steps.

  1. Run transaction SE38.
  2. In the ABAP Editor’s Program field, enter the name you provided for the Data Extract program, and click Execute tool button.. The following screen is displayed.

Tricentis LUX Extract screen.

  1. Select ‘To-be’ in the Mode section, and complete the screen fields as follows:
Field Description
ST03 Set this field to point to the filename and directory location of the ST03_RAW.csv file that was downloaded in Step 1.
RFC Destination for ST03 data This field is not used in ‘To-be’ mode.
Uses What (To-Be) Set this field to point to the filename and directory location of the UW_SAP.LUX file that was downloaded in Step 1.
SPAU File (To-Be) Set this field to point to the filename and directory location of the SPAU.LUX file that was downloaded in Step 1.
Target directory

If you plan to store the extracted files locally, select the ‘Local’ radio button and set this field to the location of an empty directory on your local server. If you plan to store the extracted files on the As-Is SAP application server, select the ‘App Server’ radio button, and set this field to the UNC pathname of an empty directory on your To-Be SAP application server. In each case, the target directory name should end with a trailing \.

If the ‘App Server’ setting is used, the extracted files will be stored in a new time-stamped directory named LUX_<YYYYMMDDHHMMSS>. The ‘App Server’ setting is required if the data extract program is to be run as a background job.

Language This field should be set to EN.
Custom Object Name Pattern These fields should be set to a naming pattern that identifies your custom objects, for example, Z*. Use both fields if you need to specify a range of patterns.
Custom Object Name Pattern These fields should be set to a naming pattern that identifies your custom objects, for example, Z*. Use both fields if you need to specify a range of patterns.
  1. Click ‘Show Advanced’. The screen changes to the following:

Tricentis LUX Extract screen.

  1. Confirm that the Advanced Options are selected as shown below.
Option Select Description
READST03 X Reads ST03 files.
GEN_XREF   Generates index entries for function groups associated with smart forms.
DO_UA06 X Retrieves data used by the UA06 workflow.
DO_UA05 X Retrieves data used by the UA05 workflow.
DO_UA12 X Retrieves data used by the UA12 workflow.
GET_IDOC X Retrieves IDOC data.
RD_UWSAP X Reads the UW_SAP file from the client.
GET_CUST   Retrieves custom objects based on the specified naming patterns.
DO_UW   Performs a Uses What on the custom objects.
GET_DESC   Retrieves descriptions for the UW_SAP objects.
GET_DETL X Retrieves Tier 2 details for the objects in the UW_SAP table.
DO_SCAN   Scans custom objects, and returns statement tokens and code.
DO_UA15   Retrieves SPDD and SPAU objects.
RD_SPAU X Reads the SPAU file generated for the As-Is system.
TO_FILE X Downloads output files to the client.
NO_ZIP - Leave output files unzipped   Select this check box if you wish to leave the output files unzipped in the As-Is directory.
Write debug messages to system log (SM21) X Write debug messages to the system log (SM21).
Read file containing a list of tables to be extracted   Specify an additional set of SAP tables to be read.
BY_DEV   Extract objects by development class or package.
  1. Select the ‘Read file containing a list of tables to be extracted’ check box if you wish to have data extracted for additional set of SAP tables. The names of the tables to be read should be specified in a text file, with each table name on a separate line. Enter the filename and directory location of the text file in the field to the right of the check box. If ‘Local’ is selected, you should specify a local directory and filename. If ‘App Server’ is selected, you should specify a UNC path to the file on your To-Be SAP application server.

Running the Data Extract Program in the Foreground

Click Execute tool button. to run the Data Extract program in the foreground. While the program is running, dialogs similar to the following may be displayed depending on your SAPGUI security settings.

SAP GUI Security dialog.

Click ‘Allow’ to allow the file to be written to the ‘To-Be’ directory. Optionally, select ‘Remember My Decision’ to allow subsequent files to be written. When the Data Extract program has completed, a screen similar to the following is displayed.

LiveCompare Data Extract Program screen.

Click Cancel tool button. twice to return to the ABAP Editor screen.

Running the Data Extract Program as a Background Job

To run the Data Extract Program as a background job, confirm that you have selected the ‘App Server’ options, save your settings in a program variant, and then use SAP transaction SM36 to run or schedule the variant as a background job. Click here for details.

Minimizing the Possibility of Timeouts

To minimize the possibility of timeouts occurring when the Data Extract program is run on your To-Be system, use SAP transaction RZ11 to set the value of rdisp/max_wprun_time to 0.

Next: ZIP the Downloaded Extract Files