10-31-2007 7:04 AM
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 ?
10-31-2007 7:15 AM
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
10-31-2007 7:28 AM
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é
11-01-2007 3:55 AM