cancel
Showing results for 
Search instead for 
Did you mean: 

ONLY ONE RECORD IS DISPLAYED

Former Member
0 Kudos

hi all.....

i executed the smart form and called the FM in program....but only one record is

getting displayed....i created a table in main window and put loop in main area...

but still only on erecord..please help me.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

See SAP smart form 'SF_LB_INVOICE' to get an idea on how to use LOOP node.

Regards,

Shehryar Dahar

Former Member
0 Kudos

HI,

in table we have one tab like Data. in that one u have to loop your itab into Workarea whcih declared in Global definitions.

You can check the sample program SF_LB_INVOICE how to use Table..

Regards

Ashok P

Former Member
0 Kudos

hi Raj,

If you have written the code in the mainwindow of smartform then

go with mainwindow then right click and go with create loop

then specify the loop and description and internal table

Regards,

GNK

Former Member
0 Kudos

perhaps the internal table is having only 1 record to be shown...Check in debug whether it has multiple lines and wherther in smartform it is been looped.

Former Member
0 Kudos

hi ramesh...

thank u for that...but i checked in itab..all lines are getting displayed...but i am confused where to loop in form.can u pls explain about that

Former Member
0 Kudos

There are two ways of displaying data from a internal table in the smart form.

1. Create a Table node and pass the internal to the table node along with a work area. Create a line type, which will have each of the columns. Create text elements for each of the columns you want to display.

2. Create a Loop node, pass the internal table and create text element for each of the columns you want to display.

Regards,

Ravi

Note - Please mark all the helpful answers

Former Member
0 Kudos

Are you sure you have multiple records in the internal table?

Debug the smart form and see if the table parameter is getting multiple records.

Regards,

Ravi

Note Please mark all the helpful answers