2008 Jun 23 10:03 AM
Hi everyone
i have an intercompany report. according to my requirement i have a selection screen for selecting the period.
but there are some 145 different records.my consult. asked me to hard code the code.
i felt i can upload the report and use it to disply rather than doing hard coding.
so can anyone tel me if there is a sample code to upload a excel file and display the same as a report.
please reply at the earliest.
will reward with full points.
Hi everyone
i have an intercompany report. according to my requirement i have a selection screen for selecting the period.
but there are some 145 different records.my consult. asked me to hard code the code.
i felt i can upload the report and use it to disply rather than doing hard coding.
so can anyone tel me if there is a sample code to upload a excel file and display the same as a report.
please reply at the earliest.
will reward with full points.
2008 Jun 23 10:06 AM
hi,
u can upload a file to application server using CG3Z transaction.
later u can check it in AL11 transaction.
2008 Jun 23 10:07 AM
Hi,
Use the function module ALSM_EXCEL_TO_INTERNAL_TABLE to get the data from the Presentataion Server Excel file data to the internal table. Then use this internal table to display the data in the report using List or ALV display.
Edited by: Ravi Kumar on Jun 23, 2008 11:08 AM
2008 Jun 23 10:14 AM
hi
i have field in excel sheet which dont have corresponding fields in R/3. now how should i upload this data..
2008 Jun 23 10:08 AM
Hi,
Use GUI_UPLOAD to upload the data. then loop the internal table for furtehr processing.
regards,
madhu
2008 Jun 23 10:12 AM
Hi,
Go through this links:
http://www.sapdev.co.uk/file/file_upexcel.htm
http://www.saptechnical.com/Tips/ABAP/UploadExcel/Prg.htm
Regards
Adil
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |