How to do autofit selection in the GUI_DOWNLOAD

hi,
I am working on reports, i need to download to a .csv file. I am using GUI_DOWNLOAD is there any option for it where text fits exactly in a single cell.
For Eg:
I excel there is an option (Format-column-Autofitselection).
Then the column size increases or decreased according to the text size.

Hi,
This can be achieved by using user-exit. Specifically screen-exit. Check these two exits related to transaction CS15. They may be helpful to you.
<b>
PCSD0002      BOMs: Customer fields in item  
PCSD0003      BOMs: Customer fields in header
</b>
Let me know if you need any other information.
Regards,
RS

Similar Messages

  • How to handle multiple selection in the Spark List control with checkbox as itemrenderer?

    Hi All,
    I am using checkbox as an ItemRenderer in spark list.
    I have a query.
    how to handle multiple selection in the Spark List control with checkbox as itemrenderer?
    how to retrieve the selected item label?
    Thank you in advance.

    Hi there, I'll tweak your code a little bit to something like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="vertical">
        <mx:Script>
            <![CDATA[
                 import mx.events.ListEvent;
                 import mx.controls.CheckBox;
               [Bindable]
               private var mySelectedIndexes:ArrayCollection=new ArrayCollection();
                private function onChange(e:ListEvent):void
                   if(CheckBox(e.itemRenderer).selected){
                             mySelectedIndexes.addItem(e.rowIndex);
                   }else{
                                  mySelectedIndexes.removeItemAt(mySelectedIndexes.getItemIndex(e.rowIndex));     
                   chkList.selectedIndices=mySelectedIndexes.toArray();
            ]]>
        </mx:Script>
    <mx:ArrayCollection id="collection">
            <mx:Object label="Test A"/>
            <mx:Object label="Test B"/>
            <mx:Object label="Test C"/>
            <mx:Object label="Test D"/>
            <mx:Object label="Test E"/>
            <mx:Object label="Test F"/>
            <mx:Object label="Test G"/>
        </mx:ArrayCollection>
    <mx:List id="chkList" dataProvider="{collection}" itemRenderer="mx.controls.CheckBox"  itemClick="onChange(event);" allowMultipleSelection="true"/>
    </mx:Application>

  • How to save slices selected by the slice-select-tool ?

    How to save slices selected by the slice-select-tool ? In the past, I select several slices in edit window and saved for web(ctrl+alt+shift+s) But now, selected slices are unselected in the Save-for-web dialog except first slice.
    I'm sorry my short english.

    How to save slices selected by the slice-select-tool ? In the past, I select several slices in edit window and saved for web(ctrl+alt+shift+s) But now, selected slices are unselected in the Save-for-web dialog except first slice.
    I'm sorry my short english.

  • How to avoid data selection inside the loop?

    Hello Experts,
    I am working on one performance item and I have already applied some changes to the original version.
    Now, If I compare my new program with old program, I have good improvement in performance. I am checking if I can do anything on statements that are top on the below list. I think 40% for Modify statement is acceptable after my research (Below run is updating around 20M records which is real time volume for this application).
    As we can see 34% of run time to going for one SELECT query on custom table. Take a look at below high level flow of my program to understand above select query.
    1. Select data from ZABC
    2. Select data from Variant Table (Var1, Var2, Var3 etc.., 12 in real time)
    3. Loop Variant Table
    4. Select data from X, Y, Z table for Var<n>.
    5. Populate final internal table from ZABC, X, Y and Z table
    6. Modify ZTABLE with Final Internal table data
    7. End Loop on Variant Table
    As described in the flow of the program, ZABC table data is common for all the variants and need not to fetch multiple times. Hence I am doing it only once in my program. Below is that select query:
    select rrcty ryear rbukrs racct rcntr sum( amt1) as amt1  "Like I have 32 amount fields in original query
               from zabc
                into table i_zabc
                where ryear in r_year    " Two records in ranges with I and EQ
                and rvers = '001'
                and rrcty in r_rrcty        "Three records in ranges with I and EQ
                and rldnr = 'DT'
                group by rrcty ryear rbukrs racct rcntr
                order by rrcty ryear rbukrs racct rcntr.
    ZABC table is again having huge volume of data and we are fetching millions of records with above query. That is primary reason to take long time. May be that is okay as I am already using Indexes of this table. But, I am not comfortable with it as it can reach max. memory point and through run time error. Fetch Cursor is one reliable option that I can see here, but with that, I should move ZABC selection inside the variant loop which can cause fetching ZABC data 12 times (Let me know If I am missing anything here).
    Now, third statement in my trace results, with 10% of overall time is this:
    loop at i_abc assigning <fs_abc>. 
    loop at i_table assigning <fs_table> where low <= <fs_abc>-racct and high >= <fs_abc>-racct. 
    endloop. 
    endloop. 
    6 million executions with this complex WHERE condition is causing this statement to get 3rd position in trace results. I tried below two options which are, I think, taking even more time - (I am still monitoring these options)
    1) Removed WHERE condition on LOW, HIGH and applied filter inside the loop.
    2) Removed WHERE condition on HIGH only and applied filter inside the loop.
    Any suggestions on how to proceed with ZABC selection and I_TABLE loop.
    Let me know if you have any questions on above compose.

    Since I looked at this case before, let me try some quick suggestions:
    Is table ZABC related to table X, Y and/or Z and can the selection be limited by applying those 12 selection variants?
    If yes, try a join select involving these tables that could make your step 1 obsolete and replace steps 4 and 5.
    This might also get rid of the "loop inside loop" problem. Generally, make sure that the inner table is declared as a sorted table with a key that consists of the fields as used in the WHERE-condition of the inner loop. Use secondary keys for internal tables if your ABAP release permits and the task at hand warrants it.
    Finally, look at PACKAGE SIZE option for the (join) select to reduce memory consumption.
    Thomas

  • How to put variable selection and the query result the same screen

    Dear all,
       how can I put the variable selection and the query result in the same screen? Please advise. Thanks.
    Jin Ming

    Not sure if you are saying you want the prompts on the same page as the results... however in 7.0 with BEx Analyzer, you can insert a text object from the design toolbar and assign it to the variable.... this way, lets say you run query for period 6, then the text object will display "6" on the same area where the query results are.

  • How to do multi select for the oracle forms textfields using openscript

    hi
    my scenario is to record  by selecting 3 order number same time and do copy of that in the oracle order management module.
    can anybody help me in to select the 3 order numbers and execute.
    thanks
    sudhiir

    hi Deepu,
    the code you have given is not working.
    Below is the code i have written
    Robot robot = new Robot();
    robot.keyPress(KeyEvent.VK_SHIFT);
    FORMS.TEXTFIELD(ORDER_NUMBER_0).CLICK
    FORMS.TEXTFIELD(ORDER_NUMBER_1).CLICK
    FORMS.TEXTFIELD(ORDER_NUMBER_2).CLICK
    robot.keyRelease(KeyEvent.VK_SHIFT);
    even after adding the above code it is clicking on the each text field instead of selecting all the three text field which is my requirement.
    i think their is some defect in openscript or my code is wrong.
    thanks
    sudhiir

  • How to extend data selection to the existing delta update without disturbin

    Is there any way to extend data selection to the existing delta update with out disturbing the delta mechanism? I mean, is there anyway to add new delta init for the new data selection to the existing delta update without disturbing?

    the scenario is we have existing delta, let's say, for the 2 company codes 0001 and 0002. I want to extract delta for the company code 0003 without disturbing the existing delta mechanism. I mean to say I want to extend the data selection for the existing delta from 2 comp codes (0001, 0002) to 3 company codes (0001,0002 & 0003) without disturbing the delta mechanism.

  • How to focus and select to the next cell with a ListView when scrolling?

    I have a ListView filled with cells and I'd like to scroll to the next cell to have it focused and selected.
    My code works to scroll down but the scroll bar is going to far!
    How can I reduce the scroll size to each cell, so I can see the focused cell? Is there a better way to implements this?
    Here is my code:
    documentListView.scrollTo(0);
    documentListView.getSelectionModel().select(0);
    int indexSize = documentListView.getItems().size();
    for (Node node : documentListView.lookupAll(".scroll-bar")) {
      if (node instanceof ScrollBar) {
      final ScrollBar bar = (ScrollBar) node;
      bar.valueProperty().addListener(new ChangeListener<Number>() {
      @Override
      public void changed(ObservableValue<? extends Number> value, Number oldValue, Number newValue) {
      int selectedIndex = documentListView.getSelectionModel().getSelectedIndex();
      if(selectedIndex <= indexSize && listScrollDown(oldValue.floatValue(), newValue.floatValue())) {
         selectedIndex++;
         documentListView.scrollTo(selectedIndex);
         documentListView.getFocusModel().focus(selectedIndex);
         documentListView.getSelectionModel().select(selectedIndex);
    Thanks for your help,
    Regards

    You could set the IsHitTestVisible property of the WebControl to false but then you won be able to interact with the web page:
    <awe:WebControl ... IsHitTestVisible="False"/>
    Another better option would be to handle the PreviewMouseLeftButtonDown of the WebControl, find the ListBoxItem in the visual tree and then set its IsSelected property like this:
    <ListView x:Name="BrowserListview" ItemsSource="{Binding browserCollection}">
    <ListView.ItemTemplate>
    <DataTemplate>
    <VirtualizingStackPanel Orientation="Horizontal">
    <awe:WebControl Source="{Binding mySource}" PreviewMouseLeftButtonDown="wc_MouseLeftButtonDown"/>
    <Rectangle/>
    </VirtualizingStackPanel>
    </DataTemplate>
    </ListView.ItemTemplate>
    </ListView>
    private void wc_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) {
    ListViewItem lbi = FindParent<ListViewItem>(sender as DependencyObject);
    BrowserListview.UnselectAll();
    lbi.IsSelected = true;
    private static T FindParent<T>(DependencyObject dependencyObject) where T : DependencyObject {
    var parent = VisualTreeHelper.GetParent(dependencyObject);
    if (parent == null) return null;
    var parentT = parent as T;
    return parentT ?? FindParent<T>(parent);
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer.

  • How to change Tray selection in the middle of overflowing sections

    We have situation where we have a form and the first page, an invoice, prints on perf paper, tray 1.  The second page consist of repeating sections and needs to start on the back side of the perf paper, but when it ejects to a new page due to overlow, we want that new page to print from a different tray.
    We looked at the Rule < OverflowPaperTray >, but that only seems to work for the start of the repeating sections forcing all of it to start on a new sheet.  But our customers don't want that.
    Is there any way to tell Documaker to pull from a different tray when the repeating sections overflow on to a new sheet? 

    The first printable section on the page determines certain attributes about your layout including the tray and duplex selections. It is important to note that "printable" does not necessarily mean there is anything on the section that actually prints. Therefore, you could have two dummy/placeholder sections at the top of your form - with no size or content. Specify them as headers and copy on overflow. Have the first one specify tray 1 and the second tray 2 (your trays may vary) along with the other page attributes that are important. You will need to specify recipients and triggers (if needed) for the sections - just like any section that you expect to print.
    Once pagination occurs those two headers will copy on overflow to the newly paginated pages.
    Use a PostTransDAL rule in your AFGJOB that runs a script that essentially does the following.
    while( HaveImage( "MyTray1Section\3", "MyForm") )
         DelImage("MyTray1Section\3", "MyForm")
    wend
    Of course, you want to use your actual names for the tray controlling section and the form that contains it. Since you know that your form is duplex and that you only need 2 occurrences of the section, the  \3 designated on your section name means to find the 3rd occurrence of the section on the named form. You keep checking and deleting the 3rd occurrence until there are no more. At that point, your first sheet will have the necessary tray defined, but all succeeding sheets will now have what was your "second" tray controlling section now in charge and will print on a different tray.
    (It may be important to note that the \3 does not mean "third page" it means 3rd occurrence. Technically, you can have multiple occurrences of the same section on a single page and this is how you would reference them separately. That is why you don't change the \3 occurrence between deletes.  Although technically you are referencing the same section name, you are always looking for the 3rd occurrence to delete. Once they are gone, then only your first sheet will have the necessary section at the top.)

  • How to avoid end-select in the sel;ect statement

    Hi All
    i have the following select statement,
                SELECT KBETR FROM KONV
                            INTO (V_EXDUTY) UP TO 1 ROWS
                            WHERE KNUMV = VBRK-KNUMV
                              AND KSCHL = 'JEXP'
                              AND KPOSN = VBFA-POSNN.
                ENDSELECT.
    now i want to know the alternative stat for this one by removing the end-select. and also explain me why do we use select ..... end-select. brief explanation is appreciated.
    thanks in advance
    ABAPER

    hi,
    u can use SELECT SINGLE ...since u r using select upto 1 rows. they hv used select upto 1 rows...as they are passing partial primary keys. there is a possibility that u mite have more than one matching records.
    u can use "select..into table" and use some condition to retrieve the specific record.
    regards,
    madhu

  • How to pass dynamic selection to logical databse using ldb_process function

    dear friends,
                         can anybode tell me how to pass dynamic selection to the logical database when i m using LDB_PROCESS function module.  however, in EXPRESSIONS paramter of the function module i m  passing the selecti-option, it is passing their also but when i used more than  two select-option or paramter it throw an exception FREE_SELECTIONS_ERROR.
    SO PLEASE GUIDE ME HOW TO PASS MORE THAN TWO SELECT-OPTION IN LOGICAL DATANSE DYNAMICALLY USING LDB_PROCESS.

    would be nice if you post the answer to all

  • How can I select just the clips, or just the transitions?

    If I have a timeline with 50 or more clips (or still shots, in my case) with cross dissolves between each one, I would like to select just the clips, or just the transitions, but not both. How do I do this?
    Why? I am creating a video with hundreds of stills and a few video clips, and occasiionally need to change the duration of all stills at the same time (from 3 seconds to 4, for example). Or, if I want all of the cross dissolves to last 1:15 instead of 1:00, it would be nice to select and change them all at once. However, in both cases, I can't figure out how to select all 50 without having to Command-click 50 times.
    Any ideas you have will be appreciated.
    Bart

    To perform the same duration change on just the transitions (cross dissolves, in this example), this technique will work:
    Open timeline index.
    Enter "cross" in the search box (or whatever transition you're wanting to change).
    Select all cross dissolves in list (click one, then type Command-A).
    Click the time strip in the top of the timeline area.
    All of the transitions in the list should now be selected in the timeline.
    Control-D to change duration.
    Enter new duration.
    Hit Return.
    I hope this saves someone all of the time I spent on it today. I'm still ahead, though, thanks to Tom's help. This saved litterally hundreds of Command-clicks.
    Bart

  • How to select all the colomns_names from a table, with their datatypes ..

    hi :)
    i would like to know, how to select in SQL all the columns names from a table with their datatypes so that i get something like this :
    Table 1 : table_name
    the column ID has the Datatype NUMBER
    the column name has the Datatype Varchar2
    Table 2 : table_name
    the column check has the Datatype NUMBER
    the column air has the Datatype Varchar2
    and that has to be for all the tables that i own ! ..
    P. S : i m trying to do this with java, so it s would be enough if you just tell me how to select all the tables_names with all their colums_names and with all their datatypes ! ..
    thank you :)
    i ve heard it can be done with USER_TABLES .. but i have no idea how :( ..
    Edited by: user8865125 on 17.05.2011 12:22

    Hi,
    The data dictionary view USER_TAB_COLUMNS has one row for every column in every table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE have all the information you need.
    Another data dictionary view, USER_TABLES, may be useful, too. It has one row pre table.

  • How can I sync selected books to my ipad via the itunes interface?

    I have a lot of books and pdfs all neatly tagged in my itunes library, and I would like to be able to sync selected books to my ipad from the itunes 'books' library page. I cannot for the life of me find a way to do this!
    I realise you can choose to sync either 'all books' or 'selected books' from the 'Devices' > 'ipad' > 'books' tab option; however this is not really feasible as all you can do here is select  from the entire list of books (only options are to sort by title or author).
    It is obviously much easy to find the set of books I'm interested in using the itunes search, and sorting based on the various tags I have in the metadata. I would assume there must be a way to highlight the relevant books in this view, and 'send to ipad'? There is an option to put a check mark next to a book, but this deosen't seem to do anything at all.
    If anyone could help I would be grateful, the only other option I could think of would be to identify the relevant books in the itunes library view, write down thier titles, and then sift through the 'selected books' in my ipad 'books' tab and check them one by one!! Not fun
    Many thanks!

    Oh, how I wish that would work!
    I know the thread is over a year ago, but I came upon searching for a solution to the exact same problem.  iMaestro, you've described what's needed exactly--a way of checking all of them, and then deselecting a certain limited subset.
    Unfortunately, when you check Sync Books, All Books, the selection portion is then greyed out.  Maybe this problem was introduced with the latest iTunes version!
    I think I'll be stuck having to painstakingly check most of a set of books, rather than just uncheck the dozen or so that clutter up the list.
    Oh, related to that.  I'm assuming that there's a way of deleting the books entirely...  maybe that's another solution.

  • How to use multiple selection parameters in the data model

    Hi, after have looked all the previous threads about how to use multiple selection parameters , I still have a problem;
    I'm using Oracle BI Publisher 10.1.3.3.2 and I'm tried to define more than one multiple selection parameters inside the data template;
    Inside a simple SQL queries they work perfectly....but inside the data template I have errors.
    My data template is the following (it's very simple...I am just testing how the parameters work):
    <dataTemplate name="Test" defaultPackage="bip_departments_2_parameters">
    <parameters>
    <parameter name="p_dep_2_param" include_in_output="false" datatype="character"/>
    <parameter name="p_loc_1_param" include_in_output="false" datatype="character"/>
    </parameters>
    <dataTrigger name="beforeReport" source="bip_departments_2_parameters.beforeReportTrigger"/>
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    select deptno, dname,loc
    from dept
    &p_where_clause
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_DEPT" source="Q2">
    <element name="deptno" value="deptno"/>
    <element name="dname" value="dname"/>
    <element name="loc" value="loc"/>
    </group>
    </dataStructure>
    </dataTemplate>
    The 2 parameters are based on these LOV:
    1) select distinct dname from dept (p_dep_2_param)
    2) select distinct loc from dept (p_loc_1_param)
    and both of them have checked the "Multiple selection" and "Can select all" boxes
    The package I created, in order to use the lexical refence is:
    CREATE OR REPLACE package SCOTT.bip_departments_2_parameters
    as
    p_dep_2_param varchar2(14);
    p_loc_1_param varchar2(20);
    p_where_clause varchar2(100);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    CREATE OR REPLACE package body SCOTT.bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    if (p_dep_2_param is not null) --and (p_loc_1_param is not null)
    then
    p_where_clause := 'where (dname in (' || replace (p_dep_1_param, '''') || ') and loc in (' || replace (p_loc_1_param, '''') || '))';
    else
    p_where_clause := 'where 1=1';
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    As you see, I tried to have only one p_where_clause (with more than one parameter inside)....but it doesn't work...
    Using only the first parameter (based on deptno (which is number), the p_where_clause is: p_where_clause := 'where (deptno in (' || replace (p_dep_2_param, '''') || '))';
    it works perfectly....
    Now I don't know if the problem is the datatype, but I noticed that with a single parameter (deptno is number), the lexical refence (inside the data template) works.....with a varchar parameter it doesn't work....
    So my questions are these:
    1) how can I define the p_where_clause (inside the package) with a single varchar parameter (for example, the department location name)
    2) how can I define the p_where_clause using more than one parameter (for example, the department location name and the department name) not number.
    Thanks in advance for any suggestion
    Alex

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

Maybe you are looking for

  • Quicktime error

    Lately I have encountered a bit of problem with Quicktime. when I open the quicktime player I get a message indicating that some of the file associaitons have been changed. Do I want to restore quicktime file association? I say no (I do not want that

  • 2 quick questions.

    1. I have not updated my iTunes since I got it a year and a half ago. I want to know if I update it will all of my music be there still? I have over 600 songs and would hate to lose them. 2. A family member of mine just got the brand new nano. She pl

  • Oracle Designer 9.0.2.3.

    Hello all, I have Oracle Designer 9.0.2.3 installed with an Oracle 9i Database. My repository is created but whenever I eneter any of the Model System Requirements Tools and try to create a new container I get the following messages: Message ORA-0108

  • MII Logging in Netweaver Log

    Hello, within the SAP Netweaver Log we get lots of logging data from MII. Even Information at the debug level is captured (begin and end of sequences, begin and end of actions). Where can we specify the log level? Somewhere in MII or inside Netweaver

  • Trying to reinstall Dreamweaver CS6 on macbook after a clean install of macbook. Put serial

    Trying to reinstall Dreamweaver CS6 on macbook after a clean install of macbook. Put serial # in. Accepted. Then keeps on coming up withMac message "Setup wants to make changes. Type your password to allow this." Type in correct password and it keeps