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: 

smart forms

Former Member
0 Kudos

hi friends,

Could u please send me the Details

actually i have crate some structure like in Global Definitions Types

types:begin of t_item,

matnr like mara-matnr,

mbew like marc-mbew.

end of t_item.

types:is_item1 type table of t_item.

and then i goto form interfaces i have declare the internal table in form interface like this

is_item type is_item1.

upto this part is ok

and <b>how we can declare the work area in Global Definitions</b>

Regards

srinu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

In the Global Data tab, you can declare the Internal tables and also the headers,

is_item type is_item1,

the above statment will work..

Thanks

Sudheer

4 REPLIES 4

Former Member
0 Kudos

Hi Srinu,

You can define an internal table with specified fields in the method as you have defined..

You can create the work area like this :

In the global data tab, do like this:

work_area type t_item.

This will work.

Regards,

SP.

Former Member
0 Kudos

hi srinu,

give like this in Global definitions in Global data:

WA like t_item

or

if its a small structure then create the structure in SE11 and give for ex:

WA like Zstruct.

Former Member
0 Kudos

HI

GOOD

IF YOU WANT TO DECLARE THE WORK AREA IN THE GLOBAL DEFINITION THAN YOU HAVE TO DECLARE LIKE THIS

IN THE GLOBAL DATA TAB GIVE THE WORK AREA NAME UNDER THE VARIABLE NAME HEADING

WRITE TYPE IN THE TYPE ASSIGNMENT HEADING

WRITE THE INTERNAL TABLE NAME IN THE ASSOCIATED TYPE HEADING

THANKS

MRUTYUN

Former Member
0 Kudos

HI,

In the Global Data tab, you can declare the Internal tables and also the headers,

is_item type is_item1,

the above statment will work..

Thanks

Sudheer