cancel
Showing results for 
Search instead for 
Did you mean: 

New Line In table in Samrt form

Former Member
0 Kudos

Hi All,

In a smart form i have a table in that one of the field is description.

For description i am writing code,

where i am giving condition as follows eg.

if SITAB-kunnr = 'ABB001' or

SITAB-kunnr = 'DIS001' or

SITAB-kunnr = 'ZER001' or

SITAB-kunnr = 'SPI001' or

SITAB-kunnr = 'EAT002' or

SITAB-kunnr = 'BRN001'.

concatenate itab-MAKTX ' ' SITAB-NAME1_B into descr.

else.

descr = itab-MAKTX.

endif.

when condition is true descr should be two line currently its in a single line

eg.

ABC

PQR

else

ABC only.

This is all to save one blank line when condition is false.

So i want new line character in smart forms like what in C & C++ (\n).

Please help.

Regards,

Prasad Gore

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

THANKS

Former Member
0 Kudos

Use the 'Alternative' option and give the condition it the alternative.

Place both the texts in 'TRUE' and One text in 'FALSE'.

This will solve your concern.

Former Member
0 Kudos

CONCATENATE t1 t2 t3 t4 t5 t6 t7 t8

INTO result SEPARATED BY space.