10-23-2007 11:00 AM
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.
10-23-2007 11:02 AM
hi govardhan,
try using, it might help you
CONVERSION_EXIT_ALPHA_OUTPUT : Eliminate zeros to the number at the left
reward if useful..
10-23-2007 11:07 AM
hi,
just follow dis link and ur problem is definately solved.
plzz do give points too.
regards,
ric.s
10-23-2007 11:12 AM
10-23-2007 11:43 AM
Hi Ric .s,
There is no link in ur reply.Plz give me the lionk so that i will go through it.
10-23-2007 11:47 AM
10-23-2007 11:09 AM
THIS IS NOT ADVISABLE, TRY TO RUN A BDC FOR <b>XD02</b> TRANSACTION AND POPULATE THE SAME FIELD.
10-23-2007 11:11 AM
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
10-23-2007 11:46 AM
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.
10-23-2007 12:07 PM
Hi govardhan,
Did u try this?
UPDATE <i>your_table</i>
SET <i>your_field</i> = space.
Reward if useful.
Regards,
Amine
10-23-2007 12:25 PM
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
10-23-2007 12:34 PM
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!
10-23-2007 12:37 PM
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.
10-23-2007 12:51 PM
10-23-2007 12:55 PM
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