No 000 Version (RVERS) in table FAGLFLEXT

Hi Friends,
I am using ECC6.0 and BI 7.0 with BI content 7.03 Level 009.
We met one issue while loading FI GL data to BI (0FIGL_V10). After tracking, I noticed the data was not updated at OLTP side. I am not sure which configuration is missing in OLTP side.
In table FAGLFLEXT, there is one field Version (RVERS). If the value is 000, it means actural value. However, I checked the source system, i can only find records with version = 001 (plan value). But there is no value with version 000, which means there is no actual value.
I tried to use T-code FS10N, and it does showe some values for some GL accounts. Is FS10N showing planning records?
My questions is:
Did the financial records updated table FAGLFLEXT correctly?
Yes? => Why the version is 001 as plan, but not 000 actual. How can I change this?
No? => Do I need to configure anything to enable the updating to table FAGLFLEXT? How?
Thanks a lot.
Henry

Hi Ashish  ,
Regarding updating  faglflext   is not a good idea  ,as  we  don't know   whether it update   other  tables   are directly or indirectly related  to table  FAGLFLEXT  .
so it will be better  to ask your ( FI - Functional or CO-functional ) regarding the relation  .
regards
Deepak Dhamat.

Similar Messages

  • Report Writer (Table FAGLFLEXT)

    I have created a group of reports in Report Writer where the table of data that use is the FAGLFLEXT.
    But, I have a problem for the Companies that use local currency CLP are in the table FAGLFLEXT, Report Writer in thousands of CLP and in Transactions FBL3N/FS10N the amount appears correct,  them attached an example.
    Table FAGLFLEXT     CLP   12.000,00
    Report Writer             CLP   12.000,00
    FBL3N/FS10N     CLP     1.200.000 ( Amount Correct)
    As additional information I can comment to them that the same does not happen to the other currencies (USD, MXN, BRL, PEN), them attached example
    Table FAGLFLEXT     USD  10.000,00
    Report Writer             USD  10.000,00
    FBL3N/FS10N     USD  10.000,00 ( Amount  Correct)
    It applies a solution but this it affects all the currencies to me, it modifies a Seth of ratio of the currencies and (HSL * 100) multiplies percent but to this it affects me change in all the currencies.
    Friendly, since I can do so that the Report Writer shows the whole amounts to me of CLP and that they do not affect the other currencies.
    Thank you very much to all u2026.!!!!!

    Hi,
    I have the same problem. Please advice on the solution.
    Best regards,
    Patricia

  • Performance issues with version enable partitioned tables?

    Hi all,
    Are there any known performance issues with version enable partitioned tables?
    I’ve been doing some performance testes with a large version enable partitioned table and it seems that OCB optimiser is choosing very expensive plans during merge operations.
    Tanks in advance,
    Vitor
    Example:
         Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    UPDATE STATEMENT Optimizer Mode=CHOOSE          1          249                    
    UPDATE     SIG.SIG_QUA_IMG_LT                                   
    NESTED LOOPS SEMI          1     266     249                    
    PARTITION RANGE ALL                                   1     9
    TABLE ACCESS FULL     SIG.SIG_QUA_IMG_LT     1     259     2               1     9
    VIEW     SYS.VW_NSO_1     1     7     247                    
    NESTED LOOPS          1     739     247                    
    NESTED LOOPS          1     677     247                    
    NESTED LOOPS          1     412     246                    
    NESTED LOOPS          1     114     244                    
    INDEX RANGE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62     2                    
    INDEX RANGE SCAN     SIG.QIM_PK     1     52     243                    
    TABLE ACCESS BY GLOBAL INDEX ROWID     SIG.SIG_QUA_IMG_LT     1     298     2               ROWID     ROW L
    INDEX RANGE SCAN     SIG.SIG_QUA_IMG_PKI$     1          1                    
    INDEX RANGE SCAN     WMSYS.WM$NEXTVER_TABLE_NV_INDX     1     265     1                    
    INDEX UNIQUE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62                         
    /* Formatted on 2004/04/19 18:57 (Formatter Plus v4.8.0) */                                        
    UPDATE /*+ USE_NL(Z1) ROWID(Z1) */sig.sig_qua_img_lt z1                                        
    SET z1.nextver =                                        
    SYS.ltutil.subsversion                                        
    (z1.nextver,                                        
    SYS.ltutil.getcontainedverinrange (z1.nextver,                                        
    'SIG.SIG_QUA_IMG',                                        
    'NpCyPCX3dkOAHSuBMjGioQ==',                                        
    4574,                                        
    4575                                        
    4574                                        
    WHERE z1.ROWID IN (
    (SELECT /*+ ORDERED USE_NL(T1) USE_NL(T2) USE_NL(J2) USE_NL(J3)
    INDEX(T1 QIM_PK) INDEX(T2 SIG_QUA_IMG_PKI$)
    INDEX(J2 WM$NEXTVER_TABLE_NV_INDX) INDEX(J3 MODIFIED_TABLES_PK) */
    t2.ROWID
    FROM (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j1,
    sig.sig_qua_img_lt t1,
    sig.sig_qua_img_lt t2,
    wmsys.wm$nextver_table j2,
    (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j3
    WHERE t1.VERSION = j1.VERSION
    AND t1.ima_id = t2.ima_id
    AND t1.qim_inf_esq_x_tile = t2.qim_inf_esq_x_tile
    AND t1.qim_inf_esq_y_tile = t2.qim_inf_esq_y_tile
    AND t2.nextver != '-1'
    AND t2.nextver = j2.next_vers
    AND j2.VERSION = j3.VERSION))

    Hello Vitor,
    There are currently no known issues with version enabled tables that are partitioned. The merge operation may need to access all of the partitions of a table depending on the data that needs to be moved/copied from the child to the parent. This is the reason for the 'Partition Range All' step in the plan that you provided. The majority of the remaining steps are due to the hints that have been added, since this plan has provided the best performance for us in the past for this particular statement. If this is not the case for you, and you feel that another plan would yield better performance, then please let me know and I will take a look at it.
    One suggestion would be to make sure that the table was been recently analyzed so that the optimizer has the most current data about the table.
    Performance issues are very hard to fix without a reproducible test case, so it may be advisable to file a TAR if you continue to have significant performance issues with the mergeWorkspace operation.
    Thank You,
    Ben

  • Add PS_PSP_NR to table FAGLFLEXT

    Dear Experts,
    Anybody know how to add field  PS_PSP_NR (WBS Element) in the total table FAGLFLEXT. Since we tried to add this field, but SAP show error "Please adhere to the naming conventions (YY, ZZ)".
    We also have tried to add this field as ZZPS_PSP_NR.. but this field is not known by standard transaction for WBS allocation (FAGLGA11 - General Ledger: Create Act. Assessmt ).please advise, thanks

    Anyone has been successful  to add this field ?

  • Table FAGLFLEXT

    Hi All,
    My Client is using ECC 6.0. All the entires are updated in Table FAGLFLEXT so Table GLT0 is not active for update.
    When, we try Carry forward from 2008 to 2009 using F.16, it says Balance carry Forward not possible as GLT0 update is not active.
    Why this is error is coming and what is way out.
    Regards
    VK

    Hi Vijay,
    The entries are apdated in table FAGLFLEXT because you have New G/L module activated. So, the GLT0 will not be aupdated. To carry forward balance from a year to another, you must use transaction FAGLGVTR               G/L: Balance Carried Forward (Only for New G/L process) .
    Hope It works .
    Att.
    Cássio Moreira

  • Regarding GL account balance from table FAGLFLEXT

    Hi
    I need to get GL account balance from table FAGLFLEXT daily based on the periods(months) KSL01,KSL02.....
    In that case what is the significance of fields KSL13-KSL16 data.And when will the entry be made in fields KSL13-KSL16. Any body have any idea in this regard,then pls clarify my doubt.
    Points will be rewarded for useful answers

    hi Shibin,
    the fields KSL13-16 show the postings in special periods in group currenvy. The special periods always represent the same time frame like the last real period (December if fiscal year is January - December). You have to ask, if they want to see special period as well, if yes, you have to calculate like:
    last period = KSL12 + KSL13 + KSL14 + KSL15 + KSL16
    hope this helps and come back if you have more questions
    ec

  • Table FAGLFLEXT - Functional Area blank for plan assessment cycle (result)

    Hi all,
    I have query regarding table FAGLFLEXT. We have plan data and need to report our plan data based on functional area and profit centres. Plan assessment was run and this is allocation from a cost centre to WBS.
    In table FAGLFLEXT for this line items there's 2 lines created and in one of the line item the functional area is blank.
    Is this a bug or is this standard SAP? Does anybody has experience on this table?
    thanks

    Refer to note 1024480 and see if the situation applies to your system.

  • Register Cost Center Table FAGLFLEXT

    Hi!
    How do I register Center Cost in Table:: FAGLFLEXT?
    Regards,
    Cristiane.

    Yes, the cost centers are already active in CO.
    How do I check if they are active in FI?
    The problem is that in the release of Ledger Tax expenditures are only coming to the ledger account, but is missing the Cost Center.
    How do I bring the Cost Center once it is reported in the original release.
    Regards,
    Cristiane,

  • In the previous version, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    in the previous version  of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    Hi silvano,
    If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
    Start in Cell B2
    1 Tab 2 Tab 3 Enter
    4 Tab 5 Tab 6 Enter
    7 Tab 8 Tab 9 Enter
    Now you are ready to type into B5 .
    Another way that some people find easier is to enter one column at a time
    Start at B2
    1 enter
    4 enter
    7 enter
    etc.
    Now start with C2.
    Use whatever suits your work flow.
    Regards,
    Ian.

  • ABAP 7.01 Trial Version- No Business Tables( lfa1, ekko,ekpo,kna1 etc)

    Hi,
    I have installed the ABAP 7.01 trial version from sdn. I have the following queries:
    1) There are no business tables like lfa1, ekko,ekpo etc within the ABAP dictionary. Can somebody please guide me how to get the tables. Please note that I didnt the max DB in the complete package. Do I need to install that for the tables.
    2) There were 2 rar packages that were downloaded. Do we need to extract both of them and run the extract for both of them as both of the folders appeared to be the same to me.
    3) Do we need an internet connection in order to start the SAP Management Console . I found that it doesnt turn green without plugging in the internet wire.
    Please answer the above three queries so that I can be completed with my installation.
    Thanx in advance.
    Jayant

    Hi Jayant,
    Check out these links:
    1. [data for minisap|data for minisap]
    2. [http://www.heidoc.net/joomla/development-mainmenu-31/22-sapxslt/19-minisap|http://www.heidoc.net/joomla/development-mainmenu-31/22-sapxslt/19-minisap]
    3. [http://help.sap.com/saphelp_nwce71/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm|http://help.sap.com/saphelp_nwce71/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm]
    Regards,
    Norman

  • My final version of a table with row headers and column footers

    This version is superior to the one I posted yesterday
    as it is better designed and responds to changes in
    size correctly. You can also have a header/footer with
    multiple columns/rows.
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.JTableHeader;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.table.TableColumnModel;
    import java.awt.*;
    import java.awt.event.AdjustmentListener;
    import java.awt.event.AdjustmentEvent;
    import java.awt.event.ComponentListener;
    import java.awt.event.ComponentEvent;
    public class HeaderFooterTablePanel extends JPanel {
        static abstract class AbstractHeaderFooterTableModel extends AbstractTableModel {
            public abstract int getRowHeaderColumnCount();
            public abstract Object getRowHeaderValueAt(int rowIndex,
                                                       int columnIndex);
            public abstract int getFooterRowCount();
            public abstract Object getFooterValueAt(int rowIndex,
                                                    int columnIndex);
        static class RowHeaderTableModel extends AbstractTableModel {
            private AbstractHeaderFooterTableModel abstractHeaderFooterTableModel;
            public RowHeaderTableModel(AbstractHeaderFooterTableModel abstractHeaderFooterTableModel) {
                super();
                this.abstractHeaderFooterTableModel = abstractHeaderFooterTableModel;
            public String getColumnName(int column) {
                return "";
            public int getColumnCount() {
                return abstractHeaderFooterTableModel.getRowHeaderColumnCount();
            public int getRowCount() {
                return abstractHeaderFooterTableModel.getRowCount();
            public Object getValueAt(int rowIndex, int columnIndex) {
                return abstractHeaderFooterTableModel.getRowHeaderValueAt(rowIndex, columnIndex);
        static class ColumnFooterTableModel extends AbstractTableModel {
            private AbstractHeaderFooterTableModel abstractHeaderFooterTableModel;
            public ColumnFooterTableModel(AbstractHeaderFooterTableModel abstractHeaderFooterTableModel) {
                super();
                this.abstractHeaderFooterTableModel = abstractHeaderFooterTableModel;
            public String getColumnName(int column) {
                return "";
            public int getColumnCount() {
                return abstractHeaderFooterTableModel.getColumnCount();
            public int getRowCount() {
                return abstractHeaderFooterTableModel.getFooterRowCount();
            public Object getValueAt(int rowIndex, int columnIndex) {
                return abstractHeaderFooterTableModel.getFooterValueAt(rowIndex, columnIndex);
        static class SyncColumnWidths implements TableColumnModelListener {
            private final JTable centerTable;
            private final JTable footerTable;
            public SyncColumnWidths(JTable centerTable,
                                    JTable footerTable) {
                this.centerTable = centerTable;
                this.footerTable = footerTable;
            // Change the column widths of the footer table when the column widths
            // of the center table change.
            public void columnMarginChanged(ChangeEvent e) {
                TableColumnModel centerTableColumnModel = centerTable.getColumnModel();
                TableColumnModel footerTableColumnModel = footerTable.getColumnModel();
                for (int i = 0; i < centerTableColumnModel.getColumnCount(); i++) {
                    int width = centerTableColumnModel.getColumn(i).getPreferredWidth();
                    footerTableColumnModel.getColumn(i).setPreferredWidth(width);
            public void columnSelectionChanged(ListSelectionEvent e) {
            public void columnAdded(TableColumnModelEvent e) {
            public void columnMoved(TableColumnModelEvent e) {
            public void columnRemoved(TableColumnModelEvent e) {
        private JTable centerTable;
        private JTable rowHeaderTable;
        private JTable columnFooterTable;
        public HeaderFooterTablePanel(AbstractHeaderFooterTableModel abstractHeaderFooterTableModel) {
            super();
            // Create the center, rowHeader and columnFooter tables
            centerTable = new JTable(abstractHeaderFooterTableModel);
            rowHeaderTable = new JTable(new RowHeaderTableModel(abstractHeaderFooterTableModel));
            columnFooterTable = new JTable(new ColumnFooterTableModel(abstractHeaderFooterTableModel));
            // Disabled column re-ordering
            centerTable.getTableHeader().setReorderingAllowed(false);
            columnFooterTable.getTableHeader().setReorderingAllowed(false);
            // We are using scroll panes, so no auto resizing of table.
            centerTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
            columnFooterTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
            // Only allow the user to change the column widths from the center table, not the
            // columnFooter.
            columnFooterTable.getTableHeader().setResizingAllowed(false);
            // When the center table column widths change, change those in the columnFooter table.
            SyncColumnWidths syncColumnWidths = new SyncColumnWidths(centerTable, columnFooterTable);
            centerTable.getColumnModel().addColumnModelListener(syncColumnWidths);
            // Set the width of the row header before adding it to the center scroll pane
            // as the row header.
            Dimension rowHeaderSize = rowHeaderTable.getPreferredScrollableViewportSize();
            rowHeaderSize.width = rowHeaderTable.getPreferredSize().width;
            rowHeaderTable.setPreferredScrollableViewportSize(rowHeaderSize);
            rowHeaderTable.setRowHeight(centerTable.getRowHeight());
            // Create the center scroll pane and set the row header table as the row header.
            final JScrollPane centerScrollPane = new JScrollPane(centerTable);
            centerScrollPane.setRowHeaderView(rowHeaderTable);
            // We will handle horizontal scrolling with our own scrollbar.
            centerScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            // Now we create the panel to hold the columnFooter table and the horizontal
            // scrollbar.
            final JPanel columnFooterPanel = new JPanel(new BorderLayout());
            // Keep the space below the row header empty.
            Component westGlue = Box.createHorizontalStrut(rowHeaderSize.width);
            // Set height of the columnFooterTable before adding it to the columnFooter scroll pane
            // as the view.
            Dimension columnFooterSize = columnFooterTable.getPreferredScrollableViewportSize();
            columnFooterSize.height = columnFooterTable.getPreferredSize().height;
            columnFooterTable.setPreferredScrollableViewportSize(columnFooterSize);
            columnFooterTable.setRowHeight(centerTable.getRowHeight());
            // The scroll pane which holds the columnFooterTable.
            final JScrollPane columnFooterScrollPane = new JScrollPane(columnFooterTable);
            // We do our own horizontal scrolling and the columnFooterScrollPane never scrolls vertically.
            columnFooterScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            columnFooterScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
            // The scrollbar we use to scroll horizontally.
            final JScrollBar horizontalScrollBar = new JScrollBar(JScrollBar.HORIZONTAL);
            // Sync up all the scrolling. See the method for details.
            syncScrolling(centerScrollPane, horizontalScrollBar, columnFooterScrollPane);
            // Keep the space below the vertical scrollbar empty.
            final JScrollBar verticalScrollBar = centerScrollPane.getVerticalScrollBar();
            int verticalScrollBarWidth = verticalScrollBar.getPreferredSize().width;
            final Component eastGlue = Box.createHorizontalStrut(verticalScrollBarWidth);
            // Set the center viewport size to match to table size
            Dimension centerTablePreferredsize = centerTable.getPreferredSize();
            centerTable.setPreferredScrollableViewportSize(centerTablePreferredsize);
            centerScrollPane.getViewport().setSize(centerTablePreferredsize);
            // The panel that holds the columnFooterTable and the horizontal scrollbar below it.
            final JPanel footerPanel = new JPanel(new BorderLayout());
            footerPanel.add("North", columnFooterScrollPane);
            footerPanel.add("South", horizontalScrollBar);
            footerPanel.setMinimumSize(footerPanel.getPreferredSize());
            // Assemble our columnFooterPanel.
            columnFooterPanel.add("West", westGlue);
            columnFooterPanel.add("Center", footerPanel);
            columnFooterPanel.add("East", eastGlue);
            // This keeps the columnFooterPanel at its minimum height
            JPanel northPanel = new JPanel(new BorderLayout());
            northPanel.add("North", columnFooterPanel);
            // Assemble the center scroll pane, below it the panel containing the column
            // footer panel, and then vertical glue to eat up any available vertical space.
            Box box = Box.createVerticalBox();
            box.add(centerScrollPane);
            box.add(northPanel);
            box.add(Box.createVerticalGlue());
            // Hide/show the eastGlue and the horizontalScrollBar, and recalculate the
            // minimum size of the footerPanel in response to size and visibility changes.
            syncScrollBarVisibility(centerScrollPane, eastGlue, horizontalScrollBar, footerPanel);
            setLayout(new BorderLayout());
            add("Center", box);
        private void syncScrollBarVisibility(final JScrollPane centerScrollPane,
                                             final Component eastGlue,
                                             final JScrollBar horizontalScrollBar,
                                             final JPanel footerPanel) {
            // Hide/show the eastGlue accoring to whether or not the vertical scrollbar
            // is visible.
            centerScrollPane.getVerticalScrollBar().addComponentListener(new ComponentListener() {
                private void checkVisibleStatus(boolean b) {
                    if (eastGlue.isVisible() != b) {
                        eastGlue.setVisible(b);
                public void componentHidden(ComponentEvent e) {
                    checkVisibleStatus(false);
                public void componentMoved(ComponentEvent e) {
                public void componentResized(ComponentEvent e) {
                public void componentShown(ComponentEvent e) {
                    checkVisibleStatus(true);
            // Hide/show the horizontal scrollbar according to whether or not it's needed.
            centerScrollPane.getViewport().addComponentListener(new ComponentListener() {
                public void componentHidden(ComponentEvent e) {
                public void componentMoved(ComponentEvent e) {
                public void componentResized(ComponentEvent e) {
                    int centerScrollPaneWidth = centerScrollPane.getViewport().getSize().width;
                    int centerTablePreferredWidth = centerTable.getPreferredSize().width;
                    if (centerScrollPaneWidth >= centerTablePreferredWidth) {
                        horizontalScrollBar.setVisible(false);
                    } else {
                        horizontalScrollBar.setVisible(true);
                public void componentShown(ComponentEvent e) {
            // Set the minimum size of the footerPanel according to whether or not the
            // horizontalScrollBar is visible.
            horizontalScrollBar.addComponentListener(new ComponentListener() {
                public void componentHidden(ComponentEvent e) {
                    footerPanel.setMinimumSize(footerPanel.getPreferredSize());
                public void componentMoved(ComponentEvent e) {
                public void componentResized(ComponentEvent e) {
                public void componentShown(ComponentEvent e) {
                    footerPanel.setMinimumSize(footerPanel.getPreferredSize());
        private void syncScrolling(final JScrollPane centerScrollPane,
                                   final JScrollBar columnFooterScrollBar,
                                   final JScrollPane columnFooterScrollPane) {
            // When the view of the center scroll pane changes position,
            // change the value of the columnFooterScrollBar to match.
            centerScrollPane.getViewport().addChangeListener(new ChangeListener() {
                public void stateChanged(ChangeEvent e) {
                    int x = ((Component) e.getSource()).getLocation().x * -1;
                    JViewport viewport = (JViewport) e.getSource();
                    int extentWidth = viewport.getExtentSize().width;
                    int viewWidth = viewport.getViewSize().width;
                    int value = Math.max(0, Math.min(viewport.getViewPosition().x, viewWidth - extentWidth));
                    columnFooterScrollBar.setValues(value, extentWidth, 0, viewWidth);
            // When the columnFooterScrollBar (horizontal scroll bar) value changes,
            // change the position of the view in the center scroll pane to match.
            columnFooterScrollBar.addAdjustmentListener(new AdjustmentListener() {
                public void adjustmentValueChanged(AdjustmentEvent e) {
                    JViewport viewport = centerScrollPane.getViewport();
                    viewport.setViewPosition(new Point(e.getValue(), viewport.getViewPosition().y));
                    viewport = columnFooterScrollPane.getViewport();
                    viewport.setViewPosition(new Point(e.getValue(), viewport.getViewPosition().y));
            // When the view of the row header changes position,
            // change the value of the vertical scrollbar of the center
            // scroll pane to match.
            centerScrollPane.getRowHeader().addChangeListener(new ChangeListener() {
                public void stateChanged(ChangeEvent e) {
                    JViewport viewport = (JViewport) e.getSource();
                    int extentHeight = viewport.getExtentSize().height;
                    int viewHeight = viewport.getViewSize().height;
                    int value = Math.max(0, Math.min(viewport.getViewPosition().y, viewHeight - extentHeight));
                    centerScrollPane.getVerticalScrollBar().setValues(value, extentHeight, 0, viewHeight);
        public JTable getCenterTable() {
            return centerTable;
        public JTable getRowHeaderTable() {
            return rowHeaderTable;
        private JTable getColumnFooterTable() {
            return columnFooterTable;
        public static void main(String[] args) {
            AbstractHeaderFooterTableModel tableModel = new AbstractHeaderFooterTableModel() {
                public int getRowCount() {
                    return 25;
                public int getColumnCount() {
                    return 10;
                public Object getValueAt(int rowIndex, int columnIndex) {
                    return "Cell " + rowIndex + ":" + columnIndex;
                public String getColumnName(int column) {
                    return "Column #" + column;
                public Object getRowHeaderValueAt(int rowIndex, int columnIndex) {
                    return "Header " + rowIndex + ":" + columnIndex;
                public int getRowHeaderColumnCount() {
                    return 2;
                public Object getFooterValueAt(int rowIndex, int columnIndex) {
                    return "Footer " + rowIndex + ":" + columnIndex;
                public int getFooterRowCount() {
                    return 3;
            JFrame frame = new JFrame();
            HeaderFooterTablePanel tablePanel = new HeaderFooterTablePanel(tableModel);
            // Render the cells in the row header and footer like the center table column headers.
            TableCellRenderer columnRenderer = tablePanel.getCenterTable().getTableHeader().getDefaultRenderer();
            tablePanel.getRowHeaderTable().setDefaultRenderer(Object.class, columnRenderer);
            tablePanel.getColumnFooterTable().setDefaultRenderer(Object.class, columnRenderer);
            frame.getContentPane().add("Center", tablePanel);
            frame.setSize(300, 300);
            frame.setLocation(300, 200);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
    }

    i was wondering why this topic has NO replies! and then i realized that there is NO question??? so do you have a question, or are you just starting a new thread cuz you feel like it???
    just trying to work out why you didnt post this is the old thread???
    http://forum.java.sun.com/thread.jspa?threadID=5130131&messageID=9466400#9466400

  • FAGL Tables - FAGLFLEXT and FLEXA

    Greetings SAP Earthlings,
    Need to understand how the CO postings work in these tables and need other people's experience as well.  If I post an entry with just a cost cetner, the cost center shows up in the FAGLFLEXT and A tables.  However, if I post an order and a cost center the order only shows in the FAGLFLEXT and A Tables.  I'm assuming that the FAGL tables will only populate the CO objects as actual postings  (order) and will skip the statistical posting (cost center) when an entry has both. 
    Has anyone had an experience in bringing over both postings to the FAGL tables?  It's important due to report painter/writer creation and also ABAP creation.
    Let me know.
    Thanks,
    Jim

    Hi,
    Yes, you are correct in case of CO object, FAGL tables will only populate the CO objects as actual postings (order) and will skip the statistical posting (cost center) when an entry has both. (note order can be a statistical object and CC can be a real object depends on business scenario)
    Also note Profi Center and segment (not the COPA segment) are in statistical nature but not a CO object are populating in New GL.
    regards
    Sibichan

  • How to create co version (VERSI) in table TKVSt

    hi,
         i have to create the version(VERSI) for co, which will store in table TKVST.please provide the tcode for creation.
    thank you.

    Hi,
    You maintain CO versions in IMG - Controlling - General Controlling - Organization - Maintain Versions
    Regards,
    Eli

  • Compare few columns current value with previous version within a table

    I have a table that stores version information. Everytime there is a change in one field, a new version is created. I need to get the last value and the current value (after the update). There might be around 12 columns that I need to check for any updates.
    How may I achieve this?
    Any help greatly appreciated.
    Thx!

    Perhaps you're looking for something like
    SELECT col1, col2, col3, ... colN
      FROM (
        SELECT col1, col2, col3, ... , colN, RANK() OVER (ORDER BY update_date DESC) rnk
          FROM your_table
    WHERE rnk <= 2It would be very helpful in general, if you could provide DDL
    SCOTT @ jcave102 Local> create table a (
      2  version number,
      3  create_time timestamp,
      4  col1 number,
      5  col2 number,
      6  col3 number
      7  );
    Table created.
    Elapsed: 00:00:00.06scripts to insert the data
    SCOTT @ jcave102 Local> insert into a values( 1, systimestamp - interval '3' hour, 10, 10, 10 );
    1 row created.
    Elapsed: 00:00:00.04
    SCOTT @ jcave102 Local> insert into a values( 2, systimestamp - interval '2' hour, 10, 9, 9 );
    1 row created.
    Elapsed: 00:00:00.01
    SCOTT @ jcave102 Local> insert into a values( 3, systimestamp, 8, 9, 9 );
    1 row created.
    Elapsed: 00:00:00.01
    SCOTT @ jcave102 Local> commit;
    Commit complete.
    Elapsed: 00:00:00.00And a description of exactly what you want the results to look like given that data,
       VERSION       COL1       COL2       COL3
             3          8          9          9
             2         10          9          9If we have those things, it's relatively easy for us to follow exactly what question you're asking and to write a query that generates the expected output, i.e.
      1  select version, col1, col2, col3
      2  from( select version, col1, col2, col3, rank() over (order by create_time desc) rnk
      3          from a )
      4* where rnk <= 2
    SCOTT @ jcave102 Local> /
       VERSION       COL1       COL2       COL3
             3          8          9          9
             2         10          9          9
    Elapsed: 00:00:00.01Otherwise, we have to guess at exactly what you're trying to get and we'll almost always guess incorrectly a couple of times.
    Justin

  • Version with xref tables

    We are using optimistic locking using a version number on various tables. We have a situation where we using xref tables as follows.
    user object mapped to USER table.
    team object mapped to TEAM table.
    a team has users and a user is on teams.
    This is represented as a many-to-many mapping using a XREF table that has a userID and a teamID.
    The problem is that I want to ensure integrity across multiple users adding and removing users from and to a team.
    We use optimistic locking on the USER and TEAM tables.
    Versioning is not enforced when using the XREF table.
    How best might this be handled. So that one user does't overlay the addition or removeal of users by another user.
    Thanks
    Mark

    Marc,
    The easiest way to do this is to have TopLink force or check the optimistic lock values on the User and Team instances that are involved in the new relationship. Here is a simple code sample from the employee example that forces an employee's optimistic lock field to be incremented when a project is added:
    public void forceOptimisticLockUpdateExample() {
    Employee emp = (Employee) getSession().readObject(Employee.class);
    UnitOfWork uow = getSession().acquireUnitOfWork();
    Employee empWC = (Employee) uow.registerObject(emp);
    SmallProject newProj = (SmallProject) uow.registerObject(new SmallProject());
    newProj.setName("New");
    newProj.setDescription("Example of forcing optimistic lock increment");
    empWC.addProject(newProj);
    uow.forceUpdateToVersionField(empWC, true); // False would mean just check the value
    uow.commit();
    Doug

Maybe you are looking for

  • Upgrade to Iphone 6 plus

    Yesterday i went to a apple store in my city to get the iphone 6 plus it was all running smoothly then we hit the bump the apple worker rang up a iphone 6 and not the plus. This would have been the phone i was upgrading to but when he realized it he

  • Dvd player suddenly no longer recognized

    hi, i have a lacie firewire dvd drive, which has worked fine up till now. suddenly it's not being recognized. this happened after i aborted the one step dvd procedure in iDvd, and now i get a warning from idvd "no supported burner available...". load

  • Query slow when executing using prepared statement compared to sqlDeveloper

    Oracle version is 10.2.0.1.0. I have got a query which when submitted from java code using prepared statement and parameter substitutions, takes more than 20 seconds to give results. I can see this SELECT sql sitting there when I run Monitor Sessions

  • I can't authorise a song

    I purchased an entire album on iTunes, and there is just one song in it that won't play. If I click on it, a pop-up window asks me to authorise my computer. I enter my password but still can't play the song. This is very annoying, and I'd really like

  • Developing portal using Weblogic portal 10.3 or weblogic workshop 10.3

    Hello I am new to portal development. I see that one can develop portal using Oracle weblogic workshop 10.3 which has many features including Java Page Flow and Java controls. I am wondering what extra features one can get using Weblogic portal 10.3.