‎2007 Jun 25 8:01 AM
if the FLAT having the serial no's 1,2,3....but i want 101,102,103....while we uploading into SAP applications...How can i get it?
‎2007 Jun 25 8:07 AM
Hi,
Use this code,
loop at it_final into wa_final.
wa_final-sno = 100 + wa_final-sno.
modify it_final from wa_final transporting wa_final-sno.
endloop.
In the above, the final internal table is wer u take in the records from flat file before uploading.Do ur code similar to the one i ahv writen here.
It wil work.
All the best.
****Reward points if helpful.
‎2007 Jun 25 8:05 AM
Hi,
Get the data from flat file into an internal table.
Then modify the column data using concatenate '10' it_table-col1 (10, 20,30 ..).
Modify the table then.
Thanks.
‎2007 Jun 25 8:06 AM
hi,
once u uploaded data with 1,2,3 in itab do like this:
loop at itab.
concatenate '10' itab-fld1 into itab-fld2.
modify itab transporting fld2.
endloop.Jogdand M B
‎2007 Jun 25 8:07 AM
Hi,
Use this code,
loop at it_final into wa_final.
wa_final-sno = 100 + wa_final-sno.
modify it_final from wa_final transporting wa_final-sno.
endloop.
In the above, the final internal table is wer u take in the records from flat file before uploading.Do ur code similar to the one i ahv writen here.
It wil work.
All the best.
****Reward points if helpful.
‎2007 Jun 25 8:19 AM
hi,
upload the data to internal table , add 100 to the filed.
loop at itab into wa.
wa-sno = 100 + wa-sno.
modify itab from wa transporting wa-sno.
endloop.