cancel
Showing results for 
Search instead for 
Did you mean: 

READ TEXT in SMARTFORM?

Former Member
0 Kudos

In Billing document header text they written text like

TEXT1.

THXT2.

TEXT3.

By using read_text i got these three or N number of lines into my IT_lines table.

Now i need to display these all in my window as it is.

like

TEXT1.

THXT2.

TEXT3.

in one of my standard window.

But i am getting onlt TEXT3. in my output.

My code is..

loop at it_lines.

write it_lines-tdline.

endloop.

Can anybody duggest reg this

Sachin.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you may use an include text instead of the read text FM

create a text elemnt and convert it to the include text from the drop down menu (text type)

and pass the parametrs (just like the read_text fm)

Include text works same as read_text.....you do not reuire a loop

so u create 3 include texts for your 3 texts....

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

i did similar kinda thing dude.

create a loop and in that loop internal table to a workarea.

now to display the data create a text node under the loop and in that insert the fields like wa_itab-pernr,wa_itab-begda etc.

u have to insert this by clicking the insert field buttong.

let me know if u have any prob's.

Former Member
0 Kudos

Hi,

Use the FLOWLOGIC -> LOOP (in smartform) for the internal table that u got all the standard text and place one text node in that loop to display the text with in that standard window and check even the window size.

Reward points if it is helpful.

Edited by: Ravi Kumar on Jul 7, 2008 11:03 AM