cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms Text Include

Former Member
0 Kudos

Hi,

In text include, can i specify the number of character for the text which gives me?

Or i need call function READ_TEXT ...?

Thanks.

Edited by: Spawn rad on Jul 17, 2008 5:47 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You are correct you need to use READ_TEXT FM and then after the result is stored in LINES just store in a vairable ( declared in the smartform ) with LINES-TLINE+0(20).

Call the READ_TEXT FM using program lines in the smartform.

And print the vairable in the location needed with the desired paragraph format.

Regards,

Ram

Answers (4)

Answers (4)

Former Member
0 Kudos

ok thanks Ram.

Former Member
0 Kudos

I know that, I speak about smartforms and The Text include.

I just know if it's possible with the text include to parameter the max number of character you want read.

The text who give me have for example 100 character, I want just the 20 first character. it's possible?

Edited by: Spawn rad on Jul 18, 2008 10:36 AM

Former Member
0 Kudos

Hi,

you can use an include text instead of the read_text fm.

goto the general attributes of a text element. From the drop down menu, convert the text type to include text.

The just as in read_text fm pass the parameters

text name, text object, text id and language.

Every thing will be handled automatically

reward points if helpful

bpawanchand
Active Contributor
0 Kudos

hi

If it is smartform or script you can include the text object directly with out using READ_TEXT FM.

For Further Information

http://www.sap-img.com/abap/use-fm--read-text-to-read-the-various-text.htm

Regards

Pavan