cancel
Showing results for 
Search instead for 
Did you mean: 

Include Text

Former Member
0 Kudos

Is there a possibility to check if a text exists in the Smartform, because I want to display a title only when the text exist.

Greetings Volker

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Do you mean to say : u need the title above the include text?

Regards,

KK

null

Former Member
0 Kudos

yes in the cell before the text

titel: Text

Message was edited by:

Volker Schäfer

Message was edited by:

Volker Schäfer

Former Member
0 Kudos

Hi,

Create a template :

_____1______|_____2________

1___TITLE___|____TEXT_______

first write the text with std text with output options (Row 1 & column 2 )

Then write the title text with the condition(Row 1 & column 1 ).

Regards,

KK

Former Member
0 Kudos

But I can´t put an tmeplate into a table. or is this possible?

Former Member
0 Kudos

No It is not possible. So i Think you should go for the read_text FM

Regards,

KK

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think it is possible.

After the standard text, create the text with the title in it but in the conditions tab write condition sfsy-subrc = 0.

Hope this helps u.

Regards,

KK

Former Member
0 Kudos

This is a good idea, but i need the headline before the text. How can i manage this? Can i change the sequence of the eradication in a table line??

Former Member
0 Kudos

Hi!

You can check it only from an ABAP code.

Use the READ_TEXT function module. If the sy-subrc <> 0, then there is no such text.

Make a global flag variable, and during the title print, make this flag into the conditions.

Regards

Tamá