cancel
Showing results for 
Search instead for 
Did you mean: 

IN UNIT DUTY AFTER POINT ONLY 2 DIGITS SHOULD BE DISPLAYED

Former Member
0 Kudos

Hi friends,

in a smartform for the field excise duty i am getting 3digits after point.

i want only 2 digits after point.

i wrote a code to roundoff that unitduty value ..for that i declared as type p decimals 2 but still it is taking 3 digits.

pls answer me as early as possible.

useful answer is rewarded.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

For that particular field if u r referring to a particular structure then change the decimal places of the filed to 2 in se11->data type->structure .

Regards

former_member196280
Active Contributor
0 Kudos

Print the variable like this... for 2 decimal places...

&Variable(.2C)&

Regards,

SaiRam

Former Member
0 Kudos

in laoyout put like this

&itab-amout(2.2)&

Regards

Peram