Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

deleting zeroes

Former Member
0 Kudos

Hi Abapers,

Thanks in advance and will give points to the responders,

Iam trying to replace '000000000' in one filed for 10000 customers. with my logic i am able to change for 1000 customers. please help me on to change for 10000 customers at a time. am using UPDATE command.

14 REPLIES 14

Former Member
0 Kudos

hi govardhan,

try using, it might help you

CONVERSION_EXIT_ALPHA_OUTPUT : Eliminate zeros to the number at the left

reward if useful..

Former Member
0 Kudos

hi,

just follow dis link and ur problem is definately solved.

plzz do give points too.

regards,

ric.s

0 Kudos

dis d link and u will get solution to the problem,plzz do give points tooo.

regards,

ric.s

0 Kudos

Hi Ric .s,

There is no link in ur reply.Plz give me the lionk so that i will go through it.

0 Kudos

hi govardhan,

plzz follow dis link and it will solve ur problem..

just double click it or paste it in ur adress bar.

plzz do give points too.

regrads ,

ric.s

Former Member
0 Kudos

THIS IS NOT ADVISABLE, TRY TO RUN A BDC FOR <b>XD02</b> TRANSACTION AND POPULATE THE SAME FIELD.

Former Member
0 Kudos

Hi govardhan,

Can u be more specific? u want delete the leading zeros of a field in db table? or to replace '0000000000' by something else?

Regards,

Amine

0 Kudos

Hi Amine,

Actually i have more than 10,000 records in a table. a particular field is having '0000000000' as the entry in all records. so from my report i need to replace that field in all the records with Blank.Iam replacing upto 1000 records in a singleshot.but i want it for 10000 records in a single shot

Please help me out.

0 Kudos

Hi govardhan,

Did u try this?

UPDATE <i>your_table</i>

SET <i>your_field</i> = space.

Reward if useful.

Regards,

Amine

0 Kudos

Hi Amine,

as i told u, i used the same command but it is allowing me upto 1000 records only. but if i use more than thousand it is not allowing me

0 Kudos

Hi again govardhan,

Where do you specify a 1000 records?

And then what do you write exactly in your UPDATE command?

You have only to execute the instruction as i told u, and there will be no limitation!

0 Kudos

Hi amine,

yeah i know that one but in my case it is not behaving like that.

UPDATE kna1 SET zmedfunc = ''

zappcode = ''

WHERE kunnr IN s_kunnr

AND zmedfunc = p_zmedfc

AND zappcode = p_zappce.

this is what i used.

0 Kudos

OK, that looks good.

is it giving you an error message?

0 Kudos

no amine it is not giving any error message. but as i told u itz only allowing me to update upto 1000 records. but not for more than 1000