List of checkbox with undefined length

In my application I need to show a list of ckeckboxes+description depending on a 1:N relationship.
I could use an af:table but it inserts headers and lines around the cells and I need to aviod all this.
The number of checkboxes is undefined (depending on the 1:N relationshjip) and they must bu shown one under the other.
I need to execte a process (insert values in the dtabase) when the checkbox is activated (initially they are all deactivated).
What component should be suitable for this use case ? An af:table configuring the way it is displayed (I dont need to see anything that shows the as a table) could be all right ?

Hi Arunkumar. Both approaches are good for me but the selectmanycheckbox seems simpler.
After user selects several check boxes, I have to create records in a database table (or view object). One record for each select checked.
Is there any best practice or easy method to achieve this ?
In fact, the "table" displayed with checkboxes is conceptually like mapping a master -detail hierarchy but I have only to create records in the DB for detail records where checkbox is selected.

Similar Messages

  • Dynamic List of Checkboxes and their Default Values

    Hello,
    I have spent more than five hours feebly attempting to figure out how to make a dynamic list of checkboxes (using an LOV) adhere to the values in the database which those checkboxes represent. The LOV itself works; I can get a nice list of checkboxes with the appropriate names, but I can't get HTML DB to check the boxes that have a value of 'Y' in the database. The code for my LOV follows:
    SELECT mesg_name n, mesg_id r
    FROM notifications
    WHERE mesg_id = (SELECT mesg_id
                      FROM subscriptions
                      WHERE upper(network_id) = upper(:APP_USER))Since this is a dynamic list of checkboxes, I obviously cannot use the "Label" property to set the labels of each checkbox. That is what n is in the query above. r is the unique ID of the message (a varchar2) that I will need to pass back to the program after the page is submitted by the user for processing. I cannot take up the value field of the checkbox with a "Y" or something as equally vague. The ID of the subscription that the user is subscribing to or unsubscribing to must be passed back to the program so the appropriate modifications to the database table can be made.
    I would most appreciate it if anyone could lend assistance.
    Thank you,
    Marc Weil

    Marc,
    I think I see what you're trying to do. You'll have to separate process that renders the LOV as a series of check boxes from the process that sets the checked values for each user.
    Before the LOV is rendered on a page, make sure you set the session state value of the LOV item to a colon separated set of IDs based on your query:
    SELECT mesg_id
    FROM subscriptions
    WHERE upper(network_id) = upper(:APP_USER)
    If you have trouble, let me know, I'll try to come up with an example.
    Sergio

  • Checkbox with JTree

    hai,
    i added checkbox to each tree node and my coding is
    import java.awt.BasicStroke;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.ComponentOrientation;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.GridLayout;
    import java.awt.Insets;
    import java.awt.Point;
    import java.awt.Rectangle;
    import java.awt.RenderingHints;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.FocusEvent;
    import java.awt.event.FocusListener;
    import java.awt.event.InputEvent;
    import java.awt.event.KeyEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Set;
    import javax.swing.AbstractAction;
    import javax.swing.AbstractButton;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.JTree;
    import javax.swing.KeyStroke;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.tree.TreeCellRenderer;
    import javax.swing.tree.TreePath;
    /** Provides checkbox-based selection of tree nodes. Override the protected
    * methods to adapt this renderer's behavior to your local tree table flavor.
    * No change listener notifications are provided.
    public class CheckBoxTreeCellRenderer implements TreeCellRenderer {
    public static final int UNSELECTABLE = 0;
    public static final int FULLSELECTED = 1;
    public static final int NOTSELECTED = 2;
    public static final int PARTIALSELECTED = 3;
    private TreeCellRenderer renderer;
    public static JCheckBox checkBox;
    private Point mouseLocation;
    private int mouseRow = -1;
    private int pressedRow = -1;
    private boolean mouseInCheck;
    private int state = NOTSELECTED;
    private Set checkedPaths;
    private JTree tree;
    private MouseHandler handler;
    /** Create a per-tree instance of the checkbox renderer. */
    public CheckBoxTreeCellRenderer(JTree tree, TreeCellRenderer original) {
    this.tree = tree;
    this.renderer = original;
    checkedPaths = new HashSet();
    checkBox = new JCheckBox();
    checkBox.setOpaque(false);
    System.out.println(checkBox.isSelected());
    checkBox.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent e) {
              trace(checkBox);
    // ActionListener actionListener = new ActionListener() {
    // public void actionPerformed(ActionEvent actionEvent) {
    // AbstractButton abstractButton = (AbstractButton) actionEvent.getSource();
    // boolean selected = abstractButton.getModel().isSelected();
    // System.out.println(selected);
    // // abstractButton.setText(newLabel);
    // checkBox.addActionListener(new ActionListener(){
    //               public void actionPerformed(ActionEvent actionEvent) {
    //                    Checkbox cb = actionEvent.getSource();
    //     boolean selected = abstractButton.getModel().isSelected();
    //     System.out.println(selected);
    checkBox.setSize(checkBox.getPreferredSize());
    private static void trace(JCheckBox cb) {
         if (cb.isSelected())
              System.out.println(cb.getText()+" is " + cb.isSelected());
         else
              System.out.println(cb.getText()+" is " + cb.isSelected());
    protected void installMouseHandler() {
    if (handler == null) {
    handler = new MouseHandler();
    addMouseHandler(handler);
    protected void addMouseHandler(MouseHandler handler) {
    tree.addMouseListener(handler);
    tree.addMouseMotionListener(handler);
    private void updateMouseLocation(Point newLoc) {
    if (mouseRow != -1) {
    repaint(mouseRow);
    mouseLocation = newLoc;
    if (mouseLocation != null) {
    mouseRow = getRow(newLoc);
    repaint(mouseRow);
    else {
    mouseRow = -1;
    if (mouseRow != -1 && mouseLocation != null) {
    Point mouseLoc = new Point(mouseLocation);
    Rectangle r = getRowBounds(mouseRow);
    if (r != null)
    mouseLoc.x -= r.x;
    mouseInCheck = isInCheckBox(mouseLoc);
    else {
    mouseInCheck = false;
    protected int getRow(Point p) {
    return tree.getRowForLocation(p.x, p.y);
    protected Rectangle getRowBounds(int row) {
    return tree.getRowBounds(row);
    protected TreePath getPathForRow(int row) {
    return tree.getPathForRow(row);
    protected int getRowForPath(TreePath path) {
    return tree.getRowForPath(path);
    public void repaint(Rectangle r) {
    tree.repaint(r);
    public void repaint() {
    tree.repaint();
    private void repaint(int row) {
    Rectangle r = getRowBounds(row);
    if (r != null)
    repaint(r);
    public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
    installMouseHandler();
    TreePath path = getPathForRow(row);
    state = UNSELECTABLE;
    if (path != null) {
    if (isChecked(path)) {
    state = FULLSELECTED;
    else if (isPartiallyChecked(path)) {
    state = PARTIALSELECTED;
    else if (isSelectable(path)) {
    state = NOTSELECTED;
    checkBox.setSelected(state == FULLSELECTED);
    checkBox.getModel().setArmed(mouseRow == row && pressedRow == row && mouseInCheck);
    checkBox.getModel().setPressed(pressedRow == row && mouseInCheck);
    checkBox.getModel().setRollover(mouseRow == row && mouseInCheck);
    Component c = renderer.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus);
    checkBox.setForeground(c.getForeground());
    if (c instanceof JLabel) {
    JLabel label = (JLabel)c;
    // Augment the icon to include the checkbox
    Icon customOpenIcon = new ImageIcon("browse.gif");
    label.setIcon(new CompoundIcon(label.getIcon()));
    return c;
    private boolean isInCheckBox(Point where) {
    Insets insets = tree.getInsets();
    int right = checkBox.getWidth();
    int left = 0;
    if (insets != null) {
    left += insets.left;
    right += insets.left;
    return where.x >= left && where.x < right;
    public boolean isExplicitlyChecked(TreePath path) {
    return checkedPaths.contains(path);
    /** Returns whether selecting the given path is allowed. The default
    * returns true. You should return false if the given path represents
    * a placeholder for a node that has not yet loaded, or anything else
    * that doesn't represent a normal, operable object in the tree.
    public boolean isSelectable(TreePath path) {
    return true;
    /** Returns whether the given path is currently checked. */
    public boolean isChecked(TreePath path) {
    if (isExplicitlyChecked(path)) {
    return true;
    else {
    if (path.getParentPath() != null) {
    return isChecked(path.getParentPath());
    else {
    return false;
    public boolean isPartiallyChecked(TreePath path) {
    Object node = path.getLastPathComponent();
    for (int i = 0; i < tree.getModel().getChildCount(node); i++) {
    Object child = tree.getModel().getChild(node, i);
    TreePath childPath = path.pathByAddingChild(child);
    if (isChecked(childPath) || isPartiallyChecked(childPath)) {
    return true;
    return false;
    private boolean isFullyChecked(TreePath parent) {
    Object node = parent.getLastPathComponent();
    for (int i = 0; i < tree.getModel().getChildCount(node); i++) {
    Object child = tree.getModel().getChild(node, i);
    TreePath childPath = parent.pathByAddingChild(child);
    if (!isExplicitlyChecked(childPath)) {
    return false;
    return true;
    public void toggleChecked(int row) {
    TreePath path = getPathForRow(row);
    boolean isChecked = isChecked(path);
    removeDescendants(path);
    if (!isChecked) {
    checkedPaths.add(path);
    setParent(path);
    repaint();
    private void setParent(TreePath path) {
    TreePath parent = path.getParentPath();
    if (parent != null) {
    if (isFullyChecked(parent)) {
    removeChildren(parent);
    checkedPaths.add(parent);
    } else {
    if (isChecked(parent)) {
    checkedPaths.remove(parent);
    addChildren(parent);
    checkedPaths.remove(path);
    setParent(parent);
    private void addChildren(TreePath parent) {
    Object node = parent.getLastPathComponent();
    for (int i = 0; i < tree.getModel().getChildCount(node); i++) {
    Object child = tree.getModel().getChild(node, i);
    TreePath path = parent.pathByAddingChild(child);
    checkedPaths.add(path);
    private void removeChildren(TreePath parent) {
    for (Iterator i = checkedPaths.iterator(); i.hasNext();) {
    TreePath p = (TreePath) i.next();
    if (p.getParentPath() != null && parent.equals(p.getParentPath())) {
    i.remove();
    private void removeDescendants(TreePath ancestor) {
    for (Iterator i = checkedPaths.iterator(); i.hasNext();) {
    TreePath path = (TreePath) i.next();
    if (ancestor.isDescendant(path)) {
    i.remove();
    /** Returns all checked rows. */
    public int[] getCheckedRows() {
    TreePath[] paths = getCheckedPaths();
    int[] rows = new int[checkedPaths.size()];
    for (int i = 0; i < checkedPaths.size(); i++) {
    rows[i] = getRowForPath(paths);
    Arrays.sort(rows);
    return rows;
    /** Returns all checked paths. */
    public TreePath[] getCheckedPaths() {
    return (TreePath[]) checkedPaths.toArray(new TreePath[checkedPaths.size()]);
    protected class MouseHandler extends MouseAdapter implements MouseMotionListener {
    public void mouseEntered(MouseEvent e) {
    updateMouseLocation(e.getPoint());
    public void mouseExited(MouseEvent e) {
    updateMouseLocation(null);
    public void mouseMoved(MouseEvent e) {
    updateMouseLocation(e.getPoint());
    public void mouseDragged(MouseEvent e) {
    updateMouseLocation(e.getPoint());
    public void mousePressed(MouseEvent e) {
    pressedRow = e.getModifiersEx() == InputEvent.BUTTON1_DOWN_MASK
    ? getRow(e.getPoint()) : -1;
    updateMouseLocation(e.getPoint());
    public void mouseReleased(MouseEvent e) {
    if (pressedRow != -1) {
    int row = getRow(e.getPoint());
    if (row == pressedRow) {
    Point p = e.getPoint();
    Rectangle r = getRowBounds(row);
    p.x -= r.x;
    if (isInCheckBox(p)) {
    toggleChecked(row);
    pressedRow = -1;
    updateMouseLocation(e.getPoint());
    public void mouseClicked(MouseEvent e){
         if(checkBox.isSelected()){
              System.out.println(checkBox.getName());
    /** Combine a JCheckBox's checkbox with another icon. */
    private final class CompoundIcon implements Icon {
    private final Icon icon;
    private final int w;
    private final int h;
    private CompoundIcon(Icon icon) {
    if (icon == null) {
    icon = new Icon() {
    public int getIconHeight() { return 0; }
    public int getIconWidth() { return 0; }
    public void paintIcon(Component c, Graphics g, int x, int y) { }
    this.icon = icon;
    this.w = icon.getIconWidth();
    this.h = icon.getIconHeight();
    public int getIconWidth() {
    return checkBox.getPreferredSize().width + w;
    public int getIconHeight() {
    return Math.max(checkBox.getPreferredSize().height, h);
    public void paintIcon(Component c, Graphics g, int x, int y) {
    if (c.getComponentOrientation().isLeftToRight()) {
    int xoffset = checkBox.getPreferredSize().width;
    int yoffset = (getIconHeight()-icon.getIconHeight())/2;
    icon.paintIcon(c, g, x + xoffset, y + yoffset);
    if (state != UNSELECTABLE) {
    paintCheckBox(g, x, y);
    else {
    int yoffset = (getIconHeight()-icon.getIconHeight())/2;
    icon.paintIcon(c, g, x, y + yoffset);
    if (state != UNSELECTABLE) {
    paintCheckBox(g, x + icon.getIconWidth(), y);
    private void paintCheckBox(Graphics g, int x, int y) {
    int yoffset;
    boolean db = checkBox.isDoubleBuffered();
    checkBox.setDoubleBuffered(false);
    try {
    yoffset = (getIconHeight()-checkBox.getPreferredSize().height)/2;
    g = g.create(x, y+yoffset, getIconWidth(), getIconHeight());
    checkBox.paint(g);
    if (state == PARTIALSELECTED) {
    final int WIDTH = 2;
    g.setColor(UIManager.getColor("CheckBox.foreground"));
    Graphics2D g2d = (Graphics2D)g;
    g2d.setStroke(new BasicStroke(WIDTH, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
    g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    int w = checkBox.getWidth();
    int h = checkBox.getHeight();
    g.drawLine(w/4+2, h/2-WIDTH/2+1, w/4+w/2-3, h/2-WIDTH/2+1);
    g.dispose();
    finally {
    checkBox.setDoubleBuffered(db);
    private static String createText(TreePath[] paths) {
    if (paths.length == 0) {
    return "Nothing checked";
    String checked = "Checked:\n";
    for (int i=0;i < paths.length;i++) {
    checked += paths[i] + "\n";
    return checked;
    public static void main(String[] args) {
    try {
    final String SWITCH = "toggle-componentOrientation";
    try {
                   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
              } catch (ClassNotFoundException e1) {
                   e1.printStackTrace();
              } catch (InstantiationException e1) {
                   e1.printStackTrace();
              } catch (IllegalAccessException e1) {
                   e1.printStackTrace();
              } catch (UnsupportedLookAndFeelException e1) {
                   e1.printStackTrace();
    JFrame frame = new JFrame("Tree with Check Boxes");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    final DefaultMutableTreeNode a = new DefaultMutableTreeNode("Node 1");
    for(int i =0 ; i<3; i++ ){
         DefaultMutableTreeNode b = new DefaultMutableTreeNode("ChildNode "+i);
         a.add(b);
    DefaultMutableTreeNode e = new DefaultMutableTreeNode("Node 2");
    for(int i =0 ; i<3; i++ ){
         DefaultMutableTreeNode f = new DefaultMutableTreeNode("ChildNode "+i);
         e.add(f);
    DefaultMutableTreeNode al = new DefaultMutableTreeNode("Sample");
    al.add(a);
    al.add(e);
    final JTree tree = new JTree(al);
    final CheckBoxTreeCellRenderer r =
    new CheckBoxTreeCellRenderer(tree, tree.getCellRenderer());
    tree.setCellRenderer(r);
    int rc = tree.getRowCount();
    tree.getActionMap().put(SWITCH, new AbstractAction(SWITCH) {
    public void actionPerformed(ActionEvent e) {
    ComponentOrientation o = tree.getComponentOrientation();
    if (o.isLeftToRight()) {
    o = ComponentOrientation.RIGHT_TO_LEFT;
    else {
    o = ComponentOrientation.LEFT_TO_RIGHT;
    tree.setComponentOrientation(o);
    tree.repaint();
    int mask = InputEvent.SHIFT_MASK|Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
    tree.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_O, mask), SWITCH);
    final JTextArea text = new JTextArea(createText(r.getCheckedPaths()));
    text.setPreferredSize(new Dimension(200, 100));
    tree.addMouseListener(new MouseAdapter() {
    public void mouseReleased(MouseEvent e) {
    // Invoke later to ensure all mouse handling is completed
    SwingUtilities.invokeLater(new Runnable() { public void run() {
    text.setText(createText(r.getCheckedPaths()));
    JScrollPane pane = new JScrollPane(tree);
    frame.getContentPane().add(pane);
    // frame.getContentPane().add(new JScrollPane(text), BorderLayout.SOUTH);
    frame.pack();
    frame.setSize(600,400);
    frame.setVisible(true);
    catch(Exception e) {
    e.printStackTrace();
    System.exit(1);
    now i need to get nodes names which has been selected, how can i do this
    can anyone help me ...
    regards,
    shobi

    Also, use code tags and post a SSCCE -- I'm sure more of your posted code is irrelevant to your question and few people are going to look at a code listing that long.
    [http://mindprod.com/jgloss/sscce.html]

  • Best way to create a scrolling expandable list of checkboxes

    Stupid question time: I want to create a list of checkboxes where there can be more than will fit into the fixed space in the UI so I want it to scroll as necessary. I also need to add and remove items to reflect changes in external factors.
    I've tried to use the Radio Buttons item (which seems to be an NSMatrix that contains NSButtonCell objects) but I'm having problems (added items disappear off the top/bottom of the NSMatrix area, they seem to revert to the radio-button even if I set the 'prototype' to be a checkbox, I cannot get it is scroll).
    I'm sure that this is a standard thing to have (a scrolling dynamic list of checkboxes) but I'm not sure how to create this. It's almost like the pop-up list in the combobox control but I want it on the screen the whole time.
    In Windows I would simply use a CheckedListBox control - what is the equivalent in Cocoa?
    Thanks
    Susan

    For what it's worth...
    I kinda sorta got this to work using an NSMatrix instead of an NSTableView. Clicking the checkboxes afterwards only seemed to "select" the checkbox (ie put a focus ring around the checkbox) rather than actually checking or unchecking the checkbox. So you might still need code similar to what you've already done for your table view.
    Here's what I did. This was in Leopard with Xcode and IB v. 3.0, but it may be somewhat similar in earlier versions of IB.
    1. Drag a single checkbox into your window.
    2. While your checkbox is selected go to the menubar and select "Layout -> Embed Object In -> Matrix".
    3. The inspector window should change to "Matrix attributes"
    4. Use the "Cells" attribute counters in the inspector window to add more rows (or more columns if needed) to your matrix. This should add more checkboxes to the matrix.
    5. Add rows and/or columns until you get basically the number of checkboxes that you'd like to be able to see in your scrollable area.
    6. Now while your matrix is selected go to the menubar and select "Layout -> Embed Objects In -> Scroll View"
    Initially the scroll view will not show a scrollbar (because your scroll view was sized to encompass all of the current checkboxes). But if you click into the scroll view so that the embedded matrix becomes selected then you can use the "Cells" counters in the inspector window again to add some more rows or columns of checkboxes... and the scroll bars of the scroll view will become active.
    If you don't know the total number of checkboxes beforehand then you can do something like this in code at runtime:
    [theMatrix addRow];
    [theMatrix sizeToCells];
    This assumes that "theMatrix" is an outlet to the matrix. The addRow method will add a row to the end of the matrix but there are other methods that will allow you to add a row at a specific index. The "sizeToCells" seems to be required to get the scroll view to notice that the matrix has changed size and it's scroll bars may need to be adjusted.
    Steve

  • Listing foreign keys with non matching column definitions

    Dear All,
    I seen an entry in DBA weeky activities s that "Listing foreign keys with non matching column definitions" . What is meant by that?. How to pick up that?
    Shiju

    I seen an entry in DBA weeky activities s that
    "Listing foreign keys with non matching column
    definitions" . What is meant by that?. How to pick up
    that?Most probably find columns which are part of foreign keys, but their respective primary key column have different length (AFAIK data type cannot be different).
    Data dictionary can help you in that, I'll give you hints where to look at:
    user/all/dba_constraints - foreign and primary keys
    user/all/dba_cons_columns - columns which are part of constraints
    user/all/dba_tab_columns - column definitions of tables
    However creating query from these data dictionary views could be a nice task for you :)
    Gints Plivna
    http://www.gplivna.eu

  • List of materials with total PR, PO qty, and stock

    Dear All,
    Is there any std report to check the list of materials along with total PR qty, PO qty and Current stock.
    This is to check, what is the total requirement of the materials and whether Purchase team has raised the PO or not ?
    Please advise.
    Regards
    Vinoth.

    Hi,
    MD04 gives us the details of individual part no.
    But, we would like to see similar details in the form of list of materials, with cumulative demand, cumulative OPEN PR Qty, Open PO Qty and Stock.
    Please help.
    Regards,
    Vinoth.

  • Any option to get the list of Invoice with respect to Sales Area

    Dear All,
    Is there any option to check the list of Invoices with respect to the Sales area.
    Because, in VF05, we are getting the list either for a Payer or a Material.
    I want to see the list of Invoices for a Sales area. I mean, it should be similar to VA05, where we can get the list of Sales Orders even without providing the Customer and Material information.
    Reagrds,
    Mullairaja

    HI
    Use the T code VF05N and select the option Bill documents in Fi
    Here you can get the list of invoices
    Try with MC+2
    regards
    Prashanth
    Edited by: Prashanth@SD on Nov 11, 2010 9:44 AM

  • Report for the list of meterials with  sales text .

    dear all,
    can any body help me in code for  list of meterials with sales text as discription.
    thanks &rgds
    vamsee krishna yadav

    Hi Vamsee
    The table for material related Sales data is MVKE.
    If you want to display materials then you may write a select query on MVKE, selecting Sales Organization and Distributuion Channel.
    the concatenate mat number (with the leading zeros), Sales Org and Dist Channel into what will be the 'Name'
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    id = '0001'
    language = <language>
    NAME = 'Name'
    object = 'MVKE'
    TABLES
    lines = li_lines.
    Now read the li_lines table for the Sales Text.
    Thanks
    Pushpraj

  • REPORT for list of invoice with an order reason.

    Hi SAP Gurus !
    Is there any standard SAP report which will show me a list of invoice with an order reason field?
    I have tried VF05 and VF05n,but in both of them, order reason as a selection parameter field is missing.
    In case of any clarification kindly revert back to me.
    Regards,
    Ujjawal

    Thanks to all !
    Actually i was going  to create a query with VBRK and VBAK  tables but sales order number is not the common link as sales order number is present in VBAK table only.
    Apart from that i had tried to add VBRK and VBRP table then i was getting the list of invoice with order reasons (because order reason was getting copied from an order to invoice) ,but in this query i'm getting Order reason number with list of invoice only(Description of order reason is not coming).
    Please guide me for this if i'm wrong.
    Regards,
    Ujjawal

  • How to use List of values with bind variables on item?

    Hi
    I made a dynamic list of values with a bind variable as a provider. I tried to run the list, and it worked fine - i filled inn the bind variable when asked for, and i got a list of values to choose from.
    I would very much like to use this list of values as an attribute on a custom made item. My wish is that when creating the item you someplace write the bind variable, and the list will then turn up as wanted. (I could f.ex add the variable as an attribute on the page type)
    I tried to create a custom attribute and assign the list of values to it. It created an error when I then tried to add the attribute to the item.
    Does anyone have any idea on how to solve this?
    Any help appreciated!
    Maja R. Anjer

    Hi
    i am getting error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT meaning, lookup_code,lookup_type
    FROM fnd_lookup_values
    WHERE view_application_id = 200) QRSLT WHERE (lookup_type=:1 AND ( UPPER(MEANING) like :2 AND (MEANING like :3 OR MEANING like :4 OR MEANING like :5 OR MEANING like :6)))
    Thanks
    Mateti

  • How to display multiple categories of webapp items in list view? Changing listbox list to checkbox list to select category in submission process?

    Hello!
    1.
    I am trying to get my page to list webapp items that are part of a few categories. I understand that if i want to view only one category, I just need to do the normal process of choosing that category and placing it out. So my question is: How do I display multiple categories of items in a webapp in a single page. I've tried this
    {module_webapps,WEBAPP_ID,c,CATEGORY_ID1,,,,10,,1} {module_webapps,WEBAPP_ID,c,CATEGORY_ID2,,,,10,,1}
    This only displays the everything from the first category, then everything from the next, which will not make it in order of date.
    I've also tried this for fun:
    {module_webapps,WEBAPP_ID,c,CATEGORY_ID1&CATEGORY_ID2,,,,10,,1}
    How can I go about doing it?
    2.
    I am looking to allow users to input a webapp item and allow them to select a category to tie to that item.
    <label for="CAT_Category">Category (You may select more than 1)<span class="req">*</span></label>
        <select name="CAT_Category" id="CAT_Category" class="cat_listbox" rows="4" multiple="multiple" style="height: 60px;">
        <option value="CATEGORY_ID1">--- Option 1</option>
        <option value="CATEGORY_ID2">--- Option 2</option>
        </select>
    Is it possible for me to change the listbox style into a checkbox style such that the user doesn't have to control+click multiple options?

    No answer to No.1 but I really want to find it out too.
    No.2 
    If you already know list of the categories & ID you can manually create a list of checkboxes
    <input type="checkbox" name="CAT_Category" value="89081" />
    <input type="checkbox" name="CAT_Category" value="89082" />
    <input type="checkbox" name="CAT_Category" value="89083" />
    something like that should work

  • How to find out which list is associated with specific incoming email address

    Hey Guys,
    I've a received a request today from a user asking me which list was setup with a specific incoming email address.
    Is there a way to find out which list is associated with an email address?
    Thanks

    OK after a bit of research I found a way to achieve this.
    I simply looked up the email address in ADUC, then did a search in SP with the display name. I could locate the list and manually confirm it was configured with the incoming email address I was looking for.
    I also found the below script on Stackoverflow, but got "The 'using' keyword is not supported in this version of the language." when I tried to run it. Any idea how to fix that? I'd like to have a script to link a library to an email address istead of the
    manual approach described above.
    http://stackoverflow.com/questions/4974110/sharepoint-how-do-i-find-a-mail-enabled-list-if-i-only-have-the-email
    $SiteCollection = ""
    $EmailAddress = "" # only the part before the @
    # Load SharePoint module if not done yet
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {Add-PSSnapin Microsoft.SharePoint.PowerShell;}
    cls
    using System;
    using Microsoft.SharePoint;
    namespace FindListByEmail
    class Program
    {a
    static void Main(string[] args)
    string siteUrl = $SiteCollection;
    string email = $EmailAddress;
    using (SPSite site = new SPSite(siteUrl))
    foreach (SPWeb web in site.AllWebs)
    try
    foreach (SPList list in web.Lists)
    if (list.CanReceiveEmail)
    if (list.EmailAlias != null && list.EmailAlias.Equals(email, StringComparison.InvariantCultureIgnoreCase))
    Console.WriteLine("The email belongs to list {0} in web {1}", list.Title, web.Url);
    Console.ReadLine();
    return;
    finally
    if (web != null)
    web.Dispose();

  • Looking for a List of GT72 with IPS screen

    hi guys !
    I'm looking to buy a GT72 with a 970M or 980M , but my main focus is on the screen . i really want a IPS screen with my GT 72 , and i know that there is a few which got one.
     when i look on website a lot of information are missing and i'm never sure if there is actually a IPS screen or not.
    My budget is like between 1.7k€ and 1.9k€ so if someone could make a list of GT72 with IPS screen in this price average it would be nice
    sorry for my bad english
    thanks

    Hi Ann  Thanks for that. I did come across that list too. There is a wiki site started also that has bugn to show how each works too. That's what I'd love to create for the entire list with a thumbnail as a visual   When I have time!
    http://premierepro.wikia.com/wiki/Transitions

  • Bapi for Creation of PO(Purchase Order) with Factor & Length

    Dear Experts,
    we wnat to create Po automatically by using Bapi.
    I come to know, there are some bapis like BAPI_PO_CREATE1,BAPI_PO_CREATE.
    Normal PO, we are able to create with these bapis.
    But we want to give factor & Length in PO Creation.
    Because we are using the Mill Products(cable Industry).
    so how to create the PO with Factor & Length.
    Plese help me to sort this issue.
    Thanks in advance,
    Regards,
    Rahul
    Edited by: M.Rahul Reddy on Oct 15, 2009 1:07 PM
    Dear Experts,
    I am looking for  your valuable sujjection to sort the issue.

    This is version problem in the Sap system.
    we are communicating with SAP people.

  • List of issues with DM6.0

    Here's my list of issues with Desktop Manager 6 that I would like to see addressed.
    1) No minimize to system tray. This isn't a huge deal but I'd like to see it return.
    2) Halt incoming e-mail to device when connected. This needs to come back. I don't need my Blackberry buzzing on my desk every two minutes when I'm sitting in front of my e-mail client.
    3) Folder sync selection. My mail server has rules that automatically sort incoming e-mails into different folders. I'm pretty sure practically everybody in an enterprise e-mail environment does this. In previous versions of DM, there was an option to choose which folders to sync. This is now gone, although I believe because these settings end up stored on the BES server my settings have remained for now. Moving forward, I can't change any of them without talking to our BES administrator.
    4) Automatic backup is broken. I've set DM to automatically backup my device "Weekly" when it is connected. What actually happens is every time I connect my blackberry it gets backed up - this can happen multiple times in one day. Pretty useless.
    5) Mass storage mode settings on blackberry are bypassed. I have my bb set to prompt whether I want to enable mass storage mode when I connect it. Now, when I connect my bb it immediately enters mass storage mode without a prompt on the device or on the desktop. I have this configured because if you use any kind of custom ringtone, even if it is stored on the internal memory and not on the media card, as soon as mass storage mode is enabled the bb cannot access the files internally and ringtones default back to a standard generic one. I can no longer wander away from my desk and hear my phone ringing and identify that it is my phone.
    That's my current (growing) list of issues. I will update with more, if anyone wants to confirm these issues or add others I will add to the list as well.

    you need to add media administration is non existent without Roxio Media Manager.  You can no longer pick and choose which files to exchange. Synching is the only option.
    Also, if media files are encrypted, DM 6 cannot read them. This was dealt with in Roxio Manager by simply inputing the encryption password...

Maybe you are looking for

  • SAP Business One SDK DI API

    Hi, well, i am pretty new in this SAP Business one thing, my company (Laboratorios Chontalpa in Mexico) recently has purchase the SAP Bussines One, and i need to interface my LIS (Laboratory Information System), right now i use xml to pass the inform

  • Printer Settings for Epson not working in LR and PE 12, crashes programs when I click.

    In LR 4.4 and PE 12, after I have set all my color management info in the program's print panel to the Epson printer and to the correct paper, I go to Page Setup, select the paper size and printer, then Printer Settings, select Printer, then attempt

  • No Back to My Mac indictor

    I have not been able to get Back To My Mac working and wondered if it has anything to do with my MacBook not having the red-yellow-green status indicator (http://support.apple.com/kb/TS1626). My desktop iMac has a green light but my laptop MacBook ha

  • Audio in left speaker not working properly

    Hi I recently have bought the HP ENVY 27 and I'm having trouble with the audio. Whether I pay music through the built in speakers or through the headphone jack in the monitor the left speaker seems to be a LOT (at least 50%) quieter than the right sp

  • Question for Walter Rick

    Walter Rick, I know you know our teacher David, who tought us DIAdem at Michigan at the end of March for 5 days. I have no his email address, phone number, so no way to reach him. He suppose to send me a sample of my application. I have not received