How to Change the position of Column in ALV report

Hi Follks,
    Is is possible to change the position of column in ALV report?.If yes then how?
    Basically my requirement is, that user want afacility where , he should be able to change the position
    of column aftre he runs the report.
    Eg: After running the report , user felt that column 5 should be at position 2 , in that case he should   
           be able to drag column 5 at position 2 and vice versa.
    Please help me, how to solve this issue.
    Note : I am using NW 7.0 SP 9
    Regards
    PG
Edited by: PG on Apr 13, 2009 11:10 AM

HI PG,
do below whie filling the filed catlog
wa_fieldcat-fieldname        = 'Field1".
wa_fieldcat-COL_POS = '1',
append wa_fieldcat to it_fieldcat.
wa_fieldcat-fieldname         = 'Field2".
wa_fieldcat-COL_POS = '2',
wa_fieldcat-fieldname         = 'Field3".
wa_fieldcat-COL_POS = '3',
Thanks!

Similar Messages

  • How to change the "name of column" property of an text item in runtime?

    How to change the "name of column" property of an text item in runtime?
    I look the properties of items in help and found nothing about this!
    It's possible?

    Hi,
    an other solution is change the block property QUERY_DATA_SOURCE_TYPE from "Table" to "Sub-query" , than change at run time the property QUERY_DATA_SOURCE_NAME.
    First create block and add items
    The QUERY_DATA_SOURCE_NAME will be for ex. "Select 'A' as col1, 'B' AS col2, 'C' as col3 from dual"
    Set into items the column name property to col1 , col2 ...
    At run time change the query to "Select 'Z' as col1, 'X' as col2 , 'Y' as col3 from dual"
    in this way you can change the source of column value.
    Caution because if you change value type from varchar2 to date you must cast date into varchar2.
    May be that this way is valid only for view data not for insert-update, i don't remember.
    bye
    Message was edited by:
    Killernero

  • How to change the position of a window created in the script?

    Hello to all
    A window called from another window are the same size. How can change the position of the window relative to the caller call window?

    That is worked, but for abs.coord. How make releative coord.?
    When I include that in my script, window show without elements ! See attachments №2

  • How to change the name of column in ActionScript?

    I possibly know how to change the name of the column in DataGrid using mxml but dont know how  to change the name of column in  DataGrid using  ActionScript.
    var newDataGrid:DataGrid=new DataGrid();
         newDataGrid.dataProvider=arrayCollection():
    It takes the default names from arraycollection but I wanted to give any column names which I want through ActionScript.
    Please HELP!

    Give your datacolumn and id.  Then set the property for that column through the datacolumn id.
    DataGridColumn id="nameDC"
    Script:
    nameDC.headerText = "Name";

  • Change the order of columns in a report

    hi all.
    i can't change the order of columns in a report not just by altering the select statement. where can i change it?
    thanks.

    hi master
    sir i use 6i report i see full report but i culd not found
    report region and report attributes
    sir please give me step or idea or tree where report region and report attrinutes"
    thanking you
    aamir

  • How to change the standard layout sets in ALV List

    Hi Gurus,
    How to change the standard layout sets in ALV list.
    Is there any standard program ? or specific way to acheive this?
    Kindly drop some clues?Every valuable clues rewarded more points........
    Thanks in Advance,
    Dharani

    Hello Dharani
    All required function modules can be found in function group SLVC (assuming that you are using OO-based ALV or, at least, fm REUSE_ALV_GRID_DISPLAY_LVC):
    LVC_VARIANT_DEFAULT_GET (Read default display variant (description only, w/o field catalog))
    LVC_VARIANT_EXISTENCE_CHECK
    LVC_VARIANT_F4 (Display variant selection dialog box)
    LVC_VARIANT_SELECT (Read a display variant)
    For a sample report using LVC_VARIANT_DEFAULT_GET have a look at BCALV_GRID_10.
    Regards,
      Uwe

  • How to display subtotals in separate column in alv report?

    hi,
    I am displayed the subtotals  for QUantity field BDMNG in Reuse_alv_grid_display  in the same column.
    but I want to display subtotal in separate column.
    How to display subtotals in separate column in alv report?
    thanks&regards.
    samba.k

    Hi
    As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
    Best Regards
    Yossi

  • How to  Change the position of Roles

    Dear Experts,
    I have a requirement in which I have to change the position of the roles.
    How to achieve it, Please Suggest.
    Warm Regards,
    Upendra Agrawal

    HI Upendra,
    Follow the below process to re-arrange the roles as per your requirement:
    1. From the Portal Catalog, right-click a role or workset and choose Open ® Object. The role or workset is loaded into the appropriate editor.
           2.      In the displayed editor, select either:
       The root node of the role or workset hierarchy
      A workset or folder within the role or workset hierarchy
      A folder within a workset of the role or workset hierarchy
           3.      In the Role/Workset Editor, click Properties to display in the Property Editor the properties of the object that you selected.
           4.      From the Property Category dropdown list, choose Navigation.
           5.      In the property list, scroll to the Sort Priority property and enter a numeric value.
           6.      Click Save.
    In the same way, assign values to all of the navigation nodes that you want at specific locations in the portal navigation hierarchy.
    Hope it helps.
    Regards,
    Gourav.

  • How to change the position of a menu?

    Hello,
    I'm a new dreamweaver developer so I would like to ask you
    few questions.
    If I have a sprite menu that is positioned by default in the
    left border of the page, how can I change it's position inside the
    page?With css?How?
    I'd have to put inside my page also a logo image but, just as
    menu, I am unable to put it in the right part of the page; so I was
    wondering how to change its position too.
    Thank you,
    Kind Regards, Luke14free

    You would change its position by changing the position of its
    container. We
    would need to see your page and its code to know how to do
    that.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "luke14free" <[email protected]> wrote in
    message
    news:f2pntm$lf1$[email protected]..
    > Hello,
    > I'm a new dreamweaver developer so I would like to ask
    you few questions.
    > If I have a spry menu that is positioned by default in
    the left border of
    > the
    > page, how can I change it's position inside the
    page?With css?How?
    > I'd have to put inside my page also a logo image but,
    just as menu, I am
    > unable to put it in the right part of the page; so I was
    wondering how to
    > change its position too.
    > Thank you,
    > Kind Regards, Luke14free
    >

  • OVS - how to change the position of the fields in the OVS search criteria

    Hi,
    I have an OVS search screen where 4 search criterias are  there.Based on the search criteria , the values will be papulated in the OVS screen.
    Now I have to change the position of the fields in the search criteria.Means if the Maximum field (one of the search criteria) is in the first position,I need to put it in the last position.I have ro change the position of the search criteria field and not the result fields.
    Please suggest me how to do that.
    Regards
    -Sandip

    Hi Sandeep,
                      please go through this article for customizing Value Help:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]
    Thanks and Regards

  • How to change the position of a rectangle dynamically

    Hi,
    I am designing a form, where the position of a rectangle has to be changed dynamically. I'm trying with Set_Item_Property(Position property). But I'm unable to change the position. I need some information regarding this graphics object. Normally, we attach block name with the items. Then for these graphics object, what will be attached. I'm using Forms 6i version.
    Regards,
    Alok Dubey

    you can use a stacked canvas with the rectangle in it. Then you can change the position of the canvas at runtime. Problem is, that the canvas overlaps objects...

  • How to change the position of label of an item to be in the rigth side?

    Hi ,
    I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left side of the text field of the item?
    Thanks in advance
    Yoel

    Hello Yoel,
    >> I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left
    Are you talking about a single item among others, which will be left at the left side, or are you talking about the entire page (Right-To-Left page orientation)?
    I’m afraid Leo suggestion will not help you either way. The “Horizontal / Vertical Alignment” field, in the label section of the item, pertains to the alignment within the ‘TD’ cell of the item’s label, which by default is located to the left of the item. Within this cell, you can choose several alignment options, including right and left.
    Regards,
    Arie.

  • How to change the order of columns displayed in Stacked Canvas

    Dear Member,
    I have a Stacked Cavas which has many Items. How do i change the order of the Items displayed when the form is opened?
    I checked the X-Position in the property palette of each item, all the items have an X-position=0. I am really confused how do i change the order of the columns which are displayed in the stacked canvas when opening the form.
    Any help is greatly appreciated.
    Thanks
    Sandeep

    If i Try to use SET_ITEM_PROPERTY('BLOCK.ITEM', X_POS, myXpos);
    then it will increment each item X Position. The Total Stacked Canvas width i have is 9 and there are total of 36 items in the stacked canvas each of equal width 1.1,
    so the total becomes 38.5 which is greater than 9.
    I saw all triggers in the code, i dont see any code which exclusively determines item positions at run time. As i said before all the items have X position as zero but still they come up nicely.
    i HAVE A button in the form and following is the code which is written in when-button pressed trigger :
    show_view('DETAIL_CNT');
    GO_BLOCK('XX_PA_BUDGET_DTL_BLK');
    where DETAIL_CNT is the content canvas and 'XX_PA_BUDGET_DTL_BLK' is the data block in which items from both stacked and content exsist.
    I dont understand why this is happening.
    Thanks
    Sandeep

  • How to change the order of columns in a speadsheet?

    It seems this would be completely straight-forward. However I can find nothing in help to tell me how to do this. I am using a spreadsheet for data so want to be able to rearrange in the order of the columns. How does one do this?
    Thanks.
    John

    I don't want to move or sort the data. What I want
    to do is change the order of the columns. I have
    columns A through P. I want to move columns M, N,
    O, and P to come after A and B so I can see the
    information in these 6 columns in one glance.
    How does one do that?
    One doesn't, but there are altenatives.
    1.
    Select columns C..L by clicking and dragging across the column headers.
    Go Format (menu) > Column width.
    Set the width to 0 (zero) and click OK.
    This hides columns C..L, showing A, B, M, N, O, P...
    You can still enter data into cells in columns C..L by clicking on a cell in column B, then pressing tab to move through the hidden columns.
    To restore the display, select columns B..M then reset the column width to a visible value (the current width of column B will be the default).
    2.
    Copy the values in columns A, B, M, N, O, and P into a set of contiguous columns. Set a New View to show these columns in a separate window.
    Example:
    Go Window > New View
    Drag the new window that opens up and left to cover the initial window.
    In AA1, enter =A1
    Select AA1..AB1 then Fill right (command-R)
    In AC1, enter =M1
    Select AC1..AF1 then Fill right
    Select AA1..AFn where n is the last row in which you have data then Fill down (command-D)
    This copies the contents of the cells you want to view together into a set of cells that are together. You can view them by going to the Window menu and switching between the two views of the same spreadsheet. Or you can skip the step of creating a second View, and scroll from one location in the sheet to the other.
    The usual caveat applies: Anytime you're making extensive changes to a document, work with a COPY and keep the original as a backup you can revert to should a misstep along the way result in data loss.
    Regards,
    Barry

  • Using HTML,how to change the color of column data in an interactive report?

    Hi,
    I want to change the color of data of a column in an interactive report.
    I want to do it by HTML.
    I have tried the code
    <style type="text/css">
    #apexir_EMP_MANID{color:blue;}
    </style>
    But it changes the color of the heading of column only. Not the data.
    Plz can anyone suggest me something ?
    Thanks in advance

    Hi Vaibss!
    Is it that what you're looking for?
    Color Coding (Post number 5)
    regards

Maybe you are looking for

  • RFC Call from one server to another

    Hi, Is it possible to use an rfc from one server to another on the same network? My Idea was that we can do so, however there's a little confusion about the same . Please clarify. Regards, Vikas

  • Audit Reports not being generated

    OIM is not processing any audit reports. ERROR [XELLERATE.AUDITOR] Error while processing audit message java.lang.NullPointerException It didn't process any records till now. The AUD_JMS table has thousands of records. My version: 9.1.0.1865.28 Any s

  • Seeburger Predefined Standard Graphical Mappings XI/PI mappings.

    Hi All, As I am aware that Seeburger provides E2X and X2E Mapping through BIC Mapping Designer. Does it also provides Predefined Standard Graphical Mappings for XI/PI for different versions like ---  850 (Purchase Order to Idoc) ---  810 (INVOIC to 8

  • Acrobat pauses when opening any pdf

    Figured I would open this again since the previous post was marked as answered....and the problem persists. Acrobat pauses for 30 seconds after I open any pdf. It will bring up the document, but I cannot do anything with it, like zoom, scroll, or eve

  • How to disable Warning 1104

    Just switched my project to use the new compiler, and I get tons of these warnings: 1104: No constructor function was specified for class MyClass As I understand, this is not a real problem, but somehow by default the warning is turned on. Is there a