on 02-19-2008 11:15 AM
Hi all,
In all the views that i have created, for all the numeric fields there are zeroes present in them by default. please help me in removing the same and have blank input box in the cases.
Thank you,
selvakumar M.
Hello Selvakumar,
you can remove leading zeros for output by setting the corresponding flag at the formatting options of the context attribute.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
use the below code..
data : lo_nd_g_selopt TYPE REF TO if_wd_context_node,
lr_node_info TYPE REF TO if_wd_context_node_info.
DATA : ls_properties TYPE wdy_attribute_format_prop.
lo_nd_g_selopt = wd_context->get_child_node( name = wd_this->wdctx_g_selopt ).
lr_node_info = lo_nd_g_entries->get_node_info( ).
ls_properties-null_as_blank = 'X'.
lr_node_info->set_attribute_format_props( EXPORTING name = 'ATTR_NAME'
format_properties = ls_properties ).
Regards
Yash
hi selvakumar.....
it is because... you have bounded your input field to attributes of type currency....
try giving it as int or string.
---regards,
alex b justin
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.