2008 Mar 14 7:10 AM
Hi,
In my object i want to transferthe data from flat file and to store in DB table..In flat file some data starting with ***...
I want to delete this star and then only i want to upload into the data base..sometimes there will be three stars,sometimes there will be 10 stars..
So how to delete tht particular star presenting in the place
2008 Mar 14 7:15 AM
Hi,
Do like this
SHIFT field LEFT DELETING LEADING '*'.
Regards,
Prashant
2008 Mar 14 7:15 AM
Hi,
Do like this
SHIFT field LEFT DELETING LEADING '*'.
Regards,
Prashant
2008 Mar 14 7:15 AM
Hi,
u can modify all the fields having prefix * using the statement REPLACE ALL OCCURENCES OF '*' ... in your program.
regards,
2008 Mar 14 7:18 AM
Hi,
After the data is retrieved to an internal table, just modify the records by deleting the leading *
Command: SHIFT <itab-fld1> LEFT DELETING LEADING '*' .
You can use this cmmand in a loop and then use the modify statement.
Regards,
Narendra.
2008 Mar 14 7:26 AM
2008 Mar 24 10:16 AM