Skip to Content

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

define range in smartform in global data

I encounter problems when i try to define a range in the global data.

someone know the correct definitions to define a range and the corresponding work-area because i don't want to use header-lines anymore.

I tried this:

tab types: ty_range type range of mara-matnr.

global data: mat_range type range of ty_range

wa_mat_range like line of mat_range

initialization: wa_mat_range-sign = 'I'.

I have no check-error on the tabpages of types and global data but when i check the code in the initialization the error: " field mat_range is unknown. it is neither in one of the specified tabels nor defined with a DATA statement...." is coming. I have declared the mat_range and wa_mat_range in the in/outparameters of the initialization.

Former Member

Helpful Answer

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