cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Error reading stack info, return Code = -1" while EHP4 upgrade

Former Member
0 Kudos

Hi Gurus,

We are doing EHP4 upgrade and we are encountering the following error in the configuration file after we provide the stack file.

Please complete error reads as below.

" Error reading stack info, return Code = -1, Reason = 'System expected element 'sp-stacks' &5&6&7&8'"

The SELSTACKXML.LOG gives following detail.

4 ETQ233 Calling function module "SPDA_GET_STACK_INFO" by RFC

2 ETQ399 Returned table ET_STACK_NCVERS:

2 ETQ399 Returned table ET_STACK_PACKAGES:

4 ETQ399 ... Error reading stack info (rc=-1, reason="System expected element 'sp-stacks' &5&6&7&8")

Can some one guide me how to resolve this.

Thanks

Gopal.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

FYI: I received the same error msg early in an EHP4 upgrade via the EHPI installation tool.  I've pasted below the entire error from our log.  All I did was go back out to the original Maintenance Optimizer (MOPZ) txn in SOLMAN to the step that displays the XML file, re-downloaded the XML file and FTP'd this new file back out under our EPS/in structure and repeated the step and it immediately processed the step successfully.  The original XML file was about 5 weeks old so I do not know if the age made a difference or not but it seems to have.

Jim Cleek

SAP Basis Support

HP Enterprise Services

#
#     MASKING file SELSTACKXML.LOG from /usr/sap/trans/EHPI/abap/log
#     TIME: 20120321152439  PHASE: SELSTACKXML
#

1 ETQ201 Entering upgrade-phase "SELSTACKXML" ("20120321143204")
4 ETQ399 Set environment for standard connect:
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '05', GwService = 'sapgw05'
4 ETQ399 Environment variables:
4 ETQ399   dbs_ora_schema=SAPSR3
4 ETQ399   auth_shadow_upgrade=0
1 ETQ200 Executing actual phase 'PREP_EXTENSION/SELSTACKXML'.
1 ETQ399 Phase arguments:
2 ETQ399 Arg[0] = 'SPDA_SELSTACKXML.LOG'
2 ETQ399 Arg[1] = 'FORCE'
4 ETQ399 EhP stack selection ...
4 ETQ399 Reading stack content ...
4 ETQ399 ... reading stack configuration file "/usr/sap/trans/EPS/in/Brazil_stack_list_Feb15.xml"
4 ETQ230 Starting RFC Login to: System = "MOG", GwHost = "erpmogci", GwService = "sapgw05"
4 ETQ359 RFC Login to: System="MOG", Nr="05", GwHost="erpmogci", GwService="sapgw05"
4 ETQ232 RFC Login succeeded
4 ETQ233 Calling function module "SPDA_GET_STACK_INFO" by RFC
4 ETQ373 parameter "IV_STACK_GUID" = ""
4 ETQ373 parameter "IV_STACK_FILE" = "/usr/sap/trans/EHPI/abap/tmp/Brazil_stack_list_Feb15.xml"
4 ETQ373 parameter "IV_UPDATE_CNTRL_TABLES" = "X"
4 ETQ373 parameter "IV_LOGFILE" = "SPDA_SELSTACKXML.LOG"
4 ETQ374 parameter "EV_RC" = "-1"
4 ETQ373 parameter "EV_MESSAGE" = "System expected element 'sp-stacks' &5&6&7&8"
4 ETQ399 Returned table ET_PATCHLIST:
4 ETQ399 Returned table ET_NCVERS:
4 ETQ399 ... Error reading stack info (rc=-1, reason="System expected element 'sp-stacks' &5&6&7&8")

Former Member
0 Kudos

Do the following:-

Start the SE80 and choose the "Workbench"->"Edit Object" in the Menu

- Go to the last tab if needed "More"

- Find the "Transformation" and click on it's corresponding radio button and type in SPSTACK_TRAFO

- Choose Continue (Enter) or Display (F7);

Then the ST Program SPSTACK_TRAFO will be shown in an editorwindow

- Please activate it (Ctrl+F3)

Former Member
0 Kudos

Hi,

we are facing the almost same error:

"" Error reading stack info, return Code = -1, Reason = error accessing the ref node 'CAPTION' &5&6&7&8'"

The SELSTACKXML.LOG gives following detail.

4 ETQ233 Calling function module "SPDA_GET_STACK_INFO" by RFC

2 ETQ399 Returned table ET_STACK_NCVERS:

2 ETQ399 Returned table ET_STACK_PACKAGES:

4 ETQ399 ... Error reading stack info (rc=-1, reason="error accessing the ref node 'CAPTION' &5&6&7&8'"

Can some one guide me how to resolve this.

Former Member
0 Kudos

Hello,

did you edit the stack xml file??

I got the same error after adjusting the host name in the xml.

vi didn't like the file because all the entries are in one line and as a result I got the error.

I had to download the xml again from transaction /tmwflow/mopz_stack in Solution Manager where you can download it to a local file (on your PC).

There I used notepad to find/replace the host name I wanter to adjust.

Using this file got me past the error.

Regards,

Thomas.

Former Member
0 Kudos

Hi,

My problem is because I have selected one extra component while generation XML file, I have generated it again using the correct component after verfying it with earlier system,that has solved my problem. I would suggest you to generate file on name of our server rather than editing it, I think your way editing it will be complex and not result oriented.

By chance if you are able to edit it please share you have done that. Thanks.

Regards,

Gopal.VVS

sunny_pahuja2
Active Contributor
0 Kudos

Hi

Have you provided the stack xml in download directory ? Its problem in your stack xml file.

Thanks

Sunny

Former Member
0 Kudos

Hi Sunny,

Thanks for responce.

I have placed the XML file is download directory. I not able to interpret the error. Which SP-STACK is it reffering to and are they ( 5,6,7,8 ) missing in the system or missing is in downloads.

Thanks In Advance.

Regards,

Gopal.

markus_doehr2
Active Contributor
0 Kudos

I would say that the XML file generated by SolMan is too old/not matching the version EHPI needs.

Markus

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Generate a new stack file from solution manager. And then try.

Thanks

Sunny