‎2008 Jul 22 11:40 AM
Hi,
I wish to define an Internal table at global level in smart forms.
I want it in the form and not in the driver program.
Any idea how do we do this?
Thanks
‎2008 Jul 22 11:42 AM
Hi,
at the first page : In the Global settings -->Global definitions -->types.
example:
types:
begin of ty_itab occurs 0,
f1 type mara-matnr,
f2 type makt-MAKTX,
end of ty_itab.
data:
i_itab type ty_itab.
Regards,
rama.
‎2008 Jul 22 11:43 AM
HI
in the TYPES tab you define the structure of the table and down to that you define the table
as below
types :
begin of fs_tab,
bukrs like ekko-bukrs,
ebeln like ekko-ebeln,
end of fs_tab.
types :
t_tab type standard table of fs_tab.
and in the GLOBAL DATA deine a varibale of the t_tab as below
i_tab type t_tab
your issue is solved
Regards
Pavan
Edited by: Pavan Bhamidipati on Jul 22, 2008 12:46 PM
‎2008 Jul 22 11:44 AM
hi,
You can declare the table in types of global definition and use the same types for declaration of internal tables in the global data. You can declare internal tables in the global data tab for dictionary objects also.
Regards,
Veeresh