Export only selected lines

Hi,
I have the req to download or export only those lines within ALV which are selected
as excel format instead of complete lines,
Thx in advance for your kindly efforts
Friendly Regards
ertas ilahn

Hi Ertas,
The approach shoud be :
1. Have one field in your internal table for selection.
2. Make the particular field as a check box for selection in ALV fieldcatlog
3. Have a custom button in toolbar for for export to Excel
4. Once the custom button is presses, loop at the internal table of yours and pick up the selected items and export that to excel sheet using GUI_DOWNLOAD.
Hope this helps you.
Thanks,
Arun

Similar Messages

  • How to export only selected columns of WD ALV to excel

    Hi,
    I have WD ALV report with EXPORT button (since standard button was not working properly i just hide that and added custom one) & standard dropdown to choose layout. Out of 20 columns user may choose n number of columns, the same number of columns i need to transfer to xls. How to export only selected columns to xls. Any method or FM to filter number of columns being transfer to xls. please advise
    Rgds
    sudhanshu

    Hi,
    Where exactly we are (or going to be) using this reference i.e., CL_SALV_WD_CONFIG_TABLE. Im passing contents, filename & MIME type as:
    call function 'SCMS_STRING_TO_XSTRING'
        exporting
          TEXT   = TEXT
        importing
          BUFFER = XTEXT.
    WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
    **path to the word file
        I_FILENAME = 'WDP.xls'
    String Variable
        I_CONTENT =  XTEXT
    File Type
        I_MIME_TYPE = 'EXCEL' ).
    In CL_SALV_WD_CONFIG_TABLE we have few methods related to column settings however not sure where exactly we will be using this class reference. can you please give some idea so that i can do some r&d in that.
    Rgds
    Sudhanshu

  • Export only selected objects of a drawing

    Hello,
    I want to export only some objects of a drawing to png. Therefore I select them via click + Shift. I used CorelDraw before and there i can select, in the export window, "Only marked objects" (don't know the exact English term). Is there a comparable option to Corel?
    Thanks,
    Slodomir

    off the top of my head i don't know a way of doing this automatically...maybe i just don't know of it...
    My work around would be:
    unlock everything
    select your objects
    invert your selection
    hide the now selected objects
    export...
    bit of a work around but you could do an action to speed it up if you've got a few to do.
    hope that helps

  • Exporting only selected master pages

    In an InDesign CS6 file, I want to export to PDF only the pages that use selected master pages. For example, if the file has master pages A-H, is there a way to only export to PDF pages that use master pages A-C, ignoring all the other pages that use master pages D-H?

    Another interesting option might be to put all the Tabbed Pages on a different layer.
    You can then double click layers to have them print or not print.
    You should be able to export to a PDF and choose only the pages that are Print Layers - by turning on and off the layer print mode, you should be able to export only the pages, and only the tabs in different orders.
    http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-7096a.h tml#WSC468E092-6078-4fcc-9739-A9CCE50EB732a
    It's in the File>Export>Adobe PDF (Print) and in the General Tab there's an option of Export Layers - and this can be set to
    All Layers
    Visible Layers
    Visible Layers and Printable Layers
    I think by Hiding the Layers for Tabs you can choose Visible Layers only and it will only export those pages.
    You can then switch the Tabs back on and turn off the layer for the Body text - and export those individually.

  • Is it possible to export only selective bookmarks?

    Hi,
    Can I export selective bookmarks e.g. rather than backing up all bookmarks? i.e. select multiple folders and just back up all bookmarks within the selected folders (in either either JSON or .HTML format).
    It might be possible to do so or maybe there is an add-on that can do exactly this?
    Actually I tried it by selecting only one (1) folder but the size of the exported .json and the .html file was exactly the same as the size of the total back files.
    thnk you.

    thnks so much again cor-el. Looks like you are the only person supporting FireFox :) but you are doing a wonderful work. So thnk u for all the help. I will try the solution later.

  • Only selected line appears in filled-in Acrobat Form

    I created a form in Acrobat 9 standard for people to use to register for a conference. In my testing on an XP machine, vista machine and a Mac, the form opens fine in Reader 10 and allows people to fill it out and retrun it. Today I received two registrations where the data seems to be all there but I can only see the data in the field I select with the mouse. I always see checkboxes but any text fields such as name or even a multi-line field like a description are visible only when I click in that field with the mouse. When I click in a different field, I see the new field's data but the other one blanks out. I have received about 16 applications back and only two of them exhibit this condition. The other 14 are OK. I tried looking at the suspect form in Reader 9, Reader 10 and Acrobat 9 Standard on an XP machine and  Acrobat 9 Pro (Win7) with the same results.
    Ideas?
    Tom Hayes
    [email protected]

    The problem files are almost certainly from people who used the Preview application on the Mac to fill-in and save the form. For more information, see: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html

  • How do I print or export only selected cells in Numbers?

    Does anyone know how to do this in Numbers? I have been trying to do this for well over an hour...... I have looked at other posters' questions first, all the way back to 2008 in fact. The closest I have seen to an answer (and it is a workaround, not a true answer) is copy the selected cells into a new sheet. I have been using software spreadsheets (Lotus 123 and later Excel) going back to the mid-1980's. I cannot remember the last time I could not do this.
    Friends, I do realize that many of the workarounds would have taken far less time than what I have invested, please do not feel the need to point that out. I am heading for a workaround right now as I have run out of time to devote to this task. Also, please do not suggest that I should "capture" the data by copying a screen shot to the clipboard or have it dump a .png on my desktop. Most of us here should know how to do that by now but that does not address the underlying issue of how to provide only a select piece of a spreadsheet to a 3rd party in a professional looking format. Well, off to copy and paste........
    Thanks in advance,
    Bill G.
    Update (15 min later):
    Boy, I hope one of you out there knows the solution to this. Copy and paste the selected area does not work either. You lose (this was an "Oh, duh!" sort of moment BTW) any figures populated by calculations not in the selection area.
    Need to go eat, will try to feed the values in the new table from the same calculations in the first table. I can do that easily in Excel, I just have not tried it yet in Numbers. I am optomistic that it will work.
    Thanks again,
    Bill G.

    As I'm lazy, I use this script and paste where I want.
    --{code}
    set the clipboard to (the clipboard as «class PDF »)
    --{code}
    I  made a test which gave a funny result.
    Given a Numbers document with a chart.
    I selected the chart, the title and the legends
    then I grouped these objects.
    Select all
    copy
    run the script
    I pasted in the sheet to be able to take a screenshot.
    It's a bit inconsistent.
    Text values are passed when they are in cells
    They are passed when they are used as value labels in the chart
    but they aren't passed when they are chart's title or legend's components.
    Funny behavior, the graphic symbols are moved in the process to the location where they would be if the text components were nil strings.
    No comment upon a table's title which can't be selected with the table itself.
    Yvan KOENIG (VALLAURIS, France) lundi 3 octobre 2011 14:01:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Exporting A Selection of Records to Excel

    Hi All,
    This is my first ever question to a forum, so please go easy on me! I'm also very new to Access and VBA. I'm building a database that stores (in related tables): TradingName, PropertyName, and PaddockName (as well as other relevant details). I have combined
    (Joined) the data I require into a table as well as a query.
    Now I want to export the Paddocks and Properties for each client. I have been able to export all clients and Paddocks (All Records) into Excel as well as individual Client and Paddock (Individual Record). But I want to be able to export all paddocks for
    a property or a client (multiple records for a client or property).
    My code is working for both scenarios (All Records and Individual Records) above but I'd like to know how to write code to export only selected Client or Property which is selected via a combobox.
    The Code I have used seems to be typical on all forums I have visited, but none does what I want/need.
    All help Appreciated
    Thanks
    Nath
    This sub exports a SINGLE Record
    'This Sub Exports ALL Records
    Private Sub btnExportXls_Click()
    Dim db As DAO.Database
    Dim rs As DAO.Recordset
    'Set db = DAO.DBEngine.Workspaces(0).OpenDatabase("C:\database.mdb")
    Set db = CurrentDb
    ' Set rs = db.OpenRecordset("MasterSummary", dbOpenSnapshot)
    Set rs = db.OpenRecordset("tblExpXlsClientPropPdkDetails", dbOpenSnapshot)
    'Start a new workbook in Excel
    Dim oApp As New Excel.Application
    Dim oBook As Excel.Workbook
    Dim oSheet As Excel.Worksheet
    Set oBook = oApp.Workbooks.Add
    Set oSheet = oBook.Worksheets(1)
    'Add the field names in row 1
    Dim i As Integer
    Dim iNumCols As Integer
    iNumCols = rs.Fields.Count
    For i = 1 To iNumCols
    oSheet.Cells(1, i).Value = rs.Fields(i - 1).Name
    Next
    'Add the data starting at cell A2
    oSheet.Range("A2").CopyFromRecordset rs
    'Format the header row as bold and autofit the columns
    With oSheet.Range("a1").Resize(1, iNumCols)
    .Font.Bold = True
    .EntireColumn.AutoFit
    End With
    oApp.Visible = True
    oApp.UserControl = True
    'Close the Database and Recordset
    rs.Close
    db.Close
    End Sub
    This Sub Exports A Single Record (Paddock) and is commented out as I trialed the other sub.
    'Private Sub btnExportXls_Click()
    '' The following Sub only exported 1 record at a time and only copied data to selected cells, it doesn't move to next free cells.
    ''Export Selected Client/Property to Excel
    ''First you must set a Reference to the Microsoft Excel XX.X Object Library
    ' Dim appExcel As Excel.Application
    ' Dim wrkBook As Excel.Workbook
    ' Set appExcel = New Excel.Application
    ' Set wrkBook = appExcel.Workbooks.Open(CurrentProject.Path & "\ClientPropertyPdkDetails.xlsx")
    ' appExcel.Visible = True 'Make Excel Window Visible
    ''Make Batch Sheet the active Worksheet
    ' wrkBook.Worksheets("Client Property Pdk").Activate
    ' With wrkBook.ActiveSheet
    ' .Range("A2").Value = Me![Client_ID]
    ' .Range("B2").Value = Me![TradingName]
    ' .Range("C2").Value = Me![Property_ID]
    ' .Range("D2").Value = Me![Property]
    ' .Range("E2").Value = Me![ID]
    ' .Range("F2").Value = Me![PaddockName]
    ' .Range("G2").Value = Me![PaddockArea]
    ' .Range("H2").Value = Me![ArablePdkArea]
    ' .Range("I2").Value = Me![MonitoredPdk]
    ' .Range("J2").Value = Me![SoilSamplePdk]
    ' .Columns("A:J").AutoFit 'Autofit Columns A thru J to hold contents
    ' End With
    ''DoCmd.OutputTo acOutputQuery, "qryClientPropertyPaddockJoined", acFormatXLSX, "K:\Dropbox\1a Graminus Consulting\Graminus Database\ClientPropertyPdkDetails.xlsx", , , acExportQualityPrint
    'End Sub

    Hi All,
    Thanks for your help and input much appreciated! I think I was in a rutt and trying to be too tricky (I think). I have since changed tact and created a Public Function (Below) that creates a temporary query and export that instead. It works a treat.
    Thanks Again
    Nath
    Public Function CreateQueryDAO()
    'Purpose: Create a query based on Clients Property Name to Export to Excel
    Dim db As DAO.Database
    Dim qdf As DAO.QueryDef
    Set db = CurrentDb()
    'The next line creates and automatically appends the QueryDef.
    Set qdf = db.CreateQueryDef("qryPropertyDetails")
    'Set the SQL property to a string representing a SQL statement.
    qdf.sql = "SELECT tblExpXlsClientPropPdkDetails.* FROM tblExpXlsClientPropPdkDetails WHERE [Property_ID] =" & Forms![frmExportClientPropertyPaddockExl].txtPropertyID
    'Do not append: QueryDef is automatically appended!
    Debug.Print "qry[qryPropertyDetails] created."
    'Start a new workbook in Excel
    Dim oApp As New Excel.Application
    Dim oBook As Excel.Workbook
    Dim oSheet As Excel.Worksheet
    Dim rs As DAO.Recordset
    Set rs = db.OpenRecordset("qryPropertyDetails", dbOpenSnapshot)
    Set oBook = oApp.Workbooks.Add
    Set oSheet = oBook.Worksheets(1)
    'Add the field names in row 1
    Dim i As Integer
    Dim iNumCols As Integer
    iNumCols = rs.Fields.Count
    For i = 1 To iNumCols
    oSheet.Cells(1, i).Value = rs.Fields(i - 1).Name
    Next
    'Add the data starting at cell A2
    oSheet.Range("A2").CopyFromRecordset rs
    'Format the header row as bold and autofit the columns
    With oSheet.Range("a1").Resize(1, iNumCols)
    .Font.Bold = True
    .EntireColumn.AutoFit
    End With
    oApp.Visible = True
    oApp.UserControl = True
    Debug.Print "Property Exported to Excel."
    'Delete new Query.
    db.QueryDefs.Delete "qryPropertyDetails"
    Debug.Print "qry[qryPropertyDetails] Deleted."
    'Close the Database and Recordset
    rs.Close
    db.Close
    Set qdf = Nothing
    Set db = Nothing
    'Source: http://allenbrowne.com/func-dao.html#CreateQueryDAO
    Private Sub btnCreateQry_Click()
    CreateQueryDAO
    End Sub
                                                 

  • Is there a way to take export dump with only selected objects

    Hi,
    I want to take a partial export dump containing only few objects of a particular schema in Oracle 10g DB.
    I am trying to use "exp" utility for this.
    The parfile used for this is as follows:
    FILE=CSG_Objects.dmp
    FULL=n
    ROWS=y
    COMPRESS=y
    INDEXES=y
    TRIGGERS=y
    CONSTRAINTS=y
    LOG=export_CSG_Objects.log
    TABLES=table1,table2,table3...
    With this I can only export tables but not other objects like views, procedures, sequences etc.
    If I try to use other object name in TABLES list, I get errors.
    Is there any way I could export other "selected" objects also?
    Thanks & Regards,
    Ullhas

    There are 4 modes in exp and expdp. You can specify
    full=y which will get all objects in the database
    schemas = list which will get alll of the objects in these schemas
    tables = list which get all of the tables in your list plus all of the objects dependent
    on these tables
    tablespaces=list which finds all fo the tables in those tablespaces and then does a table mode
    export for the table list, including dependent objects.
    Other than excluding/included a few objects, original exp does not have a way to specifically include certain objects. This was one of the enhancements to datapump expdp/impdp.
    If you are running 10.1 or later, you can use datapump export/import. Now, you can do a table mode export and put in an include/exclude list.
    include=tables,grants,table_statistics
    or
    exclude grants, index_statistics
    If you let us know what you are trying to include or exclude, it would be easier to come up with a solution.
    Dean

  • Why can't I export only a selected clip?

    I am a teacher. I used to record all the kids in a class doing a certain task, and then select the clip of each child and export each child as a separate QuickTime movie. We upgraded machines and now for the life of me I cannot figure out how to export only a selected clip in iMovie '08. Any help appreciated!

    Make a separate Project for each child.
    Drag the clip of that child into the project. Then Share to whatever format you choose.

  • Selectively Ship only few lines in a Sales Order - 11i

    Hello,
    How do I ship only some lines in a Sales order and not all using API? I am able to do this using STF(Shipping Trax Form).Below is the snippet I have written but it always ends up shipping entire order. What am I missing? Please advise.
    This is on 11i
    changed_attributes (1).delivery_detail_id := 1234
    changed_attributes (1).shipped_quantity := 0
    changed_attributes (x).source_line_id := 12344
    changed_attributes (2).delivery_detail_id := 1235
    changed_attributes (2).shipped_quantity := 66
    changed_attributes (2).source_line_id := 12346
    changed_attributes (x).attribute4 := p_freight;
             changed_attributes (x).attribute5 := p_accessory;
             changed_attributes (x).attribute6 := p_othercost;
             changed_attributes (x).tracking_number := p_waybill;
    --Call to WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes.
             wsh_delivery_details_pub.update_shipping_attributes
                                      (p_api_version_number      => 1.0,
                                       p_init_msg_list           => init_msg_list,
                                       p_commit                  => p_commit,
                                       x_return_status           => x_return_status,
                                       x_msg_count               => x_msg_count,
                                       x_msg_data                => x_msg_data,
                                       p_changed_attributes      => changed_attributes,
                                       p_source_code             => source_code
             COMMIT;
             in_delivery_id := i.delivery_id;
             in_delivery_name := i.NAME;
             IF (x_return_status <> wsh_util_core.g_ret_sts_success)
             THEN
                INSERT INTO LOGFILE
                            (step_id, descr
                     VALUES (1.6, 'delivery attr'
                COMMIT;
                RAISE fail_api;
             END IF;
           end if; 
          END LOOP;
          wsh_deliveries_pub.delivery_action
                                (p_api_version_number        => 1.0,
                                 p_init_msg_list             => init_msg_list,
                                 x_return_status             => x_return_status,
                                 x_msg_count                 => x_msg_count,
                                 x_msg_data                  => x_msg_data,
                                 p_action_code               => p_action_code,
                                 p_delivery_id               => in_delivery_id,
                                 p_delivery_name             => in_delivery_name,
                                 p_asg_trip_id               => NULL,
                                 p_asg_trip_name             => p_asg_trip_name,
                                 p_asg_pickup_stop_id        => p_asg_pickup_stop_id,
                                 p_asg_pickup_loc_id         => p_asg_pickup_loc_id,
                                 p_asg_pickup_loc_code       => p_asg_pickup_loc_code,
                                 p_asg_pickup_arr_date       => p_asg_pickup_arr_date,
                                 p_asg_pickup_dep_date       => p_asg_pickup_dep_date,
                                 p_asg_dropoff_stop_id       => p_asg_dropoff_stop_id,
                                 p_asg_dropoff_loc_id        => p_asg_dropoff_loc_id,
                                 p_asg_dropoff_loc_code      => p_asg_dropoff_loc_code,
                                 p_asg_dropoff_arr_date      => p_asg_dropoff_arr_date,
                                 p_asg_dropoff_dep_date      => p_asg_dropoff_dep_date,
                                 p_sc_action_flag            => p_sc_action_flag,
                                 p_sc_close_trip_flag        => p_sc_close_trip_flag,
                                 p_sc_create_bol_flag        => p_sc_create_bol_flag,
                                 p_sc_stage_del_flag         => p_sc_stage_del_flag,
                                 p_sc_trip_ship_method       => p_sc_trip_ship_method,
                                 p_sc_actual_dep_date        => p_sc_actual_dep_date,
                                 p_sc_report_set_id          => p_sc_report_set_id,
                                 p_sc_report_set_name        => p_sc_report_set_name,
                                 p_wv_override_flag          => p_wv_override_flag,
                                 x_trip_id                   => x_trip_id,
                                 x_trip_name                 => x_trip_name
                                );

    GETWA_NOT_ASSIGNED
    Many threads are there on this error message and you would come to know if you google with this text.  Check couple of threads where  the same topic was discussed
    [Re: GETWA_NOT_ASSIGNED|Re: GETWA_NOT_ASSIGNED;
    [Re: GETWA_NOT_ASSIGNED ABAP Dump|GETWA_NOT_ASSIGNED ABAP Dump;
    Also there are some 20 OSS notes on this error message and you can have a look at the following notes:-
    1)   Note 913679 - VA01: Short Dump GETWA_NOT_ASSIGNED on click of quantity.
    2)   Note 591955 - ABAP runtime error GETWA_NOT_ASSIGNED
    3)   Note 870670 - SD_SALES_DOCU_MAINTAIN_DIALOG termination with GETWA_NOT_***
    4)   Note 141314 - VA02: Dump with 'GETWA_NOT_ASSIGNED'
    thanks
    G. Lakshmipathi

  • Export only of developped pictures

    Hi, I am a beginner in Lightroom 4.3.
    I loaded some folders with my pictures. In Lightroom I developed some of it, others I did not.
    Now I want to export only those pictures which I developed. I know, I can manually select at the bottom line all pictures showing a  +/- sign and the export them. This is quite a lot of work with my 800 pictures.        
    Is it possible to tell Lightroom that it just selects and exports the developed pictures?

    Ahhhh, I was scratching my head over that one (trying to provide answer).
    My thought was to simply filter on the appropriate attribute or metadata, but a criterion of "has adjustments" is not available for filtering (though it is for Smart Collections). I wonder why Lightroom's filter criteria aren't the same as for Smart Collections?   An oversight? 
    Phil                                                                       

  • Free Transform multiple layers at the same time (only selected part)

    Hi,
    i have two layers - one contains color and second one contains outline. I want to select a part of the image and free transform both the layers at the same time. (so when i for example move or rotate the selected part of my example, both the color and outline moves at the same time). Layers must stay separated, process must be sort of quick, i would love to use this all the time when drawing etc.
    - Only way i managed to make this somewhat happen was to select the desired part of the image -> save the selection -> new layer via copy (on first layer) -> reselect the saved selection -> new layer via copy (on the second layer) -> select both of the new layers -> free transform. Warp doesnt work but other transforms do. But still this process is too slow and distracting even when having all the required commands hotkeyed. Is there a faster way?
    Any tips are welcome!

    @Trevor.Dennis
    i did understand, but as i said ctrl clicking the new layer only selects visible pixels in it, and my layers dont cover the whole canvas, especially not the outline layer, so ctrl click will only select that noodle of pixels and thats not usable in the other layer. (doing selection in the other layer first isnt a solution)
    Better description of what exactly im after:
    im manually drawing characters and i keep the their black "ink" lines/outlines on separate layer from the color layer. From time to time i want to transform small part of the character, lets say warp or rotate just its leg to fix or iterate, but i want to transform both the outline and color layer at the same time with that rotation so i see realtime how it looks. I would use this all the time if it was doable quickly. Transforms and puppetwarp are so powerful when drawing that as last resort i will have to switch to drawing everything on single layer.

  • I paid for exportpdf and everytime i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable.  how can i export only form fields that were filled in?

    i paid for exportpdf and every time i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable. Some forms can't be saved so having to log in and only use webtool to upload a saved pdf won't work.
    as well, how can i export only form fields that were filled in if I can get pdf to save to computer?

    Hi kstine,
    I can see why that would be frustrating! Have you tried selecting Stayed Signed In underneath the Adobe ID and Password boxes when you try to log in?
    What did you use to create the PDF form? If you used FormsCentral, form data is saved to your online FormsCentral account. If you have Acrobat, you can export form data as described  here: Adobe Acrobat X Pro * Manage form data files
    Best,
    Sara

  • [SOLVED] How to export a selection in a PDF file as PDF ?

    I tried a lot of PDF readers, but none of them supports exporting a selection as PDF. Okular have a similar function, but it can only save selections as JPEG or PNG. Alternatively, I can take a screenshot of a selection in one PDF reader, but still JPEG. I want to use this function to crop a selection such as formulas, vector graphics inside a PDF file. I know Preview.app in OS X works great for me. I am wondering if there is any alternatives for Linux. Thank you so much.
    Last edited by mssun (2015-03-20 08:34:20)

    Maybe take a look at: https://aur.archlinux.org/packages/gpdfx/ or maybe one of PDF's editors like MasterPDFEditor (free for non-commercial use), pdfeditor etc. Or one of converters like pdf2html and after conversion plug html (or the other format) into LaTeX document. Or... make OCR on PDF and then plug document saved in even plain txt format. Also, there is this utility: http://www.ctan.org/tex-archive/macros/ … b/pdfpages (and in AUR: https://aur.archlinux.org/packages/latex-pdfpages/) - maybe it will be helpful for you (I don't use LaTeX).

Maybe you are looking for