cancel
Showing results for 
Search instead for 
Did you mean: 

SPAM update - LOAD_PROGRAM_CLASS_MISMATCH

Former Member
0 Kudos

Hello,

I am just preparing for an upgrade to our DEV ECC system.

I have the patches downloaded and ready to go in EPS/In

I've run the SPAM update in the usual way and seen this error:

Runtime Errors         LOAD_PROGRAM_CLASS_MISMATCH

Date and Time          14.04.2014 11:17:56

Short Text

     Class interface was changed at runtime.

What happened?

     Error in the ABAP Application Program

     The current ABAP program "SAPLOCS_UI" had to be terminated because it has

     come across a statement that unfortunately cannot be executed.

What can you do?

     Note down which actions and inputs caused the error.

     To process the problem further, contact you SAP system

     administrator. Using Transaction ST22 for ABAP Dump Analysis, you can look

     at and manage termination messages, and you can also

     keep them for a long time.

     The system attempted to correct the error

     automatically, so you should try to restart

     the program.

Error analysis

     The section "PUBLIC" of the interface of the class "CL_OCS_PROCESS_STATUS" was

      changed during

     program flow, which caused inconsistencies at runtime.

     The program "CL_OCS_PROCESS_STATUS=========CP" uses the interface version

      20140414111441.

     The program "SAPLOCS_UI" uses the interface version 20140321151332.

     The internal session was started at 20140414110145.

I have attempted to re-run the SPAM update and it tells me it was already successfully updated.  Yet when I attempt to "load packages from application server" it just attempts to upload the SPAM update again with the message that "OCS file already exists in inbox.  Upload Not Required"

SPAM cannot see the other patches sat in EPS/In

Does anyone have any ideas please? I'm under pressure here to have this process under way quickly and I've hit a brick wall!

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

sivakumar_kilari3
Active Contributor
OCS file already exists in inbox.  Upload Not Required"

Now you can apply the patch

former_member185239
Active Contributor
0 Kudos

Hi Paul,

Define the queue and start the patching.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

I can't define the queue because I cannot upload the packages into SPAM. 

Only the SPAM patch will upload.

I have nothing to define.

Former Member
0 Kudos

No, like I said, when I try run the update again it says it was already successfully updated.  But it wasn't.  It ended with an error.  And now does now work at all.

sivakumar_kilari3
Active Contributor
0 Kudos

How you are updating , can you attach screen shots here.

sivakumar_kilari3
Active Contributor
0 Kudos

What is the SPAM level you are updating ?

sivakumar_kilari3
Active Contributor
0 Kudos

Can you check patch status in PAT03 table

Former Member
0 Kudos

I'm just gathering some screen shots.

In the meantime, the release is 7.00/0053.  SPAM shows I have this version installed, but I don't think it ran successfully.

PAT03 doesn't appear to show me anything from beyond 2009 !!

Reagan
Advisor
Advisor
0 Kudos

What is the status of the Tx SPAM ? if it is in Green and if it shows the target patch level at the top then the SPAM patch level has been updated.

Regards

RB

Former Member
0 Kudos

I have uploaded the spam package again and tried to re-run the update.  This is the message:

When I try upload all the other packages from application server it just tries to upload the spam patch again and nothing else.

And this is a screenshot of my EPS/IN directory, showing just a few of the dozens of patches that are sat in that directory.  None of which SPAM seems to be able to see!

former_member185239
Active Contributor
0 Kudos

Hi Paul,

Run the transaction AL11 and check the parameter DIR_TRANS parameter.

Also paste the screenshot.

Also Put all the package in trans directory and extract the .SAR file .

SAPCAR -xvf  .SAR and it will create the .PAT files in EPS/in directory.

With Regards

Ashutosh Chaturvedi

Reagan
Advisor
Advisor
0 Kudos

The SPAM has been already update to patch level 53.

The packages are in .SAR extension and not with .PAT extension.

Use SAPCAR to extract these files to DIR_TRANS/EPS/in directory and then reload from TX SPAM

Regards

RB

Former Member
0 Kudos

Thanks for the suggestion guys.

I'm getting this??

(We run on iSeries/OS400 - hence the old fashioned green and black screen!)

Reagan
Advisor
Advisor
0 Kudos

SAPCAR -xvf *.SAR

Regards

RB

sivakumar_kilari3
Active Contributor
0 Kudos

Hi ,

You have to extract these patches , using below command.

sapcar -xvf XXXXXXXX.sar

Thanks

Siva

sivakumar_kilari3
Active Contributor
0 Kudos

Keep all the patches in one folder.

1. login sidadm user

2. Extract all the patches using sapcar -xvf *.SAR

3. After extraction you copy all the patches from /EPS/in to /usr/sap/trans/EPS/IN folder.

Then start spam and upgrade patches.

Thanks

siva

Reagan
Advisor
Advisor
0 Kudos

By the way if you are preparing for the upgrade then why are you extracting these packages ?

If you are using SUM to upgrade the system then SUM will extract these packages to the DIR_TRANS/EPS/in directory. All you need to do it put all the packages and the stack file in one directory and point that to SUM.

Regards

RB

Former Member
0 Kudos

Got it guys!

The command was:  ./sapcar -xvf ".SAR"

Double quotes, and the .SAR was case sensitive.

And now SPAM is working as it should.

Thanks you very much for your help. 

former_member185239
Active Contributor
0 Kudos

Hi Paul,

Please mark the thread as answer and helpful.

Credit goes to Reagan Benjamin

With Regards

Ashutosh Chaturvedi

Answers (0)