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: 

LOG FILE

Former Member
0 Kudos

HOW TO CREATE A LOG FILE . I WANT TO TRNSFER ITAB CONTENT INTO A FILE IN WHICH EVERY TIME I EXECUTE THAT RECORD ITAB CONTENT MUST GO INTO THE LOG FILE . WHICH THE FUNCTIONAL MODULE I HV 2 USE ?

3 REPLIES 3

former_member386202
Active Contributor
0 Kudos

Hi,

If you have all the log in your inetrnal table then use FM "GUI_DOWNLOAD"

to download the log from internal table.

Regards,

Prashant

Former Member
0 Kudos

Hi,

i use FM GUI_DOWNLOAD for downloading internal tables as local files on my client. Before i download that internal table, i often convert it into a table of string in which every entry is a concatenated row of the origin table separated by ";". You can achieve that with Field-Symbols. If you just want to add the new content to your existing file you can upload it with FM GUI_UPLOAD and overwrite the existing file with the complete content of old and new table entries.

There are also new ways in ABAP OO for transferring files. You can find them in class cl_gui_frontend_services. Look at the static methods GUI_DOWNLOAD und GUI_UPLOAD.

Regards

Mark-André

Former Member
0 Kudos

thankx