cancel
Showing results for 
Search instead for 
Did you mean: 

Formula error: Type 0COMP_CODE is not allowed for the function

Former Member
0 Kudos

In a FOX exit I have

DATA CO type 0COMP_CODE.

CO = OBJV().

0COMP_CODE is in the Level and at the moment contains a known single value.

0COMP_CODE is also one of the fields to be changed.

I've tried other characteristics that are in the level with the OBJV() function and I receive the same error on each of them.

Any suggestions on what the issue might be ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Brent,

Try taking company code out of your fields to be changed and use the OBJV()

function.

Hope this helps.

Cheers

Srini

Former Member
0 Kudos

Thanks..

I should've spotted that..

Points awarded.

Answers (0)