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

sample report for filling the database table with test data .

Former Member
0 Likes
713

Hi ,

Can anyone provide me sample report for filling the database table with test data ?

Thanks ,

Abhi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
568

hi

the code

data : itab type table of Z6731_DEPTDETAIL,

wa type Z6731_DEPTDETAIL.

wa-DEPT_ID = 'z897hkjh'.

wa-DESCRIPTION = 'computer'.

append wa to itab.

wa-DEPT_ID = 'z897hkjhd'.

wa-DESCRIPTION = 'computer'.

append wa to itab.

loop at itab into wa.

insert z6731_DEPTDETAIL from wa.

endloop.

rewards if helpful

Hi ,

Can anyone provide me sample report for filling the database table with test data ?

Thanks ,

Abhi.

2 REPLIES 2
Read only

Former Member
0 Likes
568

Can you please provide the table name to which you want to upload the data.

Uploading the data can be done using BDC or LSMW,you cannot call it as reporting.

Read only

Former Member
0 Likes
569

hi

the code

data : itab type table of Z6731_DEPTDETAIL,

wa type Z6731_DEPTDETAIL.

wa-DEPT_ID = 'z897hkjh'.

wa-DESCRIPTION = 'computer'.

append wa to itab.

wa-DEPT_ID = 'z897hkjhd'.

wa-DESCRIPTION = 'computer'.

append wa to itab.

loop at itab into wa.

insert z6731_DEPTDETAIL from wa.

endloop.

rewards if helpful