Sorting the Auction History before downloading to excel.
Hi All,
In the 'Analyses' tab of the auction, when we click on the link 'Download Auction's bid history' , the auction history gets downloaded to the excel. The data in the excel is sorted in the ascending order based on the Bid Date( ie the first bid appears first).
Is there any way to sort the data in descending order based on the Bid Date ( ie the latest bid should appear first) before downloading to the excel?
Thanks in Advance.
Waiting for your reply,
Mary
hii
in gui_download FM which file type you have given?
suppose i have file type as DBF so it will consider all the data as text or string so it will print that green in excel sheet.and ya it will display that green mark only to those fields who will have leading zero like for text file for other file it will not so it will not display that green mark.
thx
twinkal
Edited by: twinkal patel on Jun 11, 2008 2:27 PM
Similar Messages
-
Hi,
Please help, unable to read information of application in app store. Still can download but unable to read the application infor before downloading.
I'm using iphone4, ios 6Yes it sounds like your application could be corrupt.
First I would make sure you don't have a program like backup software or virus protection trying to read the files when you try to start the application. If not,
Do you have any backups or data exports? If so, I would try to restore them for the application
If you do what EsbHelper suggests, you will have to recreate the database. I think he is missing a few steps.
If you are going to try to recreate the application, you need to copy your outline rules files calc scripts and report scritps (.otl, CSC, REP and rul files) to s saved directory.
If you delete the directory using the file system, you orphan things in the security file. It's better to try to do it from EAS.
Once it has been deleted, and recreated from EAS, then copy back in the objects. You will have everything but data and security. those will have to be recreated.
As aI said first, the best way to do this is from some sort of backup. othersiwe it can get a bit messy -
If I am downloading a new version of an album that I already have in itunes, do I need to delete the older version before downloading the new?
No, you don't need to.
-
How can i find the file size before downloading
I am trying to decide if I want to download a tv show [Doctor Who] in standard definition or high definition. How can I see the file size before I purchase the show from iTunes?
1. That's only getting the file size of the Preview.
2. Click on a photo to select it. Then click on the info button. You can get the dimensions and the file size in the top of the pane
Note that the final size of any image will depend on the export settings you choose. -
How to avoid the "filter cells" during download to Excel from WAD
How can we avoid seeing the "filter cells" in the link:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a54dbe09411d2acb90000e829fbfe/content.htm
which we have every time a Bex query is downloaded to Excel from Web application designer?
The objective is to find a way to avoid the filter cell rows from happening period.... and not asking the users to manually delete the excel rows.
Edited by: Sharon West on Nov 26, 2008 12:12 PMWhy is your topicstart all in bold?
-
When I right click the firefox icon on the bar at the bottom it shows me recent downloaded history and i cannot clear it even clearing all history.
same here!!
-
Wht are the function modules for download upload excel files in bdc.
hi all,
this question seems to be silly but i had open office excel files i am getting problems to upload or down loading. can you tell which function modules can upload or down load open office excel files.
another dought this is not need full but i need to get some of graphics which are in se78 .
how can we dowload them from sap.
thanq,
rajesh.kHi,
use : CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
REPORT YKC_XL_UPLOAD.
TYPE-POOLS TRUXS.
TABLES : ZMARA.
* Selection screen
PARAMETER P_FILE TYPE RLGRAP-FILENAME DEFAULT
'C:\Kris\TEST_UPLOAD.xls'.
TYPES: BEGIN OF T_TAB,
MATNR LIKE ZMARA-MATNR,
ERSDA LIKE ZMARA-ERSDA,
ERNAM LIKE ZMARA-ERNAM,
END OF T_TAB.
DATA : T_UPLOAD TYPE STANDARD TABLE OF T_TAB WITH HEADER LINE ,
WA_UPLOAD TYPE T_TAB,
IT_RAW TYPE TRUXS_T_TEXT_DATA. "work table internal table
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE '
IMPORTING
FILE_NAME = P_FILE.
START-OF-SELECTION.
* Uploading the data in the file into internal table
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
* I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = IT_RAW
I_FILENAME = P_FILE
TABLES
I_TAB_CONVERTED_DATA = T_UPLOAD[]
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
IF SY-SUBRC NE 0.
MESSAGE ID SY-MSGID
TYPE SY-MSGTY
NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END-OF-SELECTION.
* Uploading the data into the database table
LOOP AT T_UPLOAD INTO T_UPLOAD.
ZMARA-MATNR = T_UPLOAD-MATNR.
ZMARA-ERSDA = T_UPLOAD-ERSDA.
ZMARA-ERNAM = T_UPLOAD-ERNAM.
INSERT ZMARA.
Endloop.
Tks,
Krishna -
Getting the file name before downloading the data
Hello,
i got following to downloading a file from the net,
is there is a way to find out the file name of the downloading file if the url is eg; www.somewhere.com/?file=33
OutputStream out = null;
URLConnection conn = null;
InputStream in = null;
try {
URL url = new URL(address);
out = new BufferedOutputStream(
new FileOutputStream(localFileName));
conn = url.openConnection();
in = conn.getInputStream();
byte[] buffer = new byte[1024];
int numRead;
long numWritten = 0;
while ((numRead = in.read(buffer)) != -1) {
out.write(buffer, 0, numRead);
numWritten += numRead;
}Check the response headers. You can use [URLConnection#getHeaderField()|http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html#getHeaderField(java.lang.String)] for this. It may be available in the [content-disposition|http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1] header.
-
I need to sort the incoming file contents before message mapping
Hi All,
I have requirement like i have to sort the file contents before message mapping in Xi. is there any option please suggest me with your value information.i dont want to sort in message mapping before that i want file contents to be sorted order.waiting for your quick reply.
Thanks,
seshagiriHi,
You can do this in one scenario.
Lets say you have MT_Source and MT_Target as two message types.
Now your MM1 will be between MT_Source & MT_Source, that is same message type. Here you built your sorting logic.
Now create MM2, between MT_Source & MT_Target. Here your actual mapping logic will be implemented. The input payload for MM2 will be sorted data.
Now in operation mapping, first call MM1 and then call MM2 (You have a plus + sign to add multiple mapping programs). Due to this sequence, at run time first MM1 will be executed and after that its oupt will be given to MM2 as source payload.
Hope its clear. Plz let me know if you have any doubts.
-Gouri -
Set Field as text before exporting to excel
HELLO GURUS,
i have a program which exports material numbers and other relevant data from sap tables to excel sheet.
certain material numbers contain text 'E' in between the material number (Eg. 17700E0056). When such data is exported to excel, Excel treats these as exponential numbers and converts them to scientific notation (1.77E+60).
How do I export the data as it is?
Is there a way that i can convert it to text format before exporting it to excel..?Hi,
try moving the values to a CHAR field before download to Excel
or
when building your field catalog , specify the field length same as of that fields data element.
eg. your material number is of char 10.
so set yout outputlen eq 10.
g_flcat-outputlen = '10'.
this works.
Thanks & regards.
Edited by: anusha25 on Nov 8, 2011 5:02 PM -
Issue with data download to excel
Hi all,
iam downloading data from table to excel sheet.
when i see in the excel sheet i don't see the leading zero's
say if i have value in table as 0001234 but in excel when i download i see as 1234
instead i want it exactly it is in my table
this is the code
data : begin of it_heading occurs 0,
line(30) type c,
end of it_heading.
it_heading-line = 'ABC'.
append it_headING.
it_headING-line = 'XYZ'.
append it_headING.
call function 'WS_DOWNLOAD'
exporting
BIN_FILESIZE = ' '
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
mode = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_data
fieldnames = it_heading
exceptions
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
others = 10
if sy-subrc eq 0.
endif.
Thanks
KajolThe date field has nothing to do with the progarm, only with excel sheet. you can try increasing the length in the progam for the date field before pushing to excel and check it.
gui_download has got some extra features when compared to ws_download.
You can check this for some info
http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm
http://www.sapdevelopment.co.uk/file/file_otherpc.htm
WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.
award points if it helps. -
ALV: Issue with double click event after sorting the ALV
Hello Experts,
I have an internal table that populates an ALV grid. When the user doubleclicks a row, my method HANDLE_DOUBLE_CLICK returns the e_row-index value from the ALV Grid. I use this index value to read the internal table, then retrieve additional data.
My problem is the user may sort the ALV grid before double clicking on a line. If this happens my internal table is not sorted to match the ALV grid, so reading the internal table with the e_row-index value returns the wrong information.
When the double click event occurs, is it possible to capture the value in column 1 instead of a value for e_row-index?
There is one more paramter in HANDLE_DOUBLE_CLICK for row id. It is coming blank in debugging . what is the purpose of this parameter and how i can make use of it ?
Regards
VivekHi,
I am Posting The Code Which Uses Double Click Event.
And This Code will provide the total information to you.
REPORT ZALVGRID_PG.
TABLES: SSCRFIELDS.
DATA: V_BELNR TYPE RBKP-BELNR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: IRNO FOR V_BELNR.
PARAMETERS: P_GJAHR TYPE RBKP-GJAHR.
SELECTION-SCREEN END OF BLOCK B1.
DATA: WA TYPE ZALVGRID_DISPLAY,
ITAB TYPE STANDARD TABLE OF ZALVGRID_DISPLAY.
DATA: IDENTITY TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
DATA: GRID TYPE REF TO CL_GUI_ALV_GRID.
DATA: L_IDENTITY TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
DATA: L_TREE TYPE REF TO CL_GUI_ALV_TREE_SIMPLE.
TYPE-POOLS: SLIS,SDYDO.
DATA: L_LOGO TYPE SDYDO_VALUE,
L_LIST TYPE SLIS_T_LISTHEADER.
END-OF-SELECTION.
CLASS CL_LC DEFINITION.
PUBLIC SECTION.
METHODS: DC FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID IMPORTING E_ROW E_COLUMN.
ENDCLASS.
CLASS CL_LC IMPLEMENTATION.
METHOD DC.
DATA: WA1 TYPE ZALVGRID_DISPLAY.
READ TABLE ITAB INTO WA1 INDEX E_ROW-INDEX.
BREAK-POINT.
SET PARAMETER ID 'BLN' FIELD WA1-BELNR.
CALL TRANSACTION 'FB02'.
ENDMETHOD. "DC
ENDCLASS.
DATA: OBJ_CL TYPE REF TO CL_LC.
START-OF-SELECTION.
PERFORM SELECT_DATA.
IF SY-SUBRC = 0.
CALL SCREEN 100.
ELSE.
MESSAGE E000(0) WITH 'DATA NOT FOUND'.
ENDIF.
INCLUDE ZALVGRID_PG_STATUS_0100O01.
INCLUDE ZALVGRID_PG_LOGOSUBF01.
INCLUDE ZALVGRID_PG_SELECT_DATAF01.
INCLUDE ZALVGRID_PG_USER_COMMAND_01I01.
***INCLUDE ZALVGRID_PG_STATUS_0100O01 .
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'AB'.
* SET TITLEBAR 'xxx'.
IF IDENTITY IS INITIAL.
CREATE OBJECT IDENTITY
EXPORTING
CONTAINER_NAME = 'ALVCONTROL'.
CREATE OBJECT GRID
EXPORTING
I_PARENT = IDENTITY.
CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'ZALVGRID_DISPLAY'
CHANGING
IT_OUTTAB = ITAB.
CREATE OBJECT OBJ_CL.
SET HANDLER OBJ_CL->DC FOR GRID.
ENDIF.
IF L_IDENTITY IS INITIAL.
CREATE OBJECT L_IDENTITY
EXPORTING
CONTAINER_NAME = 'LOGO'.
CREATE OBJECT L_TREE
EXPORTING
I_PARENT = L_IDENTITY.
PERFORM LOGOSUB USING L_LOGO.
CALL METHOD L_TREE->CREATE_REPORT_HEADER
EXPORTING
IT_LIST_COMMENTARY = L_LIST
I_LOGO = L_LOGO.
ENDIF .
ENDMODULE. " STATUS_0100 OUTPUT
***INCLUDE ZALVGRID_PG_LOGOSUBF01 .
FORM LOGOSUB USING P_L_LOGO.
P_L_LOGO = 'ERPLOGO'.
ENDFORM. " LOGOSUB
***INCLUDE ZALVGRID_PG_SELECT_DATAF01 .
FORM SELECT_DATA .
SELECT RBKP~BELNR
RBKP~BLDAT
RSEG~BUZEI
RSEG~MATNR
INTO TABLE ITAB
FROM RBKP INNER JOIN RSEG
ON RBKP~BELNR = RSEG~BELNR
WHERE RBKP~BELNR IN IRNO
AND RBKP~GJAHR = P_GJAHR.
ENDFORM. " SELECT_DATA
***INCLUDE ZALVGRID_PG_USER_COMMAND_01I01 .
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
EXIT.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Warm Regards,
PavanKumar.G
Edited by: pavankumar.g on Jan 19, 2012 5:30 AM -
Hello experts,
I know there are many threads on this topic in the forum. I tried using method cl_bsp_utility=>download
but nothing happens. Here is the scenario -
1. I have BSP
2. From Do_handle_event in controller class I am calling model method which handles downloading to excel.
Please help as this is real showstopper for the application, I am developing.
Thanks, in advance.
TruptiHi Gopal,
Thanks for your reply.
Tried the code you sent me. As I am using BSP-MVC, I am building method in controller class and with event handling calling the method that handles download to excel. But it is not doing anything at all.
Thank you.
Trupti -
hi,
by ALV_GRID is it possible to filter the no of columns download into Excel?
EX: if my ALV(report) contains 30 fileds and i am diplaying only 10 fileds on output by using variant.. is it possible to down load that displayed 10 feilds into excel sheet not total 30 fileds..
sample codes are welcome......
Regards
Ashok Parupalli.
Message was edited by: Ashok ParupalliHi Ashok,
You need to download the total excel sheet into Internal table, there is a one way to ignore excel sheet rows, but you can ignore records only starts from first in the excel sheet, you can not ignore the middle of records in the excel sheet, i mean if the excle sheer is having 30 rows, then you can take from 20th row to 30th row, but you can not ignore the middle of records while uploading the excel sheet.
i do not know whether it is possible with OLE, anyways Look at transaction DWDM for demo/examples, there's lots of tricks with OLEobjects
look at the below program, this is OO concept
http://www.sapgenie.com/abap/code/abap41.htm
Thanks
Sudheer -
Error 3259 after reaching 99% of the iOS 5 firmware download
I downloaded 3x today and would end up with the same error everytime.
My iTunes is updated to the latest verstion before downloading anyting,
along with the error code 3259, it would say that there was a problem with the connection and it timed-out.
this would be more frustrating if the user who are downloading takes 2-3hrs to complete the download.
is anyone getting this error? If you've find a way, please share.Hey y'all, I ended up going to "google" and searching out how to download iOS 5 apart from iTunes. I found a link that allowed me to download the operating system, then to go into iTunes, under my iPod, then hold 'left-shift' and click 'restore'. It then let me use the new OS file, and updated my iPod perfectly. Make sure you back up your device before doing this as it restores it to factory settings, but you still get the new operating system. I then just synced my iPod with my computer and retrieved all my apps, songs, info, etc... Go here to download directly to your computer...
http://osxdaily.com/2011/10/12/ios-5-download-available/
Hope this helps you.
Maybe you are looking for
-
Photoshop elements version 1.0 install on Windows 7 64bit
I have a very old CD of APE version 1.0 from 1998. Now it does not install on my new notebook. After running AUTOPLAY and pushing the button install nothing happens. Who can advice what todo??
-
Can't put my finger on what's wrong with iMac
From the beginning: My wife asked me to copy a couple scratched dvd-rs the other night. The superdrive couldn't read one, but the other showed up on the desktop. I tried to copy it and got an error that the iMac couldn't copy the disc. Thinking it
-
How to maintain Proof of Delivery in R/3
Hi Guys, I just wanted to ask how can I maintain Proof of Delivery in R/3 I have a PO Number and Delivery Number as input. Thanks. Chris
-
HT3702 i can't upgrade my app store and mentions " i have problem with previous payments"
please help me.
-
i just wanna know how the procedure to get ipod delivary because i want to order ipod touch 5th gen but cant. need help