Skip to Content
1
Former Member
May 19, 2010 at 07:13 PM

Error: Table without a header line and therefore has no component called x

8907 Views

Hi Expert,

I'm not a programer but I'd like to get the following code working. Sorry if it's too simple.

i have the following simple program whee I want to call a function module. The function module delivers a structure that with several fields including one named LOW. I would like to use it.

However I get the syntax error:

"STRUCTUREB" is a table without a header line and therefore has no component called "LOW".

Any help, appreciated. Alberto

REPORT  ZTESTAS.

TYPE-POOLS: RSR.
DATA: RSR_T_RANGESID TYPE Rsdd_T_RANGE.
DATA: E_T_RANGE TYPE  RSR_T_RANGESID.
*DATA: structure TYPE rsr_s_rangesid occurs 1.
DATA: structureb TYPE RSR_T_RANGESID.

DATA l_version   TYPE /bic/oizversion.

call function 'Z_BWVEZVERSF'
exporting
I_VNAM = 'ZVERSF'
I_VARTYP = '0'
I_IOBJNM = 'ZVERSION'

importing
E_T_RANGE = structureb.

l_version = structureb-low.