Skip to Content
author's profile photo Former Member
Former Member

FOX reference

I have going through the How to ... FOX Formulas Document and found code with FOX functions VARC & VARI in the demo code. However outside the document I can't find these functions anywhere in SAP Help.

I have a problem which I am trying to solve using FOX before having to delve into ABAP and so far unable to find a FOX solution.

Is there a comprehensive resource for FOX that will describe all FOX functionlity (i.e. VARC, VARI)?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2005 at 02:26 PM

    I'm Not sure if there is a source for documentation on VARC & VARI, but, following example should give enough idea.

    VARC holds number of total values in a variable.

    VARI gives value of the variable with index number.

    let's say VAR1 is a variable holding 5 values.

    Entries in the following FOX code will hold a value of 5.

    in the 1st iteration of the DO loop, var_value will hold 1st value of the variable.

    in the last iteration of the loop, var_value will hold 5th value of the variable.

    Index = 0.

    Entries = VARC('VAR1').


    Index = Index + 1.

    var_value = VARI('VAR1',Index).

    If Index = Entries.




    hope it helps.

    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.