on 07-23-2008 9:36 PM
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 S AP"
is getting displayed as "Rahul Saxena 1.0 S AP" the white spaces after Rahul Saxena is truncated to a single white space.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.