Skip to Content
author's profile photo Former Member
Former Member

download data from database tables

Dear Experts,

I have a requirement to download all table entries into a text file with TAB delimeter. I need to download at least 19 tables data for some audit purpose by a 3rd party company.

There are some tables like T001 in my requirement and i can download these table entries directly from SE16 transaction code. Also i have some tables like BKPF and BSEG which has huge number of records arounf 20million in BSEG.

Please suggest the best method to download and if any one have piece of code which i can be re used that would be of great help. i want to write single program with table name in the selection screen and it should download all entries of that table into notepad in the path specified in selection screen.

Thanks a lot.

Rajesh.

Moderator Message: This is more of a Consulting issue, which your organization pays you to do. You need to put some effort from your side before turning to the forums for help. Also, please search for available information and best practices.

Edited by: kishan P on Sep 14, 2010 7:21 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2010 at 05:29 PM

    You need to build dynamic internal table; assign the table structure specified on selection-screen to internal table....

    search forum for building dynamic internal tables....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2010 at 05:36 PM

    You could refer this below link for the Dynamic table creation.

    <<link removed by moderator>>

    Once you get the data into an internal table then you can download the data to a spreadsheet

    Regards

    Abhii

    Edited by: Abhii on Sep 13, 2010 7:43 PM

    Edited by: kishan P on Sep 14, 2010 7:20 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2010 at 05:50 PM

    Hi,

    I donu2019t think you can download 20 million records at one shot. Try writing the program with Parallel Processing logic and use variants to run the job.

    And i think you need to run this job in a separate server in production so that it will not affect the other jobs.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.