Application Development and Automation 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: 
Read only

ztable dataelement

Former Member
0 Likes
1,121

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
Read only

Former Member
0 Likes
942

Hi,

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

Regards,

Murthy

Read only

Former Member
0 Likes
942

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

Read only

Former Member
0 Likes
942

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

Read only

Former Member
0 Likes
942

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

Hope this helps.

Thx.

Read only

Former Member
0 Likes
942

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

Read only

Former Member
0 Likes
942

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

Read only

0 Likes
942

Hi,

You can use this one also.

/BEV3/CHZNSTZ as a data element.

Regards,

Amit Kumar Singh