TableSorter with Custom JTable

I need some straight thinking here.
I would like to add the TableSorter to a customised JTable (MyJTable).
MyJTable extends JTable and uses a customsised Model (MyJTableModel) which extends DefaultTableModel.
Both MyJTable and MyJTableModel are established components which work fine together and have been in use for a long period.
The TableSorter class from the tutorial expects the Model to be a TableModel and appears to the JTable as a TableModel.
So
          // Introducing the Sorter
          // TableSorter normally takes a DefaultTableModel
          // The mainModel is a MyJTableModel which Extends DefaultTableModel
          // So This is OK
          TableSorter mainSortModel = new TableSorter(mainModel);
          // mainTable is a MyJTable which normally takes a MyJTableModel
          // but the TableSorter is based on AbstractTableModel
          // So Here I Have a Mis-Match
          mainTable = new MyJTable(mainSortModel);
          // I Tried to Adapt TableSorter to extend MyJTableModel (which extends DefaultTableModel)
          // but this led to other errors in TableSorter
          mainSortModel.setTableHeader(mainTable.getTableHeader());How do I introduce the TableSorter ?

I am somewhat new, but I was able to use the
TableSorter without creating my own mouse-event... I
believed the TableSorter does it automatically for
you...You right. The TableSorter does normally. Unfortuantely in my case this isn't working because I have a customised table and model. Actually I'm unsure why it doesn't and I'm trying to diagnose where the problem lies. These reason I have focussed on the mose behaviour is because I can see it isn't working. Maybe that is the only problem but I was trying to figure out how to localise the problem more. Hence my last post.
Thanks

Similar Messages

  • F2 key not working with custom JTable Column

    I have a custom JTable Column (which is a JPanel with a JTextfield and JButton). Everything works as expected, except when the user presses "F2" to start editing the custom column cell. When the user presses F2, the custom cell goes into editing mode, but I am unable to type anything in it.
    Below is the SSCCE.
    Steps to Reproduce problem:
    1) Run the Program
    2) Select any cell in first Column.
    3) Press "F2" and try to type into the cell. Can't type anything.
    package com.ns;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Point;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.KeyEvent;
    import java.util.EventObject;
    import javax.swing.DefaultCellEditor;
    import javax.swing.JButton;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.WindowConstants;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    public class TextButtonCellFrame extends javax.swing.JFrame {
        // Variables declaration - do not modify                    
        private JTextField inputText;
        private JScrollPane jScrollPane1;
        private JPanel testPanel;
        private JTable testTable;
        // End of variables declaration                  
        public TextButtonCellFrame() {
            initComponents();
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
        private void initComponents() {
            testPanel = new JPanel();
            jScrollPane1 = new JScrollPane();
            testTable = new JTable();
            inputText = new JTextField();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            testTable.setModel(new DefaultTableModel(
                new Object [][] {
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null}
                new String [] {
                    "Title 1", "Title 2", "Title 3", "Title 4"
            testTable.setCellSelectionEnabled(true);
            testTable.setRowHeight(52);
            testTable.setSurrendersFocusOnKeystroke(true);
            testTable.getColumnModel().getColumn(0).setCellRenderer(new MyTableCellRenderer());
            testTable.getColumnModel().getColumn(0).setCellEditor(new MyTableCellEditor(new JTextField()));
            testTable.getColumnModel().getColumn(0).setPreferredWidth(200);
            jScrollPane1.setViewportView(testTable);
            testPanel.add(jScrollPane1);
            inputText.setPreferredSize(new Dimension(50, 20));
            testPanel.add(inputText);
            getContentPane().add(testPanel, BorderLayout.CENTER);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-576)/2, (screenSize.height-417)/2, 576, 417);
        }// </editor-fold>                       
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TextButtonCellFrame().setVisible(true);
        public class MyTableCellRenderer extends JPanel implements TableCellRenderer {
            Point point;
            JButton button1 = new JButton("Test 1");
            JTextField txtField = new JTextField();
            public MyTableCellRenderer() {
                setLayout(new BorderLayout());
                this.add(button1, BorderLayout.EAST);
                this.add(txtField,BorderLayout.CENTER);
            public Component getTableCellRendererComponent(JTable table, Object value,
                    boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex) {
                if (isSelected) {
                    txtField.setBackground(testTable.getSelectionBackground());
                    txtField.setBorder(UIManager.getBorder("Table.focusCellHighlightBorder"));
                else {
                    txtField.setBackground(testTable.getBackground());
                    txtField.setBorder(null);
                return this;
        public class MyTableCellEditor extends DefaultCellEditor {
            JPanel panel = new JPanel();
            JButton button1 = new JButton ("Test 1");
            JTextField txtField;
            MyTableCellEditor(JTextField txtField) {
                super (txtField);
                this.txtField = txtField;
                panel.setLayout(new BorderLayout());
                panel.add(button1, BorderLayout.EAST);
                panel.add(txtField,BorderLayout.CENTER);
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == button1)
                    JOptionPane.showMessageDialog(null, "Action One Successful");
            public Component getTableCellEditorComponent(JTable table, Object value,
                                        boolean isSelected, int row, int column) {
                return panel;
           public boolean isCellEditable(final EventObject anEvent) {
              if (anEvent instanceof KeyEvent) {
                 final KeyEvent keyEvent = (KeyEvent) anEvent;
                 SwingUtilities.invokeLater(new Runnable() {
                    public void run() {
                       if (!Character.isIdentifierIgnorable(keyEvent.getKeyChar())) {
                          txtField.setText(txtField.getText() + keyEvent.getKeyChar());
                       txtField.setCaretPosition(txtField.getText().length());
                       txtField.requestFocusInWindow();
                return super.isCellEditable(anEvent);
    }The code for isCellEditable(final EventObject anEvent) which is needed to edit the cell using keyboard was provided by DarrylBurke here
    regards,
    nirvan.

    The F2 key when pressed generates an action event (either JTable generates it or some other component). I am not sure how to handle the action event in the isCellEditable() method. Also, F(X) range of keys other than F2 dump some junk character in the JTextfield when pressed. I am now stuck at this point and don't know how handle F(X) range of keys.
    regards,
    nirvan.

  • Proble with Custom JTable Header

    Hi
    I want create Custom JTable with JTextField on column header, so that user can enter some text. As of now i am able to create the text box on header using custom TableCellRenderer but i am not able to make it editable.....
    Please help me. if any one need more info, pls let me know.

    KetuRai wrote:
    Then what should i do to achieve this functionality. Do any one have sample code?
    Or other alternative to achieve this.I don't know If this is the best way but my approach is using a InputDialog and a custom renderer.
    just click on the table header and input a text. Good Luck!
    import java.awt.Color;
    import java.awt.Component;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    public class TableHeaderDemo {
        public void createAndShowUI() {
            JFrame frame = new JFrame("Click Table Header to change text");
            String[] columnName = {"CheckBox Column", "Data Column"};
            Object[][] data = {{"Data 1", "Data 2"},
            {"Data 3", "Data 4"}, {"Data 5", "Data 6"}};
            final JTable myTable = new JTable(data, columnName);
            myTable.getTableHeader().setDefaultRenderer(new MyRenderer());
            myTable.getTableHeader().addMouseListener(new java.awt.event.MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    int col = myTable.getTableHeader().columnAtPoint(e.getPoint());
                    String str = javax.swing.JOptionPane.showInputDialog("Enter a text: ");
                    myTable.getColumnModel().getColumn(col).setHeaderRenderer(new MyRenderer(str));
                    myTable.getTableHeader().revalidate();
                    myTable.getTableHeader().repaint();
            JScrollPane scrollPane = new JScrollPane(myTable);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setResizable(false);
            frame.getContentPane().add(scrollPane);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        class MyRenderer implements TableCellRenderer {
            JTextField text = new JTextField();
            MyRenderer(String str) {
                text.setText(str);
            MyRenderer() {
            public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
                    boolean hasFocus, int row, int column) {
                text.setBorder(BorderFactory.createRaisedBevelBorder());
                text.setBackground(Color.BLUE);
                text.setForeground(Color.WHITE);
                text.setHorizontalAlignment(JTextField.CENTER);
                return text;
        public static void main(String[] args){
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new TableHeaderDemo().createAndShowUI();
    }

  • How to print jTable with custom header and footer....

    Hello all,
    I'm trying to print a jTable with custom header and footer.But
    jTable1.print(PrintMode,headerFormat,footerFormat,showPrintDialog,attr,interactive)
    does not allow multi line header and footer. I read in a chat that we can make custom header and footer and wrap the printable with that of the jTable. How can we do that..
    Here's the instruction on the chat...
    Shannon Hickey: While the default Header and Footer support in the JTable printing won't do exactly what you're looking for, there is a straight-forward approach. You can turn off the default header/footer and then wrap JTable's printable inside another Printable. This wrapper printable would then render your custom data, and then adjust the size given to the wrapped printable
    But how can i wrap the jTable's Printable with the custom header and footer.
    Thanks in advance,

    I also once hoped for an easy way to modify a table's header and footer, but found no way.
    Yet it is possible.

  • Custom JTable cell editor problem

    I have a custom JTable cell editor which is a JPanel with 2 JtextFields, One for a name, the other for a data value. My problem lies in when the the cell is selected and then the user start typing. The JTextfield outline shows up, but there is no carat. I can only edit the cell when I click the mouse in it again. I have my isCellEditable method set to only allow editing on 2 mouse clicks, but I did try it with just returning true and had the same problem. Please help.
    Code:
    class cellValue {
    String name;
    String data;
    Color nameColor;
    Color dataColor;
    Font font;
    public cellValue(String n, String d, Color nC, Color dC, Font ff){
    name = n;
    data = d;
    nameColor = nC;
    dataColor = dC;
    font = ff;
    } //end class
    public class TextFieldCellEditor extends JPanel implements TableCellRenderer, TableCellEditor{
    private EventListenerList listenerList = new EventListenerList();
    private ChangeEvent event = new ChangeEvent(this);
    private cellValue s;
    private int e_row=0;
    private int e_col=0;
    private JTextField ta;
    private JTextField tb;
    public TextFieldCellEditor() {
    setLayout(new GridBagLayout());
    ta = new JTextField();
    tb = new JTextField();
    tb.setHorizontalAlignment(SwingConstants.RIGHT);
    add(ta, new GridBagConstraints(0,0,1,1,0.6,0.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.BOTH,new Insets(0,1,0,0),0,0));
    add(new JLabel(" "),new GridBagConstraints(1,0,1,1,0.1,0.0,java.awt.GridBagConstraints.WEST,java.awt.GridBagConstraints.BOTH,new Insets(0,1,0,0),0,0));
    add(tb, new GridBagConstraints(2,0,1,1,0.3,0.0,java.awt.GridBagConstraints.EAST,java.awt.GridBagConstraints.BOTH,new Insets(0,1,0,0),0,0));
    } //end init
    public Component getTableCellRendererComponent(JTable table, Object value,boolean isSelected,
    boolean hasFocus,int row, int column) {
    s = (cellValue)value;
    e_row = row;
    e_col = column;
    ta.setText(s.name);
    tb.setText(s.data);
    ta.setFont(s.font);
    tb.setFont(s.font);
    ta.setForeground(s.nameColor);
    tb.setForeground(s.dataColor);
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    ta.setBackground(table.getBackground());
    tb.setBackground(table.getBackground());
    ta.setCaretColor(Color.WHITE);
    tb.setCaretColor(Color.WHITE);
    return (JComponent)(this);
    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
    return (getTableCellRendererComponent(table, value,isSelected, true, row, column));
    public boolean isCellEditable(EventObject e) {
    if (e instanceof MouseEvent) {
    return ((MouseEvent)e).getClickCount() >= 2;
    } return true;
    // return true;
    public boolean shouldSelectCell(EventObject anEvent) {
    return (true);
    public void cancelCellEditing() {
    public boolean stopCellEditing() {
    fireEditingStopped();
    return (true);
    public Object getCellEditorValue() {
    return (ta.getText());
    public void addCellEditorListener(CellEditorListener l){
    try {
    SwingUtilities.invokeLater(
    new Runnable() {
    public void run() {requestFocus();}
    } catch (Exception e) {};
    listenerList.add(CellEditorListener.class, l);
    public void removeCellEditorListener(CellEditorListener l) {
    listenerList.remove(CellEditorListener.class, l);
    protected void fireEditingStopped(){
    Object[] listeners = listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2)
    ((CellEditorListener)listeners[i+1]).editingStopped(event);
    protected void fireEditingCanceled() {
    Object[] listeners = listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2)
    ((CellEditorListener)listeners[i+1]).editingCanceled(event);
    } //end class

    Thanks again for the repley.
    I tried removing the celleditorlistener and using the setSurrenderFocusOnKeystroke, but it did not work. The textfield is editable;
    I did change:
    public void addCellEditorListener(CellEditorListener l){
    try {
    SwingUtilities.invokeLater(
    new Runnable() {
    public void run() {ta.requestFocus();}
    } catch (Exception e) {};
    listenerList.add(CellEditorListener.class, l);
    }This allows the first textfield to request focus and this seems to work. But when I highlight a cell, then start typing, the first character I type puts me into the editor, but it is lost. Example:
    I type hello
    and get ello in the cell. Then when I press enter the input is excepted and the selection goes to the next cell, but I cannot move the Highlight cursor at all, seems locked. The only way I can continue to the next cell is to use the mouse.
    You said you had a cell editor working. Would you care to share as an example. This is killing me to get this to work properly.
    Thanks again
    Dave

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?

    Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?
    Thanks!
    -Adrian

    the old apps are on my computer but they have had upgrades since they were put on the ipod originally.  you think you would get a warning about this when you restored. I was not worried about losing the progress of the apps but i would have been worried about the app it self!!!!!

  • Anyone know how to contact anyone in Verizon headquarters?  Since I'm not getting anywhere with Customer Service

    I'd like to express how unsatisfied we have been with Verizon on an issue that has been ongoing now since March 14, 2014.  It involves an upgrade on one of our lines.  After all these months, phone call with customer service, Tech support, and visits to a Verizon stores, I would hope that there are ample notation on our acct but since I've had to explain the situation on a bi-weekly time frame, I would assume that no one has documented any contacts.
    We've been with Verizon for few yrs now and I have always been very satisfied with Verizon who, up until now , always provided excellent customer service in their knowledge, concern, and customer satisfaction.  But I have to say, every positive outlook I've had with your company has been wiped clean with the worst service we have received in the last few months.
    We upgraded my daughter's phone on 03-14-14 with a Samsung Galaxy Mini from an Iphone 4s.  Within 24 hrs, the phone failed.  After 2 visits to a Verizon store the next day which took 6 hrs, we still had to return the next day to speak to a manager.  The 2 stores advised us to make a CLAIM on the defective phone thru our insurance plan with Verizon.  A CLAIM on a 24 hr old phone!!  A 3rd visit with a manager finally convinced him to replace the phone with another new phone at the store.  Within 2 weeks - issues began to occur with the replacement phone.  Several visits more, several calls more with Customer Service, several calls more with tech support which adds up to soooo many of our time taken up to simple have temporary "fixes" is outrageous.  If I billed Verizon for my time, perhaps the situation would have been resolved more quickly.  Each visit lasts approx 2 hrs, each phone call approx 1-1 1/2 hrs.  We are talking at least 2x a month for the course of 5 1/2 months.  Plus the time it takes to get the phone back to where she needs it - contacts, apps, internet. 
    Not once were we offered a new phone or replace the phone.  Not until today.  Replace the phone with the same phone that my daughter has grown to hate.  So basically a 3rd phone - same phone.  She is not interested in this phone any longer.  She dealt with this phone model for far too long.
    Today we were offered to replace the phone with same phone, or pay for a refurbished Iphone 4.  So basically she would be going back to her original Iphone 4s before the upgraded WITH a cost.  So her upgrade was wasted, we'd paid over $200 for a defective phone, and would need to pay for an even older model Iphone 4 and have to pay for it.  Why wasn't she offered a different phone within those 30 days after the upgrade and 6 visits? 
    Every rep at the stores, every rep in tech support would provide a different reason for the issue.  Finally, tech support advised not to download apps.  WHAT GOOD IS A SMARTPHONE IF YOU CAN'T HAVE APPS???  We are talking about a 20 yrs college student who attends school in another state.  Do you know the trouble she has to go thru to visit a store? To find 2 hrs between being a full time student with 2 jobs to sit on the phone with a tech support or go to a Verizon store?  Once-ok  Twice-maybe  BUT for 5 months?
    She's not eligible for an upgrade.  She will be stuck with a phone that she had grown to hate.  And I with customer service which I've grown to hate. 
    Finally, The Edge.  Trying to find a way to make my daughter happy, I spoke with 4 representative today about the Edge.  Each rep gave me 4 different information.  1st rep advised Edge phone could not be used on another line so I could not use a line eligible for the Edge and give that phone to my daughter since she isn't eligible for the Edge.   2nd rep advised that although new phone thru edge must be used by same number that it was eligible for, we could use the current phone o that line for my daughter.  My son currently has an Iphone 5 and is eligible for the Edge early upgrade.  He would not have to return his Iphone 5 so my daughter could use it.  However, all the lines would have to go to the More Everything Plan and share the Data between all our phone lines.  3rd rep advised the cost would almost double from our current $358 to go to the More Everything Plan so suggested to have 2 accounts vs just 1.  4th rep advised not every line needs to go the More Everything Plan, we could not keep the current phone, and my daughter could get a replacement phone but same phone or made exception to offer the Edge early upgrade to my daughter but only after we go thru the replacement program because the phone we send to Verizon has to be in good working order/no defects. 
    After 5 1/2 months, it is now Verizon that is indicating that we have a defective phone and can't accept it thru the Edge program or we would get billed approx $299 for a defective phone.  After 5 1/2 months of me calling in about a defective phone that not one rep replaced because they "fixed" the problem ( by the way, a temporary fix is not fixing, if it was fixed I would have made those calls today or writing this email), I am now being told her phone is defective.  She advised to get a replacement phone first, return the old phone, activate the new phone, then call in to get the Edge early upgrade.  So my daughter would have to do all this, plus add contacts back, apps and whatever else she needs to use her phone just to turn around a couple weeks later and do it all over again with the new phone thru the Edge program.  Once again, we are the ones having to be inconvenienced and go thru all these steps.  Did I mention she is going to be studying abroad in Italy beginning Nov?  So the idea of having to wait 2-3 weeks for a new phone and having only a week or 2 to test the phone to make sure it's working properly before she's out of the country doesn't sound appealing to me.  Verizon has made us have a defective phone for 5 months advising it's in good working order after each and every "fix" but Verizon will not accept that phone if returned in the same condition as a phone in good working condition.  Do you see the irony in that? 
    I have reached my limit and after 5 yrs of my brother in law trying to convince us to switch to AT&T where he works in their Corporate Office, I can honestly say I will not be sad to leave Verizon.  Especially when one of your reps simply provided me with the contract end dates to provide to AT&T because they offered to buy out our contract.  No effort in customer retention what so ever.  That was a phone call on Thursday. 
    And yes, one of your tech reps tried to convince me of all the hassle it would be to switch and time AT&T would take to buy out our contracts but honestly it was the pot calling the kettle.  I am not in the position to discuss hassle and time after 5 months of getting that with Verizon.  Did I mention it's my brother in law so we would be getting special treatment and no out of pocket expenses to switch.  It was my loyalty and satisfaction with Verizon that has kept me from switching all these years.  Something Verizon clearly does not appreciate. 
    So can you guess where I am with confidence that your customer service department is knowledgable about the plans/offers?  Where I am that I can trust what I'm being told?
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue. 
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service. 

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • WP8 Map control with custom tiles

    I'm trying to display a map control in my app targeting Windows Phone 8 but I want to use custom tiles from open street map.
    I'm using this line :
    mapControl.TileSources.Add(new TileSource("http://a.tile.openstreetmap.org/{zoomLevel}/{x}/{y}.png"));
    When I launch the app the custom tiles are properly displayed, but there's still the default map tiles underneath them.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.
    I would like to know how I can remove those default tiles when loading custom tiles.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.

    Hi MakanWG,
    You have solved your question in here:
    http://stackoverflow.com/questions/27948331/wp8-map-control-with-custom-tiles .
    Good!
    Vote if help you

  • How to clear vendor open items with customer open items in APP?

    Hi Experts,
    Our vendor is our customer - in this scenario how to clear vedor open items against customer open items. I have defined vedor is customer means I have given customer number in vendor master record, selected chek box 'clear with customer'.  Still problem is not solved, hence I am requesting you to help me in this regard.
    Thank you very much,
    Regards,
    Ganesh.

    Hi
    In FBCJ after payment you have clear manually vendor balance in F-44.
    If you want SPL GL in FBCJ then write a Substitution .
    1. step 001 - Special G/L Substitution
    2. Prerequisite - Transaction code = 'FBCJ'
    3. Substitution posting key -- Exit (need help from abap) exit name
                                              G/L Exit (need help from abap) exit name
                                              Special G/L Ind Exit (need help from abap) exit name
    you can't do this without ABAP help
    Best Of Luck
    Tanmoy

  • Line item report with Customer number

    Hi all,
    I am facing the following issue:
    I need a line item report to analyze an accrual account by customer.
    Since the customer is not captured on the accrual account itself, but on the recon. account (which is not defined as line item display), I did not find a way to present the customer and the accrual  on the same line.
    I can always go to BSEG and vlookup and match by document number the accrual account and the customers from the customer recon. account, but I thought maybe someone has a better idea.
    Thanks,
    Yoel.

    If the recon account line items have al lthe info needed I'd suggest using a query (SQ01).
    1. Create an Infoset in SQ02 with logical database "BRM". Choose the fields from BSEG that you need
    2. Create the Query in SQ01 using that Infoset.
    If you want to see individual line items, include the fields you want in the "basic list" of the query. If you want totals by customer, don't include anything in the basic list, but make a "statistics" with customer and amount.
    Selections would habe to be made for account no and period.

  • Error while trying to Execute the Query with Customer Exit

    Hi Experts,
           I am having a Query with Customer Exit, it is working fine for all the Employess, except for one. When i try to remove the Customer Exit it is working for her too. Below is the error i am getting.
    system error in program SAPLLRK0 and form RSRDR; CHECK_NAV_INIT_BACK
    Thanks,
    Kris.

    Hello Kris,
    Are you working with multiprovider? Please check if OSS notes 813454,840080 or 578948 are applicable in your case.
    Regards,
    Praveen

  • I reached my 1000th hour logged on the phone with customer service

    I've been using Verizon jetpacks for 9 months now.  Seemed like a sweet deal. Prepaid. Convenient. Fast and reliable.  WRONG!  I logged my 1000th hour on the phone with customer service today after a 5 hour "troubleshooting" session, second one this week. I've been having to make this exact 5 hour phone call every week sometimes up to 4x per week.  I've never spent less than 3 hours on the phone or gone more than 4 days without having to contact customer "service."  Naturally, this is pretty ignorant sounding.  But, I paid $100 for a significantly small amount of data.  I prepaid to be exact. For a service to be rendered one must be able to receive the service paid for.  That's simply not the case.  I paid $100 for this data already and can't actually use it with any convenience. Unless of course, 5-20 per week on the phone with customer service is typical of any other company.  Other than Virgin Mobile, No.  It's in fact an extremely absurd amount time for ANY customer to spend on the phone with ANY customer service.  No exception.  I feel rather abused, used and ****** over by this so call "service".  I lost 6 clients. They all sued me in small claims for $3000 each for failing to maintain my end due to my weekly dose of hours on the phone with customer service and NOT doing the job I was employed to do. Nope. Instead, I spent my time with Verizon Customer Service and COURT! Yay!  So, I've lost my home, my car was repo'd, $18k loss, 6 customers... and not one time has Verizon spent one second and said to me "Verizon could be the problem"... NEVER has that been the case in all 1000 hours logged.  Interesting?  No.  Just abusive.  I resent having to call customer service at all any more. It's even causing my mental health to suffer after all this.  You know what is found every time?  I'm on a prepaid plan on a device customer service told me to purchase.  But wait... thats the second device.  Every week I'm told The OTHER device is the one that works with this plan... then a few days later, no that other device is the one that works with the plan, a few days later... The OTHER DEVICE IS THE ONE THAT WORKS.. FFS. See a pattern? I've been directed by Verizon to replace my device 3 times, at $100+ per device plus the $10 sim card, plus the 5 hours on the phone with them every few days.  I'd say there's an issue with customer service.  First, yes it IS possible there is an issue on YOUR end.  I'm pretty sure that having to buy a new device every time I call isn't really the best answer.  Second, for the extremely limited amount of data I can't afford to watch a video for fear of capping my data before the end of the 30 days because its 10gig of data.  Yeah, 2 whole movies worth!  Third, its possible to be wrong, yet Verizon has never, not one single time chose to check their end.  ALWAYS and ONLY my end. I don't find that surprising or ironic, I find it the most ignorant and worst customer service in existence only second to Virgin Mobile.  Virgin mobile did finally acknowledge the issue was in the broken tower nearby. It took them 6 months and yes... 100's of hours on the phone.  Verizon hasn't made any effort to accept responsibility for this issue.  I'm sure they are very sincere when they are consuming my 5 hours per phone call trouble shooting my device for the third time this week.  It's actually to the point where they have violated their terms of service and failed to look into an issue on their end.  The tower has been hit.  Hmmm... Ironic. Its quite a distance from here, but is a main tower that has caused an outage across my state. Verizon couldnt tell me that?  Is that admitting your wrong so hard to do that it's easier to spend 5 hours on the phone trouble shooting my device than 5 mins looking for outages?  Yeah, it could have saved my house and job, but I'm the customer... clueless idiot at the mercy of a company who is never wrong nor makes an effort to correct an issue on their end before stealing my hours from me.  At one point, I actually fell asleep in my 2nd hour on hold.  Customer service? Nope, a waste.  I could dig it if this issue was on my end, but I'm confident that spending up to 20 hours a week troubleshooting to no avail is a HUGE red flag that its not on my end after all.  Only cost me a house, a job, car and $18k plus court costs and fees.  Fair? Nope.  But it would be nice if just ONCE there was an initiative to provide actual support to a customer. I KNOW if this is my experience it is impossible to be an isolated incident with me alone.  If I'm tying up 5 hours on the phone, what is the next guy doing? waiting to trouble shoot his box for the next 5 hours over a downed tower. Pride is what that is. People too proud to be wrong at someone else's expense. Definitely an issue if I've paid $900 in 9 months and I spent more hours on the phone with customer service than I have online.  Pretty ******. Verizon, you ARE WRONG. Owning it would save the embarrassment of having to ***** about it on this site. I didnt' deserve my losses and it was at my expense and it is STILL at my expense that I'm having to contact that 888-294-6804 number. I've got it memorized like it was my best friends number - that's how often and how many times i've used it. Shame how simple it would be if Verizon wasn't so ******* proud and spent a few moments looking for issues on their end before stealing 5 hours from me doing the obvious over and over and over again... Small claims can be used to sue up to $3k. Looks like that's my only alternative, perhaps if I do that maybe checking for issues on their end will occur instead of pretending its impossible.  It feels like I went to mcd's and paid for a meal at the window that took 5 hours to get a bag of raw patties thrown at me from inside after sitting at the window for 5 hours and waiting. I'm wrong  of course. I'm am the customer.  How could I possibly be right? I've troubleshooted my device over 1000 times. Of course its on my end. Must be.... 1000 times isn't enough to find out there's a potential issue that isn't related to my specific device, no? Is it gonna take 1000 more hours on the phone before one of the representatives decide to look for an outage before the 5 hours of daily trouble shooting? Thats a huge red flag that just keeps getting ignored.  I can't think of any other companies besides these two internet providers that finds that acceptable.  Better Business Bureau didn't. I'll be filing that complaint with them next.  High time Verizon stepped off such a prideful pedestal and seek a remedy before a class action suit sinks them in the future from all other raging bitches not being provided with reasonable service.  It's not a rant, this has been a life shattering experience for me and a simple quick check for an issue on their end could have prevented it.  BAD BAD BAD Customer service policies to keep a customer on the phone for that length of time to repetitiously check the exact same thing repeatedly every few days.  Disgusted.  How dare that term "service" even be used if they can't provide "service" via support or otherwise.  I'm on the internet finally after 10 hours and the news reported the Verizon tower down. Not verizon... A police officer interviewed on a Detroit News station instead. God knows police have nothing better to do in Detroit than make news appearances for verizon. 

    Simple solution. Get a real internet service and not a cell phone internet connection service it was never meant to be used as the primary internet service
    And how do you lose a home and job and be sued as you claim. What over 10 Gb of data? Give me a break
    In my city small claims is $5000.00
    And over that amount you can go to a superior court to have your issue settled.
    http://www.bbb.org
    Good Luck, Elector

  • Runtime error - FBL1N - vendor balance with customer line item

    Hi gurus,
    One scenario where i have assign vendor as customer & customer as vendor in vendor & customer data. also make tick mark for both clearing with vendor & customer.
    when i see the customer report with vendor item it shows me the customer & vendor dues but when i tried to see the vendor balance with customer line item it gives dump error.
    Runtime Errors         PERFORM_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FORM
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FORM', was
         not caught in
        procedure "%_LDB_CALLBACK" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "RSDBRUNT" is meant to execute an external PERFORM,
        namely the routine "CB_DDF_GET_KNA1 " of the program "RFITEMAP ", but
        this routine does not exist.
        This may be due to any of the following reasons:
        1. One of the programs "RSDBRUNT" or "RFITEMAP " is currently being developed.
        The name "CB_DDF_GET_KNA1 " of the called routine may be incorrect, or
        the routine "CB_DDF_GET_KNA1 " is not yet implemented in the program "RFITEMAP
        2. If the program SAPMSSY1 is involved in the runtime error, one of
        the function modules called via RFC is not flagged as remote-capable.
        (see Transaction SE37  Goto -> Administration -> RFC flag)
        3. There is an inconsistency in the system. The versions of the
        programs "RSDBRUNT" and "RFITEMAP " do not match.
    Warm regards,
    Dhananjay R.

    Hi martin
    still problem was not solved. actually i am working on ECC 6.0 & not required to implement the sap note on development. i had done the configuration in vendor master & customer master for clearing.
    please suggest me.....what to do ?
    Than'x
    Dhananjay R

  • Discoverer Viewer/Plus does not work with Custom EUL owned by APPS user

    I am facing a unique issue with one of my customers. They have a custom EUL named XX_EUL_US and this does not allow connecting through discoverer viewer or discoverer plus.
    I have worked with custom EULS before at other customers and this was never the case. I am being told that this issue is happening as the EUL owner is APPS instead of some other user. Is this the case? Can discoverer viewer not be used with EULs owned by apps user?
    Please not that the Default EUL in ICX profiles is set to this EUL and no other EUL profiles are set.
    Appreciate any thoughts on this.

    Hi,
    I am not sure what you mean when you say you have a "custom EUL named XX_EUL_US". The EUL table should be created in a schema named XX_EUL_US. This will then be the EUL owner. You will then need to connect to Discoverer Administrator as the EUL owner and grant privileges to Apps users and/or responsibilities.
    The user should then be able to connect to Discoverer Plus/View using their apps username, responsibility and password.
    To be able to connect directly from an apps menu you need to have the ICX parameters set correctly. The ICX: Discoverer Default End User Layer Schema Prefix should be set to XX_EUL (without the _US). The ICX: Discoverer End User Layer Language Override should be set to US or not set at all.
    Rod West

Maybe you are looking for

  • Withholding Tax(TDS) on Advance(F-48) and On Final Payment-F-53

    Hi Expert, I am facing an issue related to TDS, on vendor advance. Its little different scenario, However rule is whichever is early. Requirement is like this, generally they deduct TDS on down payment and in case of final Payment. No TDS at the time

  • How to configure PRO*C  in ORACLE 8i  ?

    Hi all, I have installed ORACLE 8.1.6 in my LINUX system. I thinku proc is not configured though precomp folder exists . How can I configure it ? please help me in this regard. Thanks in advance, Trinath somanchi, Hyderabad.

  • RE: Installing Forte 3.0.E.0 on top of 3.0.C.0

    Jens, I ran the same road when we were evaluation R3. As far as I know, Forte changed Express singificantly between Express 20C0 to 20D0 and again to 20E0. Express compatibility levels raised from CL5 to CL7. So, if you just copied the repository you

  • IConnect Consolidator

    Having an Oracle 8i and Oracle Lite on my Win2k, i try to install the IConnect consolidator, in order to sync my oracle database with my palm database. But the installation did not complete because he ask me a user name and pwd under sql plus during

  • AVCHD I'm moving from Mac to Windows I need advise for Transcode

    My question is now that I no longer have ProRes422 because I'm now going to switch to a windows machine.  (Company invested into Windows Plugins, is the reason for the switch).  I need to know what format is suggested instead of ProRes.  I want to ma