Message AY187 - Problem to delete AuC

Hello all,
We are facing a issue when trying to delete a AuC assignet to a WBS, the AuC was created with the wrong Asset Class and we need to change the Asset Class or erase the AuC in order to create new one, but the system show the message "Asset 103 0 belongs to an investment measure. Deletion not allowed" this AuC does not have any values.
Thanks all for support.
Regards,
Marcelo Borini

Hi All, i found a way to delete the AuC assigned to a WBS.
1 - To do this process, the AuC need to have no values.
2 - Delete the Settlement Rules for the WBS assigned to AuC.
3 - Delete the Investiment Profile and Save, with this process the AuC will be deleted automaticaly.
4 - Add agian the investiment profile, after that the system will create a new AuC and in this moment you can change the Asset Class.
Marcelo Borini

Similar Messages

  • Problem in deleting the message after reading

    Hi
    I m having some problem to delete the message after reading.
    i read the FAQ, and there is only one question regarding to delete that i have tried but its not working
    As my application required that message should be deleted after the processing.
    Please help me out asap
    Thank in advance.

    now here is the protocol trace from starting to the end point
    with the settings of
    session.setDebug(true);
    and
    folder.close(true);
    POP3: connecting to host "172.xx.xx.xx", port 110
    S: +OK Microsoft Exchange Server 2003 POP3 server version 6.5.6944.0 (xxxxx.xyz.com) ready.
    C: USER test1
    S: +OK
    C: PASS Password
    S: +OK User successfully logged on.
    C: STAT
    S: +OK 1 548
    Total messages = 1
    New messages = 0
    ================================
    C: TOP 1 0
    S: +OK
    Received: from yyyyyy ([172.xx.xx.xx]) by xxxxx.xyz.com with Microsoft SMTPSVC(6.0.3790.3959);
         Thu, 11 Sep 2008 12:21:14 +0530
    Message-ID: <3373112.1221115884647.JavaMail.284528@yyyyyy>
    From: [email protected]
    To: [email protected]
    Subject: testing
    Mime-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    Return-Path: [email protected]
    X-OriginalArrivalTime: 11 Sep 2008 06:51:14.0500 (UTC) FILETIME=[C8892840:01C913DA]
    Date: 11 Sep 2008 12:21:14 +0530
    C: LIST 1
    S: +OK 1 548
    ------------STARTING LINE------------
    MESSAGE #1:
    From: [email protected]
    To: [email protected]
    Subject: testing
    SendDate: Thu Sep 11 12:21:14 IST 2008
    CONTENT-TYPE: text/plain
    This is plain text
    ------------TEXT------------
    C: RETR 1
    S: +OK
    Received: from yyyyyy ([172.xx.xx.xx]) by xxxxx.xyz.com with Microsoft SMTPSVC(6.0.3790.3959);
         Thu, 11 Sep 2008 12:21:14 +0530
    Message-ID: <3373112.1221115884647.JavaMail.284528@yyyyyy>
    From: [email protected]
    To: [email protected]
    Subject: testing
    Mime-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    Return-Path: [email protected]
    X-OriginalArrivalTime: 11 Sep 2008 06:51:14.0500 (UTC) FILETIME=[C8892840:01C913DA]
    Date: 11 Sep 2008 12:21:14 +0530
    ------------TEXT------------
    ******************MESSAGE ENDING LINE*****************
    C: QUIT
    S: +OK Microsoft Exchange Server 2003 POP3 server version 6.5.6944.0 signing off.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Im having trouble sending messages from my iPhone 4..ever since i upgraded to iOS 5, its giving me this problem. It says your SMS mailbox is full. Delete some messages to recieve new messages.  I've deleted around 10 huge conversations, rebooted it, resto

    Im having trouble sending messages from my iPhone 4..ever since i upgraded to iOS 5, its giving me this problem. It says your SMS mailbox is full. Delete some messages to recieve new messages. 
    I've deleted around 10 huge conversations, rebooted it, restored it, done a soft and hard reset too. What should i do?

    my boyfriend restored his iphone as a brand new phone and still had this problem, he deleted all his text conversations except mine and his best friend's conversations still nothing, i told him to delete OUR conversation since its a 2 year conversation that he has NEVER deleted ..... he said YES!! we tried to delete it and the phone freezes as soon as we click on the CLEAR CONVERSATION button!!!! we tried about 5 times and this happened everytime we tried!!!! ....is like the phone doesnt wanna let go of our conversation!!! every other conversation he deleted the phone was fine except for when we try and delete ours!!
    so yesterday he left his phone alone around 4 pm since we have the apple appointment today at 130pm.......around 11 pm last night his phone went NUTS receiving all the text messages i had sent and never received!!!! and now the phone works just fine!!! ...... CONFUSED?????? yeah we are too!!!
    but we're still going to the apple store to see what they can tell us!!!

  • After 10.9.4 Update: Mail Messages Grey Out Upon Deleting-Don't Move to Trash?

    Hello,
    After 10.9.4 Update/MacBook Pro with Retina display: Mail Messages Grey Out Upon Deleting-Don't Move to Trash? I believe I must join those who are having trouble with mail after this latest update. Deleted messages just turn a light grey in the message panel and don't move to trash until after I quit and restart mail. I have also experienced the screen "Freezing" ... no spinning beach ball, just the pointer frozen. This has happened only when I use mail and requires a "hard" re-start to correct.  Is this a "feature" of the update, or is it a problem? Thanks!

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Back up all data.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    sudo find ~ $TMPDIR.. -exec chflags nouchg,nouappnd,noschg,nosappnd {} + -exec chown $UID {} + -exec chmod +rw {} + -exec chmod -N {} + -type d -exec chmod +x {} + 2>&-
    This time you'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button
    Select
               ▹ Restart
    from the menu bar.
    Quit Mail and empty the Trash. If you still can't, log out or restart the computer.

  • After installing Maverick I can no longer highlight multiple emails the same way in orden out my mailbox I highlight a message,hold down my mouse and drag my cursor to highlight more messages. I click "delete" & they go to trash. How do I do this again?

    After installing Maverick on my 2011 MacBookPro I can no longer highlight multiple emails in the same manner.  To clean out my Inbox I highlighted a message, held my mouse down & dragged my cursor down through all the messages I wanted to delete (or move to another mailbox, or other functions) highlighting as many messages as I wanted. I then clicked "delete" & they went to trash.  Such a great way to clean out a lot of messages at once.  Can I and/or how do I do this again?  Or is this something Maverick has eliminated?  I also hate that "Notes" is no longer on the Mail page, but this is not as important.  Help!!

    Put differenltly, if I can drag select multiple items and objects on my desktop, which I can, using my Kensington Track Ball (which has an enabled updated software driver in place, so I don't think there's a problem there), why can't I click-drag-multipleselect emails in mail like I have *always* been able to? Really, what is the problem here? Why is that no longer possibler? I'm not a coder, but I can't believe this isn't fixable. Here, Apple should be ashamed of itself, regardless of the fact that there's an easy work around. When I have to alter the way I have been doing something for years and have to waste time learning something new and complaining about it -- like right now! -- and there's no good technical reason, and I bet there isn't, then Apple has simply failed.

  • TS3899 I have one message that I cannot delete.  The error message reads: The message could not be moved to the mailbox Trash.

    I have one message in my Inbox that I have tried numerous times to delete and I just can't get rid of it.  I have tried the instructions that the Apple Support suggests but it still didn't work.  Has anyone else had this problem?

         I'm having the same problem. Seems to have started after an update about 4 days ago.
    Mail seems to think the messages are files and won't let you have more than 1  with the same header  in the Trash mailbox. If you do away with the Trash Mailbox by having mail delete the message instead of sending it to the Trash Mailbox the problem goes away, but so does the ability to recover a mistakenly deleted message. I get a lot of messages from the same people with the same header on the message. this problem is driving me crazy and I haven't been able to find anyone with any idea of whats causing it. Your the first user I've seen with this same problem.
         Lets hope someone has an idea. I would really like to solve this without losing all of my old emails.
         Ron Genovesi
         (HMBGENO)

  • HT1725 I've followed the advice to re-commence downloading an interrupted video but I still keep getting an error message. I then deleted the video to start again but the original is still trying to download in the iTunes app. Any ideas what I can do? Tha

    I started downloading a video from iTunes last night on my ipad when my wifi dropped out. Once I'd reconnected my wifi I tried to recommence the download but it kept saying that download was not available at this time. I then tried the steps in iTunes help but got the same message. Finally, I deleted the video (the part that had downloaded) from my video section and tried to start the download again from the start. However, when I go to iTunes it's still trying to download the original and even this morning I'm still getting the error message. Any ideas what I could do to get the video downloaded? I currently only have access to my ipad. Thanks.

    I also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
    I am running Yosemitie on a  iMac.
    Paul

  • Problem of Delete and Overwrite XLS file on Application Server

    Hi Experts,
         I want to transfer file on application server using below code and try to delete after successfully transfer on application file to other location.
    I have problem during deleting file and overwrite file.
    DATA: G_S_FILE TYPE EPSFILNAM,
          G_S_DIR  TYPE EPSDIRNAM,
          G_T_FILE TYPE EPSFILNAM,
          G_T_DIR  TYPE EPSDIRNAM.
    DATA : DELFILE(60).
      G_S_FILE = '1400000051.XLS'.
      G_S_DIR  = '\\Dev\PO\'.
      G_T_FILE = '1400000051.XLS'.
      G_T_DIR  = '\\Dev\PO\bkup'.
      DELFILE = '\\Dev\PO\1400000051.XLS'.
      CALL METHOD CL_CTS_LANGUAGE_FILE_IO=>COPY_FILES_LOCAL
        EXPORTING
          IM_SOURCE_FILE           = G_S_FILE
          IM_SOURCE_DIRECTORY      = G_S_DIR
          IM_TARGET_FILE           = G_T_FILE
          IM_TARGET_DIRECTORY      = G_T_DIR
          IM_OVERWRITE_MODE        = 'S'
        EXCEPTIONS
          OPEN_INPUT_FILE_FAILED   = 1
          OPEN_OUTPUT_FILE_FAILED  = 2
          WRITE_BLOCK_FAILED       = 3
          READ_BLOCK_FAILED        = 4
          CLOSE_OUTPUT_FILE_FAILED = 5
          OTHERS                   = 6.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      OPEN DATASET DELFILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC = 0.
        DELETE DATASET DELFILE.
      ELSE.
        WRITE / 'File not found'.
      ENDIF.
    Thanks,
    Himanshu Patel.

    Write a Java program using Apache POI that reads in a tab delimited file and outputs an xls file (in what they call Horrible Spread Sheet Format. Create your tab delimited file and then run your Java program using appropriate OS commands.
    Jelena Perfiljeva wrote:
    In all honesty, I find it hard to believe other application can't accept any other format. It's actually seems rather unreasonable to expect an ERP system to create a file in an outdated format of a desktop software. Even Excel itself can open many formats, so this just doesn't make any sense.
    This.
    Unless you can explain exactly why the destination must be xls and no other format is acceptable, I'm going to close the thread. What is this third party tool? Why can it only read the obsolete xls file format.
    I'm going through this thread and rejecting all the responses that attempt a solution that isn't xls.
    I'm surprised that the OP thought that simply saving with an xls file extension would cause some magic to happen and produce an actual Excel file.

  • HT1430 I can't delete 2 email messages. All others delete properly, however 2 will not delete no matter what I try. A pop up message comes up and says "cannot not delete"

    I can't delete 2 email messages that I received on the same day from one of my email accts. I have **** down the device and reset the device with no resolution to the problem. I can forward these two messages to our other acct and it will delete from there but returns to my personal email again, repeatedly. All other messages that I have deleted from my acct delete properly. I get a pop up indicating that " the message cannot be deleted". How do I fix this?

    Delete the mail account and setup again.

  • Problem in Delete Time Quota Compensation

    Hi,
    There is a problem in Infotype- 416 (Time Quota Compensation) with subtype - Workmen SL Encashment.
    When I click on delete button, it goes in nexr screen - Delete Time Quota Compensation. From here, in Absence quotas, i want to delete 1 line item.
    There is a one problem in deleting this.. system shows the message Change before earliest retro. date 01.04.2009 acc. to control rec. to py area WK.
    Please let me know, what it is???
    Regards..

    What is the beginning date of the infotype record you are trying to delete?
    Please delete the payroll control record and re-create (by checking my prev message) so that the payroll period and retro period are in line with the start date of the IT.
    e.g. if IT record is 01.01.2009 - 31.12.2009 --> So create the payroll record for 01.2009 period and 01.2009 retro period. Make sure status is Rel for correction.
    As the infotype you're trying to delete belongs to a prior payroll period, control record acts as a shield to changes on this data since it is already used for a prior payroll calculation.
    Dilek

  • Problem in deleting the orders under Custom category.

    Hi friends,
            I am facing some problem in deleting the Orders which were created under custom category. In fact we are creating Intransits under Standard category "EI" as well as Custom Category "ZP". I am able to modify the intransits created under "EI" but when I tried to change or delete the orders created under Category "ZP", I am getting a messag triggered by BAPI as " Order can not be changed". atleast I need to delete the order if change is not possible. I am using the BAPI "BAPI_SLSRVAPS_CREATEINTRANS" to create intransits under "EI" and i am using the same BAPI with BADI implementation to "SAPAPO_DM_PO_CHANGE" to create intransits under "ZP". Based on the condition I am changing the am changing the category from EI  to ZP in the BADI.
           I am able to change or delete the orders created under the EI but when I tried to change or delete the orders under ZP its giving me a message as Order can not be changed.
           One more thing is If I go to Tcode /SAPAPO/RLCDEL trying to delete all the orders based on category. I am able to see all the orders under created under EI. If  I tried to delete the orders based on Custom category ZI it is giving me the message  as "No Orders exists in Live cache". But I am able to see the orders in tcode "SAPAPO/RRP3".
           Can any one help me out in making this done. Please help me out in this.
    Thanks & Regards,
    Ramana.

    Hi Visu,
               I really appreciate your gr8 help. Hope you can understand my problem that I am not a SCM person. Still you are responding to my questions with great patience.
               Here what I found is I found the record in OM19 transaction in the object "/SAPAPO/OM_ORDER_EXT_STR". But the interesting is its giving me the GUID as blank . there is empty value in that field. where as the program "/SAPAPO/OM_DELETE_INCON_ORDERS" is asking for the "order GUID".
             can you help me out in finding the order guid and deleting this order.
    Regards,
    Ramana.

  • Account messages me are not deleted in outlook. They branded. ??

    Hello. I have icloud synchronized with outlook 2007 (contacts, accounts, and calendar). The problem is that when delete a message in outlook does not send it to the Recycle Bin, that message appears crossed out. Why does this happen? Can I make it work with normal outlook?

    That is a setting in Outlook:
    Hide Strikethrough Messages Marked for Deletion in Outlook
    To hide messages already marked for deletion in Outlook:
    In Outlook 2007 & 10 Select View | Current View | Hide Messages Marked for Deletion from the menu.
    In Outlook 2003, Select View | Arrange By | Current View | Hide Messages Marked for Deletion.

  • Problem of deletion of rows in jtable, table refreshing too

    Hi,
    I have a table with empty rows in the beginning with some custom properties( columns have fixed width...), later user would be adding to the rows to this table and can delete, I've a problem while deleting the rows from table,
    When a selected row is deleted the model is also deleting the data but the table(view) is not refreshed.
    Actually i'm selecting a cell of a row, then hitting the delete button.
    So the model is deleting the information, but i'm not able to c the fresh data in table( especially when the last cell of last row is selectd and hit the delete button, i am getting lots of exception)
    Kindly copy the below code and execute it, and let me know,
    * AuditPanel.java
    * Created on August 30, 2002, 3:05 AM
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.Vector;
    * @author yaman
    public class AuditPanel extends javax.swing.JPanel {
    // These are the combobox values
    private String[] acceptenceOptions;
    private Vector colNames;
    private Color rowSelectionBackground = Color.yellow;
    private int rowHeight = 20;
    private int column0Width =70;
    private int column1Width =96;
    private int column2Width =327;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    /** Creates new form AuditPanel */
    public AuditPanel() {
    public void renderPanel(){
    initComponents();
    public String[] getAcceptenceOptions(){
    return acceptenceOptions;
    public void setAcceptenceOptions(String[] acceptenceOptions){
    this.acceptenceOptions = acceptenceOptions;
    public Vector getColumnNames(){
    return colNames;
    public void setColumnNames(Vector colNames){
    this.colNames = colNames;
    public Vector getData(){
    Vector dataVector = new Vector();
    /*dataVector.add(null);
    dataVector.add(null);
    dataVector.add(null);
    return dataVector;
    /** 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.
    private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;
    jPanel2 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    jTable1 = new javax.swing.JTable();
    setLayout(new java.awt.GridBagLayout());
    setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
    jPanel2.setLayout(new java.awt.GridBagLayout());
    jPanel2.setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
    jButton1.setText("Add");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 8;
    gridBagConstraints.insets = new java.awt.Insets(0, 1, 5, 0);
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel2.add(jButton1, gridBagConstraints);
    jButton2.setText("Delete");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel2.add(jButton2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    add(jPanel2, gridBagConstraints);
    jPanel1.setLayout(new java.awt.GridBagLayout());
    jPanel1.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED, Color.black, Color.gray) );
    jTable1.setModel(new javax.swing.table.DefaultTableModel(getData(), getColumnNames()));
    // get all the columns and set the column required properties
    java.util.Enumeration enum = jTable1.getColumnModel().getColumns();
    while (enum.hasMoreElements()) {
    TableColumn column = (TableColumn)enum.nextElement();
    if( column.getModelIndex() == 0 ) {
    column.setPreferredWidth(column0Width);
    column.setCellEditor( new ValidateCellDataEditor(true) );
    if( column.getModelIndex() == 1) {
    column.setPreferredWidth(column1Width);
    column.setCellEditor(new AcceptenceComboBoxEditor(getAcceptenceOptions()));
    // If the cell should appear like a combobox in its
    // non-editing state, also set the combobox renderer
    //column.setCellRenderer(new AcceptenceComboBoxRenderer(getAcceptenceOptions()));
    if( column.getModelIndex() == 2 ) {
    column.setPreferredWidth(column2Width); // width of column
    column.setCellEditor( new ValidateCellDataEditor(false) );
    jScrollPane1 = new javax.swing.JScrollPane(jTable1);
    jScrollPane1.setPreferredSize(new java.awt.Dimension(480, 280));
    jTable1.setMinimumSize(new java.awt.Dimension(60, 70));
    //jTable1.setPreferredSize(new java.awt.Dimension(300, 70));
    //jScrollPane1.setViewportView(jTable1);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    jPanel1.add(jScrollPane1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    add(jPanel1, gridBagConstraints);
    // set the row height
    jTable1.setRowHeight(rowHeight);
    // set selection color
    jTable1.setSelectionBackground(rowSelectionBackground);
    // set the single selection
    jTable1.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    // avoid table header to resize/ rearrange
    jTable1.getTableHeader().setReorderingAllowed(false);
    jTable1.getTableHeader().setResizingAllowed(false);
    // Table header font
    jTable1.getTableHeader().setFont( new Font( jTable1.getFont().getName(),Font.BOLD,jTable1.getFont().getSize() ) );
    jButton1.setMnemonic(KeyEvent.VK_A);
    // action of add button
    jButton1.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent){
    // If a button press is the trigger to leave a JTable cell and save the data in model
    if(jTable1.isEditing() ){
    //System.out.println("table is edition ");
    String text=((javax.swing.text.JTextComponent)jTable1.getEditorComponent()).getText();
    jTable1.setValueAt(text,jTable1.getSelectedRow(),jTable1.getSelectedColumn()) ;
    jTable1.getCellEditor().cancelCellEditing();
    // find out total available rows
    int totalRows = jTable1.getRowCount();
    int cols = jTable1.getModel().getColumnCount();
    if( jTable1.getModel() instanceof DefaultTableModel ) {
    ((DefaultTableModel)jTable1.getModel()).addRow(new Object[cols]);
    int newRowCount = jTable1.getRowCount();
    // select the first row
    jTable1.getSelectionModel().setSelectionInterval(newRowCount-1,newRowCount-1);
    jButton2.setMnemonic(KeyEvent.VK_D);
    // action of Delete button
    jButton2.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent){
    int totalRows = jTable1.getRowCount();
    // If there are more than one row in table then delete it
    if( totalRows > 0){
    int selectedOption = JOptionPane.showConfirmDialog(null,"Are you sure you want to delete this audit row?","Coeus", JOptionPane.YES_NO_OPTION);
    // if Yes then selectedOption is 0
    // if No then selectedOption is 1
    if(0 == selectedOption ){
    // get the selected row
    int selectedRow = jTable1.getSelectedRow();
    System.out.println("Selected Row "+selectedRow);
    if( selectedRow != -1 ){
    DefaultTableModel dm= (DefaultTableModel)jTable1.getModel();
    java.util.Vector v1=dm.getDataVector();
    System.out.println("BEFOE "+v1);
    v1.remove(selectedRow);
    jTable1.removeRowSelectionInterval(selectedRow,selectedRow);
    System.out.println("After "+v1);
    }else{
    // show the error message
    JOptionPane.showMessageDialog(null, "Please Select an audit Row", "Coeus", JOptionPane.ERROR_MESSAGE);
    } // end of initcomponents
    class AcceptenceComboBoxRenderer extends JComboBox implements TableCellRenderer {
    public AcceptenceComboBoxRenderer(String[] items) {
    super(items);
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus, int row, int column) {
    if (isSelected) {
    setForeground(table.getSelectionForeground());
    super.setBackground(rowSelectionBackground);
    } else {
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    // Select the current value
    setSelectedItem(value);
    return this;
    class AcceptenceComboBoxEditor extends DefaultCellEditor {
    public AcceptenceComboBoxEditor(String[] items) {
    super(new JComboBox(items));
    } // end editor class
    public class ValidateCellDataEditor extends AbstractCellEditor implements TableCellEditor {
    // This is the component that will handle the editing of the
    // cell value
    JComponent component = new JTextField();
    boolean validate;
    public ValidateCellDataEditor(boolean validate){
    this.validate = validate;
    // This method is called when a cell value is edited by the user.
    public Component getTableCellEditorComponent(JTable table, Object value,
    boolean isSelected, int rowIndex, int vColIndex) {
    if (isSelected) {
    component.setBackground(rowSelectionBackground);
    // Configure the component with the specified value
    JTextField tfield =(JTextField)component;
    // if any vaidations to be done for this cell
    if(validate){
    //tfield.setDocument(new JTextFieldFilter(JTextFieldFilter.NUMERIC,4));
    tfield.setText( ((String)value));
    // Return the configured component
    return component;
    // This method is called when editing is completed.
    // It must return the new value to be stored in the cell.
    public Object getCellEditorValue() {
    return ((JTextField)component).getText();
    // This method is called just before the cell value
    // is saved. If the value is not valid, false should be returned.
    public boolean stopCellEditing() {
    String s = (String)getCellEditorValue();
    return super.stopCellEditing();
    public void itemStateChanged(ItemEvent e) {
    super.fireEditingStopped();
    }//end of ValidateCellDataEditor class
    public static void main(String args[]){
    JFrame frame = new JFrame();
    AuditPanel auditPanel = new AuditPanel();
    frame.getContentPane().add(auditPanel);
    auditPanel.setAcceptenceOptions(new String[]{"Accepted", "Rejected", "Requested"} );
    java.util.Vector colVector = new java.util.Vector();
    colVector.add("Fiscal Year");
    colVector.add("Audit Accepted");
    colVector.add("Comment" );
    auditPanel.setColumnNames( colVector);
    auditPanel.renderPanel();
    frame.pack();
    frame.show();

    Hi,
    I've got the solution for it. As when the cursor is in cell of
    a row and hit the delete button, the data in that cell is not saved,
    So i'm trying to save the data first into the model then firing the action event by doing this ..
    jButton2.addActionListener( new ActionListener(){       
    public void actionPerformed(ActionEvent actionEvent){           
    // If a button press is the trigger to leave a JTable cell and save the data in model
    if(jTable1.isEditing() ){                   
    String text=((javax.swing.text.JTextComponent)jTable1.getEditorComponent()).getText();
    jTable1.setValueAt(text,jTable1.getSelectedRow(),jTable1.getSelectedColumn()) ;
    jTable1.getCellEditor().cancelCellEditing();
    // HERE DO THE DELETE ROW OPERATION
    <yaman/>

  • RFC Message: Internal Problem, in REDWOOD CPS.

    We have Redwood CPS 7 connected up to SAP IS-U Supply.
    We keep getting random RFC errors when executing a script.
    Any Idea
      ERROR LOG   *******************
    ABAP_RUN: R/3 call BAPI_XBP_JOB_OPEN failed
    RFC error: XM034
    RFC Message: Internal problem (function BAPI_XBP_JOB_OPEN)
    TCTRETURNS/        : deleted
    /ERROR LOG   *******************

    Hi,
    if this is a random issue I assume that the authorizations of the CPS communication user are OK, otherwise please verify:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/bb35b8623a489aa63abd9f5ebf2448/frameset.htm
    If this random issue happens only if you execute your custom script, I would assume that the script wants to create a job with invalid data. For example: some data is missing or wrong like start date/time, job class, job user, job name.
    Let's analyze what you have posted here:
    RFC error: XM034
    RFC Message: Internal problem (function BAPI_XBP_JOB_OPEN)
    -> XM034 point to the XMI log
    -> use transcation RZ15 to analyze the XMI log
    -> XM034 means "problem detected" (see appendix 8 of document ftp://ftp.sap.com/pub/icc/bc-xbp/BCXBPDOC70V3.pdf)
    I locked into the code and indeed it seems that function BAPI_XBP_JOB_OPEN returns this message if the job cannot be created.
    So if Sys- and XMI-Log cannot help you in solving this issue, I would create a message for dev. support.
    Cheers,
    Martin
    http://service.sap.com/jsm

  • Are messages I have not deleted but not backed up still on a server somewhere?

    Peculiar situation - I'll explan as succinctly as I can.
    Recently I had to restore my iphone. On it were stored a number of messages that I will describe as 'not deleted' but as I had not backed up successfully in some time - *cough* two months *cough* - the backup obviously did not restore them.
    The messages app is seemingly operating normally. No interruption is noted aside from problems associated with my carrier.
    Is there a way to retrieve those messages falling into the 'not deleted but historical and not captured by the backup' part of the resulting Venn diagram?

    Randomitable wrote:
    Are messages I have not deleted but not backed up still on a server somewhere?
    No.
    Your iPhone should back up whenever you connect it to your computer or if you are syncing to iCloud, whenever you plug it in while on wi-fi...

Maybe you are looking for