cancel
Showing results for 
Search instead for 
Did you mean: 

Error LOAD_PROGRAM_CLASS_MISMATCH

Former Member
0 Kudos

Hi. I have a few ABAP objects that interact with each other. In one case, I have an object that gets passed as a parameter to another object.

I changed a method type on the parameter object from public to static. That's around the time that I started to get this error. The error occurs on the line where the object gets passed as a parameter.

There seems to be a discrepancy since I added the static method to the parm object.

Do you know what is causing this and how to correct it?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Did u activate the changes made because the error says in English that

The section "PUBLIC" of the interface of the class "ZSDCCCPROCESSORFACTORY" was changed during the program run, so that it came at run-time to inconsistencies. .

Regards

Vick

Former Member
0 Kudos

Hi. I think I had clicked the "Pass value" checkbox on one of the receiving object's parameters by mistake, and then saved it (so it was not caused by the addition of the static method).

I just deleted the constructor, re-entered it, and it was fine.

Thanks for replying.

Former Member
0 Kudos

Hi,

are you getting a dump?

Refer to SAP note: 387866

Symptom

Runtime error LOAD_CLASS_VERSION_MISMATCH or

LOAD_PROGRAM_CLASS_MISMATCH in releases 45A and 45B.

The short dump reports that the "private / protected" part of the class interface would have changed. Since neither inheritance nor friends are supported in release 4.5, there is no reason for this kind of dependence. Neither is such dependence contained in the where-used list, which is why terminations occur with changes which only affect the private part of the interface.

Tanveer.

Please mark helpful answers.

Did u try to restart the program???

Message was edited by: Tanveer Shaikh

Former Member
0 Kudos

Yes, but the messages are in German:

-

-


Klassenschnittstelle wurde zur Laufzeit verändert.

What happened?

The current ABAP/4 program "ZSDCCCPROCESSORFACTORY========CP " had to be

terminated because

one of the statements could not be executed.

This is probably due to an error in the ABAP/4 program.

What can you do?

Print out the error message (using the "Print" function)

and make a note of the actions and input that caused the

error.

To resolve the problem, contact your

SAP system administrator.

The system attempted to correct the error

automatically, so you should try to restart

the program.

Error analysis

Der Abschnitt "PUBLIC" der Schnittstelle der Klasse "ZSDCCCPROCESSORFACTORY"

wurde während des Programmlaufs geändert, so daß es zur Laufzeit zu

Inkonsistenzen kam.

Das Programm "ZSDCCCCONSENCRYPTOR===========CP" verwendet die

Schnittstellenversion 20060427103200.

Das Programm "ZSDCCCPROCESSORFACTORY========CP" verwendet die

Schnittstellenversion 20060427143941.

How to correct the error

Try to restart the program.