Export List to spreadhshet: force xls vs. .iqy and omit columns
Trying to make a list on sharepoint easily exported to Excel for my basic users. Actions > Export to spreadhseet forces it to an .iqy file which confounds my beginner users ;^) It also forces two columns at end called Item and Path I wish would just stay behind. Anyway to force it go as Excel and chose columns that come down? Seems odd that a MS product geared toward Ofgfice apps doesnt also have a less complex option to simply download as excell.
Hi a_gunslinger,
I am afraid there is no setting in SharePoint or Excel would help you to force to hide the two columns when Export to spreadsheet launched.
I have search the CodePlex, and seems there is no open-source project would fit for your needs.
Sorry for your inconveriecne.
Lambert Qin
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact [email protected]
Sincerely,
Lambert Qin
Posting is provided "AS IS" with no warranties, and confers no rights.
Similar Messages
-
Submit and return exporting list to memory is not working in background
Hi gurus,
i am using submit statement and exporting list to memory. it works fine in foreground and i am able to get the output. but in case of background , it is not exporting the list.PLease help me on this.
Thanks and regards,
RajeshwarHello Rajeshwar,
This is a duplicate thread. You have a thread with the same question.
[list_to_memory is not working in background;
Jayant Sahu -
Will SUBMIT report EXPORTING LIST TO MEMORY work, when Run in Background?
You can use SUBMIT <report> EXPORTING LIST TO MEMORY, and then Call the FM LIST_FROM_MEMORY to get the Data.
This works fine, when the Program is Run in Foreground. My question is, will it work when I Run the Program in Background? i.e. When I Run the Program in Background, will the SUBMIT Statement, Export the List to Memory? Because only then the FM LIST_FROM_MEMORY will get the Data.
Any alternate solution to meet the same requirement will be appreciated.It works for me... my spool output looked like:
11.01.2008 JC: Calling program - test list to memory 1
ZLOCAL_JC_SDN_CALLING_PROGRAM started at 12:54:29
ZLOCAL_JC_SDN_CALLING_PROGRAM call complete 12:54:30
ZLOCAL_JC_SDN_CALLING_PROGRAM started at 12:54:30
11.01.2008 JC: Called program - testing list to memory
ZLOCAL_JC_SDN_CALLED_PROGRAM was called at: 12:54:29
for the following code:
report zlocal_jc_sdn_calling_program.
parameters:
p_start(1) type c.
start-of-selection.
perform testcase.
*& Form testcase
form testcase.
data:
lt_list type table of abaplist.
write: / sy-repid, 'started at', sy-uzeit.
submit zlocal_jc_sdn_called_program
exporting list to memory
and return.
write: / sy-repid, 'call complete', sy-uzeit.
call function 'LIST_FROM_MEMORY'
tables
listobject = lt_list.
write: / sy-repid, 'started at', sy-uzeit.
call function 'WRITE_LIST'
tables
listobject = lt_list.
endform. "testcase
and
report zlocal_jc_sdn_called_program.
start-of-selection.
write: / sy-repid, 'was called at:', sy-uzeit. -
Submit ALV report in Background & exporting list to memory and return
Dear all,
I created one Z program (ZPROGRAM2).
Here i use SUBMIT ZPRORAM1_ALV exporting list to memory and return.
call function 'LIST_FROM_MEMORY'.
call function 'TABLE_COMPRESS' .
ZPRORAM1_ALV output i send mail.
This all are working in foreground.
If i schedule ZPROGRAM2 in background. that SUBMIT ZPRORAM1_ALV statement not working.
Please give me the Solution.
Thanks,
Durai.VIt is because of the ALV output that you are using. Check the condition sy-batch = 'X' (background processing) and then display a classical report. It will work then.
Thanks,
Jayant -
Submit program exporting list to memory and return in background
Dear Experts,
I am using the following code in one of my program to get opening and closing stock of a material.
SUBMIT RM07MLBD
WITH MATNR IN LOC_R_MATNR
WITH WERKS IN LOC_R_WERKS
WITH DATUM IN LOC_R_DATE
WITH PA_SUMFL = WL_X
AND RETURN
EXPORTING LIST TO MEMORY.
The program is working fine when executed in foreground. however when executed in background the job is cancelled. I tried to debug in background through SM50 and found that the program is terminated(No short dump but debug screen is closed and i dont see this program running in SM50) when the above code is executed.
I found in the forum that when an ALV report is submitted in background it does not work. In my case the standard program is producing an ALV list (not ALV grid though).
How would i avoid this situation because the program i am submitting is a standard program.
What is the best solution to avoid from background jobs being cancelled when the above code is executed. Is there an alternate way that i can use to submit the program and get data.
Thanks in advance.
Rajesh.Hi Rajesh,
Just excute your standard program with the same input in back ground mode and check
out put is coming or not .
If output is not coming search by sy-batch and make the break points there and Ideantify
the problem.
When you execute the standard program in back ground mode If the output is come it should in your Zreport also.
I tried in my system in background mode also the output is coming for me.
Thnx,
Sam. -
Exporting list of tables to text files?
Anyone have solution for exporting list of SQL tables to text files?
My goal is to have a flexible/dynamic way to export sql tables to text files that is executed via a sql job. I plan on having a configuration table that has sqltablename, fieldstoexclude (maybe fieldstoinclude - not decided), path, filename, includeheader,
delimiter. So the SSIS package will query the configuration table and that will be the loop. One text file for each configuraton.tablename row.
Does anyone have an already built solution that they can share? I have seen some with vb script and am not opposed, but would like to have a strictly SSIS package that uses SQL queries for the solution.Try using this as your query (Remember to set the database you want to use first:
DECLARE @tableBuilder TABLE (dSQL VARCHAR(MAX))
DECLARE @tableString VARCHAR(100), @newTableString VARCHAR(100), @columnString VARCHAR(MAX), @dSQL VARCHAR(MAX) = ''
DECLARE tableBuilder CURSOR FOR
SELECT
'CREATE TABLE '+d.name+'.'+t.name ,
c.name + ' ' +
CASE
WHEN st.NAME IN ('float','image','text','uniqueidentifier','date','time','datetime2','datetimeoffset','tinyint','smallint','int','smalldatetime','real','money','datetime','smallmoney','bigint','bit','hierarchyid','timestamp','xml','geometry','geography','sql_variant','sysname') THEN st.name
WHEN st.name IN ('decimal','numeric') THEN st.name + '(' + CONVERT(VARCHAR,c.precision) + ',' + CONVERT(VARCHAR,c.scale) + ')'
WHEN st.name IN ('nvarchar','nchar','char','varbinary','varchar','binary','ntext') THEN st.name + '(' + CONVERT(VARCHAR,c.max_length) +')'
END + ','+ char(13)+CHAR(10)
FROM sys.tables t
LEFT OUTER JOIN sys.extended_properties ep
ON t.object_id = ep.major_ID
AND ep.name = 'microsoft_database_tools_support'
INNER JOIN sys.columns c
ON t.object_id = c.object_id
INNER JOIN sys.systypes st
ON c.system_type_id = st.xtype
INNER JOIN sys.databases d
ON DB_ID() = d.database_id
WHERE ep.name IS NULL AND is_ms_shipped = 0
ORDER BY t.name, c.column_id
OPEN tableBuilder
FETCH tableBuilder INTO @tableString, @columnString
WHILE @@FETCH_STATUS <> -1
BEGIN
IF @tableString <> @newTableString
BEGIN
SET @dSQL = @newTableString + char(13)+CHAR(10) + ' (' + char(13)+CHAR(10) +LEFT(@dSQL,LEN(@dSQL)-3) + char(13)+CHAR(10) + ' )'
INSERT INTO @tableBuilder ( dSQL ) VALUES (@dSQL)
SET @dSQL = ''
END
SET @dSQL = @dSQL + ' ' + @columnString
SET @newTableString = @tableString
FETCH tableBuilder INTO @tableString, @columnString
END
CLOSE tableBuilder
DEALLOCATE tableBuilder
SELECT * FROM @tableBuilder
Export the results of that as you like. -
Need help in Exporting list to memory and return in background
Hello Experts,
I have a program which reads data from mc.9 by exporting list to memory.When I run it in foreground its working fine . However if I schedule it as a background program it is unable to get list from memory.
Any help will be appreciable.
Thank youHi jayaram,
I tried to do as you said. Its creating spool request and status to completed (sm37 instead of sm36 bcoz i don't hv authorization in production server). Now I didn't see any errors in job log. But data coming to ztable is as usual ( all are ZEROS).
Hey when i tried doing it as below
SUBMIT RMCB0300 WITH SL_WERKS-LOW = P_WERKS
WITH SL_LGORT = 'W001'
WITH SL_SPMON-LOW = P_FPERIOD
WITH SLV_NO = 'MC.9N'
WITH SL_SPMON-HIGH = P_FPERIOD EXPORTING LIST TO MEMORY AND RETURN .
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = LISTOBJECT
EXCEPTIONS
NOT_FOUND = 4
OTHERS = 8.
IF SY-SUBRC <> 0.
if SY-SUBRC = 4.
message 'not_found' type 'i'.
ELSEIF SY-SUBRC = 8.
message 'others' type 'a'.
endif.
ENDIF.
I found that my job with completed status but with in job log i found error of type I means that the error is with notfound type in exceptions.
Hey sorry for the postings may be due to some issues Im unable to see what i have replied in postings that's why im posting repeatedly..
Edited by: Praveen Pathuri on Apr 23, 2009 7:30 AM
Edited by: Praveen Pathuri on Apr 23, 2009 7:55 AM -
Exporting list to excel..order changes?
hello. thanks for the time and effort.
i'm a SharePoint 2013 noob. so forgive the simple question. we moved a team site from SharePoint 2010 to SharePoint 2013 and now a user is complaining that when they export to excel the list they see in IE the order gets changed around when it is exported
to Excel. They said it worked in SP 2010 where the list they saw on the team site was exported in the same order to Excel. It's an odd question that I wouldn't know where to start to look. Thanks again.
Also i did see that it cannot be exported when you open the site in Chrome due to ActiveX controls.Hi,
According to your post, my understanding is that you wanted to exporting list to excel. However, the orders were changed.
I recommend to create a page and add a Data View Web part using SPD on the page and then use SharePoint list as a Data source and add all items into the web part.
Then from Data view web part exported data to excel.
In addition, I recommend to modify view to remove the content type column.
Here are two similar blogs for your reference:
Question sequence is disordered when we export a survey list to excel
SharePoint 2010 Export to Excel 2010 Fails to Export All Fields in Some Views
The list cannot be exported when you open the site in Chrome due to ActiveX controls.
An ActiveX control is used in SharePoint 2013 to validate if you have Excel installed or not. You can try it out with Chrome on Windows -- it will fail.
Take a look at these ActiveX controls in use with SharePoint 2013:
Plan browser support in SharePoint 2013
More information:
Chrome - Limitations with SharePoint 2013
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
How to move users between OU's from an exported list
Hey Guys
New to Powershell
We are going to move large number of users from one OU to another.. For that I am using
get-aduser -filter * -searchbase "OU=ou1,DC=domain" | move-adobject -targetpath "OU=ou2,DC=domain"
As a backout plan we want to reverse that.. so what I am thinking is to right click on the OU1 and export list as txt. So we have all users in a tab/csv format with username.. How can I then write a one liner / script to search for all the users in the list
in AD (or in specific OU2 in AD) and then move them to another OU (or OU1 as above example)?
Or if there is a better quicker method please let me know.
CheersHi,
Here's something to start with:
$targetOU = 'OU=Test 2,DC=domain,DC=com'
Get-ADUser -Filter * -SearchBase 'OU=Test 1,DC=domain,DC=com' | ForEach {
$props = @{
Name = $_.Name
Username = $_.SamAccountName
OriginalOU = ($_.DistinguishedName -split ',OU=' -split ',')[1]
NewOU = ''
Status = ''
try {
Move-ADObject -Identity $_.DistinguishedName -TargetPath $targetOU -ErrorAction Stop
$props.NewOU = ($targetOU -split ',' -replace 'OU=','')[0]
$props.Status = 'Success'
} catch {
$props.Status = 'FAILED'
New-Object PsObject -Property $props
} | Sort Name | Select Name,Username,OriginalOU,NewOU,Status | Export-Csv .\userMoveDetails.csv -NoTypeInformation
Don't retire TechNet! -
(Don't give up yet - 12,950+ strong and growing)
Sorry new to coding.. but this looks awefully complicated for my situation.. Won't the code which I have said simple move users from one container to another existing one? Just need to know how to do the reverse if needed .. OU2 will already have users..
so need to differentiate and was thinking the right click on OU1 and export list.
Thanks -
All,
I have a user that we gave a new laptop to and the spreadsheet button in t-code KSB1 will no longer let him export list object to XXL. He is on GUI 7.10 and Office 2003. I have checked the settings for Marcos in Excel and set them to allow all macros along with Visual Basic. What setting am I missing?
Thanks,
SeanHi Sean,
You could also try the following:
1. run TCode SA38
2. run ABAP-Programm SALV_BS_ADMIN_MAINTAIN
3. mark Detail-Selektion
4. put a client and user
5. run
6. mark a row for the user
7. delete with F7-key (or button)
Then again the choice would have to appear for the XXL Format when exporting to Excel.
Regards,
ScriptMan -
Export list object to xxl in sap
Dear Team
when downloading to spread sheet , i unknowingly pressed the "Always use selected format". Now i am getting the pop up for export list object to xxl. i want it to deactivated and and want the "option of select format"
please help me.
Regards
Hamsa JananeeHi Hamsa Jananee
You do following:
Re: "Always Use Selected Format" check box in line items report
and
Re: Export to excel popup after SP upgrade
Hope it helps.
Thanks and Regards, -
Exporting list of missing or dead links from iTunes
If you have more than 500 songs in iTunes, sooner or later, you will end up with missing, broken or dead links.
Unlike some who address this issue, I genuinely have missing songs, so wish to export a list so I can then re-import them.
Itunes dupes barrier will create a list of “dead” tracks, but I cannot export it.
I don’t want to remove the broken links until I have decided if I still want the songs or not.
Any ideas?Timothy Holt wrote:
If you have more than 500 songs in iTunes, sooner or later, you will end up with missing, broken or dead links.
Nearly 10,000 tracks in my iTunes library and I have NEVER had that issue. Perhaps your statement should be something like, if you start messing around with your folders and files and moving them around, renaming them, etc. outside of iTunes without knowing what you are doing, then you will end up with dead links and missing files. That would probably be more accurate.
Itunes dupes barrier will create a list of “dead” tracks, but I cannot export it.
"Itunes dupes barrier" ??? I assume you mean the Show Duplicates function? If so, then when you get that list, all you have to do is a Select All then open your favorite spreadsheet and paste the list in. Everything will line up in nice columns and rows. You can paste into a word processor or text edited as well, but it may be a bit jumbled in the formatting.
Cheers,
Patrick -
LR 3 Exports listed in History
I see that in LR 3, export actions are now listed in the Development History of a photo.
I don't consider exporting to be a change to an image and I don't want my history cluttered up with export activities.
Is there a way of turning this feature (write exports to history) off?I don't forget it because it is essential for my workflow
You do... makes it harder when the client is satiesfied with the version you provided. VC seems more logical to me.
export: each pic a few times a year. And I do export a lot of pics for use in websites etc. So it does clutter that already not that fast database. -
"EXPORTING LIST TO MEMORY" doesn't work
Hi experts!
In my program I need to update a vew deliveries using transaction VT04 and get from log numbers of updated deliveries. My code is:
SUBMIT RV56TRGN USING SELECTION-SET 'VAN SALE/VT04'
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
I get error:
"Set screen is not allowed in subscreens"
But when I run code:
SUBMIT RV56TRGN USING SELECTION-SET 'VAN SALE/VT04' AND RETURN.
It runs OK.
Where may be the problem?test
-
No Mpeg2 on export list in CS6
Mpeg2 does not seem to be listed on the export list in my purchased Premiere CS6. What happened?
Missing Presets/Activation http://forums.adobe.com/thread/1050730?tstart=0 may help
Maybe you are looking for
-
Hello, I have saved custom templates and then revised them and saved again. I now have several I need to delete. Also, how to delete custom templates? Also, how do I delete blank pages? I hate sending pdf's with a blank page at the end. Thank yo
-
Problem with Pages Palette CS2
I am missing a scroll bar and my dup. and trash buttons. ALSO it pushes all my pages so i cant even see them.. What could of happened to do this.. i am not even sure if it was ever correct.. this is a work program and it was installed last year by a
-
I intially thought that it was my computer that had a problem until clients gave feed-back that they were getting the same problem. This is the pb: when I include the mark of the web on the webhelp output (or webhelp pro), when the help system opens
-
Steps required to sell iBook??
Hi, I've been searching for information on how to properly sell an iBook/PowerBook, and I haven't come up with anything on how to restore all of the factory defaults. Is there a way to restore my iBook so that the buyer can set it up just like I did
-
Hi When combo select value activated in system form at the same time once combo value selected it should open the corresponding user form Regards Pugal