Skip to Content
-3

How to display short text if long text is not available in me23n output pdf.

Jul 22, 2017 at 11:55 AM

60

avatar image
Former Member

Hi all,

My requirement is if long text is not available in me23n , then short text has to be displayed in pdf output . I am using include texts for displaying long texts in smartforms.

How to check whether long text is availabe or not. I am not using any function modules (READ_TEXT).

Thanks in Advance.

10 |10000 characters needed characters left characters exceeded

It seems that you did some research and you found out that READ_TEXT function module could be used to get the long text of a message. So, why do you say you're not using it? My answer is: use it!

1

And it has been answered on SCN before how to find if a text exists. Use Google.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jul 26, 2017 at 02:22 PM
1

When using a SAPscript text node: You can

  • Prevent error when not found ('No Error if Text Does Not Exist' checkbox)
  • Follow the node with a text node with the short text and a condition based on SFSY-SUBRC (system field, SFSY-SUBRC = 4 :Text module or include text not found)

So no need to use READ_TEXT in this case.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Raymond, looks like the link is dead. And did you mean "Smartform text node"?

Thank you.

0

Exactly, i was meaning 'using the text type Include Text of the text node to refer to a SAPscript text in a Smartform' and tried to add a link to Including SAPscript Texts

0