Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2007 at 08:52 PM

    Brent,

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

    function.

    Hope this helps.

    Cheers

    Srini

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.