How to define internal table in smartform(urgent)
How can i define a internal table <b>with header line </b> in global data ???
i defined like
TYPES : BEGIN OF T_XVBPLP2 ,
VEMNG LIKE LIPS-LFIMG,
MATNR LIKE LIPS-MATNR,
CHARG LIKE LIPS-CHARG,
ARKTX LIKE LIPS-ARKTX,
END OF T_XVBPLP2.
TYPES: T_XVBPLP TYPE TABLE OF T_XVBPLP2.
In Global Data,
T_XVBPLP TYPE T_XVBPLP.
Still, i am getting error message that, Internal table is not with header line.
can u plz give me some examples , to define internal table with header line in smartform ???
any correct answers will be rewarded??
Abhishek Jolly replied
Can't you use a Work Area along with your internal table (without header line) wherever you are using your internal table ? Within your smartform you might be looping at your internal table. Can't you use INTO WORK AREA addition within your smartform?