cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms include text condition check

Former Member
0 Kudos

Dear all ,

I am using smartforms include text .Type is include text

Under text key tab :

Text name : IS_BIL_INVOICE-HD_GEN-BIL_NUMBER

Text Object : VBBK

Text ID : ZH04

Lang : EN

Check box activated No error if no text exist .

Its works fine. But if text has emply i am getting a line space in the forms . I need to chk condition in include text

saying tat . If text has no value don't display in the smart forms . How to use this.

Regards,

Vinoth.v

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vinoth,

The problem has the following solution:

Create a Flow Logic: Add Program Lines before the INCLUDE TEXT node.

In Program Lines, Read text using Function module READ_TEXT. If you get anything (i.e. SY_SUBRC EQ 0) then, set the flag (eg. text_flag = 'X' ) indicating existence of long text.

In condition tab of INCLUDE TEXT node, check the value offlag and based on it (eg. text_flag = 'X' ) display the long text.

Regards,

Amee.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Try using the condition tab, by adding a condition to check if there is any text, before writing.

Regards

Raj