Skip to Content
0
May 29, 2008 at 02:57 PM

Is length must while declaring TYPE 'P' variable

137 Views

Hi,

While declaring the type 'P' (Packed decimal) variable, should we provide the length. If we do not provide the length how munch length will it consider by default..?

I declared like below.

DATA: w_matprice TYPE P DECIMALS 3.

It didn't give any syntax error. So, will it provide length by default.

Please answer.

Thanks in advance.

Best Regards,

Paddu.