4 Replies Latest reply: Apr 27, 2006 10:03 PM by Brendan Farragher RSS

Error LOAD_PROGRAM_CLASS_MISMATCH

Brendan Farragher
Currently Being Moderated

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.

  • Re: Error LOAD_PROGRAM_CLASS_MISMATCH
    Tanveer Shaikh
    Currently Being Moderated

    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

     

    • Re: Error LOAD_PROGRAM_CLASS_MISMATCH
      Brendan Farragher
      Currently Being Moderated

      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.

       

  • Re: Error LOAD_PROGRAM_CLASS_MISMATCH
    vick vennav
    Currently Being Moderated

    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

Actions