Skip to Content

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

Deleting zeroes

Hi,

I am capturing coset center values from BAPI which is of type string.

i declared it as string and displaying value in webdynpro java.it is taking zeroes before the values of cost center if the cost center is number.for eg : if the cost center value is 88888 in the R/3, it is displaying as 00088888.if the cost center value is D30045 it is displaying as D30045, not taking any zeroes before the value.how to omit the zeroes before the cost center value.

pls guide me .

Regards,

Pavani

Former Member
Not what you were looking for? View more on this topic or Ask a question