Right alignment for number

Hi!!
I am using jdeveloper 11.1.1.5
I had dragged and dropped EmployeesVO as a af:table
In that the salary attribute is left aligned defaultly. But i need Right alignment for Salary attribute as it was number.,
How can i perform this!!

did you try to set the Align attribute for the salary af:column to right?

Similar Messages

  • Right alignment of Number Field in OAF Page

    Hi,
    I need to right align the column of the table which is of number type in OAF page. I have extended the VO of that page to add new columns. After VO extension i added the column to the page via personalization and gave the reference of view attribute name as per Extened VO. I have set the following properties for that column
    Item Sytle- Message Style Text
    Data Type- Number
    Nowrap=false
    Vertical Alignment=Middle
    View Attribute = Prior (same as Extended VO's column)
    View Instance = XXPayEmpAccrualActionInfoVO
    I need to set the value of this newly added column right align which is currently set as left align by default.
    I have tried the following links from OTN
    Re: Q: How to format number using personalization?
    Right align number field
    but while controller extension i m getting the following error-
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XXPayEmpAccrualActionInfoVO; APPLICATION_MODULE = oracle.apps.pay.selfservice.payslip.US.server.PayPayslipAM;
    The extended controller code is -
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean tableBean = (OATableBean)webBean.findIndexedChildRecursive("PayPayslip4Ss");
    tableBean.queryData(pageContext, true);
    tableBean.prepareForRendering(pageContext);
    DataObjectList aColFormat01 = tableBean.getColumnFormats() ;
    oracle.cabo.ui.data.DictionaryData ColFormat01 =(oracle.cabo.ui.data.DictionaryData)aColFormat01.getItem(pageContext.findChildIndex(tableBean, "Prior"));
    ColFormat01.put(COLUMN_DATA_FORMAT_KEY,NUMBER_FORMAT);
    Please can anyone provide me some pointer here..this is really urgent.
    Thanks in advance
    Renu
    Edited by: Renu Gupta on Jun 14, 2010 5:15 AM

    Hi Renu,
    Use the following code:
    OAMessageStyledTextBean origContSumBean = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("<FieldName>");
    if(origContSumBean!=null) {
    origContSumBean.setAttributeValue(CURRENCY_CODE,new OADataBoundValueViewObject(origContSumBean,"CurrencyCode"));
    Here CurrencyCode should be a view attribute in the VO associated to the items in the region.
    Regards
    Sumit

  • How to set Right Alignment for a JTable column

    Hi,
    I am using a JTable for displaying database records using AbstractTableModel. It works fine. But, for the numeric fields I want to make records right aligned using setHorizontalAlignment. I tested with TableColumn.setHorizontalAlignment but it ends up with an error. Is there a solution? Please help me. Thanks in advance.
    bhuvana.

    In you table cell renderer you can specify the alignment of the text.
    public class MyTableCellRenderer extends JLabel implements TableCellRenderer
    public MyTableCellRenderer
    setOpaque(true);
    setBackground(Color.white);
    public Component getTable.....(JTable table,Object value,......) //fill all these things
    setFont(table.getFont());
    if(value instanceof Float)
    setHorizontalAlignment(SwingConstants.RIGHT);
    setText(value);
    return this;
    This would set all the Floats to RIGHT alignment.
    Thanks,
    Kalyan

  • Right alignment for OO tree column

    Hi experts,
    how can i align the data of type characters in the OO tree alv display? i want to align it to the right.
    Thanks.

    Hello,
    Set Alignment of the Text in the Column
    You are able to set where the content of a column will be put:
    ·        Left aligned
    ·        Centered
    ·        Right-aligned
    You are able to change the alignment of text in the design object (header and footer area of page or list) and in the ALV output.
    Use the method CL_SALV_COLUMN SET_ALIGNMENT
    Check
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/88d440e14f8431e10000000a1550b0/frameset.htm

  • Right alignment for Quantity and price

    Hi all,
    Iam downloading customer details into text file, in this the quantity and price are left justified but my requirement is the quantity and price should be right justified in the downloaded text file
    can anyone help me to get this.
    Thankyou
    Pradeep Reddy M.

    I got it, assigned to a chacter field and used condense to remove leading zeros
    Thank you,
    Narendra.
    Message was edited by:
            Pradeep Reddy Miriyala

  • How to align the number to the right

    Hi,
    Can anybody tell me ,
    1. if the field is related to number, align the value to the right and complete it to the left with 0.
    2. if the field is related to description, align the value to the left and complete it with "spaces".
    Please reply ASAP.
    Thanks,
    Madhu

    Hello Madhu
    If a field has a numeric type its contents is, by default, right-aligned.
    If a field has a alphanumeric type its contents is, by default, left-aligned.
    In order to remove leading spaces (2) you can use the CONDENSE statement.
    In order to add leading zero (1) you can use the OVERLAY statement.
    For details please refer to: [Processing Character Strings|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3357358411d1829f0000e829fbfe/content.htm]
    Regards
      Uwe

  • TextField (for Input) which supports alignment and number format - AJAX?

    Dear forum members,
    I have a tabular form containing a lot of number fileds shown as TextFileds, where Users may input large numbers.
    Is there any way to let the numbers inside the TextFileds be shown right aligned.
    And maybe using a number format, which the user isn't bound to follow (just for display)?
    Thank you
    Johann

    Hello Johann,
    In the Column Attributes set the Element Attribute (in the Tabular Form Element) to style="text-align:right" for right alignment.
    You can use the Number / Date Format (in the Column Formatting) to 999G999D99 (or whatever you like) to get a number format.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/
    You can award this reply to your question by marking it as either Helpful or Correct ;-)

  • Need Number fields to be right aligned in ADF table.

    Hi All,
    I have af:outputtext in the column of ADF read only table and view attribute which is associated to this field is fetching numbers (type is Number). But by default in my page data (numbers) is displaying with left aligned.
    But my requirement is to display numbers to be right aligned. I tried by setting Horizontal property to 'right' (text-align = right), also tried by seeting Styledclass property to AFFieldNumberMarker / AFFieldNumber css properties. But still numbers are displaying with left aligned.
    Please tell me how to fix this issue?
    Thanks,
    Sadanand

    Hi,
    try attribute align="right" in af:column....
    Regards,
    Suganth.G

  • Use desformat=spreadsheet output excel,number fields can not right align

    overview and PDF right align,it's ok.but excel all field left align.
    why?

    Be sure you put the heading the same size as your column because otherwise it will not insert the diffent columns in seperate columns in excell

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • Issue with right aligning of Character Styles in my TOC

    Hello all!
    I'm working on my very first book project and I have been reading soooo many threads on here for the past hour, but i either just don't get it, or i didn't find what i needed still, so i already apologize in case this very question has been answered before ...
    ok, so ... i am building my TOC and have set up the corresponding TOC styles to the paragraph styles used throughout the book.
    what i want is for the page number to appear before the entry. so for the page number i have set up it's own TOC page number character style.
    NOW
    the page number appears left aligned. I have checked the character styles palette and there i can't set a tab for the page number to appear right aligned ...
    how do i get this page number to be right aligned? and THEN, how do i specify the distance between the page number and the entry? there is "tab character"mentioned on the TOC dialogue box to specify the distance between page number and entry, but then do i have to go in manually every time something changes? that can't be it? i have seen in the paragraphy styles palette there is a tab section ... tried to input the tabs so the number would appear right aligned and the distance to the entry, but nothing happened, then the number is stuck right on the entry once the TOC is generated ...
    does this make any sense?
    will attach a screenshot to try to clarify the issue ...
    hope you can help me out.
    thanks a lot in advance!
    cheers
    sta-cy

    sta-cy wrote:
    sorry to have bugged you.
    Seriously, if we didn't enjoy this stuff we wouln't be here. It's not like we even get T-shirts. :-P
    An awful lot of what I know and am able to pass on comes from having spent waaaaay to much time here reading about odd problems and trying to figure out ways to solve them. I'd never seen a requst like yours until the other day, but then up pops Joel with a similar story, and what do you know, this may not be such a strange thing to want at all. Hopefully your question, and the work we put into trying to find an answer, has not only helped you, but some other users who come along next week or next year.
    Everybody starts someplace and at some point in time. There's no shame in being a beginner, and less in asking for help when you need it, especially after you put in the effort you did on your own to try to find a solution. It's also true that some folks are more design oriented and others more process oriented, and that's just the way it is. This forum has many, many, followers who are expert in different areas of InDesign (even the engineers who write the program are not experts in all the various parts) and are here to share what they know as volunteers. You are always welcome here, especially when the question is as intersting as this one.

  • Right align all numbers in table of contents

    One of the entries in my table of contents has the page number right beside the entry. The rest of the page numbers are right aligned.
    When I "Show Invisibles", an arrow is in the single space between the entry and the page number. For the remaining entries, it is in the middle of the page.
    I've tried redoing the heading on the page in question about 100 times. I cannot figure out what is different about that heading that is screwing the ToC up.
    Thanks.

    Hey
    I'm really struggling with my pages as I have created a table of contents for iWork09 but it's defaulted for the pages numbers to sit directly after the chapter rather than face the opposing side like your picture shows. I tried changing the tabs and then the text layout from left to across the page but all it does it push the numbering to the next line (for the longer titles) and push the numbers across (for the shorter named titles). I can't even get the lines to appear so that the chapter title appears, then some dots leading to the number. Any ideas?

  • How To Right Align Images In A Cell?

    I am a very amateur (i.e. occasional) web site developer using Dreamweaver CS3 and would be very grateful for any advice on the following.
    Several years ago I put together a very simple one page web site using HTML 4.01 transitional and consisting of a single table (width=100%) with several rows. This web site is number one in Google for it's keywords, takes lots of hits every week and because of it's simplicity and the version of HTML used displays well in most web browsers.
    The top row of the main table contains a logo which is displayed left-aligned. The web site owner has given in three more images which he would like to go in to the same row but right-aligned. Could anyone point me to info on how to do implement this very simply, preferrably without CSS (although I have a feeling I will probably have to use CSS in the end).

    ...or you could just modify the <td> tag in your stylesheet: td { text-align: right; }
    Of course that would affect all the <td> tags throughout your document or your site, depending on where your stylesheet is (embedded in the head of your document or in an external css file). So, mostly contextual selectors are used to specify which <td> tags your want to modify. For example,
    #content td { text-align: right; }
    will modify only the <td> tags in the content section.
    With this method, you do not add any markup to your <td> tags in your html document, so your code remains uncluttered.
    Also, the align attribute is still frequently used with the <td> tag. For example, <td align="right">. This attribute is deprecated and will not validate with a strict xhtml doc type. It's not a great sin to use it, but keeping up with standards is a good goal. Again, it adds unnecessary markup to your document. Presentation should be handled with css.

  • Tabs Won't Work Right Aligned JPanel

    Hello
    I'm tring to setup a JPanel using a style object for formating, JPanel.setLogicalStyle(styleimade);, and I haver everything working beautifuly for a left alligned panel, but when I attempt to work with tabs on a panel that is right aligned, StyleConstants.setAlignment(styleimade, ALIGN_RIGHT), I can't seem to get tabs to work at all. Using StyleConstants.setTabSet(styleimade, atabsetimade) to set the tabs. When I make my tabset it doesn't matter what I have my tabstops set to the indention doesn't change. When I set the alignment back to left, the tabs start to work.
    When I try to do a search on documentation I naturally get a huge list of tabpanels, and can't seeem to find anything on this particular subject.
    Any suggestions or links to other forums would be a huge help.
    Thank you in advance!

    Ok, I had thought it meant I need to be able to compile and execture the code.
    Here it is...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import java.lang.Object.*;
    import java.util.*;
    //enxtends JFrame because it is a window, Implements KeyListener, ActionListener
    //so it can accept keyed input.
    public class testGUI extends JFrame {
        //stores the device that this window is using to display itself.
        GraphicsDevice device;
        //both are used to store the height and width of the screen
        int ScreenHeight;
        int ScreenWidth;
        //create a bool to hold if the screen should be fullscreen or not
        boolean fullscreen = true;
        //create colors to hold default colors
        Color Blue;
        Color Orange;
        Color Black;
        //create text panels that will be displayed on the screen
        JTextPane TopLeft;
        StyledDocument DocTopLeft;
        //pass a graphics device so it knows which screen to take, the number of the
        //current display so it knows what to name the window, the height of the
        //current screen, and width so it can use that to set objects
        public testGUI(GraphicsDevice device, String NumberOfDisplay,
                              int WindowHeight, int WindowWidth) {
            //set the name and size of the screen.
            super("Screen " + NumberOfDisplay);
         setSize(800,600);
            //set the screenheight and width data types
            ScreenHeight = WindowHeight;
            ScreenWidth = WindowWidth;
            //start up everything is Design view
            //initComponents();
            //set the screen up
            setScreen();
            //setLocationRelativeTo nothing so the screen will center
         setLocationRelativeTo(null);
            //set the device for this window to the device passed to the class
            this.device = device;
            //when a close is initiated, exit
         setDefaultCloseOperation(EXIT_ON_CLOSE);    
            //as default show the screen
            setVisible(true);
        }//end default constructor
        public void setScreen() {
            //What happens when the X is clicked
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            //set the colors for this window
            Blue = new Color(0, 0, 204);
            Orange = new Color(244, 143, 0);
            Black = new Color(0, 0, 0);
            //change backgruond color of screen
            this.setBackground(Orange);
            this.getContentPane().setBackground(Orange);
    //....................................................Settings for TopLeft Pane
            //create the setup the panel
            TopLeft = new JTextPane();
            TopLeft.setEditable(false);
            TopLeft.setFocusable(false);
            TopLeft.setBackground(Orange);
            TopLeft.setPreferredSize(new java.awt.Dimension(((int) (ScreenWidth * .6)), ((int) (ScreenHeight * .6))));
            TopLeft.setDisabledTextColor(Black);
            //set Document to TopLeft
            DocTopLeft = TopLeft.getStyledDocument();
            //Create a list to hold tabstops
            java.util.List TabListLeft = new ArrayList();
            //create a tabstop, using the screen as a reference
            TabStop tstop = new TabStop(((int) (ScreenWidth * .25)), TabStop.ALIGN_CENTER, TabStop.LEAD_NONE);
            TabListLeft.add(tstop);
            //create another tab stop
            tstop = new TabStop(((int) (ScreenWidth * .33)), TabStop.ALIGN_CENTER, TabStop.LEAD_NONE);
            TabListLeft.add(tstop);
            //creating tab stop
            tstop = new TabStop(((int) (ScreenWidth * .41)), TabStop.ALIGN_CENTER, TabStop.LEAD_NONE);
            TabListLeft.add(tstop);
            //create a tab
            tstop = new TabStop(((int) (ScreenWidth * .49)), TabStop.ALIGN_CENTER, TabStop.LEAD_NONE);
            TabListLeft.add(tstop);       
            // Create a tab set from the tab stops that were made above
            TabStop[] TabStopsLeft = (TabStop[])TabListLeft.toArray(new TabStop[0]);
            TabSet TabsLeft = new TabSet(TabStopsLeft);
            // Add the tab set to the logical style;
            // the logical style is inherited by all paragraphs
            Style StyleTopLeft = TopLeft.getLogicalStyle();
            StyleConstants.setAlignment(StyleTopLeft, StyleConstants.ALIGN_RIGHT);
            StyleConstants.setTabSet(StyleTopLeft, TabsLeft);
            TopLeft.setLogicalStyle(StyleTopLeft);
            //add styles to document, in this case, it is just fonts formating
            addStylesToDocument(DocTopLeft);
            //insert text into the JPanels
            try{
                    //start with text pane at top left
                    DocTopLeft.insertString(TopLeft.getCaretPosition(), "Test", DocTopLeft.getStyle("titles"));
                    DocTopLeft.insertString(TopLeft.getCaretPosition(), ("\n\t" + "test\ttest\ttest"), DocTopLeft.getStyle("maintext"));
                    DocTopLeft.insertString(TopLeft.getCaretPosition(), "\n Test", DocTopLeft.getStyle("subtitles"));
                    DocTopLeft.insertString(TopLeft.getCaretPosition(), ("\t" + "test\ttest"), DocTopLeft.getStyle("maintext"));
                    }//end of try block for string insertion
            //I know I'm cheap there is no exception catch here
            //but the user doesn't edit anything so how can it be at the wrong location?!
            catch(Exception e) { }       
            //Make a layout that is based on things added to it
            GroupLayout layout = new GroupLayout(getContentPane());
            //set the layout for MenuDisplayGUI to the layout created above
            getContentPane().setLayout(layout);
            //Left and right                                    left and right
            layout.setHorizontalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createParallelGroup()
                    //create a sequential group that will hold all text boxes
                    .addGroup(layout.createSequentialGroup()
                        //create a paralle group to hold everyting on the left
                        .addGroup(layout.createParallelGroup()
                            .addComponent(TopLeft)
                            )//end of parallel group holding everything on left of screen
                        //.addContainerGap(1, Short.MAX_VALUE)
                    )//end of parallel group holding everything horizontally
            ));//close of layout.setHorizontalGroup
            //UP AND DOWN!!!                                      UP AND DOWN
            layout.setVerticalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                    //create a sequential group to contain the items vertically
                    .addGroup(layout.createSequentialGroup() 
                        //create a paralle group to hold the items at the top of the screen
                        .addGroup(layout.createParallelGroup()
                            //add the item at the top left
                            .addComponent(TopLeft)
                            )//end of parallel group holding the two top items
                            //.addContainerGap(1, Short.MAX_VALUE)
                        )//end of sequential group holding everything vertically
            );//close of setVerticalGroup
            pack();
        }//end member function setScreen
        protected void addStylesToDocument(StyledDocument doc) {
            //create the defualt style that all other styles will build off of
            Style def = StyleContext.getDefaultStyleContext().
                            getStyle(StyleContext.DEFAULT_STYLE);
            //create the baseline for your style type
            Style regular = doc.addStyle("regular", def);
            StyleConstants.setFontFamily(def, "Sans");
            StyleConstants.setBold(def, true);
            //create a style used for titles, set the font
            Style titles = doc.addStyle("titles", regular);
            StyleConstants.setFontSize(titles, ((int) (ScreenWidth * .05)));
            StyleConstants.setForeground(titles, Blue);
            //create a style for subtitles
            Style subtitles = doc.addStyle("subtitles", regular);
            StyleConstants.setFontSize(subtitles, ((int) (ScreenWidth * .025)));
            //create a style for all of the rest of the text
            Style maintext = doc.addStyle("maintext", regular);
            StyleConstants.setFontSize(maintext, ((int) (ScreenHeight * .025)));
        }//end of member class addStyleToDocument   
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
        private void initComponents() {
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 400, Short.MAX_VALUE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 300, Short.MAX_VALUE)
            pack();
        }// </editor-fold>                       
        * @param args the command line arguments
    public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    try {
                            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                    }//end try block
                    catch (Exception ex) {
                            System.out.println(ex);
                    }//end catch block
                    //get the graphics enviroment for this local computer
                    GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
                    //create an array of graphics devices for all the "screen devices"
                    //in the env Graphics enviroment
              GraphicsDevice[] devices = env.getScreenDevices();
                    //create an integer for looping
                    int loop = 0;
                    //create a vector to hold multipe MenuDisplayGuis for systems
                    //that use multiple screen
                    Vector DisplayWindows;
                    DisplayWindows = new Vector();
                    //create a display mode which will later pass the height
                    //and width of the window to the MenuDisplayGUI object
                    DisplayMode DM;
                    //loop through all of the display devices on the local computer
                    //create a window for each screen
                    while( loop < devices.length ) {
                        //change the displaymode to the current display mode
                        DM = devices[loop].getDisplayMode();
                        //put a MenuDisplayGUI Window into the DisplyWindows vector
                        //for each display device that is on the computer. Pass the
                        //current iteration in this loop to the MenuDisplayGUI
                        //that is being created so it can name itself according to
                        //number, send the screen height and width to handle
                        //position of objects.
                        DisplayWindows.addElement(new testGUI(devices[loop],
                                                  String.valueOf(loop + 1),
                                                  DM.getHeight(), DM.getWidth()));
                        //iterate the loop
                        loop++;
                    }//end while loop
                }//end run block
        }//end static main
    }

  • How to Right Align the output of amount with currency?

    Hi,
    I have the following SQL query, which basically is the duplication of the SAP standard Item List.  The only difference is, the stock on hand is only for Warehouse 01.
    In the output, I manage to display eg: AUD 1321.00.  However, it is aligned to the center.  Is there a way that I can make it right align like the standard report?  Appreciate your help.
    SELECT T0.[ItemCode], T0.[ItemName], (select T100.OnHand from OITW T100 where T100.ItemCode=T0.ItemCode and T100.WhsCode='01') as 'InStock',T0.[CodeBars], T1.[ItmsGrpNam], T2.[FirmName], T0.[InvntryUom],
    ('AUD'+ replicate(' ',16-len(T0.[LstEvlPric])) + Convert (char(18),(cast ((round(T0.[LstEvlPric], 2)) as decimal(16,2))))  ) as 'Last Eval Price', (T0.[LastPurCur]+ replicate(' ',16-len(T0.[LastPurPrc])) + Convert (char(18),(cast ((round(T0.[LastPurPrc], 2)) as decimal(16,2))))  ) as 'Last Pur. Price',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=1 and T200.ItemCode=T0.ItemCode) as 'L 1',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=2 and T200.ItemCode=T0.ItemCode) as 'L 2',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=3 and T200.ItemCode=T0.ItemCode) as 'L 3',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=4 and T200.ItemCode=T0.ItemCode) as 'L 4',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=5 and T200.ItemCode=T0.ItemCode) as 'L 5',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=6 and T200.ItemCode=T0.ItemCode) as 'Price List 6',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=7 and T200.ItemCode=T0.ItemCode) as 'Price List 7',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=8 and T200.ItemCode=T0.ItemCode) as 'Price List 8',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=9 and T200.ItemCode=T0.ItemCode) as 'Price List 9',
    (SELECT T200.[Currency] + replicate(' ',16-len(T200.Price)) + Convert (char(18),(cast ((round(T200.[Price], 2)) as decimal(16,2)))) FROM ITM1 T200  INNER JOIN OPLN T201 ON T200.PriceList = T201.ListNum where T200.PriceList=10 and T200.ItemCode=T0.ItemCode) as 'Price List 10'
    FROM OITM T0  INNER JOIN OITB T1 ON T0.ItmsGrpCod = T1.ItmsGrpCod INNER JOIN OMRC T2 ON T0.FirmCode = T2.FirmCode

    Thanks. 
    But, does that mean the the right alignment in SAP Item list was done through UI? 
    Another question is:
    Normally, in an SAP query, when click Ctrl + left click the mouse at the bottom, I can see the total.
    However, with the query that I have created, it seems to cut off the first number.  Eg: The total should be AUD 231,123.00, but it is showing me AUD 31,123.
    Can you see how I can fix that?

Maybe you are looking for