cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to truncate Sales Texts printed using 'Include Text' func

Former Member
0 Kudos

Hello

I am print Material Sales Text's from VBBP using the Include text function on a text node.

I was wondering if it was possible to print the first so many characters or lines rather than get everything that is present that is supplied automatically by the function.

I am including the text in a small space on a label and don't need all the text.

Has anybody any suggestions?

Best Regards

Mike Spear.

Accepted Solutions (1)

Accepted Solutions (1)

prakashjasti
Contributor
0 Kudos

Use read_text function module for include text and

declare a variable of required size in global definitions and

looping the internal table concatenate wa_lines-tdline and your variable into your variable

Regards,

Prakash

Answers (1)

Answers (1)

aidan_black
Active Contributor
0 Kudos

Hi,

Normally the application uses the function module READ_TEXT to return the content of the include text. The text data is returned via internal table LINES. Perhaps you can manipulate the data returned in this table to achieve what you need.

regards,

Aidan

Former Member
0 Kudos

Thanks for your quick replies Prakash and Aiden.

I didn't realise I could use READ_TEXT function for VBBP. Job done!

I attempted to allocate 10 points to both but system won't let me so 10 to Prakash a he answered first and 6 to Aiden but thanks equally guys.

Best Regards

Mike Spear