Skip to Content
0
Former Member
Jan 21, 2011 at 03:56 PM

how to get a Hier Node Variable value in FOX

124 Views

Hi,

I am working in a FOX program for our IP project.

I need to get the value from a Hier Node Variable, so I did

DATA CCHNAME TYPE STRING.

DATA CCHNODE TYPE STRING.

CCHNAME = VARV(Z_VAR_HI_CC_0001).

CCHNODE = VARV(Z_VAR_HN_CC_0003).

The Hier Name is accepted, but the Hier node is not. The system issues a message:

Information about hierarchy was expected: HIENM=?

in parameters "Table of Formula Lines" in components "Formula Line" in entry 27

Syntax error in row 27, column 35

This position corresponds to the "CCHNODE = VARV(Z_VAR_HN_CC_0003)" statement.

Any idea what the problem is?

Are the CCHNAME and CCHNODE variables properly declared?

thanks for the help,

Mauricio