Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

No zeros for Type N

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.

Tags:
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question