Skip to Content
avatar image
Former Member

Amount field should be blank if no value

Hi All,

I have to display the amount field as blank when there is zero value(0.00) in the script.

I have tried with two methods:

1. Assigning blank space to the amount variable and tried but it is displayed as 0.00

2. Clearing the amount variable.

I don't want to print this '0.00' in the script. '

I just need to print it as blank.

Please do help me out ASAP.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 29, 2009 at 03:26 PM

    Dear Lakshmanan JK,

    Define your amount variable as CHAR.

    where amount_c is amount variable in char and amt is your normal amount variable.

    If Amt is initial.

    Amount_C = AMT.

    Endif.

    Note : you have posted this query in wrong forum, should have posted it in ABAP or Forms Section.

    Thanks

    madhu

    Add comment
    10|10000 characters needed characters exceeded