cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms-multiple records - multiple pages

Former Member
0 Kudos

Hello experts,

greetings.

We have a requirement in our project where we are passing an internal table with multiple records to a smartform.

Each of the record has text id as one of the fields. Inside the form I need to call the read_text fm to display the corresponding text.

The text window should be a variable window. And in that window I need give page divert command also. Please help me in achieving this.

Window 1

Field1 field2

Field3 field 4

Text_window ( main window)

Text

Command for next page.

I have developed a form like thisu2026however the main window doesnu2019t get extend to the second page regardless of the content

Accepted Solutions (0)

Answers (4)

Answers (4)

sathyags
Active Participant
0 Kudos

NA

Former Member
0 Kudos

do NOT use FM READ_TEXT to display texts in forms.....

Former Member
0 Kudos

Hi,

Give the next page as FIRST for the FIRST Page, if the first page gets filled up, then ity would trigger a new page ( in your case FIRST ).

Former Member
0 Kudos

1. you need a second page for that

2. you need that second page assigned to your page as next page.

3. you do NOT need FM read text to display texts, use an include text node

4. page break is a control command called NEW_PAGE.

cheers

sathyags
Active Participant
0 Kudos

But how do I go to the next record...and the read_text may return value which would occupy more than one page.