cancel
Showing results for 
Search instead for 
Did you mean: 

white spaces truncated

Former Member
0 Kudos

Hi Gurus,

i have a screen where the more than one white space is getting truncated,although when i debug and see the contents of the node it contains more than one white space.

Eg: "Rahul Saxena 1.0 SAP"

is getting displayed as "Rahul Saxena 1.0 SAP" the white spaces after Rahul Saxena is truncated to a single white space.

This is not happening in other screens that i have in other web dynpro componenets.Any suggestions?

<b>PS:Points will be rewarded</b>

Accepted Solutions (0)

Answers (2)

Answers (2)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

I think it is double post

use the code in WDDOINIT

data: lr_node type ref to if_wd_context_node_info.

data: ls_prop type WDY_ATTRIBUTE_FORMAT_PROP.

lr_node = wd_context->get_node_info( ).

ls_prop = lr_node->gET_ATTRIBUTE_FORMAT_PROPS( name = 'CHAR10'

).

ls_prop-condense = '-'.

lr_node->sET_ATTRIBUTE_FORMAT_PROPS( name = 'CHAR10'

FORMAT_PROPERTIES = ls_prop ).

where CHAR10 is attribute directly under wd_context, in your case get the child node of the data source and change the code

Abhi

Former Member
0 Kudos

Did you ever get a solution for this problem? I have the same issue.