05-11-2006 11:05 PM
Hi,
I declared
NO1(4) TYPE n
it is displaying value as 0006 , I want this to be as just 6, no zeros before. How should I do it.
Thanks
Veni.
05-11-2006 11:07 PM
hi Veni,
Put a keyword <b>no-zero</b> or declare it as<b> type P</b>
do this way..
Data : <b>NO1(4) TYPE N.</b>
NO1(4) = '006'.
Write : NO1(4) <b>no-zero</b>.
Check this link too for further queries in case if u have any
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9e3d35c111d1829f0000e829fbfe/frameset.htm
Regards,
Santosh
Note: Reward Points if helpful
05-11-2006 11:07 PM
hi Veni,
Put a keyword <b>no-zero</b> or declare it as<b> type P</b>
do this way..
Data : <b>NO1(4) TYPE N.</b>
NO1(4) = '006'.
Write : NO1(4) <b>no-zero</b>.
Check this link too for further queries in case if u have any
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9e3d35c111d1829f0000e829fbfe/frameset.htm
Regards,
Santosh
Note: Reward Points if helpful
05-11-2006 11:07 PM
Try
<b>NO1 TYPE P</b>
OR
data:NO1(4) TYPE n.
move '6' to NO1.
write:/ NO1 no-zero.
or
<b>write '6' to NO1.</b>
write:/ NO1.
Thanks
SK