Application Development and Automation 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: 
Read only

BDC

Former Member
0 Likes
560

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
542

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.

4 REPLIES 4
Read only

Former Member
0 Likes
542

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.

Read only

Former Member
0 Likes
542

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

Read only

Former Member
0 Likes
543

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.

Read only

Former Member
0 Likes
542

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.