Skip to Content
avatar image
-3
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 26, 2017 at 02:22 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded