on 07-21-2008 10:35 AM
hi folks,
I am binding a table in the context which has some numeric fields. I'm displaying the same table which has some records for editing purpose. But the problem is that the numeric field column is being displayed with zeros if it doesnot have any value in it. Can u explain how to disable the zeroes by not displaying them by defualt when there is no value for the numeric field.
regards,
Ramu
set the format of the context attribute TEST is the context attribute name
data: lr_info type ref to if_wd_context_node_info.
data: ls_prop type WDY_ATTRIBUTE_FORMAT_PROP.
lr_info = wd_context->get_node_info( ).
ls_prop = lr_info->GET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST' ).
LS_PROP-NULL_AS_BLANK = 'X'.
lr_info->sET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST'
FORMAT_PROPERTIES = ls_prop ).
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know that it doesn't help you right now, but in the very near future (NetWeaver 7.0 EnhP1), you will be able to set this property at the context level. Here is a little screen shot:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.