2013 Apr 23 7:10 PM
Hi All,
I am trying to develop a report. Retrieve the data from mara,marc &mard table with selected fields based on selection screen.when populate the data into the final internal table while displaying the data with check box for each and every record and create downloading & delete function keys. If click on download button the selected records are downloading to the presentation server.But we are not getting downloading to the presentation server.
Please help me how to get the download selected records to presentation server.
Thanks
Sridhar
2013 Apr 24 4:07 AM
Hi,
The problem may be because the internal table doesn't have the data when the program tries to download the data. Debug the program to check if the download function has been handled properly and also check if the internal table has the data when the program is trying to download.
Hope this helps,
~Athreya
2013 Apr 24 4:52 AM
Hi Sridhar,
Can you see the records displayed on the report output?
Is this a standard pf status or you have created your own?
If the records are there on the report output and if standard it should work, if custom, you have use FM GUI_DOWNLOAD to download the records onto the presentation server when the download button is selected.
You may do a where-used list of the FM GUI_DOWNLOAD to see how it is used. You can also browse this site for handling of User-Command on custom PF Status.
Hope this helps!
2013 Apr 24 5:44 AM
HI Sridhar,
Just check records in the table you wanna downlaod, put a break point on GUI_DOWNLOAD FM and before you press F6 cofirm your final table, uncomment your exceptions if they are commented.
Other thing you need to check is you need to pass the complete path to FILENAME parameter of this FM, Example:- 'C:\Documents and Settings\<folder>\Desktop\download.txt'
If these two things do not resolve your problem I will have to see your code.
Regards,
Aabid Khan
2013 Apr 24 5:24 AM
hello CHSR
their might be following issue in your program.
1. check is there any file created in your application server yes or not. if not then might be problem with download Function module. if yes then check their is any records available yes or not.
2.check your function key
3. check after check box tick data are available into next internal table yes or not.
Thanks & Regards
RKarmakar