Application Development 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: 

Writing files to AL11 folder

Abinathsiva
Active Contributor

Dear Experts,

Writing Internal table to AL11 folder by open dataset and transferring data through looping takes more time for loading the file. any alternate solutions to increase the performance.

3 REPLIES 3

venkateswaran_k
Active Contributor

Dear Abinath,

Generally we store files using Open data set.

However, understanding your requirement...

  • What is the expected records you process?
  • Is it taking time or it goes for dump.?

I believe you can choose this path.

  • using gui_download you download the file
  • For moving a file / copying a file - create the external command in SM69 transaction for the OS command move or copy
  • Use function module SXPG_COMMAND_EXECUTE to execute the command in the program.

Regards,

Venkat

Abinathsiva
Active Contributor

Thanks Venkat, for your comment as program is writing a file to share folder in foreground execution have used GUI_DOWNLOAD. but when execute through background have used open data set, looped the internal table and transferred the records in this scenario system takes long time to push this records to share folder. Which is affecting the system performance

will try through suggested FM and confirm...

Sandra_Rossi
Active Contributor

You have to ask a network/operating system administrator. Of course the issue will depend on the kind of technical architecture you use, so nobody here can help you if you don't give clues. Eventually look at SAP notes in case there are some consulting notes about troubleshooting this kind of issues for the technical architecture you use.