Skip to Content
author's profile photo Former Member
Former Member

CDATA[ERROR] gone with SWPM

Hi experts,

It seems that with SWPM the good old tip of changing [CDATA[ERROR]] to [CDATA[OK]] to bypass an error is not available anymore.

On a failed step I was not able to find a [CDATA[ERROR]] tag in the keydb.xml file.

Did you notice the same behavior, does anyone find what is the new tag for error ?

Best regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jul 18, 2013 at 02:41 PM

    You' re right. Unfortunately, the missing CDATA[ERROR] doen't help but you' re still able to identify the failing step this way :

    In the sapinst.log you should be able to find the error message with the appropriate failing step.

    It should be something looking like this :

    |ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|users|0|createAccounts

    In this example the failing step key is createAccounts.

    You then have a look at the keydb.xml file , looking for this stepkey :

    <strval><![CDATA[|NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|users|0|createAccounts]]>

    </strval>

    </fld>

    <fld name="STATUS">

    <strval><![CDATA[ ]]>

    </strval>

    </fld>

    Here the CDATA field is empty instead of bieng in ERROR.

    You replace the CDATA for this stepkey with :

    <strval><![CDATA[OK]]>

    Save the keydb.xml, restart the sapinst, and there you are !

    HTH

    Best regards,

    Steve.

    Add a comment
    10|10000 characters needed characters exceeded

    • In fact the CDATA[ERROR] has not gone, it has just move to a different file.

      I get an error on a system copy with latest SWPM (so many bugs with this tool !)

      In the controllerKdbClient.dmp file I found my CDATA[ERROR]

      <strval><![CDATA[|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_System|ind|ind|ind|ind|system|0|createSystemDirectories]]>

      </strval>

      </fld>

      <fld name="STATUS">

      <properties>

      <property name ="USED_HOSTNAME" value ="my_host_name" />

      </properties>

      <strval><![CDATA[ERROR]]>

      </strval>

      </fld>

      <fld name="STOP_BEFORE">

      <strval><![CDATA[]]>

      </strval>

      </fld>

      <fld name="STOP_AFTER">

      <strval><![CDATA[]]>

      </strval>

      </fld>

      <fld name="STATE_SET_BY_STEP_STATE_EDITOR">

      <strval><![CDATA[]]>

      </strval>

      </fld>

      </row>

      </table>

      Using Steve advice I was able to skip the step... just for fun because I did not help with the problem I have.

      Thank you very much Steve !

  • Posted on Jul 17, 2013 at 04:21 PM

    Hello

    I'm facing the same problem.

    Did you find a way to force the status of a failing step ?

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2013 at 01:36 PM

    Hello Guys,

    why not use an parameter SAPINST_USE_STEPSTATE=true when starting SWPM here you can skip any implementation step?

    Regards

    Stan

    Add a comment
    10|10000 characters needed characters exceeded

    • Just getting back on this old thread to link it with Tom Cenens's blog that provide some explanation on the SAPINST_USE_STEPSTATE=true ...

      SAPinst step state editor

      The step state editor is included when you run SAPinst with parameter SAPINST_SET_STEPSTATE=true. The editor itself pops up after the SAPinst summary screen and allows you to edit the steps that will run in a graphical way . In the above example, I skipped all the steps that belong to "Create and load database" as you can see in the screenshot (the small "skip" icon is visible there) to avoid the data load which I didn't want to run anymore.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.