How to transfer data from a program to excel format?
Hi,
<h4> I want to convert the abap output to excel format. Please tell me how to do it?</h4>
Megha Jain.
Hi Megha,
What do you mean by 'DATA'. Are you talking about internal table?? If yes,
then use GUI_DOWNLOAD function module and pass the internal table to this FM. Specify the path of the file with extension '.xls'.
call function 'GUI_DOWNLOAD'
exporting
filename = 'C:\test\test.xls'
filetype = 'ASC'
write_field_separator = 'X'
tables
data_tab = it_tab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
OTHERS = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
where internal table 'IT_TAB' is having all the values.
Feel free to revert back in case of any doubts.
Cheers
VJ
Similar Messages
-
How to transfer data from one system to another by datamart please give de
how to transfer data from one system to another by datamart please give details
Hi Deba,
Find the below SAP help doc which may help u...
http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
Also find the below threads...
Loading data from one cube to another cube.
data copy from infocube to infocube in two different BW systems
Delta when loading from ODS to ODS
reg datamart
Data mart flag
Regards,
KK. -
how to transfer data from macbook pro to an external hard drive, im using (WD 1TB 3.0) ???. I cannot copy anything from my mac to it not a single file.
ok - since you'll be sharing it with a PC - connect it to your windows pc - then format from there - instead of NTFS format - choose exFAT.
or, you can read the link below on how to do it in dos mode.
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-can-i-forma t-external-drive-in-exfat-not-in/0f6bf19a-19d6-4470-ae05-53ddf26bb476?msgId=1860 eae3-3488-4eea-8326-f87b89d9851b
once you've formatted it - you can now use it in both your macbook and windows computer. -
How to transfer data from an account to a new account in the same mac
How to transfer data from an account to a new account in the same mac (macbook)
Search these forums for merge accounts and also peruse these:
-
How to transfer data from ECC to CRM via IDocs (Clfmas01),
Hi all,
how to transfer data from ECC to CRM via IDocs (Clfmas01), that to material master data from ECC to Production master data in CRM.
Need Information regarding, how to upload file to CRM from ECC, through, IDocs......Plz help me...
Edited by: khaja fareed on Jan 11, 2010 12:44 PMFirst of all push ECC data in to GTS server through T.code:/N/SAPSLL/MENU_LEGALR3. First click on Master data tab there enter customer/vendor number then execute.
2-Go to document tab there enter Sales order no/PO number then execute it.
Then go to GTS server in compliance management module you can get all the information.
Regards
Sitanshu Panigrahi -
How to transfer data from FPM_POWL_UIBB to FPM_FORM_UIBB
Hi Team,
How to transfer data from one UIBB (component is FPM_POWL_UIBB) to another UIBB ( Componenet is FPM_FORM_UIBB).
I know the procedure how to transfer data from FPM_LIST_UIBB to FPM_FORM_UIBB using wiring concept, but from FPM_POWL_UIBB am unable to do that.
Appreciate your quick response.
Thanks in advance.
Thanks,
Satya.Hi Bruce,
Thanks for quick response.
I will explain my requirement in detail.
IN FPM I have used 5 UIBB's ,
1) FPM_POWL_UIBB with Custom component and its configuration
2) FPM_FORM_UIBB which is a standard componet UIBB's their configurations and its feeder classes are as below,
EAMS_WDC_ORD_LONGTEXT_CFG CL_EAMS_UI_FD_ORD_LTXT
EAMS_WDC_ORD_HEADER_CFG CL_EAMS_UI_FD_ORD_HEADER
EAMS_WDC_ORD_RESPONSIB_CFG CL_EAMS_UI_FD_ORD_HEADER
In the above FPM application if I choose a record in FPM_POWL_UIBB it has to be appear in the respective standard UIBB's in edit mode so user can change according to his/her comfort and will save.
I have tried Singleton method also but not able to transfer data as I got confused which interface I shoul use in singleton class , as I was working with FPM_POWL_UIBB I may not use IF_FPM_GUIBB_FORM.
Please suggest me on this.
Thanks,
Satya. -
How can transfer data from my old computer to my iMac
How can transfer data from my old computer to my iMac
Depends. what two computer modelss do you have? Do they both have Firewire ports and/or Thunderbolt ports? Do you have a home network with a router that has Ethernet ports available for each computer? Do you have an external hard drive available that could be used to transfer data?
-
Transfer data from Sap system to .xls format
Hi Friends,
How to transfer data from a internal table in SAP system to the .xls file in legacy system.
Is gui_download the correct one.
Thanks,
Anuradhayes , using FM GUI_DOWNLOAD you can down load the data to excel sheet
for this use FILETYPE = 'DAT' -
How to read data from a file that was formatted by excel?
Hi everyone, I'm familiar with java.io and the ability to read from files, can anyone tell me how to read data from a file that was formatted by excel? Or at least give me some web references so that I can learn about it?
http://jakarta.apache.org/poi/hssf/index.html
HSSF stands for Horrible Spreadsheet Format, but it still works! -
How to download data from abap-ouput to excel sheet with logo
how to download data from abap-ouput to excel sheet with standard logo
Edited by: Harish Kasyap on Nov 18, 2008 8:19 AM
Edited by: Harish Kasyap on Nov 18, 2008 8:20 AMFor saving the report you can goto System -> List -> Save -> Local File -> Location where you want to save in your presentation server.
You can also give a option in your selection screen to save the file to Presentation server using FM GUI_DOWNLOAD.
Hope it helps.
Thanks,
Jayant. -
How to transfer data from legacy system to SAP
Hi Friends,
I would like to know the process and the steps followed to transfer data from my legacy system to SAP.
Suppose if i have all the data in the form of Excel sheet or doc type. How can i transfer this data into SAP.
Please explain the steps followed.
Appreciate your help
AnilHi ,
Conversion of legacy data into SAP can be uploaded using a standard SAP Tool called LSMW ( TCode:LSMW).
the below link gives a brief explanation of the LSMW tool
http://tutorialsap.com/abap/sap-lsmw-tutorial-with-steps-to-create.html
There are various methods to upload data within LSMW. If the number of records are very high like Article Master or Conditions for Retail the IDOC method must be used.
Standard IDocs
1. Article Master - ARTMAS
2. Conditions - COND_A
3. Source list - SRCLST
4. Customer Master or WRF3/WRF6 tables - DEBMAS
5. Vendor master- CREMAS
Etc. Use transaction code WE60 to see the structure of each of the idocs. New enhancements can be done for the idocs if the required field is not available.
Regards
Prabhu -
How to transfer data from one phone to another
my daughter got a new phone. she is trying to transfer data from her old phone. she cant remember her icloud password. we can't have them email because the email uses the same password. If i delete the account all the information we are trying to transfer will be lost. Any idea how to retrieve the password?
You transfer data to a new phone by backing up the old one, then restoring the backup to the new one (see http://support.apple.com/kb/ht2109).
Also, deleting the account only deletes it from the phone, not from iCloud. But if you're running iOS 7 with Find My iPhone turned on you'll need the password in order to delte the account.
If you need to reset the password, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password. -
HOW TO TRANSFER DATA FROM ONE INTERNAL TABLE TO ANOTHER
FOR PERTICULAR OBJECT ID ONE INT TABLE JTAB CONTAINS ONE RECORD(ROW) AND ANOTHER INT TABLE KTAB CONTAINS 3 RECORDS(ROWS). THEN HOW I SHOULD TRANSFER DATA FROM KTAB TO JTAB? WHAT R THE VARIOUS WAYS TO DO THAT. PLS HELP ME OUT. THANKS IN ADVANCE
Try something like
If you want one record per ktab :
LOOP AT jtab.
MOVE-CORRESPONDING jtab TO itab.
LOOP AT ktab WHERE id = jtab-id.
MOVE-CORRESPONDING ktab TO itab.
APPEND itab.
ENDLOOP.
ENDLOOP.
or
LOOP AT ktab.
READ TABLE jtab WITH KEY id = ktab-id. " binary implicit if sorted type
MOVE-CORRESPONDING jtab TO itab.
MOVE-CORRESPONDING ktab TO itab.
APPEND itab.
ENDLOOP.
If you want to sum ktab ratio into itab for each jtab
LOOP AT jtab.
MOVE-CORRESPONDING jtab TO itab.
LOOP AT ktab WHERE id = jtab-id.
ADD-CORRESPONDING ktab TO itab.
APPEND itab.
ENDLOOP.
ENDLOOP.
Use sorted type table when LOOP AT WHERE, else SORT table is enough.
Regards -
How to transfer data from one client to another client
Dear Experts,
Please explain how to transfer data (Materials) from one client to another client?
Thanks,
Ajay KumarHi Ajay,
Check any of below methods
Refer thread http://scn.sap.com/thread/171981 where people use IDOCs for master data transfer.
OR
This is done by BASIS team, by client refresh or client copy. Check with your basis team for this and there is some predefined time when they plan this activity, and in most project they do it once in 3 months etc to get production environment in test system which helps to resolve issues of production by creating similar case in test system.
Check below threads for more information
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/cleint-copy-vs-client-refresh-1377848
http://basissap.blogspot.in/2008/05/what-is-client-copy.html
OR
You can download data from one client and upload in another through BDC or LSMW.
Regards,
Sharat -
How to transfer data from one macbookpro to another
how to you transfer data from one macbookpro to another. the other one was stolen.
If your computer was stolen and you don't have a data backup, you can't transfer data from the stolen computer to your new one. If you have a data backup, restore the data to the new computer.
Maybe you are looking for
-
Presario CQ61 - Boot Device not found, Hard dis not exist
Hi i bought my presario CQ61-405AX 2nd hand roughly a year ago and it was almost new, my laptop was running fine, and then it froze, and so i had to turn it off, after i waited 30min for it to unfreeze, it now, when i boot it up, appears with a black
-
How to download and open zip file
Download cannot be done
-
How to Renew my BT Broadband Contract?
I am happy with my BT Broadband Package and the price I pay for this package. It is due to expire in June 2011. I pay quarterly and my next BT bill is due in April 2011. Because some charges are billed in advance this will include some broadband cha
-
HT1926 download does not start i am using windows 7 and checked the pop-up blocker
download does not start i am using windows 7 and checked the pop-up blocker
-
CRVS2010 Beta - How do i use CR2010 with MVVM
Hi, How do i bind an property of type ReportDocument to Crystal Report Viewer (WPF) trough XAML ?