‎2007 Aug 31 7:29 AM
hi all
when we pass internal table to a smartform
we have to declare the tables in the global intercace
and in the reference we hav to give the name of the sturcture
created in se11
now my ques is can we use the same without declaring the se11 structures
or by using types
plz help
every idea wil b appreciated
‎2007 Aug 31 7:31 AM
HI,
the best you can do is you can do "like",i dont think without an se11 structure its possible
Thnaks
vivekanand
‎2007 Aug 31 7:31 AM
Hi ABAP Fresher
yes you can. In the ABAP Program , the internal table that you declared , should be the same with the samrt form . Only this condition is required
Regards
Wiboon
‎2007 Aug 31 7:32 AM
‎2007 Sep 01 7:59 AM
‎2007 Sep 01 8:57 AM
Hi,
In Form Interface declare Internal Table using the Dictionary Structure with 'Like'.
In Global Definitions declare the Work area using the Dictionary Structure with 'Like'.
Regards,
Padmam.
‎2007 Sep 01 9:03 AM
hi padman
i dont want to use the dictionary structure
can i use some local structure in the smart form
‎2007 Sep 01 9:43 AM
hi all
just tell this is it possible to pass internal tables to smartform without creating structures in the SE11
‎2007 Sep 01 9:53 AM
1) global settings->global definitions--> types
we define a structure here the same as it in your program.
GT_LABEL[]
2) global settings->global definitions--> initialization
DATA: field(50).
FIELD-SYMBOLS: <dbcnt> type any.
field = '(ZCHINA_TEST3)ITAB[]'.
ASSIGN (field) TO <dbcnt>.
GT_LABEL[] = <dbcnt>.
You can have a try.