on 01-26-2010 10:42 AM
I have a inputfield UI element which is bind to a NUM type context. When it display a number, it always come with leading zero, like '001'. Can anyone teach me how to remove the leading zero.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3a/2232666aeb45f4b759848a4caf9c8b/frameset.htm
Use the Display leading zeros formatting option in the context attribute properties.
The other option is to use a data dictionary domain for the field that has a built in field conversion exit. The ALPHA conversion exit is commonly used on NUMC fields like Sales Order number to suppress leading zeros. The WD runtime will automatically use the underlying DDIC Domain Field Conversion Exit. You don't need to do anything except use that DDic to define the context.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.