cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying data using form

Former Member
0 Kudos

Hi Experts,

I have mutiple records in the internal table, and iam calling a smartform in a function module, and passing that internal table to form.

Can any one tell me how to develop a smart form for this.

No calculations here, just i want to display data which is coming to FORM.

EX: ITAB

MaterialNo Description

1 xyz

2 pqr

3 qwe

Thanks in advance,

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

create a main window and creta a table node under it, pass ur itab and work area to it in the data tab.

then you have to create %LTYPE1 with 2 columns , then you have pass text elements in HEADER of table and pass the work area of fields in MAIN area of table...

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

Pass itab as mentioned above .

Then create a main window and creta a table node under it, pass ur itab and work area to it in the data tab.

Now print the element of work area using text elements and tetx modules.

See this smartform documentation for help.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf

кu03B1ятu03B9к

Former Member
0 Kudos

Hi,

I am sorry. The tables tab comes under the form interface under global settings.

Regards,

Deepthi.

Former Member
0 Kudos

Hi,

Declare the itab under table tab of form attributes. If you are calling the smartform from a program pass an itab having values to the function module.

Hope this helps.

Regards,

Deepthi.