Skip to Content
0
Former Member
Apr 23, 2010 at 09:40 PM

Types of Operands donot agree

25 Views

Hello,

I have a scenario where I have to compare the FISCPER3 value with the Keyfigure value in FOX. However, for obvious reasons there is a data type mismatch.

DATA FP3 TYPE 0FISCPER3.

DATA F_M TYPE F.

F_M = { Z_MIM, CC, #, #, #, FY, 000006, VER, #, #, # }.

IF FP3 > F_M

  • DO THIS

ELSE.

  • DO THIS

ENDIF.

My 0FISCPER3 would have values like 001, 002, 003, 004 .....011, 012.

My F_M is a KeyFigure value and would have values like 2, 3, 4 etc.

How can I get these values compared and put in a IF ELSE condition.

Any help would be appreciated.

Thanks,

Kumar.