Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Field-symbol question

I have a field symbol and I am trying to access a component in the field-symbol. If I type <DATA>-TAXAU, in the debugger, it shows me the value. If I type <DATA>-TAXAU in the editor, it gives me a syntax error saying that <DATA> is not structured therefore has no component named TAXAU. How can this be so?

field-symbols: <table> type standard table,
               <data> type any.

check: <DATA>-txcmp in s_txcmp,  "Errors out
           <DATA>-TAXAU in s_taxau.  "Errors out

APPEND <data> TO <table>.  "Works just fine!

Any ideas why I can't use the check statement? As I said, I can view the component <DATA>-TAXAU and <DATA>-TXCMP in the debugger so they are valid at run-time.



Not what you were looking for? View more on this topic or Ask a question