Skip to Content
avatar image
Former Member

ztable dataelement

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Sep 04, 2008 at 10:50 AM

    Hi,

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

    Regards,

    Murthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 10: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...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 10:56 AM

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

    Hope this helps.

    Thx.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 11:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded