‎2006 Jul 10 3:20 PM
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
‎2006 Jul 10 3:47 PM
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
‎2006 Jul 10 3:26 PM
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.
‎2006 Jul 10 3:44 PM
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.
‎2006 Jul 10 3:46 PM
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
‎2006 Jul 10 3:47 PM
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