Thursday, 26 September 2019

How to skip a step during SWPM execution



skip a step during SWPM execution


An error occurred during SWPM execution that it is possible to skip


Follow below procedure

Important: You can only skip a step of a SWPM / SAPinst if the SAP Support or if a SAP Document advised to do it.
Otherwise, if the error/procedure is bypassed the tool can fail afterwards because the tasks to be executed were not done. In this case, the SWPM will stop with an unpredicted error and it will be needed to start the SWPM from scratch.
When advised by a SAP Note or SAP support, the step can be skipped because the procedure is not necessary anymore or it can be done manually.

To skip a step, use the parameter SAPINST_SKIP_ERRORSTEP=true . There are two ways:
             Run SAPinst adding the parameter SAPINST_SKIP_ERRORSTEP=true to the command line.
Example: ./sapinst SAPINST_SKIP_ERRORSTEP=true
             Or, create the environment variable called SAPINST_SKIP_ERRORSTEP with the value true in the context of the user running SAPinst.

Example in Windows: At command prompt:

C:\Medias\SWPM>set SAPINST_SKIP_ERRORSTEP=true
C:\Medias\SWPM>sapinst.exe