Application Development and Automation 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: 
Read only

smartform question

Former Member
0 Likes
797

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

8 REPLIES 8
Read only

Former Member
0 Likes
780

HI,

the best you can do is you can do "like",i dont think without an se11 structure its possible

Thnaks

vivekanand

Read only

Former Member
0 Likes
780

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

Read only

0 Likes
780

but wat to write in the global interface???

Read only

0 Likes
780

somebody please answers this thread too its very urgent

Read only

0 Likes
780

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.

Read only

0 Likes
780

hi padman

i dont want to use the dictionary structure

can i use some local structure in the smart form

Read only

0 Likes
780

hi all

just tell this is it possible to pass internal tables to smartform without creating structures in the SE11

Read only

Former Member
0 Likes
780

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.