How do i do that? MultiLine in a cell of JTable !!!

Dear friends,
I am trying to add multiline in a cell of JTable. For that bellow code i have written, but my statement in cell displays in a line only. Code is given bellow (copy/paste/run), could anyone help me how to do that?
Regards..
Jaya.
import javax.swing.JTable;
import javax.swing.table.AbstractTableModel;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javax.swing.JOptionPane;
import java.awt.*;
import java.awt.event.*;
import javax.swing.border.*;
import javax.swing.table.*;
import java.sql.*;
public class OtL extends JFrame {
    public OtL()
      initComponents();
    private void initComponents() {
        model1 = new DefaultTableModel();
        btnClose  = new javax.swing.JButton();
        tblOt       = new javax.swing.JTable(model1);
        scrOt   = new javax.swing.JScrollPane();
        TableCellRenderer renderer = new TableRenderer();
        tblOt.setDefaultRenderer(Object.class,renderer);
        tblOt.setRowHeight(tblOt.getRowHeight()*3);
        tblOt.setBackground(new java.awt.Color(250,225,162));
        getContentPane().setLayout(null);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                exitForm(evt);
        btnClose.setText("CLOSE");
        btnClose.setToolTipText("Close This Screen");
        btnClose.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
        btnClose.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
              System.exit(0);
        getContentPane().add(btnClose);
        btnClose.setBounds(380, 470, 110, 25);
        tblOt.setToolTipText("Operation Theatre Booking List");
        scrOt.setViewportView(tblOt);
        tableSize();
        scrOt.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0)));
        scrOt.setToolTipText("Operation Theatre Booking List");
        getContentPane().add(scrOt);
        scrOt.setBounds(15, 150, 770, 300);
        displayOtList();
    private void exitForm(java.awt.event.WindowEvent evt) {
        System.exit(0);
    public static void main(String args[]) {
        JFrame j  = new OtL();
        j.setSize(800,560);
        j.show();
/**********Code for displaying Operation Theater Booking List****Start Here*************/
    public void displayOtList(){
Here i fire a sql query and i populate data in table.
Sometime i get more than 1 value for some column e.g Surgery Name and Surgeon Name, so
i want to display more than 1 value in the same cell. like bellow i have mentiond for
5th and 6th column. But its displayin in one line only, how can i display that in multiple line!!
I know that can be taken care with  Renderer, i tried but couldn't go through. I have written TableRenderer
class for that, please help me what should i do in Renderer class.
      int row1=0;
      tableSize();
      DefaultTableModel model1 = (DefaultTableModel)tblOt.getModel();
      Object[] newRow = new Object[6];
        for(int i=0;i<1;i++){
          row1 = tblOt.getRowCount() + 1;
          newRow[0] = "1";
          newRow[1] = "10:10";
          newRow[2] = "11:30";
          newRow[3] = "Name Here";
          newRow[4] = "Surgery Name1 \n Surgery Name2";
          newRow[5] = "Dr. Amit \n Dr. Johnson";
          model1.addRow(newRow);
/**********Code for displaying Operation Theater Booking List****End Here*************/
   class TableRenderer extends DefaultTableCellRenderer{
     public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean
hasFocus, int row, int column)
       super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
      setOpaque(true);
       return this;
/******tableSize()*****code for sizing table******start here()********/
  public void tableSize(){
    tblOt.setModel(new javax.swing.table.DefaultTableModel(
        new Object [][] {},
        new String [] {"Ot No.", "Start Time","End Time", "Patient Name", "Surgery Name","Surgeon Name"}
    TableColumn column = null;
    for (int i = 0; i < 6; i++) {
      column = tblOt.getColumnModel().getColumn(i);
      if (i == 0) {
        column.setPreferredWidth(5);
      if (i == 1) {
        column.setPreferredWidth(15);
      if (i == 2) {
      column.setPreferredWidth(15);
      if (i == 3) {
        column.setPreferredWidth(130);
      if (i == 4) {
        column.setPreferredWidth(130);
      if (i == 5) {
        column.setPreferredWidth(130);
/******tableSize()*****code for sizing table******end here()********/
    private javax.swing.JButton btnClose;
    private javax.swing.JScrollPane scrOt;
    private javax.swing.JTable tblOt;
    private DefaultTableModel model1;
[\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

OK Filne, Thanx .. its displaying data in multiple line now.
But still there is a problem, whenever i move mouse over the table row it returns error like bellow. I am not able to findout the reason of error. I tried to put code in try{} catch{} block to avoid this error, but still its coming. Help me.....!!!!!!!!
java.lang.NullPointerException
        at javax.swing.text.View.getViewIndex(View.java:1060)
        at javax.swing.text.View.getToolTipText(View.java:1031)
        at javax.swing.plaf.basic.BasicTextUI.getToolTipText(BasicTextUI.java:1057)
        at javax.swing.text.JTextComponent.getToolTipText(JTextComponent.java:1533)
        at javax.swing.JTable.getToolTipText(JTable.java:2380)
        at javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:669)
        at javax.swing.Timer.fireActionPerformed(Timer.java:256)
        at javax.swing.Timer$DoPostEvent.run(Timer.java:190)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)my latest programe code is here :
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.border.*;
import javax.swing.table.*;
public class OtL extends JFrame {
    public OtL()
      initComponents();
    private void initComponents() {
        model1 = new DefaultTableModel();
        btnClose  = new javax.swing.JButton();
        tblOt       = new javax.swing.JTable(model1);
        scrOt   = new javax.swing.JScrollPane();
        TableCellRenderer renderer = new TableRenderer();
        tblOt.setDefaultRenderer(Object.class,renderer);
        tblOt.setRowHeight(tblOt.getRowHeight()*3);
        tblOt.setBackground(new java.awt.Color(250,225,162));
        getContentPane().setLayout(null);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                exitForm(evt);
        btnClose.setText("CLOSE");
        btnClose.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
        btnClose.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
              System.exit(0);
        getContentPane().add(btnClose);
        btnClose.setBounds(380, 470, 110, 25);
        scrOt.setViewportView(tblOt);
        tableSize();
        scrOt.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(scrOt);
        scrOt.setBounds(15, 150, 770, 300);
        displayOtList();
    private void exitForm(java.awt.event.WindowEvent evt) {
        System.exit(0);
    public static void main(String args[]) {
        JFrame j  = new OtL();
        j.setSize(800,560);
        j.show();
    public void displayOtList(){
      int row1=0;
      tableSize();
      DefaultTableModel model1 = (DefaultTableModel)tblOt.getModel();
      Object[] newRow = new Object[6];
        for(int i=0;i<1;i++){
          row1 = tblOt.getRowCount() + 1;
          newRow[0] = "1";
          newRow[1] = "10:10";
          newRow[2] = "11:30";
          newRow[3] = "Name Here";
          newRow[4] = "Surgery Name1 \n Surgery Name2";
          newRow[5] = "Dr. Amit \n Dr. Johnson";
          model1.addRow(newRow);
   class TableRenderer extends JTextArea implements TableCellRenderer{
      public TableRenderer(){
        setLineWrap(true);
        setWrapStyleWord(true);
        setOpaque(true);
     public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean
hasFocus, int row, int column)
      if (isSelected) {
        setForeground(tblOt.getSelectionForeground());
        setBackground(tblOt.getSelectionBackground());
      } else {
        setForeground(tblOt.getForeground());
      setFont(tblOt.getFont());
      if (hasFocus) {
        setBorder( UIManager.getBorder("Table.focusCellHighlightBorder") );
          if (tblOt.isCellEditable(row, column)) {
            setForeground( UIManager.getColor("Table.focusCellForeground") );
            setBackground( UIManager.getColor("Table.focusCellBackground") );
          } else {
        setBorder(new EmptyBorder(1, 2, 1, 2));
      setText((value == null) ? "" : value.toString());
      return this;
/******tableSize()*****code for sizing table******start here()********/
  public void tableSize(){
    tblOt.setModel(new javax.swing.table.DefaultTableModel(
        new Object [][] {},
        new String [] {"Ot No.", "Start Time","End Time", "Patient Name", "Surgery Name","Surgeon Name"}
    TableColumn column = null;
    for (int i = 0; i < 6; i++) {
      column = tblOt.getColumnModel().getColumn(i);
      if (i == 0) {
        column.setPreferredWidth(5);
      if (i == 1) {
        column.setPreferredWidth(15);
      if (i == 2) {
      column.setPreferredWidth(15);
      if (i == 3) {
        column.setPreferredWidth(130);
      if (i == 4) {
        column.setPreferredWidth(130);
      if (i == 5) {
        column.setPreferredWidth(130);
/******tableSize()*****code for sizing table******end here()********/
    private javax.swing.JButton btnClose;
    private javax.swing.JScrollPane scrOt;
    private javax.swing.JTable tblOt;
    private DefaultTableModel model1;
}

Similar Messages

  • How can I get right data in a cell of JTable when table  enter editing

    how can I get right data in a cell of JTable when table enter editing

    how can I get right data in a cell of JTable when table enter editing

  • How can i create an event from a cell of JTable ?

    Hi , I am having a JTable which has two types of render : checkboxCellRender and DefaultTableCellRenderer
    i want to generate an event by clicking the checkbox which will do color changes for other cells . How can i do that ? Can i pass the events ?
    code snippet :
    class checkboxCellRenderExt extends checkboxCellRender
              public checkboxCellRenderExt(){}
              public Component getTableCellRendererComponent(JTable table, Object value,
                        boolean isSelected, boolean hasFocus,
                        int row, int column)
    JCheckBox c=(JCheckBox)super.getTableCellRendererComponent( table,value,isSelected,hasFocus,row, column);
    JTableModel md = (JTableModel)m_TablePan.getTable().getModel();
    Vector currentRow = md.getRow(row);
    if(isSelected)
    boolean m_bavail = ((Boolean)currentRow.get(COLUMN_TCM_STATUS)).booleanValue();
    if(!m_bavail)
         c.setForeground(Color.BLACK);
         c.setBackground(Color.WHITE);
    else
         c.setForeground(table.getSelectionForeground());
         c.setBackground(table.getSelectionBackground());
    else
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    return this;
    class CustomcellRenderer extends DefaultTableCellRenderer
         public CustomcellRenderer()
         public Component getTableCellRendererComponent(JTable table, Object value,
                                  boolean isSelected, boolean hasFocus,
                                  int row, int column)
              checkboxCellRender chkbox =null;
              JLabel lb;
              Component c = super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row, column);
              if (value == null)
         return c;
              if (value instanceof String)
                   String s = (String) value;
                   lb = (JLabel)c;
                   lb.setBorder (noFocusBorder);
                   lb.setText(s);
         JTableModel md = (JTableModel)m_TablePan.getTable().getModel();
         Vector currentRow = md.getRow(row);
              this.setHorizontalAlignment(JCheckBox.CENTER);
    if(isSelected)
                   boolean m_bavail = ((Boolean)currentRow.get(COLUMN_TCM_STATUS)).booleanValue();
                   if(!m_bavail)
                        c.setForeground(Color.BLACK);
                        c.setBackground(Color.WHITE);
                   else
                   c.setForeground(table.getSelectionForeground());
                   c.setBackground(table.getSelectionBackground());
    else
                   setForeground(table.getForeground());
                   setBackground(table.getBackground());
    return this;
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    Add a TableModelListener to the TableModel. An event is fired when the contents of the cell are changed.

  • How to put a jpopup menue in a cell of jtable

    Hello,
    I want to make a jtable in which I want in one of the columns each cell when clicked(with right button) to pop up a jpopu menu with 3 actions. First I thought to make it with combobox but because I want to be activated with right button and then with the left i have changed my mind to jpopup menu.
    Can you tell me what kind of render and editor to use? I will be very grateful if you can send me some examples because I am new to the swing.
    Thanx,
    Miroslav

    You probably want to add a mouse listener to the JTable itself.
    There is some sample code below. It adjusts the location of the
    menu, and it's source component so that the menu can opperate
    on the proper object, rather than the source of the event.
    On your table add the menu as follows:
        table.addMouseListener(new PopupMouseListener(menu));You will have to decode the location to determine which column
    the "Right Click" occurred on. You may then have to decode the
    menu you want, (if you have different menus for different
    columns/cells).
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import com.ovotron.util.Debug;
    public class PopupMouseListener extends MouseAdapter {
        private JPopupMenu menu    = null;
        private Component  invoker = null;
        public PopupMouseListener(JPopupMenu menu) {
            super();
            this.menu = menu;
        public PopupMouseListener(JPopupMenu menu, Component invoker) {
            this(menu);
            this.invoker = invoker;
        public void mousePressed(MouseEvent e) {
             int mod = e.getModifiers();
             if ((mod & MouseEvent.BUTTON3_MASK) == MouseEvent.BUTTON3_MASK) {
                 if (menu == null) {
                     return;
                 int       x     = e.getX();
                 int       y     = e.getY();
                 Component comp  = (Component)e.getSource();
                 if (invoker != null) {
                     // Event (X,Y), are relative to the source, need to
                     // re-calculate to be relative to the invoker.
                     Point src = comp.getLocationOnScreen();
                     Point loc = invoker.getLocationOnScreen();
                     x = x - (loc.x - src.x);
                     y = y - (loc.y - src.y);
                     comp = invoker;
                 menu.show(comp, x, y);
    }

  • URGENT PLEASE ---How to open popup window after selecting a cell of JTable.

    Hi,
    I am struck at aproblem, I am developing an applet in which I am using TabbedPanes and each tabbed panel has either tables or some key information to display.
    My Problem is, I have a JTable, which has informations related to a perticular record, each record may or may not have some more hidden information. If a record has a hidden information, then the record's cell will contain a message " click here for more information " . after clicking this cell a window will open to show the hidden information.
    I have tried ListSelectionListener and MouseListener to the JTable but nothing is giving me the desired results.
    Please I you could suggest me about this.

    You say its urgent
    So urgent, so oh oh urgent
    Just wait and see
    How urgent my love can be
    Its urgent

  • How to change the Background color of a cell in JTable

    hi!
    Actually i want to change the background color of few cells in JTable
    is there any method to make this change in JTable ?
    and also is it possible to have 5 rows with single column and 5 rows with 3 columns in a single JTable

    i want to change the background color of few cells in JTableDepending on your requirements for the coloring of cells it may be easier to override the prepareRenderer() method of JTable:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=610474

  • How to put JTextfield and JButton in a cell of JTable

    I'm trying to put two Components into one cell of a JTable. This is no
    problem (in the TableCellRenderer) unless it comes to editing in these
    cells. I have written my own CellEditor for the table.but there is one
    minor problem: Neither the JTextfield nor the JButton has the focus so I
    can't make any input! Does anybody know what's wrong, please help me for this issue ,plese urgent

    Here you go
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.AbstractCellEditor;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellEditor;
    public class TableEdit extends JFrame
         JTable table = new JTable();
         private String[] columnNames = {"non-edit1", "edit", "non-edit2"};
         public TableEdit()
              super("Table Edit");
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              createGUI();
              setLocationRelativeTo(null);
              setSize(400, 300);
              setVisible(true);
         private void createGUI()
              table.setModel(new DefaultTableModel(3,3)
                   public int getColumnCount()
                        return 3;
                   public boolean isCellEditable(int row, int column)
                        if(column == 1)
                             return true;
                        return false;
                   public String getColumnName(int column)
                        return columnNames[column];
                   public int getRowCount()
                        return 3;
                   public Class getColumnClass(int column)
                        return String.class;
                   public Object getValueAt(int row, int column)
                        return row + "" + column;
              table.setRowHeight(20);
              table.setDefaultEditor(String.class, new MyTableEditor());
              JScrollPane sp = new JScrollPane(table);
              add(sp);
         public class MyTableEditor extends AbstractCellEditor
         implements TableCellEditor
              JPanel jp = new JPanel(new BorderLayout(5,5));
              JTextField tf = new JTextField();
              JButton btn = new JButton("...");
              public MyTableEditor()
                   jp.add(tf);
                   jp.add(btn, BorderLayout.EAST);
                   btn.addActionListener(new ActionListener(){
                        public void actionPerformed(ActionEvent e)
                             JOptionPane.showMessageDialog(null, "Clicked Lookup");
              public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
                   tf.setText(String.valueOf(value));
                   return jp;
              public Object getCellEditorValue()
                   return tf.getText();
         public static void main(String[] parms)
              new TableEdit();
    }

  • SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.

    Hi there,
    Does someone know in SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.
    Thanks,

    Hi,
    Per my knowledge,
    it is by design that the data type multiple lines of text can only use “contains” and “begins with” operators.
    You can also filter the list view using SharePoint Designer,
    Open your list AllItem.aspx page in SPD ->click “Filter” > in “Field Name” select your multipe line of text field, in “Comparison” will displayed four choices.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to send message from multiline container to same webservice or bus. sys

    Hi All,
    I want to send message from multiline container to a syn web service sequentially.
    I am getting that multiline container after a transformations step (1: n mapping).
    where i dont known what will be the value for n (number of message in multiline container). This will vary; depend upon input message to BPM.
    Scenario is like this.
    1. Receive step
    2. Transfromation to 1: n
    3. Want to send message from multiline container to a web service (business service),default loop and block step doesn’t give desirable result.
    any help will be appreciable
    Regards,
    Adish

    Adish Jain wrote:>
    > where as, if I will use block, it will send the same message to multiple receivers which are present in multiline receiver container. So need to think in different manner.
    Not necessarily.
    When you use block step in ForEach mode, you can select the container variable from:
    - a receiver container;
    - an interface container;
    The line element can then be either a receiver or an interface.
    The problem is that for this to work, the interfaces need to be async (since they are to be used as containers) and hence you won't be able to make your scenario work.
    But again, explain why your scenario with loop step didn't work.
    The only gap here is how to determine the number of loops (defining the counter variable value). But that can be easily solved if you include a new message with occurrence 1 as a target message of your mapping and as a container in your bpm.
    This new message needs only 1 single field, that should be filled with the number of messages you've created in the mapping (you could use count standard function, f.ex.).
    In your bpm, make sure to pass this fields value into the counter container right after your transformation step.
    Regards,
    Henrique.

  • How to use data of multiline element from workflow container

    Hi,
    Can you please tell me how to access rows of multiline element of workflow container.
    Scenario is like below.
    I have values in a multiline container(table) of workflow container.
    Now inside Fork branches  i need to check for specific data in the above table and with that condition i have to send workitem.
    I hope u can understand,otherwise please revert.
    Thanks in advance,
    Madhu

    You cannot didrectly check the condition...
    what you have to do is.. write a inside the method as below and set the flag...and use the flag in condition editor...
    SWC_GET_TABLE CONTAINER 'AGENTS'  lt_agents.
    loop at lt_agents ino wa_agents.
    if wa_agents = 'A'.
    lv_flag = X.
    endif.
    endloop.
    SWC_SET_ELEMENT CONTAINER 'FLAG' lv_flag.
    Create an export parameter FLAG as char1 with export marked.
    Do the neccesary bindings from task to workflow.
    Then in workflow check this flag in condition editor.

  • I recently sold my Mac Air to a friend, he wants to use iTunes Match, but it says he can't for another 40  days because it was attached to my account.  How can I get that turned off so that he can use his account and turn on iTunes match.

    I reecntly spold my mac book air,to a friend, when he tries to use itunes match it says the computer is registersed to another user and cannot be done for another 40+ days.  How do i get that to turn off.  I have unregistered it under my account.
    thanks s

    You either have an incredibly complex computer setup or I think you are confusing terminology here.  If you have iTunes set to share your library with others in your iTunes preferences then other computers in the area will see it as an item when they are running their iTunes and have it set to check for shared libraries.  Your husband is probably seeing this when running iTunes on his computer.  You can disable this sharing on your computer and/or he can set his not to pick up shared libraries.
    By the way, an iTunes account is something you log into when you want to buy something from Apple.  On your computer it is simply your iTunes collection or your iTunes application.  So you need to turn off sharing in your iTunes application preferences.
    Your husband is seeing "his" iTunes collection when running iTunes, but it is possible he doesn't have anything in it if it is a brand new computer.

  • I downloaded the new 6 software. Me and my boyfriend share the same iTunes account and now every time I text him I also get a copy of the text sent to my from my number. How do I get that to stop?

    I downloaded the new 6 software. Me and my boyfriend share the same iTunes account and now every time I text him I also get a copy of the text sent to my from my number. How do I get that to stop?

    Go to settings > messages > send & receive
    check or uncheck the correct phones numbers and/or email addresses

  • The hard disc of my laptop has crashed and i lost all the data. Now I want to take back up of my I phone and transfer contacts , messages and music back into my laptop , how can I do that. Pl help

    The hard disc of my laptop has crashed and i lost all the data. Now I want to take back up of my I phone and transfer contacts , messages and music etc back into my laptop , how can I do that. Also let me know how I can transfer the contacts into Windows contacts from I phone. Pl help

    Your content will only be where you put it.  It has always been very basic to always maintain a backup copy of your computer.
    You can transfer itunes purchases from your iphone: File>Device>Transfer purchases.
    You can import your pics taken with the iphone as you would with any digital camera.
    You can e-mail the other pics to yourself, they will never be of the original quality.
    You can out a unique contact and calendar entry on the computer.  You should get the option to merge the data when you sync.

  • I have hierarchy data in R/3 side how will i load that data from R/3 to BW

    Hi all,
    i have my hierarchy data in the R/3 side how will i load that data from  R/3 to BW side
    Regard
    Kiran Kumar

    Hi Kiran,
    Here is the procedure:
    1.      In the Data Warehousing Workbench under Modeling, select the InfoSource tree.
    2.      Select the InfoSource (with direct update) for the InfoObject, to which you want to load the hierarchy.
    3.      Choose Additional Functions® Create Transfer Rules from the context menu of the hierarchy table object for the InfoObject. The Assign Source System dialog box appears.
    4.      Select the source system from which the hierarchy is to be loaded. The InfoSource maintenance screen appears.
    ○       If the DataSource only supports the transfer method IDoc, then only the transfer structure is displayed (tab page DataSource/Transfer Structure).
    ○       If the DataSource also supports transfer method PSA, you can maintain the transfer rules (tab page Transfer Rules).
    If it is possible and useful, we recommend that you use the transfer method PSA and set the indicator Expand Leaf Values and Node InfoObjects. You can then also load hierarchies with characteristics whose node name has a length >32.
    5.      Save your entries and go back. The InfoSource tree for the Data Warehousing Workbench is displayed.
    6.      Choose Create InfoPackage from the context menu (see Maintaining InfoPackages). The Create InfoPackage dialog box appears.
    7.      Enter the description for the InfoPackage. Select the DataSource (data element Hierarchies) that you require and confirm your entries.
    8.      On the Tab Page: Hierarchy Selection, select the hierarchy that you want to load into your BI system.
    Specify if the hierarchy should be automatically activated after loading or be marked for activation.
    Select an update method (Full Update, Insert Subtree, Update Subtree).
    If you want to load a hierarchy from an external system with BAPI functionality, make BAPI-specific restrictions, if necessary.
    9.      If you want to load a hierarchy from a flat file, maintain the tab page: external data.
    10.      Maintain the tab page: processing.
    11.      Maintain the tab page: updating.
    12.      To schedule the InfoPackage, you have the following options:
    ○       (Manually) in the scheduler, see Scheduling InfoPackages
    ○       (Automatically) using a process chain (see Loading Hierarchies Using a Process Chain)
    When you upload hierarchies, the system carries out a consistency check, making sure that the hierarchy structure is correct. Error messages are logged in the Monitor. You can get technical details about the error and how to correct it in the long text for the respective message.
    For more info visit this help pages on SAP Help:
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/3d/320e3d89195c59e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4dae0795-0501-0010-cc96-fe3a9e8959dc
    Cheers,
    Habeeb

  • I want to purchase comic life 3 for a gift. How would I do that? Is it a direct download or can I buy it in a box?

    I want to purchase comic life 3 as a gift. How do I do that? Is it a direct download or can it be purchased in a box to give?

    You can't currently gift Mac App Store apps. The best that you could do is send an electronic gift certificate to cover the cost of the app. You can buy the gift certificate through the iTunes app.

Maybe you are looking for

  • Definition of  parked status in vendor line item display

    Hi All, What is the definition of parked status in vendor line item display? Thanks Pauline

  • Pass input to Automator's "Ask for Finder Items"

    Hi, I have created an Applescript in Automator, which is  set up to determine a folder location where config files reside. I would like to pass this location to "Ask for Finder Items", so that the default config file is selected, but the user can sel

  • How to send mail with SSL in ADDT?

    The control panel of ADDT for email settings doesn't have option for ssl enable. Please help me, thanks PS: One question had posted at http://forums.adobe.com/thread/284636?tstart=210

  • Publishing ios app - adding ios 7.0 icons

    Hi, İ am developing an ios app using adobe Flash CC and i downloaded air sdk 4.0 for ios. But ı could'nt find new icons size for ios 7.0 in air for ios setting panel. So icould'nt publish 76, 120 and 152 icons. How can i add these icons my ipa?

  • No fullscreen anymore...

    Hello, my daughter messed with the iMac, now i don't see fullscreen anymore (in any program) , i have to scroll left & right or up & down if I want to see more of the screen. anyone can help me out please?