Implement new AbstractCommand, AbstractScreenflow, and WcmResourceControl

Hi all...
I am currently trying to implement a new SAP KM functionality which allows the user to see how a specific resource property has changed through all it's revisions.
I decompiled the code for UIPropertiesCommand (UIPropertiesCommand, PropertiesControl, PropertiesControlUtil, and PropertiesScreenflow), but I can not understand pretty much how is achieved the functionality through this code.
I would like someone to point me to any documentation, tips or examples on how to implement AbstractScreenflow and WcmResourceControl, and how to use the related API deeper than the basis documentation "Implementing Flexible UI One-Step-Screenflow" reference does.
Best regards
Jonathan

Thank you for your answer Avishai. I managed to solve my problem using km event receivers instead. However I'm still interested in knowing how to extend standard UI command classes. I had a look at the other thread and again this is using AbstractCommand. Is there a standard way to extending the other UI commands for example UINewFolderCommand. I created a class extending UINewFolderCommand without adding functionality but got the error below. I have also added my extension code below.
public class Z_UINewFolderCommand extends UINewFolderCommand {
     public IUICommand getNewInstance()
          return initNewInstance(new Z_UINewFolderCommand());
     public String[] getTargetParameters() throws WcmException {
          return super.getTargetParameters();
     public void setTargetParameters(List arg0, IResourceContext arg1) {
          super.setTargetParameters(arg0, arg1);
     public WdfEvent execute(ControllerDynPage arg0, boolean arg1) throws WdfException {
          return super.execute(arg0, arg1);
Could not create command with alias XXX and classname Z_UINewFolderCommand:java.lang.NoClassDefFoundError: com/sapportals/wcm/rendering/uicommand/cm/UINewFolderCommand
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@3155d3a1]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@61ff1372]
References:
   not registered!
Resources:
   D:\usr\sap\EPU\JC40\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\z_uicommand\private\lib\z_uicommandcore.jar
The error occurred while trying to load "Z_UINewFolderCommand".
     at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:219)

Similar Messages

  • Implementing new note - why and how?

    hello,
    user in PP complains about being unable to execute one transaction. consultant found that there is note / correction which should be implemented and it will correct that error.
    why such error suddenly appear? no patches have been applied on server since 01/2006 and suddenly i must apply correction. by now, everything was fine.
    where from requirement for that correction - appeared????
    another thing: how to apply that correction? should i apply it on customizing client on dev, transport request on qas and then on production? is it way it should be implemented?
    is it possible to implement that note/correction just on sendbox (one client on qas)?
    check it out and if everything works fine, do it way dev-qas-prd?
    as i said, no patches have been applied since 01/2006. is it must to install all patches before applying note/correction?
    since we implemented r/3 (10/2005), no one correction appeared that needs to be installed, so that is why i am confused.
    thanks!

    >why such error suddenly appear? no patches have been applied on server since 01/2006 and suddenly >i must apply correction. by now, everything was fine.
    There could be many reason for that error, but you should read the symptom which is appeared in the note and you could verify the symptom from your problem, and it will answer your question.
    >where from requirement for that correction - appeared????
    It should be come from consultant to the technical team to implement the note.
    another thing: how to apply that correction? should i apply it on customizing client on dev, transport request on qas and then on production? is it way it should be implemented?
    You should apply the Note in developement system and through transport you can move forward to QA & PRD system.
    >is it possible to implement that note/correction just on sendbox (one client on qas)?
    >check it out and if everything works fine, do it way dev-qas-prd?
    No I would not recomend to go to QA system. First apply in the dev system and check that correction has been made then apply on QA system.
    >as i said, no patches have been applied since 01/2006. is it must to install all patches before applying >note/correction?
    >since we implemented r/3 (10/2005), no one correction appeared that needs to be installed, so that is >why i am confused.
    As i said there could be many reason for that but notes can be applied directly. You need not to apply the whole support pack for a single note. But yes System should be upgraded on all the level otherwise you will get errors from either OS level or Sap Level or Database level. Even you raise a support message to SAP they would probably tell you to update the system first for support
    Regards,
    Subhash

  • New to XML and Oracle

    Just trying to clarify some issues as I try and learn about XML, and specifically how it integrates into the DB.
    1 - Is there a way with Oracle tools for me to get an XSD of an existing 9i relational schema? We are not currently using the XML DB, but our middleware developers would like to have an up to date XSD to use for their internal mapping.
    2 - Is there any way that I can keep that XSD up-to-date automatically, so I get a new one whenever the schema gets updated?
    3 - If I wanted to investigate storing XML docs within the DB in native XML format, I need to have an XML DB, correct? Is this DB construct maintained seperatelly from my "normal" relational schema? or are they kept in sync by Oracle?
    I know these may all be real basic questions, but as I said, I'm new to XML and Oracle. I am reading as much as I can, but there are a lot of docs out there.
    Thanks,
    Mike

    Hi
    1. On my opinion such a tool doesn't exists. Some parts can be implemented elsewhere, but not as described by you... e.g. with XSU if you specify the parameter "withschema" the XSD of the executed statement is generated. Another example is to use DBMS_METADATA to dump the data dictionary in XML (but not XSD, of course you could write your own XSLT to do this transformation...).
    2. -
    3. If you use XSD-based tables the XSD and the relational model are stored separately in the data dictionary. Therefore if you change the XSD you have to drop/create the XSD-based table... no schema evolution yet.
    Chris

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • New to java and having issues trying to modify sample code.

    i was trying to edit the following code to add about 10+ more labels and textfields and save the information to the contacts.dat in the code. it currently displays all the fields i entered, but it only saves the first 7 fields information?? not sure why. also i was trying to just line the fields up using a flowlayout but it just errors. anyone have any suggestions?
    <source code below this line>
    ====================START OF CODE ======================
    // cm.java
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    // =========================================================
    // Class: cm
    // This class drives the contact manager. It contains the
    // main method which gets called as soon as this application
    // begins to run.
    // =========================================================
    class cm extends Frame implements ActionListener
    // Container of contact objects (one object per business
    // contact).
    private Vector contacts = new Vector (100);
    // List of names component. (Must specify java.awt in
    // front of List to distinguish the List class in the
    // java.awt package from the List class in the java.util
    // package.)
    private java.awt.List names = new java.awt.List ();
    // delete and edit button components.
    private Button delete;
    private Button edit;
    // Default constructor.
    public cm ()
    // Assign Contact Manager to title bar of frame window.
    super ("Customer Manager Version 0.001 BY Pebkac");
    // Add a listener that responds to window closing
    // events. When this event occurs (by clicking on the
    // close box in the title bar), save contacts and exit.
    addWindowListener (new WindowAdapter ()
    public void windowClosing
    (WindowEvent e)
    saveContacts ();
    System.exit (0);
    // Place an empty label in the north part of the frame
    // window. This is done to correct an AWT positioning
    // problem. (One thing that you'll come to realize as
    // you work with the AWT is that there are lots of bugs.)
    Label l = new Label ();
    add ("North", l);
    // Place the names component in the center part of the
    // frame window.
    add ("Center", names);
    // Create a panel object to hold four buttons.
    Panel p = new Panel ();
    Button b;
    // Add an add button to the Panel object and register
    // the current cm object as a listener for button events.
    p.add (b = new Button ("add"));
    b.addActionListener (this);
    // Add a delete button to the Panel object and register
    // the current cm object as a listener for button events.
    p.add (delete = new Button ("delete"));
    delete.addActionListener (this);
    // The delete button should be disabled until there is at
    // least one contact to delete.
    delete.setEnabled (false);
    // Add an edit button to the Panel object and register
    // the current cm object as a listener for button events.
    p.add (edit = new Button ("edit"));
    edit.addActionListener (this);
    // The edit button should be disabled until there is at
    // least one contact to edit.
    edit.setEnabled (false);
    // Add a quit button to the Panel object and register
    // the current cm object as a listener for button events.
    p.add (b = new Button ("quit"));
    b.addActionListener (this);
    // Add the panel object to the frame window container.
    add ("South", p);
    // Set the background of the frame window container to
    // pink (to give a pleasing effect).
    setBackground (Color.pink);
    // Set the size of the frame window container to 400
    // pixels horizontally by 200 pixels vertically.
    setSize (400, 200);
    // Do not allow the user to resize the frame window.
    setResizable (false);
    // Load all contacts.
    loadContacts ();
    // Make sure that the frame window is visible.
    setVisible (true);
    public void actionPerformed (ActionEvent e)
    if (e.getActionCommand ().equals ("delete"))
    delete ();
    else
    if (e.getActionCommand ().equals ("quit"))
    saveContacts ();
    System.exit (0);
    else
    if (e.getActionCommand ().equals ("add"))
    add ();
    else
    edit ();
    public Insets getInsets ()
    // Return an Insets object that describes the number of
    // pixels to reserve as a border around the edges of the
    // frame window.
    return new Insets (10, 10, 10, 10);
    public static void main (String [] args)
    // Create a new cm object and let it do its thing.
    new cm ();
    private void delete ()
    // Obtain index of selected contact item from the names
    // component.
    int index = names.getSelectedIndex ();
    // If no item was selected, index is -1. We cannot edit
    // a contact if no contact item in the names component was
    // selected - because we would have nothing to work with.
    if (index != -1)
    // Remove the contact item from the names component.
    names.remove (index);
    // Remove the Contact object from the contacts Vector
    // object.
    contacts.remove (index);
    // If there are no more contacts ...
    if (contacts.size () == 0)
    delete.setEnabled (false);
    edit.setEnabled (false);
    else
    // Make sure that the first contact item in the names
    // list is highlighted.
    names.select (0);
    private void add ()
    // Create an add data entry form to enter information
    // for a new contact.
    DataEntryForm def = new DataEntryForm (this, "add");
    // If the bOk Boolean flag is set, this indicates the user
    // exited the form by pressing the Ok button.
    if (def.bOk)
    // Create a Contact object and assign information from
    // the form to its fields.
    Contact temp = new Contact ();
    temp.fname = new String (def.fname.getText ());
    temp.lname = new String (def.lname.getText ());
    temp.haddress = new String (def.haddress.getText ());
    temp.maddress = new String (def.maddress.getText ());
    temp.phone = new String (def.phone.getText ());
    temp.wphone = new String (def.wphone.getText ());
    temp.cphone = new String (def.cphone.getText ());
    temp.email = new String (def.email.getText ());
    temp.bdate = new String (def.bdate.getText ());
    temp.comments = new String (def.comments.getText ());
    // Add a new contact item to the names component.
    names.add (temp.lname + ", " + temp.fname);
    // Add the Contact object to the contacts Vector
    // object.
    contacts.add (temp);
    // Make sure that the delete and edit buttons are
    // enabled.
    delete.setEnabled (true);
    edit.setEnabled (true);
    // Destroy the dialog box.
    def.dispose ();
    // Make sure that the first contact item in the names list
    // is highlighted.
    names.select (0);
    // ===========================================================
    // Load all contacts from contacts.dat into the contacts
    // Vector object. Also, make sure that the last name/first
    // name from each contact is combined into a String object and
    // added into the names component - as a contact item.
    // ===========================================================
    private void loadContacts ()
    FileInputStream fis = null;
    try
    fis = new FileInputStream ("contacts.dat");
    DataInputStream dis = new DataInputStream (fis);
    int nContacts = dis.readInt ();
    for (int i = 0; i < nContacts; i++)
    Contact temp = new Contact ();
    temp.fname = dis.readUTF ();
    temp.lname = dis.readUTF ();
    temp.haddress = dis.readUTF ();
    temp.maddress = dis.readUTF ();
    temp.phone = dis.readUTF ();
    temp.wphone = dis.readUTF ();
    temp.cphone = dis.readUTF ();
    temp.email = dis.readUTF ();
    temp.bdate = dis.readUTF ();
    temp.comments = dis.readUTF ();
    names.add (temp.lname + ", " + temp.fname);
    contacts.add (temp);
    if (nContacts > 0)
    delete.setEnabled (true);
    edit.setEnabled (true);
    catch (Exception e)
    finally
    if (fis != null)
    try
    fis.close ();
    catch (Exception e) {}
    // Make sure that the first contact item in the names list
    // is highlighted.
    names.select (0);
    // ========================================================
    // Save all Contact objects from the contacts Vector object
    // to contacts.dat. The number of contacts are saved as an
    // int to make it easy for loadContacts () to do its job.
    // ========================================================
    private void saveContacts ()
    FileOutputStream fos = null;
    try
    fos = new FileOutputStream ("contacts.dat");
    DataOutputStream dos = new DataOutputStream (fos);
    dos.writeInt (contacts.size ());
    for (int i = 0; i < contacts.size (); i++)
    Contact temp = (Contact) contacts.elementAt (i);
    dos.writeUTF (temp.fname);
    dos.writeUTF (temp.lname);
    dos.writeUTF (temp.haddress);
    dos.writeUTF (temp.maddress);
    dos.writeUTF (temp.phone);
    dos.writeUTF (temp.wphone);
    dos.writeUTF (temp.cphone);
    dos.writeUTF (temp.email);
    dos.writeUTF (temp.bdate);
    dos.writeUTF (temp.comments);
    catch (Exception e)
    MsgBox mb = new MsgBox (this, "CM Error",
    e.toString ());
    mb.dispose ();
    finally
    if (fos != null)
    try
    fos.close ();
    catch (Exception e) {}
    private void edit ()
    // Obtain index of selected contact item from the names
    // component.
    int index = names.getSelectedIndex ();
    // If no item was selected, index is -1. We cannot edit
    // a contact if no contact item in the names component was
    // selected - because we would have nothing to work with.
    if (index != -1)
    // Obtain a reference to the Contact object (from the
    // contacts Vector object) that is associated with the
    // index.
    Contact temp = (Contact) contacts.elementAt (index);
    // Create and display an edit entry form.
    DataEntryForm def = new DataEntryForm (this, "edit",
    temp.fname,
    temp.lname,
    temp.haddress,
    temp.maddress,
    temp.phone,
    temp.wphone,
    temp.cphone,
    temp.email,
    temp.bdate,
    temp.comments);
    // If the user pressed Ok...
    if (def.bOk)
    // edit the contact information in the contacts
    // Vector object.
    temp.fname = new String (def.fname.getText ());
    temp.lname = new String (def.lname.getText ());
    temp.haddress = new String (def.haddress.getText ());
    temp.maddress = new String (def.maddress.getText ());
    temp.phone = new String (def.phone.getText ());
    temp.wphone = new String (def.wphone.getText ());
    temp.cphone = new String (def.cphone.getText ());
    temp.email = new String (def.email.getText ());
    temp.bdate = new String (def.bdate.getText ());
    temp.comments = new String (def.comments.getText ());
    // Make sure the screen reflects the edit.
    names.replaceItem (temp.lname + ", " + temp.fname,
    index);
    // Destroy the dialog box.
    def.dispose ();
    // Make sure that the first contact item in the names
    // list is highlighted.
    names.select (0);
    // ========================================================
    // Class: Contact
    // This class describes the contents of a business contact.
    // ========================================================
    class Contact
    public String fname;
    public String lname;
    public String haddress;
    public String maddress;
    public String phone;
    public String wphone;
    public String cphone;
    public String email;
    public String bdate;
    public String comments;
    // ==========================================================
    // Class: DataEntryForm
    // This class provides a data entry form for entering contact
    // information.
    // ==========================================================
    class DataEntryForm extends Dialog implements ActionListener
    // bOk is a boolean flag. When true, it indicates that
    // the Ok button was pressed to terminate the dialog box
    // (as opposed to the Cancel button).
    public boolean bOk;
    // The following components hold the text that the user
    // entered into the visible text fields.
    public TextField fname;
    public TextField lname;
    public TextField haddress;
    public TextField maddress;
    public TextField phone;
    public TextField wphone;
    public TextField cphone;
    public TextField email;
    public TextField bdate;
    public TextField comments;
    public void actionPerformed (ActionEvent e)
    // If the user pressed the Ok button, indicate this
    // by assigning true to bOk.
    if (e.getActionCommand ().equals ("Ok"))
    bOk = true;
    // Destroy the dialog box and return to the point
    // just after the creation of the DataEntryForm object.
    dispose ();
    public DataEntryForm (Frame parent, String title)
    // Call the other constructor. The current constructor
    // is used for add operations. The other constructor
    // is used for edit operations.
    this (parent, title, "", "", "", "", "", "", "", "", "", "");
    public DataEntryForm (Frame parent, String title,
    String fname, String lname,
    String haddress, String maddress,
    String phone,String wphone,
    String cphone,String email,
    String bdate,String comments)
    // Initialize the superclass layer.
    super (parent, title, true);
    // Choose a grid bag layout so that components can be more
    // accurately positioned. (It looks nicer.)
    setLayout (new GridBagLayout ());
    // Add appropriate first name, last name, phone, wphone, and
    // email components to the current DataEntryForm container.
    // (Remember, DataEntryForm is a subclass of Dialog.
    // Dialog is a container. Therefore, DataEntryForm
    // inherits the ability to be a container.)
    addComponent (this, new Label ("First Name: "),0, 0, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.fname = new TextField (20);
    addComponent (this, this.fname, 1, 0, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    if (title.equals ("edit"))
    this.fname.setText (fname);
    addComponent (this, new Label ("Last Name: "), 0, 1, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.lname = new TextField (20);
    addComponent (this, this.lname, 1, 1, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    if (title.equals ("edit"))
    this.lname.setText (lname);
    addComponent (this, new Label ("Home Address: "), 0, 2, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.haddress = new TextField (20);
    addComponent (this, this.haddress, 1, 2, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    if (title.equals ("edit"))
    this.haddress.setText (haddress);
    addComponent (this, new Label ("Mailing Address: "), 0, 3, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.maddress = new TextField (20);
    addComponent (this, this.maddress, 1, 3, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    if (title.equals ("edit"))
    this.maddress.setText (maddress);
    addComponent (this, new Label ("Home Number: "), 0, 4, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.phone = new TextField (20);
    addComponent (this, this.phone, 1, 4, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    if (title.equals ("edit"))
    this.phone.setText (phone);
    addComponent (this, new Label ("Work Number: "), 0, 5, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.wphone = new TextField (20);
    addComponent (this, this.wphone, 1, 5, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    if (title.equals ("edit"))
    this.wphone.setText (wphone);
    addComponent (this, new Label ("Cell Number: "), 0, 6, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.cphone = new TextField (20);
    addComponent (this, this.cphone, 1, 6, 1, 1,
    GridBagConstraints.WEST,
    GridBagConstraints.WEST);
    addComponent (this, new Label ("Email Address: "), 0, 7, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.email = new TextField (20);
    addComponent (this, this.email, 1, 7, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    addComponent (this, new Label ("Birth Date: "), 0, 8, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.bdate = new TextField (20);
    addComponent (this, this.bdate, 1, 8, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    addComponent (this, new Label ("Comments: "), 2, 0, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    this.comments = new TextField (20);
    addComponent (this, this.comments, 2, 1, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    addComponent (this, new Label (""), 0, 9, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    addComponent (this, new Label (""), 1, 9, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.WEST);
    Button b;
    // Add an Ok button to this container.
    addComponent (this, b = new Button ("Ok"), 0, -9, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    b.addActionListener (this);
    // Add a Cancel button to this container.
    addComponent (this, b = new Button ("Cancel"), 1, -9, 1, 1,
    GridBagConstraints.NONE,
    GridBagConstraints.CENTER);
    b.addActionListener (this);
    // Set the background of the frame window container to
    // pink (to give a pleasing effect).
    setBackground (Color.pink);
    // Set the size of the dialog window to 250 pixels
    // horizontally by 200 pixels vertically.
    setSize (450, 500);
    // Do not allow users to resize the dialog window.
    setResizable (false);
    // Make sure that the dialog window is visible.
    setVisible (true);
    private void addComponent (Container con, Component com,
    int gridx, int gridy,
    int gridw, int gridh, int fill,
    int anchor)
    // Get the current layout manager. It is assumed to
    // be a GridBagLayout object.
    LayoutManager lm = con.getLayout ();
    // Create a GridBagConstraints object to make it
    // possible to customize component positioning.
    GridBagConstraints gbc = new GridBagConstraints ();
    // Assign the x and y grid positions.
    gbc.gridx = gridx;
    gbc.gridy = gridy;
    // Assign the number of grid blocks horizontally and
    // vertically that are occupied by the component.
    gbc.gridwidth = gridw;
    gbc.gridheight = gridh;
    // Specify the component's resize policy (fill) and
    // the direction in which the component is positioned
    // when its size is smaller than available space (anchor).
    gbc.fill = fill;
    gbc.anchor = anchor;
    // Set the new constraints that the grid bag layout
    // manager will use.
    ((GridBagLayout) lm).setConstraints (com, gbc);
    // Add the component to the container.
    con.add (com);
    // ===========================================================
    // Class: MsgBox
    // This class displays a message box to the user. The message
    // is usually an error message. The user must press the Ok
    // button to terminate the message box.
    // ===========================================================
    class MsgBox extends Dialog implements ActionListener
    public void actionPerformed (ActionEvent e)
    // Terminate the dialog box in response to the user
    // pressing the Ok button.
    dispose ();
    public MsgBox (Frame parent, String title, String msg)
    // Initialize the superclass layer.
    super (parent, title, true);
    // Store the msg argument in a Label object and add
    // this object to the center part of the dialog window.
    Label l = new Label (msg);
    add ("Center", l);
    // Create a Button object and add it to the south part
    // of the dialog window.
    Button b = new Button ("Ok");
    add ("South", b);
    // Make the current object a listener to events that
    // occur as a result of the user pressing the Ok
    // button.
    b.addActionListener (this);
    // Make sure that the Ok button has the focus.
    b.requestFocus ();
    // Do not allow users to resize the dialog window.
    setResizable (false);
    // Allow the layout manager to choose an appropriate
    // size for the dialog window.
    pack ();
    // Make sure that the dialog window is visible.
    setVisible (true);
    ====================END OF CODE =======================

    You should first start by formatting the code before
    posting. I lost my interest as I browsed thorugh the
    code.
    Read here -
    http://forum.java.sun.com/help.jspa?sec=formatting
    ...and its way too much code to expect anyone to read. Post a short excerpt of the part you are having trouble with.

  • Creating a new window from and action event

    Hey I have a problem i would like most of my menu items to create a new window containing a set text and i was thinking of creating a new container with a JTextArea but for some reason its not working. if someone could help me that be great... so my question is how do create another window (TextArea) with my tokenized array info in it open up when Print File or Print Total is the event??
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.util.StringTokenizer;
    import javax.swing.plaf.*;
    class PhoneProject extends JFrame implements ActionListener
         private static final int WIDTH = 260;
         private static final int HEIGHT = 160;
         private static final int X_ORIGIN = 402;
         private static final int Y_ORIGIN = 299;
         ArrayList internalCalls = new ArrayList();
         ArrayList externalCalls = new ArrayList();
         PhoneCall internal;
         PhoneCall external;
         JMenu query = new JMenu("Query");
         JMenu proccess = new JMenu("Proccess");
         String inRecord;
         int numExtension;
         int numCallType;
         int numSeconds;
         int totalIntTime;
         int totalExtTime;
    public static void main(String args[])
              PhoneProject frame = new PhoneProject();
              frame.setVisible(true);
    public  void LoadArray(File myFile) throws IOException
              FileReader fr = new FileReader(myFile);
              BufferedReader br = new BufferedReader(fr);
              while ((inRecord = br.readLine()) != null)
                   StringTokenizer tokenizer = new StringTokenizer(inRecord);
                   String extension = tokenizer.nextToken();
                   String callType = tokenizer.nextToken();
                   String seconds = tokenizer.nextToken();
                   numExtension = Integer.parseInt(extension);
                   numCallType = Integer.parseInt(callType);
                   numSeconds = Integer.parseInt(seconds);
                   if (numCallType == 0)
                        internal= new PhoneCall(numExtension, numCallType, numSeconds);
                        totalIntTime = (totalIntTime + numSeconds);
                        //System.out.println(totalIntTime + "int");
                        internalCalls.add(internal);
                   if (numCallType == 1)
                        external = new PhoneCall(numExtension, numCallType, numSeconds);
                        totalExtTime = (totalExtTime + numSeconds);
                        //System.out.println(totalExtTime + "EXT");
                        externalCalls.add(external);
                   System.out.println(internal.getSeconds());     
         public PhoneProject()
              Container contentPane;
              setBounds(X_ORIGIN, Y_ORIGIN, WIDTH, HEIGHT);
              setTitle("Phone Analyzer");
              setResizable(true);
              contentPane = getContentPane();
            contentPane.setLayout(new BorderLayout());
              JMenu file = new JMenu("File");
              JMenuItem  item;
              item = new JMenuItem("Open");
              item.addActionListener(this);
              file.add(item);
              item = new JMenuItem("Exit");
              item.addActionListener(this);
              file.add(item);
              proccess.setEnabled(false);
              item = new JMenuItem("Print File");
              item.addActionListener(this);
              proccess.add(item);
              item = new JMenuItem("Print Totals");
              item.addActionListener(this);
              proccess.add(item);
              item = new JMenu("Low and High");
              item.addActionListener(this);
              proccess.add(item);
              JMenuItem subItem = new JMenuItem("Compare");
              subItem.addActionListener(this);
              item.add(subItem);
              query.setEnabled(false);
              item = new JMenu("Average Total Utilization");
              item.addActionListener(this);
              query.add(item);
              JMenuItem itemInt = new JMenuItem("Internal");
              itemInt.addActionListener(this);
              item.add(itemInt);
              JMenuItem itemExt = new JMenuItem("External");
              itemExt.addActionListener(this);
              item.add(itemExt);
              item = new JMenuItem("Highest Internal Utilization");
              item.addActionListener(this);
              query.add(item);
              item = new JMenuItem("Highest Total Utilization");
              item.addActionListener(this);
              query.add(item);
              JMenuBar menuBar = new JMenuBar();
            setJMenuBar(menuBar);
            menuBar.add(file);
            menuBar.add(proccess);
            menuBar.add(query);
              contentPane.add(new JTextArea("Phone Report"));
      public void actionPerformed(ActionEvent event)
           String menuName;
           menuName = event.getActionCommand();
           if (menuName == "Open")
                JFileChooser chooser = new JFileChooser();
                int returnVal = chooser.showOpenDialog(this);
                if (returnVal == JFileChooser.APPROVE_OPTION)
                     try
                        File myFile = chooser.getSelectedFile();
                        this.LoadArray(myFile);
                        proccess.setEnabled(true);
                        query.setEnabled(true);
                     catch (Exception e)
         if (menuName == "Print File")
    JTextArea display = new JTextArea();
              display.setText("Hello");testing to see if it works
              display.setVisible(true);
         if (menuName == "Print Total")
                                               JTextArea display = new JTextArea();
              display.setText("Hello");//testing
              display.setVisible(true);
           if (menuName == "Exit")
                System.exit(0);
    }Phone.txt
    2000 0 300
    2000 0 538
    2000 1 305
    2000 1 729
    2005 0 205
    2005 0 305
    2005 1 592
    2005 1 594
    2010 0 364
    2010 0 464
    2010 1 904
    2010 1 100
    2020 0 234
    2020 0 839
    2020 1 999
    2020 1 210
    Assignment: Array Based GUI Assignment
    Telephone call data has been collected from a company's telephone switch. You have been asked to analyze it and produce various statistics.
    Input File
    The input file is a sequential file. It is in no specific order. The file contains an extension number, type of call, and the length of call in seconds. A record is produced each time a call is made from that extension. You should create your own test file.
    Field     Type     Description
    Extension     Integer     Extension number. This is a 4 digit number. Valid Extensions are 2000 to 2020.
    Type     Integer     Value of 1 means internal, any other value is an external call.
    Time     Long     Length of call in seconds
    Example:
    �     2000,1,60 : ----->>>> Extension 2000 had an internal call that lasted 60 seconds
    �     2000,1,356: ----->>>> Extension 2000 had an internal call that lasted 356 seconds
    �     2019,2,65: ------>>>> Extension 2019 had an external call that lasted 65 seconds
    �     2001,1,355: ----->>>> Extension 2001 had an internal call that lasted 355 seconds
    Process
    1.     Use 2 arrays to accumulate the time of calls for each extension, both internal and external.
    2.     The reports and queries are to be produced from the arrays.
    Hints:
    �     Create 2 arrays: one for internal calls and one for external calls.
    �     Load the arrays in Form Load: do not do any calculations here.
    �     The report and queries can totally be produced from the arrays.
    Output: Report
    Telephone Useage Report
    Extension Internal External
    2000 4500 3500
    2001 19350 22981
    2002 2333 900
    2003 3144 122
    Totals 99999 99999
    Output: Queries
    On the form add add query capability.
    1.     Average Total Utilization: Internal Calls: 9999 (total length of all internal calls / number extensions)
    2.     Average Total Utilization: External Calls: 9999
    3.     Extension with the highest internal call utilization: Ext xxxx; 9999 seconds.
    4.     Extension with the highest total utilization.
    Form Design
    The design of the form is up to you. However, use the following guidelines:
    �     use menus (preferred) or command buttons
    �     use a common dialog box to ask for the file name
    �     use a list box or text box to display the output
    the caption on the form should include your name

    hi
    u can try like following code
    if (menuName == "Print File")
              new mytextframe();
    class mytextframe extends JFrame{
         JTextArea display = new JTextArea();
         public mytextframe()
              setSize(300,300);
              setVisible(true);
              add(display);
              display.setText( "ello");
    }

  • New to Sales and distribution

    HI all,
    I am new to sales and distribution. Please send me some documents regarding project implementation in developent as well as support projects. And also, send me some documents.
    thanks and regards
    bhaskar
    [email protected]

    Hi Bhaskar,
    Welcome to SDN.
    Please check this online document.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDSLS/SDSLS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SD/SD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
    Hope this will help to start with.
    Regards,
    Ferry Lianto
    Please reward points if helpful as a way to say thanks.

  • Creation of new movement type and condition type

    Hi experts,
                       I am going to create a new movement type and the new condition type. Please suggest me how to create and implement it.
    Thanks
    Harmandeep

    Please check these answered links:
    Create a new movement type
    Create Movement Type Error
    When we need to create a new movement type?
    can we a create a  condition type for  PO
    Create new condition type with respective GL acc. for PO
    Re: Condition type

  • Payment Methods for implementing new bank

    Hello Experts,
    I need your expert suggestions on the below:
    My Client is implementing Bank XX to replace Bank YY.  At present, the client is using Payment methods 'A' for ACH Payments and 'C' for Checks with House banks "00001" and "00002" respectively for the Bank YY. We will be setting up New House Banks for the new bank.
    When we implement New bank YY, can we:
    1. Utilize the same Payment Methods A and C for the New bank YY.
    2. What are the issues that will be encountered if we utilize the same Payment Methods.
    The Client is planning to use both the Banks for a short period of time and eventually stop using the old bank XX.
    Regards,
    Andy

    Hi Andy,
    If we go by the Payment program configuration then I don't think there is going to be much impact expect for the bank determination in this case as stated below.
    1. You already have the payment methods A and C within the relevant country and company code - so nothing on this front.
    2. You need to create new house bank 'XX' and accounts within it in transaction code FI12 (Configuration activity)
    3. But for bank determination purpose you would have to rank new house bank XX with rank 1 and not rank old house bank YY (if you don't want to use it any more) or rank it with rank 2 (if you still wish to use this house bank if the available amounts within the new house banks are low).
    4. Further you would also have to identify (within the bank determination tab) the bank account to be used from within the new house bank XX.
    5. Further if you are using this for ACH payments then assuming the transmission of file through IDOC you need to set up the EDI partner profile for this new house bank XX and also within the EDI compatible payment methods state payment method 'A'. Both these things can be done via transaction code FI12. But for setting up the partner profile may have to take help of ABAPER who can do it via transaction code WE20 replicating same settings as for old house bank 'YY' for new house bank 'XX'.
    6. For check payment method you need to set up the check lots for the new house bank 'XX' via transaction code FCHI.
    I dont think further you need to do anything other than test execute the payment.
    Hope this helps you!
    Regards,
    Prasad

  • How to create a new security group and assignments of rigths?

    Hi,
    In our current "Cisco Unified CM Administration System version: 7.0.1.11000-2" installation, we are a couple of administrators using the same user account to logon to the "https://10.10.x.x/ccmadmin/showHome.do" homepage.
    Where can I create a new user group and assign the appropriate rights to the group, and add users to the group? Or is it another approach that I need to follow instead of the way that security rights a made in a Microsoft Active Directory?
    Is there any place that I can read or view examples on how the setup can be done? I would like to have it in the way that everyone has their personal user account and use this to logon the administration-web page instead of an account that everyone uses.
    Kind regards,
    Carl-Marius

    why do you need to create a new business group? To implement HR? If so, linking a HR responsibility to your user, is one of the few steps to go anyway.
    How you did it on the test environment?
    Why not link a hr resp to your user temporarily, and disable it later.
    I'm always afraid to answer this kind of questions, since the real requirement is not described.

  • How the implementation differs between BW and BI , Is BI takes more time fo

    Hi All,
    I would like to know difference between implemenation and time lines for MM as mentioned below.
    How the implementation differs between BW and BI , Is BI takes more time for implementing MM module  than on BW?
    Thanks in advanced. (Full points will be awarded)
    With Regards,
    PCR

    Hi Timo,
    Thanks for response!
    But as i read from the following url: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html, the setQueryTimeOut(int timeOutMills), the timeOut is mentioned in milliseconds. Please correct me if I am wrong.
    and i have overriden the executeQuery() method in the View Object Impl class as shown below:
    public void executeQuery() {
    Map sessionScope = ADFContext.getCurrent().getSessionScope();
    sessionScope.put("MyQuery", this);
    try {
    super.executeQuery();
    } finally {
    sessionScope.remove("MyQuery");
    throw new JboException("Query Taking too long to respond");
    and in the JAVA class i am calling the above method like this:
    monitor.setQueryTimeOut(6);
    monitor.executeQuery();
    But the issue is:
    1. The above exception message is getting carried forward to other pages as well. I mean somewhere in the session/ADFContext this message is being saved and error comes up/pops up when i click on other tabs of the page. How do i clear this?
    2. The above exception message is coming for the first time but when i click the 'Submit' button second time, i am getting the results and also the message that 'Query is taking too long to respond'. This should not be the case, everytime it should show the same message as the timeout limit is less and the query should end without fetching the results.
    Kindly let me know how to resolve the above issues, any pointers will be helpful.
    Thanks in advance.
    Edited by: user9223904 on Nov 3, 2012 4:42 AM

  • Custom SSIS Source: How do I make it create a new connection manager and display its properties window?

    I am writing a custom SSIS source that uses a standard SSIS Flat File Connection Manager. I have got a working UI that shows all usable connection managers in a dropdown list and allows the user to pick one. I would like to be able to have a button that
    the user can click on to create a new connection manager, and it would open the properties window for the new connection manager so it can be set up.
    Abridged code:
    Public Class MyNewSourceUI
    Implements IDtsComponentUI
    Private MetaData As IDTSComponentMetaData100
    Public Function Edit(ByVal parentWindow As IWin32Window, _
    ByVal variables As Variables, _
    ByVal connections As Connections) As Boolean _
    Implements Microsoft.SqlServer.Dts.Pipeline.Design.IDtsComponentUI.Edit
    Dim UIwin As New MyNewSourcePropertiesWindow(MetaData, connections)
    Return (UIwin.ShowDialog() = DialogResult.OK)
    End Function
    Public Sub Initialize(ByVal dtsComponentMetadata As IDTSComponentMetaData100, _
    ByVal serviceProvider As System.IServiceProvider) _
    Implements Microsoft.SqlServer.Dts.Pipeline.Design.IDtsComponentUI.Initialize
    MetaData = dtsComponentMetadata
    End Sub
    End Class
    Public Class MyNewSourcePropertiesWindow
    Inherits System.Windows.Forms.Form
    Private _metadata As IDTSComponentMetaData100
    Private _cnxions As Connections
    Public Sub New(ByVal ComponentMetaData As IDTSComponentMetaData100, ByVal connections As Connections)
    InitializeComponent()
    _metadata = ComponentMetaData
    _cnxions = connections
    ShowConnections()
    'Setup Existing Metadata '
    End Sub
    Private Sub ShowConnections()
    Me.cboConnection.Items.Clear()
    Me.cboConnection.Items.AddRange((
    From i As ConnectionManager In _cnxions _
    Where CType(i.Properties("CreationName").GetValue(i), String) = "FLATFILE" _
    AndAlso CType(i.Properties("Format").GetValue(i), String) = "Delimited" _
    Select i.Name).ToArray())
    End Sub
    Private Sub btnNewConnection_Click(ByVal sender as Object, ByVal e as System.EventArgs) Handles btnNewConnection.Click
    Dim newconn As ConnectionManager = _cnxions.Add("FLATFILE")
    ShowConnections()
    Me.cboConnection.SelectedItem = newconn.Name
    End Sub
    Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancel.Click
    Me.DialogResult = DialogResult.Cancel
    Me.Close()
    End Sub
    Private Sub btnOK_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOK.Click
    'Store any metadata changes '
    Me.DialogResult = DialogResult.OK
    Me.Close()
    End Sub
    End Class
    That's what I've got so far. I had assumed that adding a new connection would automatically display the properties window to the user (right?). However, in my tests, what actually happens is that it creates the new source with a random GUID for a name and no
    other properties set up, and puts it in the connections pane, and that's it. Not real useful.
    Obviously, something else is required to make the properties window appear, but I can't find what it is. There's no ShowUI() member on any of the classes I have, and I haven't been able to find out the name of the UI class that's used by the flat file source.
    Does anyone know how this is done? I know it can be done, because such a button exists in the normal Flat File Source UI.

    Yes, you need to drive the UI creation. I see you create a custom connection manager, in this case on how to build its UI please refer to http://kzhendev.wordpress.com/2013/08/07/part-2-adding-a-custom-ui-to-the-connection-manager/
    Arthur My Blog

  • New to Km and Trex

    Hi Experts..
    I am new to Km and Trex.. but  i am  familier with webdynpro ..
    but i want to know how to implement Km and Trex functionality in webdynpro..
    and also i want to know how to integrate Km and Trex with EP 6.0 and please tell me the post installation process

    Hi...
    Refer  the following link..
    TREX:: https://www.sdn.sap.com/irj/sdn/thread?threadID=475136&tstart=15
    TREX- Features:: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f130c590-0201-0010-54be-b1183d1f5cf6
    TREX Single host Installation:: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fd472c46-0a01-0010-f8b8-ac1b1de8a6f0
    TREX Multiple host Installation:: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/78df2a46-0a01-0010-ef81-a6be60cc5cfd
    KM Customization:: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4123
    and this also,
    http://help.sap.com/bp_epv170/EP_US/Documentation/How-to/KM/Config_Anonymous_Access_to_KM.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5ea2f0b3-0801-0010-a6b9-d9ce4a01bb77
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f5c3fa7-0301-0010-708e-cbde32e1ac98
    regards,
    Chinnadurai.R
    [points r welcome if useful]

  • Implementing customer's pricing and discounts

    Hello, I'm totally new to Weblogic and have a longtime client who has just purchased the Weblogic Commerce Server to put their catalog online. They have both domestic sales and international distributors with a complex discount structure in place. Naturally, they have all sort of currency conversions.
    My question to those most familiar with the existing code is what would be the preferred method to implement these changes.
    At first glance I'm thinking of creating a new custom tag class which would be used like com.beasys.commerce.ebusiness.catalog.tags.GetPropertyTag to add methods to retrieve the calculated "MSRP" price and currency, which changes depending on the type of customer, and the purchase price, which is discounted by customer. I would then change the cat.tld to use my custom tag class. The custom tag class would call the standard GetPropertyTag to retrieve the base values.
    The product/customer pricing would be in custom tables which would be exported from the ERP system and are not part of the Dublin framework.
    Does anyone have any other ideas regarding how to implement this type of functionality?

    Hi Anirban,
    I got your response, but that does not help as I had already verified that setting. That was one of my first checks to make sure that IPC pricing had been triggered. However, now that I have conducted more investigation I have found issues in regards to the lack of condition types in ISA. After review of the logs I found that certain condition tables have not been created and a mismatch of attributes exists. Can anyone comment on their experience of the IPC Dataloader and issues like the ones described when running an initial load for the first time?

  • New to AS and stuck on IF statements

    I am trying to make a currency converter and Im using IFs to determine the from and to currency and then make the appropriate calculation. So far, I cant get anything to work. Here is the original code that I was using (but didnt work):
                   var a:String=String (OriginCurrenyCode.text)
                   var b:String=String (DestinationCurrencyCode.text)
                   var c:Number=Number (AmountToBeConverted.text)
                   if (a == "USD"){
                        if (b == "GBP"){
                             var ab:Number=Number (c*0.60)
                             ConvertedAmount.text = String(ab)
                        else if (b == "EUR"){
                             var ac:Number=Number (c*0.71)
                             ConvertedAmount.text = String(ac)
    Obviously there is much more, and the conversion rates arent completely accurate but thats the basis. I've tried every possible change I can think of but have no idea how to make this work.
    I am new to Actionscript and dont have any programming experience so any help is much appreciated.
    Thanks!!!
    Dave

    I agree that the switch statement would make the code easier - and perhaps faster as well. But, I personally never use switch statements in any code I write ever. When I first began programming, an experienced programmer told me that switch statements are frowned upon.
    Here's why (from wikipedia): "When implemented with fall-through as the default path, switch/case statements are a frequent source of bugs among even experienced programmers, given that, in practice, the "break" is almost always the desired path, but not the default behavior of the switch/case construct (at least in C and Java)."
    So, I've always stuck with if, then, else type statements even though they are harder to read and can be more painful to write and have serveral other disadvantages.

Maybe you are looking for

  • Need to reformat my HD and have few q's

    Hi ! I have a mid 2010 MacBook Pro. 500 gb ..recently updated to Mavericks.  In the past I had a problem with what I THINK were kernel panics (the white screen of death, etc)...came on here and found my way out of that and was able to get up and runn

  • I Tunes 7 without internet

    Hi i've just bought a ipod, however at present i do not have an internet connection. when i recieved my ipod there was no cd to install itunes onto my computer. Is there any way i can get the new itunes on disk? Or download it from the internet on to

  • Sequence of classes called in a badi

    Hi guys, I have a problem on the sequence of the classes called in a standard BADI occuring in different system. In the DEV system, the sequence called is A, B, C (Just to illustrate). But, in the QA and PROD system, the sequence called is B, C, A. V

  • Portalapp.xml sharing reference

    I have the following import statements : import java.util.Hashtable; import javax.naming.Context; import javax.naming.InitialContext; import com.sap.portal.pcm.iview.IiView; import com.sapportals.portal.pcd.gl.IPcdContext; import com.sapportals.porta

  • Query Crawl Log using the object model

    I'd like to query from code the items that have been deleted from the Crawl Log. I see the following method in MSDN but it does not seem to exist in the API: CrawlLog.GetCrawledUrls method (Boolean, Int64, String, Boolean, Int32, Int32, Int32, DateTi