Downloading from ALV
Hi,
I have created a ALV that has 114 columns but only 15 will be displayed. My requirement goes like this I can change the layout of the columns and create a customer download button, where if i click the download button it has to download only the columns in the ALV that is displayed not the entire 114 columns to the Excel file.
Points to be noted is i cannot use the defualt ALV download option as in many columns there are interactive ALV fields where if i click it will give a popup screen with 10 lines of report, but my ALV column will have only "TEXT AVAILABLE" for those.
The current scenario is when i click the download button it downloads the entire 114 columns which is there in my internal table but i need only the columns tat is displayed in the ALV.
It is dynamic as the user might select only 10 columns or even 50 columns, also if th filed has TEXT AVAILABLE then it has to download the entrie content in that.
Please help.
Hi,
I think you had not tired to download the details that display in the ALV.
It will download the selected fields after the change in the ALV display.
If you are displaying the 10 fields among the 114 columns and select to download to excel file it will download the 10 fields data only.
I don't know how you are downloading the data to excel sheet.
Let try this way
List -> Export -> Local file -> spreadsheet
It will ask for the directory and the path.
I think this will help you.
Kruthik
Similar Messages
-
Download from ALV grid to PDF format
hai Friends!
plz tell me how can i download from ALV grid to PDF format..
send me some sample codescheck this thread
ALV Grid to PDF
and do use the search functionality from next time and post the question only wheb u dont find the answer
кu03B1ятu03B9к -
Downloading from alv to excel file
hai
while downloading from alv grid to excel file
i am not getting values properly. i have taken 110 fields. i am not getting prper way. can u plz tel me way....Hi ....
I have the similar problem. My coumns are not in any sequence when I download it to excel sheet.
How do I fix it.
Neha -
The data type DEC while downloading from ALV to EXCEL
The data type DEC while downloading from ALV to EXCEL is giving some invalid data .
Ex : In ALV field is the time difference in hours:minutes
if the value is :23 in Excel it will be 22:59 .
Please Suggest immediatelyHi ....
I have the similar problem. My coumns are not in any sequence when I download it to excel sheet.
How do I fix it.
Neha -
Excel download from ALV not working inproduction
Hi all,
I am using "set_table_for_first_display" for alv display. the excel download from alv is woking fine in development and quality stystem but in production only first 3-4 rows are getting downloaded. Other rows donot appear in excel.
Any Idea !!!
Thanks
MadhuHi Experts,
I have noticed that same problem is occuring in development system also with same set of data . The ascii file created has some missing rows. I guess its due to some special characters though i am not able to see any special character . Any solution for this.
Regs
madhu -
Downloads from ALV GRID-Text conversion to dates in EXCEL
When downloading table displays of data from ALV-GRID for excel spreadsheet, we end of with files that have a header and various line ifnromation. IF we manually clear up the display, then we can have the individicual column headers used and force them to text but if we just call the file up as an EXCEL spreadsheet, some part numbers such 12-3465 appear in Excel as Dec-65.
The following is an example of the record (but it is word wrapped within this display limit). In actuality, the verbage enclosed with the <b> represent the start of the lines that have actual display data running out about 90 characters.
Suggestions on how to make the download immediately correct in Excel direct from SAP ALV-GRID without cleaning out the heading lines and manually forcing the affected columns to TEXT format?
thanks
<b>03/02/2007</b> Dynamic List Display 1
<b>Materials-Inforecord Details Report</b>
<b>Purchasing Org: ILMO</b>
<b>Report Run Date:03/02/2007</b> <b>Report Time:14:31:16</b>
<b>Plnt Mat Grp Vendor Name 1 Material Material</b> description Vendor Cat Mfr MPN PC Item Chg. OUn Eq to BUn Net price Per OPUn Inforecord PGr Mv Avg per ValCl
<b>0042 04 106070 BURROWS COMPANY</b> 184110 Glv Exam Ltx Non Ster 02-5001 TILLOTSON 02-5001 CA 2,000 EA 93.40 1 CA 5300006999 999 93.40 2,000 6438there are different options to export to excel which all behave differently, if you go for the menu ->export it differs from the export button from the alv buttonbar.
try the different export to excel options perhaps there is one that behaves the way you want
kind regards
arthur de smidt -
Download from ALV are all in one column including the header
Hello All,
We are having problems with the download of excel from ALV grid. what happens is that instead of the data dispalying in different columns, it is all in one column, including the header. what could be the problem? this only occurs in the production system but in the development and quality it is ok.
Thanks for your help.Hi,
We also used the option download to local file and it works fine. Only the button download to excel is not working as expected. -
Dear All,
Do anybody know how to download data from ALV tree into local PC. For example transaction O3O_MT10. Can we download it?
Thanks
Regards
HadiThank a lot Rainer,
It's definitely answer the question. I think I learn something new in here.
Regards
Hadi -
Column is shifted to 1 position right ( Excel file downloaded from ALV )
After downloading the data into the excel file from ALV ... i checked the file & i came to know that all the columns are shifted to 1 position right. Can anyone help me? Is there any sap notes available for this problem
Hello
What is the result if you open the exported file via 'File => Open' in the excel program?
what is you current basis level?
Jude -
Download from ALV to excel sheet.
When i am downloading the Alv to excel sheet. I want to get the field descritption also in the excel sheet.
Refer:
https://forums.sdn.sap.com/click.jspa?searchID=14433981&messageID=3603627 -
Issue in Excel download from ALV output
Dear Experts,
I have generated an ALV Output using FM "REUSE_ALV_GRID_DISPLAY". When i try to download the ALV Output in Excel spreadsheet, I am not getting the data in Excel sheet. Kindly help me in this regard.
Thanks in advance,
Regards,
Ramesh Manoharanhi ramesh,
Please try below options.
after getting the ALV disply , Go to Menu LIST->Export->Spreadsheet.or microsoft excel view (Cntrl + Shift + F7)
It will give some options to see the data in spread sheet format, hope you can save this to local desktop also.
or
please check the extension, it should be .XLS not .XLSX .some times .XLSX format wont be supported
regards,
pradeep
Edited by: Pradeep Kandgal on Aug 4, 2010 6:54 PM
Edited by: Pradeep Kandgal on Aug 4, 2010 6:54 PM -
Regarding downloading from alv report o/p to excel sheet
Hi gurus,
When i am trying to download the alv output to excel sheet it is downloading only titles, No data is getting displayed in it.No data is getting downloaded.
Thnaks in advance.Hi,
What are the steps you do to download ALV to excel? We need to replicate the case in order to find answer.
Regards,
Teddy Kurniawan -
Display of leading zeroes when downloaded from ALV to excel
Hi All,
I have a problem in ALV grid display.
There is a specific field which has value starting from '001' to '999'. This is a char(3) type of variable.
The problem is that the display shows the value as '001' which is correct. but when the same file is dwnloaded to excel using standard SAP functionality, the value of the field gets changed to '1' instead of '001'.
Is there any option by which this can be controlled. Please let me know, its urgent!!
thankshi Ankur,
the Excel download is done by Z program? IF yes you have to do:
SET PROPERTY OF go_cell 'NumberFormat' = '@'.
this will set the Excel cell to Text type and leading zeros won't be lost.
ec -
How to optimize the width of column in PDF downloaded from ALV?
Hi Gurus,
I have an ALV from where i am downloading PDF, i have optimized the field catalog length as well in layout.
The problem is The first column of ALV is not fully visible in downloaded PDF instead it is displayed as 800000.. actual value is 8000006.
The field is LIFNR field and it is also referring the same data element.
Can anybody suggest a work around for this?
Regards
S.Janagar.done with fix width option in catalog
-
Download from alv to excel in background
Hi All,
I have developed one alv report which has 100 column(more than 1023 character in header).
When I download in excel it is not comming properly so I go to LIST-EXPORT-SPREADSHEET then
it comes in MHTML format then I can open it in to excel so its comes perfect.
Now what my query is--- when I execute in background then there is no option for MHTML format.
so in this case the report not come properly in excel. Please give the solution.
Thanks,
RakeshHi,
Try using File Handling Concept ..Open Dataset (the file will be downloaded in application server) .. and schedule a background job
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3c8c358411d1829f0000e829fbfe/content.htm
Regards,
Rajashiva R
Maybe you are looking for
-
Quick Look icon doesn't appear in Finder window?
I've just installed Leopard, and have just read in the manual about Quick Look. Quick Look shows up in the drop-down File menu if I highlight a file or document, but it doesn't show up where it's supposed to in the Finder window, as an eyeball icon.
-
After last automatic update, error message XUL Runner error platform version 6.0.2. is not compatible with min Version 6.0.1 maxVersion 6.0.1 appeared every time I try to open/run Mozilla Firefox.
-
TS3938 Can no longer scan with my MP800 Canon printer
I've seen lots of posts on this, and it is extremely frustrating that I'm starting to think it's just assumed that the owners of MP800 Canon printer/scanners will just toss out a perfectly good, little-used piece of hardware and buy something new. I'
-
Hi there from a dinosaur and practically zero proficiency in this technology. Just purchased the Adobe PDF pack with the sole aim to convert a pdf file file into word. 1. How do i access this pack on line 2. What then do I do to convert a pdf into Wo
-
How do I edit my scanned documents?
I do not know what I am doing. I have a new all in one printer, scanner, copier. I want to be able to edit my text in a document that I have scanned.