11-20-2007 2:58 PM
hello guys..
I was trying to build a new smartform and wondering how to declare a work area. I tried to declare it in the form interface>tables tab / global definitions and also in the code. Also, how to use the loop functionality in smartforms?
Thanks,
~Venky
11-20-2007 3:05 PM
Hi,
Try it in Global Definitions->global data
S_LIPS TYPE TY_LIPS
in Global Definitions->Types
u have to define
types: begin of ty_lips,
t_posnr type lips-posnr,
t_matnr type lips-matnr,
t_maktx type makt-maktx,
t_brgew type lips-brgew,
t_gewei type lips-gewei,
end of ty_lips,
->when u create a table, in the data tab u can find
loop
just u need to mention the internal table and work area name..
Reward if helpful.
Regards,
Karthick.
11-20-2007 3:10 PM
Hi Venky,
In the global definitions declare the work area.
In the form interface -> Tables tab, declare internal table.
In the Table node -> data tab tick the checkbox internal table and give internal table INTO wa.
Reward Points if this helps,
Satish