16 Replies Latest reply: Jan 3, 2012 8:10 AM by bala sub RSS


Haynes Andrew Mendez
Currently Being Moderated



We are upgrade ecc 6.0 to ehp4 level


Severe error(s) occured in phase PREP_INPUT/INITPUT_PRE!

Last error code set: Cannot open 'E:\usr\sap\EHPI\abap\log\MSSCONCHECK.LOG': The system cannot find the file specified.


Errors were found in the logfile MSSCONCHECK.LOG

after execution of the script MSSCONCHECK.SQL.

SAPehpi cannot proceed until these errors are fixed.

Please, examine MSSCONCHECK.LOG, fix reported errors and then call R3UP again


log file

SAPehpi> Starting subprocess sqlcmd.exe with id 4600 at 20091126153716


EXECUTING sqlcmd.exe -S HYDHTC4524 -E -d ISI -i E:\usr\sap\EHPI\abap\bin\MSSCONCHECK.SQL -o E:\usr\sap\EHPI\abap\log\MSSCONCHECK.LOG -h-1

Environment: JAVA_HOME=C:\j2sdk1.4.2_19-x64

Environment: PATH=C:\SYSROOT\system32;C:\SYSROOT;C:\SYSROOT\SYSTEM;C:\SYSROOT\system32\Wbem;C:\Program Files\CA\eTrustITM\;C:\Program Files\CA\SharedComponents\ScanEngine\;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;E:\usr\sap\ISI\SYS\exe\uc\NTAMD64


Environment: dbs_mss_schema=isi

'sqlcmd.exe' is not recognized as an internal or external command,

operable program or batch file.

Process with ID 1640 terminated with status 1

  • Re: ehp4 upgrade :PREP_INPUT/INITPUT_PRE!
    Aidan McKiernan
    Currently Being Moderated

    Hello Haynes,


    It appears that the EhP is trying to execute the program sqlcmd.exe but it does not

    exist in your server.


    Is the DB running on a separate machine? If so, could you please try the



    Copy from the ...\binn and ....\Resource\1033 library the sqlcmd.exe and

    sqlcmd.rll and put them into the Windows library to get this to work.

    You can get them from your DB server.


    I hope this is helpful here.


    Kind Regards,


    • Re: ehp4 upgrade :PREP_INPUT/INITPUT_PRE!
      Gabrielle Ennes
      Currently Being Moderated

      I'm having same issue.

      Our database is on a separate server as CI and I copied the 2 files as you suggested.

      Again same error: Cannot open logfile for read D:\usr\sap\TE1\EHPI\abap\log\MSSCONCHECK.LOG



      SAPehpi> Starting subprocess sqlcmd.exe with id 7684 at 20100603045111


      EXECUTING sqlcmd.exe -S AM270S3403 -E -d TE1 -i D:\usr\sap\TE1\EHPI\abap\bin\MSSCONCHECK.SQL -o D:\usr\sap\TE1\EHPI\abap\log\MSSCONCHECK.LOG -h-1

      Environment: JAVA_HOME=C:\j2sdk1.4.2_17-x64\jre

      Environment: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

      Environment: Path=C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\sysWOW64;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files (x86)\Dell\SysMgt\oma\bin;D:\usr\sap\TE1\SYS\exe\uc\NTAMD64

      Environment: auth_shadow_upgrade=0

      Environment: dbs_mss_schema=te1

      Process with ID 4036 terminated with status 128


      Any advice?

      Thanks, Gabrielle

  • Re: ehp4 upgrade :PREP_INPUT/INITPUT_PRE!
    Haynes Andrew Mendez
    Currently Being Moderated



    The DB  and SAP are in the same server .




  • Re: ehp4 upgrade :PREP_INPUT/INITPUT_PRE!
    Haynes Andrew Mendez
    Currently Being Moderated



    There was some problem in the OS .I have followed the below step


    1)Click Start, click Run, type secpol.msc, and then click OK.

    2)In the left pane, expand Local Policies, and then click User Rights Assignment.

    3)In the right pane, double-click Impersonate a client after authentication.

    4)Click Add User or Group.

    5)Type service in the Enter the object names to select box, and then click OK two times.

    6)Restart the computer.


    Now i am to continue the installation




  • Re: ehp4 upgrade :PREP_INPUT/INITPUT_PRE!
    Daniel Villard
    Currently Being Moderated



    I have same issue outline above using SOLMAN upgrade program latest version 22 hence I think they could be an issue with the ABAP portion of the SAP upgrade tools


    When I manually run the sqlcmd.exe -S OCSSLM1 -E -d SLM -i D:\SOLMANUP\abap\bin\MSSCONCHECK.SQL -o D:\SOLMANUP\abap\log\MSSCONCHECK.LOG -h-1 it does create the log file and response correctly.

    When it runs through the upgrade it removes the log file .. very strange because it doesn't happen if I use the Solman upgrade version 13 released in June, but this Solman version create other issue like remove the instance SAP services in the down time phase.


    Appreciate if anyone had other idea on the matter





  • Re: ehp4 upgrade :PREP_INPUT/INITPUT_PRE!
    Daniel Villard
    Currently Being Moderated



    Logged a call with SAP who provided a solution that fixed the issue. Basically I had to check %WINDIR% directory if sqlcmd.exe exists.

    If so rename it and repeat the phase.


    If you still cannot pass this issue, check if you have sqlcmd.exe & sqlcmd.rll in

    C:\Program Files\Microsoft SQL Server\90\Tools\Binn. There should be one in the directory.

    Please copy both items to the %WINDIR% directory and repeat the phase which works hence Solution manager upgrade could continue


    Hope that may help someone else issue


    Regards Daniel