cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing userexit in JAVA - unsupported major.minor version 50.0

raymond_amalraj
Explorer
0 Kudos
105

Hi ,

I am relatively new to userexits in Java for pricing related requirements in CRM sales order. Currently the requirement is such that in sales order, a simple pricing requirement needs to be setup that checks order net value is greater than 150. To do this, i read through the userexit manual and developed the Java userexit for the requirement. I have done the config related to that. I can see my requirement is already there in CRM system as 902. But when a sales order is created, it gives a error messages as below :

my/sap/pricing/userexits/req/ZDiscountRequirement (Unsupported major.minor version 50.0)

I am not sure if this error has been reported by others in this forum. I searched for it . Din't get it. so posting a new thread.

Appreciate your help !

Thanks ,

Raymond.

View Entire Topic
raymond_amalraj
Explorer
0 Kudos

Hi,

Is there anybody who has encountered this error before? Appreciate your help !

0 Kudos

Assuming you are using Eclipse, which comes with a project specific java settings, you can set different java compiler levels for different projects which often overrides the java compiler setting on the OS. If you change this to match the JRE level the problem should be eliminated.

raymond_amalraj
Explorer
0 Kudos

Thank you Krish! It did work for me this way. I was using 1.6 compiler instead 1.4 . Hence the problem. Points awarded!

Former Member
0 Kudos

Hi,

I too am facing the same issue with service order. How do I rectify this error? How do I check the JRE level?

Regards,

Abdullah