cancel
Showing results for 
Search instead for 
Did you mean: 

Strange switch error

0 Kudos

Hello

I'm encountering a strange error when a transaction is executed.

It has a switch block with three cases. The match type is string. There are 3 standard boxes for each case and the "else" block.

In InputValue variable there is a stringtrim of string value.

In each MatchValueX there is static strings.

Sometime the transaction throws exception with the following error:

     while trying to invoke the method com.sap.lhcommon.common.VariantData.intValue() of an object loaded from local variable 'count'

If I run again the transaction with the same input, everything is completed without errors.

Do you have any idea about the problem?

System: MII 12.2

Thank you a lot

Best regards

Fabio

Accepted Solutions (1)

Accepted Solutions (1)

saumya_govil
Active Contributor
0 Kudos

Hi Fabio,

Looks strange. I am keen to know how your transaction is called?

Check if this could possibly be due to some property value not getting refreshed?

Regards,

Saumya Govil

Answers (1)

Answers (1)

0 Kudos

Refresh of dynamic transaction call parameters solved the issue

Thank you a lot

Best regards

Fabio