Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ztable dataelement

Former Member
0 Kudos

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.

7 REPLIES 7

Former Member
0 Kudos

Hi,

Any data element of character type will serve your pupose ( of your required length ).

Regards,

Murthy

Former Member
0 Kudos

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

Former Member
0 Kudos

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...

Former Member
0 Kudos

You can use the same DE and Domain used for field ZBD1P in BSEG.

Hope this helps.

Thx.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Hi,

You can use this one also.

/BEV3/CHZNSTZ as a data element.

Regards,

Amit Kumar Singh