Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Work Area Declaration in Smart forms

rahulv6
Explorer
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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