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

Spliting records

Former Member
0 Likes
386

Hi experts

I have lakhs of records in database, I need fetch this records and split the records upto 10,000 and need to download into different excel sheet.

pls provide me the logic for this

Thanks

kar

1 REPLY 1
Read only

Former Member
0 Likes
355

Hi,

Check this sample code

    select matnr from mara into table xmara
      package size 5000 up to p_count rows
        where matnr in s_matnr.
      perform process_package. " Here download those records to excel file.
    endselect.

Regards,

Satish