2008 Sep 04 11:47 AM
WE are creating a ztable and we want one field
as in percentage and that to it need to be stored
with postive as well as negative sign.
For example -56% etc like this ,so please
tell me the dataelement and domain i need to maintain
to have a field like this in my table.
thank you so much for all the replies.
create a dataelement as ZPERCENT. Assign a domain to this dataelement as ZPER.
Domain creation... Create ZPER with Data Type as DEC, No characters as 8, Decimal Places as 4. Also, check the Sign checkbox for -ve values...
2008 Sep 04 11:50 AM
Hi,
Any data element of character type will serve your pupose ( of your required length ).
Regards,
Murthy
2008 Sep 04 11:55 AM
Hi,
create a domain of char type with length 4 and while creating use the sign option that is available to the domain.
use this domain to your dataelement.
I think this will resolve your problem
2008 Sep 04 11:55 AM
create a dataelement as ZPERCENT. Assign a domain to this dataelement as ZPER.
Domain creation... Create ZPER with Data Type as DEC, No characters as 8, Decimal Places as 4. Also, check the Sign checkbox for -ve values...
2008 Sep 04 11:56 AM
You can use the same DE and Domain used for field ZBD1P in BSEG.
Hope this helps.
Thx.
2008 Sep 04 11:58 AM
Hi,
Create a data element as as DEC, No characters as 8, Decimal Places as 4.
Flagged the Sign checkbox as a -ve value.
Regards,
Amit Kumar Singh
2008 Sep 04 12:08 PM
Hi,
BLNPZ is the data element and domain which stores the percentage in positive as well as negative.
You need not create it explicitly.
Hope this helps you.
Regards,
Rama.P
2008 Sep 04 12:16 PM
Hi,
You can use this one also.
/BEV3/CHZNSTZ as a data element.
Regards,
Amit Kumar Singh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |