I have a code like this:
My purpose is to have a header in my excel summary report.
But there's an error like this:
"Field "gv_HEADING-TEXT" is unknown. It is neither in one of the
specified tables nor defined by a "DATA" statement. "DATA" statement."
sample code in my program:
data: gv_heading(10) type c.
gv_HEADING-TEXT = 'Company Code'.
gv_HEADING-TEXT = 'RFQ Number'.
gv_HEADING-TEXT = 'RFQ Line Item'.
call function 'GUI_DOWNLOAD'
FILENAME = L_FNAME
FILETYPE = 'DAT'
DATA_TAB = IT_FINAL
FIELDNAMES = gv_HEADING
Please help me in solving this problem.