Security API help needed / howto list user in group

Hi there,
i have tried all example programs of the hyperion security api. hard work to correct the errors in these scripts.
now i can create native groups an users and can create groups on groups or put users in native groups.
i have read the java doc / reference for the security api too but its not possible for me to list users of a group (group reference by name).
is there anybody who can help with a code sample to list users of a group like "testgroup" ?
something like (...getGroups(context,"testgroup")...) ??
Best Regards
Kai

Please don't cross-post. It is considered very rude to do that here:
http://forum.java.sun.com/thread.jspa?threadID=5233033&messageID=9953169#9953169

Similar Messages

  • Help needed, Createing Dynamic User input

    Hello,
    I am attempting to create some dynamic user input by "predicting" what the user requires in a text box.
    For example if the user enters "Smi" I have a select list pop up which gives the user all options that begin with "Smi".
    I am able to achieve the popups but the interface is quite jerky and not terribly responsive I am trying to solve this by using a thread which starts and stops when new input is received but it is still not quite right.
    The program uses a Sorted TreeSet to hold the data (I thought this would give me a quick search time) and a simple interface at this stage.
    Any help would be fantastic
    Thanks in advance :P
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.text.*;
    import java.util.*;
       /** This program represents part of a larger user interface for allowing the
       user to select data from a file or database.
       <p>
       When the program starts up, it will read in data from a given file, and hold
       it in some type of container allowing rapid access.
       <p>
       The user may then type in the first few letters of the surname of a person,
       and this program should immediately present in a popup dialog the names which
       match.  The user will be able to click on one of the names in the popup and
       that will cause all data about that person to be displayed in the JTextArea
       at the bottom of the window.
       <p>
       This program requires the FormLayout.class, FormLayout$Placement.class, and
       FormLayout$Constraint.class files in the same directory
       (folder) or in its classpath.  These is provided separately.
    class PartMatch extends JFrame implements Runnable
                        /** Close down the program. */
       JButton quitbtn;
                        /** Field for the surname. */
       JTextField namefld;
                        /** Full details of the person(s). */
       JTextArea  results;
                        /** Popup dialog to display the names and addresses which
                        match the leading characters given in namefld. */
       Chooser matches;
                      /** Default background color for a window. */
       final static  Color            defBackground = new Color(0xD0C0C0);
                      /** Default foreground color for a window. */
       final static  Color            defForeground = new Color(0x000000);
                      /** Default background color for a field */
       final static  Color            fldBackground = new Color(0xFFFFFF);
                      /** Default background color for a button */
       final static  Color            btnBackground = new Color(0xF0E0E0);
       final static  Color            dkBackground = new Color(0xB0A0A0);
                      /** Larger font */
       final static  Font bold = new Font("Helvetica", Font.BOLD, 30);
       TreeSet members;
       String input;
       String[] found;
       public static void main(String arg[])
          UIManager.put("TextField.background",fldBackground);
          UIManager.put("TextField.foreground",defForeground);
          UIManager.put("TextField.selectionBackground",btnBackground);
          UIManager.put("TextArea.background",fldBackground);
          UIManager.put("TextArea.foreground",defForeground);
          UIManager.put("TextArea.selectionBackground",btnBackground);
          UIManager.put("Panel.background",defBackground);
          UIManager.put("Label.background",defBackground);
          UIManager.put("Label.foreground",defForeground);
          UIManager.put("Button.background",btnBackground);
          UIManager.put("Button.foreground",defForeground);
          UIManager.put("CheckBox.background",defBackground);
          UIManager.put("ScrollBar.background",defBackground);
          UIManager.put("ScrollBar.thumb",btnBackground);
          UIManager.put("ComboBox.background",btnBackground);
          UIManager.put("ComboBox.selectionBackground",dkBackground);
          PartMatch trial = new PartMatch(arg);
       public PartMatch( String [] arg )
          super("Part Match");
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          Container cpane = getContentPane();
          FormLayout form = new FormLayout(cpane);
          JLabel lab1 = new JLabel("Fetch details") ;
          lab1.setFont( bold );
          form.setTopAnchor( lab1, 4 );
          form.setLeftAnchor( lab1, 4 );
          JLabel lab2 = new JLabel("Surname: ") ;
          form.setTopRelative( lab2, lab1, 4 );
          form.setLeftAlign( lab2, lab1 );
          namefld = new JTextField( 30 );
          form.setBottomAlign( namefld, lab2 );
          form.setLeftRelative( namefld, lab2, 4 );
          namefld.addCaretListener( new CaretListener()
             public void caretUpdate(CaretEvent e)
                 showMatches();
          quitbtn = new JButton( "Quit" );
          quitbtn.addActionListener( new ActionListener()
             public void actionPerformed(ActionEvent e)
                quitProcessing();
          form.setBottomAlign( quitbtn, namefld );
          form.setLeftRelative( quitbtn, namefld, 15 );
          results = new JTextArea( 10,50 );
          results.setEditable(false);
          JScrollPane jsp = new JScrollPane( results,
                                     JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                                     JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
          form.setTopRelative( jsp, lab2, 6 );
          form.setLeftAlign( jsp, lab2 );
          form.setBottomAnchor( jsp, 5 );
          form.setRightAnchor( jsp, 5 );
          form.setRightAnchor( quitbtn, 5 );
          matches = new Chooser( this );
          //matches.setUndecorated(true);
          pack();
          setVisible(true);
          namefld.requestFocus();
          if (arg.length > 0) init(arg[0]);
          else init("triathlon.txt"); //<<<<<<<<<<<<<<<< Place the default filename here
          /** Called once only, at the end of the constructor, to read the data
            * from the membership file.
       public void init( String fname )
          members = new TreeSet();
           try {
               FileReader fr = new FileReader(new File (fname));
               Scanner scan = new Scanner(fr);
               trimember cmem;
               String cLine, eTag, memberNo, first, last, gender, yob, tel ,addr,
                       club;
               while(scan.hasNextLine())
                   cLine = scan.nextLine();
                   Scanner scan2 = new Scanner(cLine);
                   scan2.useDelimiter(";");
                   eTag = scan2.next().trim();
                   memberNo = scan2.next().trim();
                   first = scan2.next().trim();
                   last = scan2.next().trim();
                   gender = scan2.next().trim();
                   yob = scan2.next().trim();
                   tel = scan2.next().trim();
                   addr = scan2.next().trim();
                   club = scan2.next().trim();
                   cmem = new trimember(eTag, memberNo, first, last, gender, yob,
                           tel, addr, club);
                   members.add(cmem);
           catch (FileNotFoundException ex)
               results.append("Sorry can't find the input file\n");
               results.append("Please check file name and location and try again");
               ex.printStackTrace();
          /** Called every time there is a change in the contents of the text field
            * namefld.  It will first clear the text area.  It then needs to search
            * through the container of data to find all records where the surname
            * starts with the characters that have been typed.  The names and
            * addresses need to be set up as strings and placed in
            * an array of Strings.  This can be placed in the "matches" window and
            * displayed for the user, inviting one to be selected.
            * <p>
            * The performance of this is very important.  If necessary, it may be
            * necessary to run as a separate thread so that the user interface is
            * not delayed.  It is essential that the user be able to type letters at a
            * reasonable speed and not have the keystroke processing held up by
            * previous text.
       public void showMatches( )
           run();
                // First clear the text area
          //results.setText("");
                // Determine the leading characters of the surname that is wanted
                input = namefld.getText();
                // Locate the data for this name, and display each matching item
                //  in the JTextArea ...
                // Example of how to set the data in the popup dialog
          matches.list.setListData(found);
          matches.pack();   // resize the popup
                // set the location of the popup if it is not currently visible
          if ( ! matches.isVisible())
             Dimension sz = matches.getSize();
             Point mouse = getMousePosition();
             Point framepos = getLocation();
             int x=0, y=0;
             if (mouse == null)
                Point pt = results.getLocation();
                x = pt.x + 20 + framepos.x;
                y = pt.y + 20 + framepos.y;
             else
                x = mouse.x - 2 + framepos.x;
                y = mouse.y - 2 + framepos.y;
             matches.setLocation(x,y);
          matches.setVisible(true);
          namefld.requestFocus();
          /** Perform any final processing before closing down.
       public void quitProcessing( )
          // Any closing work.  Then
          System.exit(0);
        public void run()
            ArrayList<String> foundit = new ArrayList<String>();
            System.out.println(input);
            if(input != null)
            Iterator it = members.iterator();
            while(it.hasNext())
               trimember test = (trimember) it.next();
               if (test.last.startsWith(input))
                   foundit.add(test.last +", "+ test.first);
            found = new String[foundit.size()];
            for(int i=0; i<foundit.size();i++)
                found[i] = foundit.get(i);
         /** A window for displaying names and addresses from the data set which
          match the leading characters in namefld.
          <p>
          This will automatically pop down if the user moves the mouse out of the
          window.
          <p>
          It needs code added to it to respond to the user clicking on an item in
          the displayed list. */
       class Chooser extends JWindow
                /** To display a set of names and addresses that match the leading
                characters of the namefld text field. */
          public JList list = new JList();
          Chooser( JFrame parent )
             super( parent );
             Container cpane = getContentPane();
             cpane.addMouseListener( new MouseAdapter()
                public void mouseExited(MouseEvent e)
                   Chooser.this.setVisible(false);
             cpane.add("Center",list);
             list.addListSelectionListener( new ListSelectionListener()
                public void valueChanged(ListSelectionEvent e)
                   Chooser.this.setVisible(false);
                   System.out.println("ValueChanged");
                   // First clear the text area
                   results.setText("");
                   String in = (String) list.getSelectedValue();
                   System.out.println("Selected Value was : "+in);
                   String[] inlf = in.split(", ");
                   System.out.println("inlf[0]:"+inlf[0]+" inlf[1]:"+inlf[1]);
                   results.append("Surname \tFirst \teTag \tMemberNo \tSex \tYOB " +
                           "\tTel \tAddress \t\t\tClub\n");
                   Iterator it = members.iterator();
                   while(it.hasNext())
                       trimember test = (trimember) it.next();
                       if (test.last.equals(inlf[0])&&test.first.equals(inlf[1]))
                           results.append(test.toString()+"\n");
                   namefld.requestFocus();
          public class trimember implements Comparable
           String eTag;
           public String memberNo;
           public String first;
           public String last;
           String gender;
           String yob;
           String tel;
           String addr;
           String club;
           public trimember(String eT, String me, String fi, String la,
                   String ge, String yo, String te, String ad, String cl)
               eTag = eT;
               memberNo = me;
               first = fi;
               last = la;
               gender = ge;
               yob = yo;
               tel = te;
               addr = ad;
               club = cl;         
           //To String method to output string of details
           public String toString()
               return last + "\t" + first + "\t" + eTag + "\t" +
                       memberNo + "\t" + gender + "\t" + yob + "\t"+ tel + "\t" +
                       addr + "\t" + club;
           //Compare and sort on Last name
           public int compareTo(Object o)
               trimember com = (trimember) o;
               int lastCmp = last.compareTo(com.last);
               int firstCmp = first.compareTo(com.first);
               int memCmp = memberNo.compareTo(com.memberNo);
               if (lastCmp == 0 && firstCmp !=0)return firstCmp;
               else if (lastCmp==0&&firstCmp==0)return memCmp;
               else return lastCmp;
    }

    Please don't cross-post. It is considered very rude to do that here:
    http://forum.java.sun.com/thread.jspa?messageID=9953193

  • Help needed, Providing Dynamic User input

    Hello,
    I am attempting to create some dynamic user input by "predicting" what the user requires in a text box.
    For example if the user enters "Smi" I have a select list pop up which gives the user all options that begin with "Smi".
    I am able to achieve the popups but the interface is quite jerky and not terribly responsive I am trying to solve this by using a thread which starts and stops when new input is received but it is still not quite right.
    The program uses a Sorted TreeSet to hold the data (I thought this would give me a quick search time) and a simple interface at this stage.
    Any help would be fantastic
    Thanks in advance :P
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.text.*;
    import java.util.*;
       /** This program represents part of a larger user interface for allowing the
       user to select data from a file or database.
       <p>
       When the program starts up, it will read in data from a given file, and hold
       it in some type of container allowing rapid access.
       <p>
       The user may then type in the first few letters of the surname of a person,
       and this program should immediately present in a popup dialog the names which
       match.  The user will be able to click on one of the names in the popup and
       that will cause all data about that person to be displayed in the JTextArea
       at the bottom of the window.
       <p>
       This program requires the FormLayout.class, FormLayout$Placement.class, and
       FormLayout$Constraint.class files in the same directory
       (folder) or in its classpath.  These is provided separately.
    class PartMatch extends JFrame implements Runnable
                        /** Close down the program. */
       JButton quitbtn;
                        /** Field for the surname. */
       JTextField namefld;
                        /** Full details of the person(s). */
       JTextArea  results;
                        /** Popup dialog to display the names and addresses which
                        match the leading characters given in namefld. */
       Chooser matches;
                      /** Default background color for a window. */
       final static  Color            defBackground = new Color(0xD0C0C0);
                      /** Default foreground color for a window. */
       final static  Color            defForeground = new Color(0x000000);
                      /** Default background color for a field */
       final static  Color            fldBackground = new Color(0xFFFFFF);
                      /** Default background color for a button */
       final static  Color            btnBackground = new Color(0xF0E0E0);
       final static  Color            dkBackground = new Color(0xB0A0A0);
                      /** Larger font */
       final static  Font bold = new Font("Helvetica", Font.BOLD, 30);
       TreeSet members;
       String input;
       String[] found;
       public static void main(String arg[])
          UIManager.put("TextField.background",fldBackground);
          UIManager.put("TextField.foreground",defForeground);
          UIManager.put("TextField.selectionBackground",btnBackground);
          UIManager.put("TextArea.background",fldBackground);
          UIManager.put("TextArea.foreground",defForeground);
          UIManager.put("TextArea.selectionBackground",btnBackground);
          UIManager.put("Panel.background",defBackground);
          UIManager.put("Label.background",defBackground);
          UIManager.put("Label.foreground",defForeground);
          UIManager.put("Button.background",btnBackground);
          UIManager.put("Button.foreground",defForeground);
          UIManager.put("CheckBox.background",defBackground);
          UIManager.put("ScrollBar.background",defBackground);
          UIManager.put("ScrollBar.thumb",btnBackground);
          UIManager.put("ComboBox.background",btnBackground);
          UIManager.put("ComboBox.selectionBackground",dkBackground);
          PartMatch trial = new PartMatch(arg);
       public PartMatch( String [] arg )
          super("Part Match");
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          Container cpane = getContentPane();
          FormLayout form = new FormLayout(cpane);
          JLabel lab1 = new JLabel("Fetch details") ;
          lab1.setFont( bold );
          form.setTopAnchor( lab1, 4 );
          form.setLeftAnchor( lab1, 4 );
          JLabel lab2 = new JLabel("Surname: ") ;
          form.setTopRelative( lab2, lab1, 4 );
          form.setLeftAlign( lab2, lab1 );
          namefld = new JTextField( 30 );
          form.setBottomAlign( namefld, lab2 );
          form.setLeftRelative( namefld, lab2, 4 );
          namefld.addCaretListener( new CaretListener()
             public void caretUpdate(CaretEvent e)
                 showMatches();
          quitbtn = new JButton( "Quit" );
          quitbtn.addActionListener( new ActionListener()
             public void actionPerformed(ActionEvent e)
                quitProcessing();
          form.setBottomAlign( quitbtn, namefld );
          form.setLeftRelative( quitbtn, namefld, 15 );
          results = new JTextArea( 10,50 );
          results.setEditable(false);
          JScrollPane jsp = new JScrollPane( results,
                                     JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                                     JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
          form.setTopRelative( jsp, lab2, 6 );
          form.setLeftAlign( jsp, lab2 );
          form.setBottomAnchor( jsp, 5 );
          form.setRightAnchor( jsp, 5 );
          form.setRightAnchor( quitbtn, 5 );
          matches = new Chooser( this );
          //matches.setUndecorated(true);
          pack();
          setVisible(true);
          namefld.requestFocus();
          if (arg.length > 0) init(arg[0]);
          else init("triathlon.txt"); //<<<<<<<<<<<<<<<< Place the default filename here
          /** Called once only, at the end of the constructor, to read the data
            * from the membership file.
       public void init( String fname )
          members = new TreeSet();
           try {
               FileReader fr = new FileReader(new File (fname));
               Scanner scan = new Scanner(fr);
               trimember cmem;
               String cLine, eTag, memberNo, first, last, gender, yob, tel ,addr,
                       club;
               while(scan.hasNextLine())
                   cLine = scan.nextLine();
                   Scanner scan2 = new Scanner(cLine);
                   scan2.useDelimiter(";");
                   eTag = scan2.next().trim();
                   memberNo = scan2.next().trim();
                   first = scan2.next().trim();
                   last = scan2.next().trim();
                   gender = scan2.next().trim();
                   yob = scan2.next().trim();
                   tel = scan2.next().trim();
                   addr = scan2.next().trim();
                   club = scan2.next().trim();
                   cmem = new trimember(eTag, memberNo, first, last, gender, yob,
                           tel, addr, club);
                   members.add(cmem);
           catch (FileNotFoundException ex)
               results.append("Sorry can't find the input file\n");
               results.append("Please check file name and location and try again");
               ex.printStackTrace();
          /** Called every time there is a change in the contents of the text field
            * namefld.  It will first clear the text area.  It then needs to search
            * through the container of data to find all records where the surname
            * starts with the characters that have been typed.  The names and
            * addresses need to be set up as strings and placed in
            * an array of Strings.  This can be placed in the "matches" window and
            * displayed for the user, inviting one to be selected.
            * <p>
            * The performance of this is very important.  If necessary, it may be
            * necessary to run as a separate thread so that the user interface is
            * not delayed.  It is essential that the user be able to type letters at a
            * reasonable speed and not have the keystroke processing held up by
            * previous text.
       public void showMatches( )
           run();
                // First clear the text area
          //results.setText("");
                // Determine the leading characters of the surname that is wanted
                input = namefld.getText();
                // Locate the data for this name, and display each matching item
                //  in the JTextArea ...
                // Example of how to set the data in the popup dialog
          matches.list.setListData(found);
          matches.pack();   // resize the popup
                // set the location of the popup if it is not currently visible
          if ( ! matches.isVisible())
             Dimension sz = matches.getSize();
             Point mouse = getMousePosition();
             Point framepos = getLocation();
             int x=0, y=0;
             if (mouse == null)
                Point pt = results.getLocation();
                x = pt.x + 20 + framepos.x;
                y = pt.y + 20 + framepos.y;
             else
                x = mouse.x - 2 + framepos.x;
                y = mouse.y - 2 + framepos.y;
             matches.setLocation(x,y);
          matches.setVisible(true);
          namefld.requestFocus();
          /** Perform any final processing before closing down.
       public void quitProcessing( )
          // Any closing work.  Then
          System.exit(0);
        public void run()
            ArrayList<String> foundit = new ArrayList<String>();
            System.out.println(input);
            if(input != null)
            Iterator it = members.iterator();
            while(it.hasNext())
               trimember test = (trimember) it.next();
               if (test.last.startsWith(input))
                   foundit.add(test.last +", "+ test.first);
            found = new String[foundit.size()];
            for(int i=0; i<foundit.size();i++)
                found[i] = foundit.get(i);
         /** A window for displaying names and addresses from the data set which
          match the leading characters in namefld.
          <p>
          This will automatically pop down if the user moves the mouse out of the
          window.
          <p>
          It needs code added to it to respond to the user clicking on an item in
          the displayed list. */
       class Chooser extends JWindow
                /** To display a set of names and addresses that match the leading
                characters of the namefld text field. */
          public JList list = new JList();
          Chooser( JFrame parent )
             super( parent );
             Container cpane = getContentPane();
             cpane.addMouseListener( new MouseAdapter()
                public void mouseExited(MouseEvent e)
                   Chooser.this.setVisible(false);
             cpane.add("Center",list);
             list.addListSelectionListener( new ListSelectionListener()
                public void valueChanged(ListSelectionEvent e)
                   Chooser.this.setVisible(false);
                   System.out.println("ValueChanged");
                   // First clear the text area
                   results.setText("");
                   String in = (String) list.getSelectedValue();
                   System.out.println("Selected Value was : "+in);
                   String[] inlf = in.split(", ");
                   System.out.println("inlf[0]:"+inlf[0]+" inlf[1]:"+inlf[1]);
                   results.append("Surname \tFirst \teTag \tMemberNo \tSex \tYOB " +
                           "\tTel \tAddress \t\t\tClub\n");
                   Iterator it = members.iterator();
                   while(it.hasNext())
                       trimember test = (trimember) it.next();
                       if (test.last.equals(inlf[0])&&test.first.equals(inlf[1]))
                           results.append(test.toString()+"\n");
                   namefld.requestFocus();
          public class trimember implements Comparable
           String eTag;
           public String memberNo;
           public String first;
           public String last;
           String gender;
           String yob;
           String tel;
           String addr;
           String club;
           public trimember(String eT, String me, String fi, String la,
                   String ge, String yo, String te, String ad, String cl)
               eTag = eT;
               memberNo = me;
               first = fi;
               last = la;
               gender = ge;
               yob = yo;
               tel = te;
               addr = ad;
               club = cl;         
           //To String method to output string of details
           public String toString()
               return last + "\t" + first + "\t" + eTag + "\t" +
                       memberNo + "\t" + gender + "\t" + yob + "\t"+ tel + "\t" +
                       addr + "\t" + club;
           //Compare and sort on Last name
           public int compareTo(Object o)
               trimember com = (trimember) o;
               int lastCmp = last.compareTo(com.last);
               int firstCmp = first.compareTo(com.first);
               int memCmp = memberNo.compareTo(com.memberNo);
               if (lastCmp == 0 && firstCmp !=0)return firstCmp;
               else if (lastCmp==0&&firstCmp==0)return memCmp;
               else return lastCmp;
    }Edited by: Roger on Nov 3, 2007 11:50 AM

    Please don't cross-post. It is considered very rude to do that here:
    http://forum.java.sun.com/thread.jspa?threadID=5233033&messageID=9953169#9953169

  • Twitter API help needed immediately

    I have developed a twitter API in Flash Professional CS4. It works fine when it plays in the flash player locally. But when I publish the file and play it in a browser it asks for settings to be modified. Since those were the local settings I have modified them and played the file in browser and it worked fine.
    Now, when I upload the file to server and embed the swf into a html file and try to play it from the server nothing happens. The API doesn't load the feeds from twitter site. The display is always blank. http://sravan313.inz.cc/home.html
    Possible solutions I have tried.....
    added security code in flash
    1st method:
    flash.system.Security.allowDomain("*");
    flash.system.Security.loadPolicyFile("http://twitter.com/crossdomain.xml");
    2nd method:
    added the crossdomain.xml policy file from http://twitter.com/crossdomain.xml
    3rd method:
    followed any of the above methods along with changing the "Access network only" in publish settings.
    Can anyone help me with possible solutions???
    guys its very urgent!!! I need help immediately.....

    Hi Peter
    so, what do you really suggest? Can you help me regarding this
    ? I need this very badly and little bit urgently.... any suggestions
    are appreciated.
    and Darshan,
    Thanks, a lot. Your links were very helpful. Could understand a little bit better about cross domains.

  • Help needed in Substitution & User Exit.

    Hi Experts,
    I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
    The user need to enter the bank key and acc no and  need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
    Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
    Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
    <b>Can any one of you by any luck have a feasible solution for this ?</b>

    hi Saurav.
    there are 14 user exits in thsi transaction. these are as follows
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    check if anyone of them meets ur requiremnt
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Help needed in "V45A0003" User Exit

    Hello All,
    I have one problem doing Userexit "V45A0003" for VA01.
    I want to disable one field in VA01 Screen no. "4900" when order type is "RE". I try mentioned Exit for the same and i am able to disable that field for all order type but i am unable to get order type value and unable to disable field, so i want your valuable help to get the order type value given at very first screen (101) of VA01.
    So, Please i request all of you to help me in this.
    Thanks & Regards,

    Hi,
    If you want to get the Sales order no in your exit you can make use of below code.
    data:wa_vbak type vbak.
    field-symbol <FS> type any.
    ASSIGN (' (SAPMV45A)VBAK') to <FS>.
    If sy-subrc eq 0 and <FS> is assigned.
    wa_vbak = <fs>.
    endif.
    Now in wa_vbak-AUART you will get the sales order type given initial screen of sales order.
    You can also use below form in User exit include MV45AFZZ for your requirement.
    FORM userexit_field_modification.
    ENDFORM.
    Here you will all sales order data and no need to use above field symbol assignment to read vbak data.
    Regards,
    Pawan

  • Help needed in Authenticating Users via A Stand-Alone Web_Application

    Hi all,
    I've just begun to explore the Human Workflow Services in the Oracle SOA Suite...
    I want to create a BPEL Process with a Human Workflow involving 2 users say, P1 & P2 ( which i have configured to be in the default "realm", say..)
    Could Anyone please help me in the Steps to be followed to implement a Stand-Alone Web-Application (or a Web-Service for that matter) that i can use to Authenticate P1 & P2...!
    It's Just like the WorkList Application...but i'm stuck with issues of HOW to Use the IWorkflowContext interface in an External web-application...say deployed on TomCat..?!?
    Once P1 or P2 logs-in...i then plan to show them their tasks (like the WorkList)...& then try & Invoke/trigger a Human task by making a call to the WebService representing the BPEL process...!
    Awaiting a Speedy guidance from Some one...
    [I'm wondering if i can develope some OTHER kind of a UI for a Human Workflow...that's Why..?! :)]
    Thanks in advance...

    I create soft links via ln -s to the environment scripts:
    lrwxrwxrwx 1 oracle dba 43 2005-02-10 20:29 vis9.env -> /lv03/oracle/vis9db/9.2.0/vis9_socrates.env
    lrwxrwxrwx 1 applmgr appl 33 2005-02-10 20:27 vis9.env -> /lv03/oracle/vis9appl/APPSORA.env
    So in oracle user home directory, I type ln -s /lv03/oracle/vis9db/9.2.0/vis9_socrates.env vis9.env
    Then just type . vis9.env to take on the database environment as the oracle user.
    In the applmgr home directory, I type ln -s /lv03/oracle/vis9appl/APPSORA.env vis9.env
    Then just type . vis9.env as applmgr, to assume the applications environment. You will need to be in this environment to start/stop the applications.
    cd to $OAD_TOP/admin/scripts/*
    to stop:
    ./adstpall.sh apps/apps
    to start:
    ./adstrtal.sh apps/apps
    .

  • Help needed in lists

    Hi
       I have to fill data manually in the fields of lists, and I need a save button, to save the data in the data base.
    for this scenario, which type of list is suitable..
    Any useful suggestions will awarded..
    Thanks!

    use ALV List or Grid Function module,when you fill the fieldcatalog keep EDIT = 'X' and so that it works like Input.
    See the below thread :
    ALV fieldcat-edit
    Reward Points if it is helpful
    Thanks
    Seshu

  • Help needed in creating user defined attribute

    Hi all,
    I want to create user defined attributes and make it available for all users in sun LDAP5.2,I have followed the below mentioned steps,
    1.Under configuration-schema i have created attribute named "ldapproducts"
    2.I have created new object class "userproducts" and made the parent to be "inetorgperson" and added my "ldapproducts" attribute in required attribute.
    Now,in directory tab,Iam trying to add the "ldapproduct" attribute for each user but my defined attribute i.e,"ldapproducts"is not available in the "Add Attribute"list
    please let me know do i need to do some steps or do i need to do any changes in DS files..
    waiting for ur replies...
    thanks in advance.

    Hi,
    I dont know the solution for this, but heres a work arround
    //create new label some where else in the excel sheet as shown below
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                 lblcmbdata = new Label(75, i, (i+1)+" satish", format);
                 sheet1.addCell(lblcmbdata);
    }//set the validation range as shown below
    writableCellFeature.setDataValidationRange(75,0,75,1000);
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);this will create a combo list with 1000 values
    also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
    workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
    // then fill the data in sheet1
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                    lblcmbdata = new Label(0, i, (i+1)+" satish", format);
                    sheet1.addCell(lblcmbdata);
    //set the validation named range as below
    writableCellFeature.setDataValidationRange("cmbdata");
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);Thanks and Regards
    Satish

  • Help needed in list item...need to display employee of a selected dept

    Hi All,
    I am very beginner in D2K technology.I am using 10g Forms.
    Could you please help me...
    I have created a list item which contains dept_id=10,20,30....
    My requirement is when i will change the value of dept_id(select dept_id=20),the employees belong to that dept will display(need to display 5 employees of dept 20).
    I hav created two block--block2 and block3
    In block2,there is a list item
    In block3,there is a display item and i changed the properties number of record displayed to 10 of the block.
    I atteched a trigger when-list-changed and the code is :
    select last_name into :block3.item14 from employees where department_id=:block2.item4;
    But It is not working.....
    Thanks in Advance,
    Tapan.
    Edited by: user630863 on Aug 8, 2010 9:20 PM
    Edited by: user630863 on Aug 8, 2010 9:55 PM

    okk..well still i don't know the purpose of the form on which you are working why not the database block for emp?..but the requirement you are asking can be done through following code...
    Trigger - WHEN-LIST-CHANGED
    DECLARE
      CURSOR F_Cur IS
        SELECT ename
        FROM emp
        WHERE deptno = :list_item_name;
    BEGIN
      GO_BLOCK('BLOCK3');
      FIRST_RECORD;
      CLEAR_BLOCK;
      FOR G_CUR IN F_CUR LOOP
        :block3.item_name:=G_CUR.ename;
        NEXT_RECORD;
      END LOOP;
      FIRST_RECORD;
    END;
    Note: in the BLOCK3 there should be one item navigable by cursor. I mean if block3 is having only one item which is name item and it is display item then GO_BLOCK built-in will not work. So, you will need to create one more in block3 or make that name item as text item and set update_allowed to NO from the items' property.
    -Ammad

  • CIS Folder API Help needed

    I am working with UCM API to access information related to Folders component.
    ISCSSearchResponse result=null;
    ISCSSearchAPI searchApi = this.application.getUCPMAPI ().getActiveAPI ().getSearchAPI ();
    result = searchApi.search (context,strQuery, 100);
    iter = result.getResults ().iterator ();
    while (iter.hasNext ()) {
         sres = (ISCSSearchResult) iter.next ();
         folderApi = this.application.getUCPMAPI().getActiveAPI().getComponentFolderAPI();
         ISCSFolderInfoResponse folderRes = folderApi.getFolder(context, sres.getFolderID());
         ISCSFolder fold = folderRes.getFolder();
         String folderPath = fold.getFolderPath();
    I need to execute the code inside the while loop based on a condition. I need to check if the returned item from search results is a document or a folder, that is the item in *'sres'*.
    Can someone please help me with this?
    Thank you,
    Padmaja.

    To search in a case sensitive manner, if you're using an Oracle database I know you can set a variable in config.cfg -- DatabasePreserveCase. This may also work for other databases, but I am not sure.
    The available fields to filter on are all the metadata fields, whether they be UCM metadata fields or custom metadata fields.
    The query is doing a database query so you need to use the name of the column name in the database -- custom variables start with x and ucm variables start with d.
    I'm not an expert on UCM, but have been working on an implementation. I didn't really find a comprehensive guide for CIS, just used the examples from the sample code, the javadocs, some forum posts, and trial and error.

  • Advanced help needed, please - moved users

    I did an upgrade install on my Dual G5 today, but Leopard doesn't know where my users' files are located. I have a very fast (but smaller) HDD for the OS, and moved my user files to a larger HDD. The links were not carried over in the upgrade/install.
    I believe it was a post from Kappy that helped me in moving my user folders initially. Can anyone help me with the needed command line entries needed so that Leopard knows to look to the other HDD for my users?
    Thanks-Gary

    Bump

  • Java Preferences API - Help needed

    Hi,
    I have to create a file which contains all the properties of my application using Preferences class.
    The properties file should look like:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    <preferences EXTERNAL_XML_VERSION="1.0">
    <root type="user">
    <map/>
    <node name="Service1">
    <map>
    <entry key="ssw" value="ggggg"/>
    <entry key="vfr" value="hhhhhhhh"/>
    <entry key="cfe" value="lkjhgg"/>
    <entry key="sdx" value="uytreww"/>
    <entry key="dsc" value="qqqqqqq"/>
    </map>
    </node>
    <node name="Service2">
    <map>
    <entry key="34" value="acd"/>
    <entry key="ert" value="sss"/>
    <entry key="frd" value="wed"/>
    <entry key="dvf" value="cf"/>
    <entry key="cfg" value="gvss"/>
    </map>
    </node>
    </root>
    </preferences>
    Thats means what I am trying to do is create a separate node for each of the services in my application.
    But when I try to add 2nd node after adding the 1st node the, the 1st node is overwritten and the properties file has only 2nd node information in it.
    Please see the snapshot of the code being used by me.
    public void setConfiguration(final Dictionary properties,
                   final String service) {
              Preferences pref = Preferences.userRoot().node(service);
              FileOutputStream output = null;
              FileLock lock = null;
              try {
                   output = new FileOutputStream(FILE_NAME);
                   lock = output.getChannel().lock();
                   Preferences.userRoot().flush();
                   if (null != lock) {
                        final Enumeration<?> pnen = ((Properties) properties)
                                  .propertyNames();
                        String propKey;
                        String propValue;
                        while (pnen.hasMoreElements()) {
                             propKey = (String) pnen.nextElement();
                             propValue = (String) properties.get(propKey);
                             pref.put(propKey, propValue);
                        pref.exportSubtree(output);
                   } else {
                        throw new Exception();
                   String message = "Write operation completed successfully.";
                   LOGGER_INSTANCE.info(message);
              } catch (Exception e) {
                   throw new ConfigurationServiceCommonException(
                             ConfigurationServiceExceptionConstants.FILE_NOT_FOUND, e
                                       .getCause());
              } finally {
                   try {
                        if (null != lock && lock.isValid()) {
                             lock.release();
                        if (null != output) {
                             output.close();
                   } catch (IOException e) {
              return;
    Please help me in resolving this issue.
    Java Rules :)
    Thanks
    Sameer

    SAMEERRITU wrote:
    ..I have to create a file which contains all the properties of my application using Preferences class.
    The properties file should look like:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    <preferences EXTERNAL_XML_VERSION="1.0">
      <root type="user">
        <map/>
        <node name="Service1">
          <map>
            <entry key="ssw" value="ggggg"/>
            <entry key="vfr" value="hhhhhhhh"/>
            <entry key="cfe" value="lkjhgg"/>
            <entry key="sdx" value="uytreww"/>
            <entry key="dsc" value="qqqqqqq"/>
          </map>
        </node>
        <node name="Service2">
          <map>
            <entry key="34" value="acd"/>
            <entry key="ert" value="sss"/>
            <entry key="frd" value="wed"/>
            <entry key="dvf" value="cf"/>
            <entry key="cfg" value="gvss"/>
          </map>
        </node>
      </root>
    </preferences>
    Thats means what I am trying to do is create a separate node for each of the services in my application.
    But when I try to add 2nd node after adding the 1st node the, the 1st node is overwritten and the properties file has only 2nd node information in it.
    Please see the snapshot of the code being used by me.
    public void setConfiguration(final Dictionary properties,
                   final String service)  {
              Preferences pref = Preferences.userRoot().node(service);
              FileOutputStream output = null;
              FileLock lock = null;
              try {
                   output = new FileOutputStream(FILE_NAME);
                   lock = output.getChannel().lock();
                   Preferences.userRoot().flush();
                   if (null != lock) {
                        final Enumeration<?> pnen = ((Properties) properties)
                                  .propertyNames();
                        String propKey;
                        String propValue;
                        while (pnen.hasMoreElements()) {
                             propKey = (String) pnen.nextElement();
                             propValue = (String) properties.get(propKey);
                             pref.put(propKey, propValue);
                        pref.exportSubtree(output);
                   } else {
                        throw new Exception();
                   String message = "Write operation completed successfully.";
                   LOGGER_INSTANCE.info(message);
              } catch (Exception e) {
                   throw new ConfigurationServiceCommonException(
                             ConfigurationServiceExceptionConstants.FILE_NOT_FOUND, e
                                       .getCause());
              }  finally {
                   try {
                        if (null != lock && lock.isValid()) {
                             lock.release();
                        if (null != output) {
                             output.close();
                   } catch (IOException e) {
              return;
    Please help me in resolving this issue.When posting code, code snippets, HTML/XML or input/output, please use the code tags. The code tags help retain the indentation and formatting of the sample. To use the code tags, select the code and click the CODE button.
    Some other points, now I can actually view the source without it making me go cross-eyed.
                   } catch (IOException e) {
                   }Never [swallow exceptions|http://pscode.org/javafaq.html#stacktrace] *(<- link),* especially in broken code!
    Note that for better help, sooner, post an SSCCE *(<- link),* rather than uncompilable code snippets.

  • Help needed on listing out all tag names using XML Rules in ExtendScript(InDesign)

    Given a document with elements already in place, I am looking for a snippet of code to walk down the XML tree only two levels
    deep to printout the names of each of the tags (not attributes).  I am just using javascript in extendscipt to accomplish this.  Ultimately,
    I want to provide this list in a checkbox dialog and use those checked items to develop a TOC.  This latter part, I have in place.
    It is just the pushing of the tag element names into an array that seems to be cumbersome for me at this point.
    Any shortcut snippets out there that someone can provide?
    A shorter version of this request....Is there anyway to just list out all element.markupTag.name of an XML tree, not knowing the xpath naming?
    Using "//*" obviously is not working....

    well..
    Document.xmlTags.everyItem().name will get you a array of all the xml tags in the document. Maby that will help you?
    another way, and you can use it recursively:
    myObject.xmlElements.everyItem().markupTag.name
    will get you an array of tag names. use something like: http://stackoverflow.com/a/15806501 to remove duplicates.. and.. enjoy

  • Secure Zone Help Needed

    I want to add a secure zone to my website so I can create a members-only section to the website. I created it in Adobe Muse and am hosting it through Adobe Catalyst. I am trying to follow the instructions provided here: http://kb.worldsecuresystems.com/kb/add-secure-area-your-site.html . However, I do not have a link in my Site Manager that says "Secure Zone" like the instructions say I should. The only two links in this area are "Web Forms" and "System Email". I have the webBasics account. Do I need to upgrade to have a Secure Zone?

    Breakdown of the plans you get:
    http://helpx.adobe.com/business-catalyst/kb/detailed-plan-breakdown.html#id_52372

Maybe you are looking for

  • Can I use my Creative Cloud subscription between a PC and a Mac?

    The questions is pretty much that. I have a PC and a Mac laptop. I'd like to be able to switch between the two depending on where I am. Is this an option, as long as I have the programs / trial installed on both machines?

  • How to upload a file in portal

    Hi, I am using submit resume form in which i have one field upload resume.So how can upload resume while using form portlet.Does any have idea how to do that

  • Adding Date to Column Header

    Hi I'm having some issues getting a date into a column header for a tab report I am creating. this thread Re: sysdate in region header suggested using a hidden item and having a pl/sql function body and including the item in the header. So I set the

  • OC4J redeploy problem

    I redeploy EAR application from within JDeveloper (9.0.3.2) to OAS9i. Everything is OK, except that some classes are not redeployed and are kept from the earlier version. Specifically, old versions of MsgBundles from the BC4J project are not redeploy

  • How to create stock in Make to order and make to stock segments?

    Hi, Could u please tell me how How to create stock in Make to order and make to stock segments? Regards, AS