Help with starting point for "proof of concept" integration

We are a third party application provider and are attempting to figure out how to do a "proof of concept" integration with SAP.  We are not looking for "certification".  Our product does not appear to fit any of the standard certifications for integration and our experience integrating with other systems indicates that no two integration will be identical.
We are looking to do a simple integration scenario with an SAP system so we have some basic experience doing it, can say 'Yes" when asked if we have done it, and can create a video showing a transaction being done in SAP and our system also updating (and ideally the reverse).
Our starting point with respect to SAP knowledge is "0".
Our basic task list (we think) goes something like
1.  Figure out the version and modules of SAP with which we should be integrating
2.  Get access to an SAP system (do we rent, is there a developer/evaluation, ...)
3.  Put some data in the test system (is there a "sample data" set?)
4.  Figure out the SAP transactions that map to the business process in which we are interested (moving goods in and out of a distribution center/ware house - are there some "standard business process guides")
5.  Integrate (we are a .NET web based application so we are guessing this means use the ".Net Connector")
Could anyone point out any resources (white papers, links, people, places to find people,...) that might be a good starting point?
Thanks,
John

Athol,
We are looking to recieve notifications out of SAP as tractor trailers at a dock are filled as proof on concept.  The actual integration scenarios we do are more complex and do not match well with any of the pre-packaged certification scenarios.  The real world integration scenarios actual vary substantially from customer to customer in terms of the integration points between systems.
As we have become more marginally knowledgable about SAP, I think we will end up receiving and sending "IDOC" messages from SAP but have no idea what those IDOC messages are or where to start looking for what a "standard" (if there is one) message SAP would generate in reaction to whatever the "trailer is loaded" transaction is.
To figure out what the transaction is, I assume we need to identify what version of SAP we should be targeting for a simple integration.  Are there any could references on what the commonly integration methods are and to which versions they apply?
Something like "hey, if you do an integration with a IDOCs in with SAP Netweaver 2004 then that would good proof you could integrate with 90% of the installed SAP base".  Of course, any links explaining what the versions of SAP are and where they are in there lifecycle and what people are actually using would be helpful.
John

Similar Messages

  • Help with extending schema for redhat ldap sudo integration.

    Hi all,
    I've done LDAP administration for a few years, but I'm new to Directory server and I'm a bit stuck. I want to apply a custom schema and allow sudoers in our CentOs (Redhat) Linux servers. They're authenticating correctly, but I can't get sudoers to work. I've followed this documentation to update my schema.
    http://kbase.redhat.com/faq/docs/DOC-2057
    I'm having issues with the step that creates the SUDOers group as the following.
    dn: ou=SUDOers,dc=example,dc=com
    objectClass: top
    objectClass: organizationalUnit
    ou: SUDOers
    I want to make administration easy via the Workgroup manager so I don't have to manually add users to this group via ldif files. When I create a sudoers group via the workgroup manager, I get this dn
    cn=sudoers,cn=groups,dc=spidertracks,dc=local
    As you can see, it's a cn, not an ou. Furthermore, how do I get the defaults in the sudoer's group so that redhat recognizes the setup, but users can be assigned via the workgroup manager?
    Thanks,
    Todd

    Anyways , I've created an LDIF for Active Directory with theses attributes and class objects.
    Don't really know if this is needed inside AD or not.
    If anyone wants these LDIFs for some reason, drop me a line. Keep in mind that they are a work in progress, so, if you find anything you dont like and would like to change it, please do let me know so I can update my versions aswell.
    If anyone got any idea regarding the last questions I posted, please do let me know aswell
    Rp

  • Need Help with Cue Points/Custome Code

    So I've figured out that videos with a playback component need cue points in order to set up all the interactivity I want to use. The only way to make animated graphics, interactive graphs and text is to apparently create custom code, which I no zip about.
    Should I hire someone to do that for me? I was thinking elance, but does anyone have any suggestions on how to make an interactive video other ways (or cheaper)ways.
    p.s
    how much do you think I should charge for that:)?

    My advice... start with a very simple "proof of concept" project before you attempt the entire package.
    It will be much easier to scale up if you first have a very good understanding of what's going on.
    So one simple video with just one cuepoint and only one button and additional display. You'll also have to work out the interaction of pausing the video when a cuepoint is reached or button pushed to display the graph, giving the viewer time to read the graph... then when the viewer closes the graph, the video should "resume".
    Start very simple and build on that only after you understand the fundamentals.
    Second, you mention "video reports"... plural. So that most likely means that you will need a video player with a "playlist".
    This may mean that you'll need to learn to use a little .xml to bring in the playlist data. You may also find xml an excellant way to bring other data into you project.
    At the link listed above there is an excellant tutorial on "Integrating Flash and XML"
    "Flash and XML"
    "XML Video Playlist"
    "ActionScript 3 XML Basics"
    "ActionScript 3 Advanced XML"
    Personally I would not even begin a project like this without considering how I could use xml to feed data into the project.
    Here's an example of a video player I created that has a playlist, thumbnails, categories, transcipts, "Now Playing" etc. All that data comes into the main .swf via various xml files. Super good way in input data into Flash.
    http://www.drheimer.com/video/
    Yours is a rather ambitious project and will take awhile to gain the skill and assemble the pieces. So when you come to a new part... first create a real simple "proof of concept" model so you can learn how that section works. Don't expect to be able to assemble the entire project all at once.
    Best wishes,
    Adninjastrator

  • Starting Point for GSS

    We are going to deploy GSS in a DC-DR scenario. Primary role for this GSS would be for failover when DC becomes unavailable. As of now, we are not planning to make these GSSes as an authorative servers for Domain names.
    My question is How GSS should be configured. I've gone through pdfs explainng how GSS works and KAP-AL with other GSS, ACE etc. However, I am not able to completely understand about its IP addressing, physical connectivity (most likely, this would be outside firewall) and more details about GSS-ACE deployment. We are going to have ACE appliances in Primary DC as well. There will be no ACE appliance in DR.
    Any guidance about starting point for GSS deployment would be helpful. I was also looking for questions to be asked for client requirement gathering.
    THanks in advance. Happy 2012 !

    just google :)

  • Looking for a good starting point for the HR module

    Hello,
    Can someone please send links to help/blogs which will be a good starting point for the HR module?
    Thanks,
    Roy

    Regarding Payroll configuration
    https://forums.sdn.sap.com/click.jspa?searchID=8283334&messageID=4763364
    follow wht our gurus has said

  • Good starting point for simulations

    Hi,
    I am looking for a good starting point for system simulations in Labview.
    books and bookmarks are welcome. These simulations will include linear
    differential equations.
    Your help is greatly appreciated.
    Greetings from Germany.
    Henrik
    ---------------------------- Corinna & Henrik Volkers
    [email protected]
    | | |
    __|._.__|._.__|._.____________________ beeeeeeeeeeeeee...
    | | |

    [posted and mailed]
    [email protected] (Henrik Volkers) wrote in
    >Hi,
    >I am looking for a good starting point for system simulations in Labview.
    >books and bookmarks are welcome. These simulations will include linear
    >differential equations.
    >Your help is greatly appreciated.
    >Greetings from Germany.
    >Henrik
    >
    There is a chapter in "LabVIEW Power Programming" by Gary W. Johnson,
    McGraw Hill.
    There is the simulation toolkit from NI; www.ni.com
    Alexander C. Le Dain, PhD
    ICON Technologies Pty Ltd
    http://www.icon-tech.com.au
    * The LabVIEW FAQ http://www.icon-tech.com.au/thelabviewfaq.html *

  • HELP HELP HELP with adminstrator password for pavilion dv7 beats audio

    Hi. I need help with  adminstrator password for pavilion dv7 with window 7. I don't remember with is the  adminstrator password for pavilion dv7 beats audio. Is there anyway you can help me with this? once i enter 3 times is gives me this system disabled code: 52464663.  

    Hi
    Try this Key : 43542265 That should fix your issue 
    Hope this helps.
    ***** Click the KUDOS Thumbs UP (Like) on the left to say 'Thanks'*****
    ****Make it easier for other people to find solutions, by marking my answer “Accept as Solution”&"Kudos"if it solves your problem.****
    -VJ
    Although I am an HP Employee, I am speaking for myself and not for HP.

  • Default starting point for a search? Stopping a Finder Search?

    "Command F" brings up a search window, defaulted to "This Mac". All too often, I forget to switch the search to my intended target before entering the search criteria. I've got several TB of storage on line, so a "This Mac" Search can take a l-o-n-g time. I can't find a way to stop this search once it's started. Is there a way to set a preference for Find to default to the selected item (disk, folder, or whatever) rather than the whole computer? Am I missing a "cancel" button somewhere?
    Peri

    Backspacing or deleting the search criteria does not work. Once the beach-ball cursor starts spinning, nothing I do has any effect until the search is complete - which may be several minutes.
    On 10.4, there was is an "x" at the lower righthand corner of the search window (next to the search indicator), which would cancel the search. There is no "x" on 10.5.
    Saving a search might be an answer if I repeated the same search frequently, but I don't. Also, I'd have to remember to use the sidebar. If I could remember that, I'd probably could also remember to change the starting point for the search.

  • Custom starting point for song?

    I'm wondering if it's possible to set a custom starting point for a song, similar to the way that the end point can be set:
    I find that I have to start my song about two measures in (I tend to need more time than the Count In setting allows), but when I go to share the song, I don't want those first two measures.  Short of highlighting all tracks and dragging them left when I'm done, is there another way to set a custom start?
    Thanks!
    Andrew

    theolog wrote:
     when I go to share the song, I don't want those first two measures
    http://www.bulletsandbones.com/GB/GBFAQ.html#exportexactlength
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Help with Simple Applescript for Midipipe

    Hey all, I'm in desperate need of help with some Applescript for use in a program called Midipipe:
    http://web.mac.com/nicowald/SubtleSoft/MidiPipe.html
    I simply require an Applescript for Midipipe that filters out all OFF notes except for the most recently pressed key, or most recently pressed ON note. So for example, when multiple keys have been pressed, only the most recently pressed key will send an OFF note. I hope that is clear enough, i've had some major issues trying to get this work and my last hope is to hit the forums and find some help .. I've posted on some of the audio forums and i'm hoping someone here knows how to code this.
    Thanks so much!! .. Its for an upcomming show next week so i'm hoping someone can get me in the right direction to solving this.
    -Jes

    I try to help, but you'll need to apply your brain cells to get it working with what I've already explained (three times with what I offer below).  Try something like the following (I am renaming your buttons to ch1,ch2,ch3,ch4,ch5,ch6 so that the same functions can be shared by all buttons...
    // this assigns listeners to all 6 buttons
    for(var i:uint=1; i<7; i++){
              this["ch"+String(i)].addEventListener(MouseEvent.CLICK, fl_ClickToSeekToCuePoint);
    // this processes any one of the 6 btns when they are clicked
    function fl_ClickToSeekToCuePoint_1(event:MouseEvent):void
        var btn = event.currentTarget;
        var cuePointInstance:Object = vid.findCuePoint(btn.name);
        vid.seek(cuePointInstance.time);
       resetButtons();    // this makes all buttons go back to normal
        btn.upState = btn.overState; // this makes the clicked button change states
    function resetButtons():void {
         for(var i:uint=1; i<7; i++){
              this["ch"+String(i)].upState =  this["ch"+String(i)].hitTestState;
    For this to work, your buttons need to have the same artwork in the hit frame as they do in the up frame.

  • I still need help with the Dictionary for my Nokia...

    I still need help with the Dictionary for my Nokia 6680...
    Here's the error message I get when trying to open dictionary...
    "Dictionary word information missing. Install word database."
    Can someone please provide me a link the where I could download this dictionary for free?
    Thanks!
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

    oops, im sorry, i didnt realised i've already submitted it
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

  • Help with if statement for a beginner.

    Hello, I’m new to the dev lark and wondered if someone could point me in the right direction.
    I have the following (working!) app that lets users press a few buttons instead of typing console commands (please do not be too critical of it, it’s my first work prog).
    //DBS File send and Receive app 1.0
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.Font;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import java.applet.Applet;
    public class Buttons extends JFrame
         public Buttons()
              super("DBS 2");          
              JTextArea myText = new JTextArea   ("Welcome to the DBS application." +
                                                           "\n" +
                                                           "\n\n1. If you have received an email informing you that the DBS is ready to dowload please press the \"Receive DBS\" button." +
                                                           "\n" +
                                                           "\n1. Once this has been Received successfully please press the \"Prep File\" button." +
                                                           "\n\n2. Once the files have been moved to their appropriate locations, please do the \"Load\" into PAS." +
                                                           "\n\n3. Once the \"Load\" is complete, do the \"Extract\"." +
                                                           "\n\n4. When the \"Extract\" has taken place please press the \"File Shuffle\" button." +
                                                           "\n\n5. When the files have been shuffled, please press the \"Send DBS\" Button." +
                                                           "\n\nJob done." +
                                                           "\n", 20,50);
              JPanel holdAll = new JPanel();
              JPanel topPanel = new JPanel();
              JPanel bottomPanel = new JPanel();
              JPanel middle1 = new JPanel();
              JPanel middle2 = new JPanel();
              JPanel middle3 = new JPanel();
              topPanel.setLayout(new FlowLayout());
              middle1.setLayout(new FlowLayout());
              middle2.setLayout(new FlowLayout());
              middle3.setLayout(new FlowLayout());
              bottomPanel.setLayout(new FlowLayout());
              myText.setBackground(new java.awt.Color(0, 0, 0));     
              myText.setForeground(new java.awt.Color(255,255,255));
              myText.setFont(new java.awt.Font("Times",0, 16));
              myText.setLineWrap(true);
              myText.setWrapStyleWord(true);
              holdAll.setLayout(new BorderLayout());
              topPanel.setBackground(new java.awt.Color(153, 101, 52));
              bottomPanel.setForeground(new java.awt.Color(153, 0, 52));
              holdAll.add(topPanel, BorderLayout.CENTER);
              topPanel.add(myText, BorderLayout.NORTH);
              setSize(700, 600);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              getContentPane().add(holdAll, BorderLayout.CENTER);
              Container c = getContentPane();
              c.setLayout(new FlowLayout());
              final JButton receiveDBS = new JButton("Receive DBS"); //marked as final as it is called in an Inner Class later
              final JButton filePrep = new JButton("Prep File");
              final JButton fileShuffle = new JButton("File Shuffle");
              final JButton sendDBS = new JButton("Send DBS");
              JButton exitButton = new JButton("Exit");
    //          JLabel statusbar = new JLabel("Text here");
              receiveDBS.setFont(new java.awt.Font("Arial", 0, 25));
              filePrep.setFont(new java.awt.Font("Arial", 0, 25));
              fileShuffle.setFont(new java.awt.Font("Arial", 0, 25));
              sendDBS.setFont(new java.awt.Font("Arial", 0, 25));
              exitButton.setBorderPainted ( false );
              exitButton.setMargin( new Insets ( 10, 10, 10, 10 ));
              exitButton.setToolTipText( "EXIT Button" );
              exitButton.setFont(new java.awt.Font("Arial", 0, 20));
              exitButton.setEnabled(true);  //Set to (false) to disable
              exitButton.setForeground(new java.awt.Color(0, 0, 0));
              exitButton.setHorizontalTextPosition(SwingConstants.CENTER); //Don't know what this does
              exitButton.setBounds(10, 30, 90, 50); //Don't know what this does
              exitButton.setBackground(new java.awt.Color(153, 101, 52));     
              topPanel.add(receiveDBS);
              middle1.add(filePrep);
              middle2.add(exitButton);
              middle3.add(fileShuffle);
              bottomPanel.add(sendDBS);
              receiveDBS.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        if (ae.getSource() == receiveDBS);
                        try
                             Runtime.getRuntime().exec("cmd.exe /c start c:\\DBS\\ReceiveDBSfile.bat");
                        catch(Exception e)
                             System.out.println(e.toString());
                             e.printStackTrace();
              filePrep.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        if (ae.getSource() == filePrep);
                        try
                             Runtime.getRuntime().exec("cmd.exe /c start c:\\DBS\\filePrep.bat");
                        catch(Exception e)
                             System.out.println(e.toString());
                             e.printStackTrace();
              exitButton.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        System.exit(0);
              fileShuffle.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        if (ae.getSource() == fileShuffle);
                        try
                             Runtime.getRuntime().exec("cmd.exe /c start c:\\DBS\\fileShuffle.bat");
                        catch(Exception e)
                             System.out.println(e.toString());
                             e.printStackTrace();
              sendDBS.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        if (ae.getSource() == sendDBS);
                        try
                             Runtime.getRuntime().exec("cmd.exe /c start c:\\DBS\\sendDBSFile.bat");
                        catch(Exception e)
                             System.out.println(e.toString());
                             e.printStackTrace();
              c.add(receiveDBS);
              c.add(filePrep);
              c.add(fileShuffle);
              c.add(sendDBS);
              c.add(exitButton);
    //          c.add(statusbar);
         public static void main(String args[])
              Buttons xyz = new Buttons();
              xyz.setVisible(true);
         }What I would like help with is the following…
    I would like output to either a JLabel or JTextArea to appear if a file appears on the network. Something along these lines…
    If file named nststrace*.* is in \\[network path] then output “Download successful, please proceed.”
    btw I have done my best to search this forum for something similar and had no luck, but I am looking forward to Encephalopathic’s answer as he/she has consistently made me laugh with posted responses (in a good way).
    Thanks in advance, Paul.

    Hospital_Apps_Monkey wrote:
    we're starting to get aquainted, but I think "best friend" could take a while as it is still as hard going as I recall, but I will persevere.Heh, it's not so bad! For example, if I had no idea how to test whether a file exists, I would just scan the big list of classes on the left for names that sound like they might include File operations. Hey look, File! Then I'd look at all of File's methods for something that tests whether it exists or not. Hey, exists! Then if I still couldn't figure out how to use it, I'd do a google search on that particular method.

  • Need help with calculator project for an assignment...

    Hi all, I please need help with my calculator project that I have to do for an assignment.
    Here is the project's specifications that I need to do"
    """Create a console calculator applicaion that:
    * Takes one command line argument: your name and surname. When the
    program starts, display the date and time with a welcome message for the
    user.
    * Display all the available options to the user. Your calculator must include
    the arithmetic operations as well as at least five scientific operations of the
    Math class.
    -Your program must also have the ability to round a number and
    truncate it.
    -When you multiply by 2, you should not use the '*' operator to perform the
    operation.
    -Your program must also be able to reverse the sign of a number.
    * Include sufficient error checking in your program to ensure that the user
    only enters valid input. Make use of the String; Character, and other
    wrapper classes to help you.
    * Your program must be able to do conversions between decimal, octal and
    hex numbers.
    * Make use of a menu. You should give the user the option to end the
    program when entering a certain option.
    * When the program exits, display a message for the user, stating the
    current time, and calculate and display how long the user used your
    program.
    * Make use of helper classes where possible.
    * Use the SDK to run your program."""
    When the program starts, it asks the user for his/her name and surname. I got the program to ask the user again and again for his/her name and surname
    when he/she doesn't insert anything or just press 'enter', but if the user enters a number for the name and surname part, the program continues.
    Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??
    Here is the programs code that I've written so far:
    {code}
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class Project {
         private static String nameSurname = "";     
         private static String num1 = null;
         private static String num2 = null;
         private static String choice1 = null;
         private static double answer = 0;
         private static String more;
         public double Add() {
              answer = (Double.parseDouble(num1) + Double.parseDouble(num2));
              return answer;
         public double Subtract() {
              answer = (Double.parseDouble(num1) - Double.parseDouble(num2));
              return answer;
         public double Multiply() {
              answer = (Double.parseDouble(num1) * Double.parseDouble(num2));
              return answer;
         public double Divide() {
              answer = (Double.parseDouble(num1) / Double.parseDouble(num2));
              return answer;
         public double Modulus() {
              answer = (Double.parseDouble(num1) % Double.parseDouble(num2));
              return answer;
         public double maximumValue() {
              answer = (Math.max(Double.parseDouble(num1), Double.parseDouble(num2)));
              return answer;
         public double minimumValue() {
              answer = (Math.min(Double.parseDouble(num1), Double.parseDouble(num2)));
              return answer;
         public double absoluteNumber1() {
              answer = (Math.abs(Double.parseDouble(num1)));
              return answer;
         public double absoluteNumber2() {
              answer = (Math.abs(Double.parseDouble(num2)));
              return answer;
         public double Squareroot1() {
              answer = (Math.sqrt(Double.parseDouble(num1)));
              return answer;
         public double Squareroot2() {
              answer = (Math.sqrt(Double.parseDouble(num2)));
              return answer;
         public static String octalEquivalent1() {
              int iNum1 = Integer.parseInt(num1);
    String octal1 = Integer.toOctalString(iNum1);
    return octal1;
         public static String octalEquivalent2() {
              int iNum2 = Integer.parseInt(num2);
              String octal2 = Integer.toOctalString(iNum2);
              return octal2;
         public static String hexadecimalEquivalent1() {
              int iNum1 = Integer.parseInt(num1);
              String hex1 = Integer.toHexString(iNum1);
              return hex1;
         public static String hexadecimalEquivalent2() {
              int iNum2 = Integer.parseInt(num2);
              String hex2 = Integer.toHexString(iNum2);
              return hex2;
         public double Round1() {
              answer = Math.round(Double.parseDouble(num1));
              return answer;
         public double Round2() {
              answer = Math.round(Double.parseDouble(num2));
              return answer;
              SimpleDateFormat format1 = new SimpleDateFormat("EEEE, dd MMMM yyyy");
         Date now = new Date();
         SimpleDateFormat format2 = new SimpleDateFormat("hh:mm a");
         static Date timeIn = new Date();
         public static long programRuntime() {
              Date timeInD = timeIn;
              long timeOutD = System.currentTimeMillis();
              long msec = timeOutD - timeInD.getTime();
              float timeHours = msec / 1000;
                   return (long) timeHours;
         DecimalFormat decimals = new DecimalFormat("#0.00");
         public String insertNameAndSurname() throws IOException{
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        while (nameSurname == null || nameSurname.length() == 0) {
                             for (int i = 0; i < nameSurname.length(); i++) {
                             if ((nameSurname.charAt(i) > 'a') && (nameSurname.charAt(i) < 'Z')){
                                       inputCorrect = true;
                        else{
                        inputCorrect = false;
                        break;
                        try {
                             BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("Please enter your name and surname: ");
                             nameSurname = inStream.readLine();
                             inputCorrect = true;
                        }catch (IOException ex) {
                             System.out.println("You did not enter your name and surname, " + nameSurname + " is not a name, please enter your name and surname :");
                             inputCorrect = false;
                        System.out.println("\nA warm welcome " + nameSurname + " ,todays date is: " + format1.format(now));
                        System.out.println("and the time is now exactly " + format2.format(timeIn) + ".");
                        return nameSurname;
              public String inputNumber1() throws IOException {
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        try {
                             BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("\nPlease enter a number you want to do a calculation with and hit <ENTER>: ");
                             num1 = br.readLine();
                             double number1 = Double.parseDouble(num1);
                             System.out.println("\nThe number you have entered is: " + number1);
                             inputCorrect = true;
                        } catch (NumberFormatException nfe) {
                             System.out.println("\nYou did not enter a valid number: " + "\""+ num1 + "\" is not a number!!");
                             inputCorrect = false;
                        return num1;
         public String calculatorChoice() throws IOException {
              System.out.println("Please select an option of what you would like to do with this number from the menu below and hit <ENTER>: ");
              System.out.println("\n*********************************************");
              System.out.println("---------------------------------------------");
              System.out.println("Please select an option from the list below: ");
              System.out.println("---------------------------------------------");
              System.out.println("1 - Add");
              System.out.println("2 - Subtract");
              System.out.println("3 - Multiply");
              System.out.println("4 - Divide (remainder included)");
              System.out.println("5 - Maximum and minimum value of two numbers");
              System.out.println("6 - Squareroot");
              System.out.println("7 - Absolute value of numbers");
              System.out.println("8 - Octal and Hexadecimal equivalent of numbers");
              System.out.println("9 - Round numbers");
              System.out.println("0 - Exit program");
              System.out.println("**********************************************");
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        try {
                             BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("Please enter your option and hit <ENTER>: ");
                             choice1 = inStream.readLine();
                             int c1 = Integer.parseInt(choice1);
                             System.out.println("\nYou have entered choice number: " + c1);
                             inputCorrect = true;
                        } catch (NumberFormatException nfe) {
                             System.out.println("You did not enter a valid choice number: " + "\""+ choice1 + "\" is not in the list!!");
                             inputCorrect = false;
                        return choice1;
         public String inputNumber2() throws IOException {
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        try {
                             BufferedReader br2 = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("\nPlease enter another number you want to do the calculation with and hit <ENTER>: ");
                             num2 = br2.readLine();
                             double n2 = Double.parseDouble(num2);
                             System.out.println("\nThe second number you have entered is: " + n2);
                             System.out.println("\nYour numbers are: " + num1 + " and " + num2);
                             inputCorrect = true;
                        } catch (NumberFormatException nfe) {
                             System.out.println("You did not enter a valid number: " + "\""+ num2 + "\" is not a number!!");
                             inputCorrect = false;
                        return num2;
         public int Calculator() {
              int choice2 = (int) Double.parseDouble(choice1);
              switch (choice2) {
                        case 1 :
                             Add();
                             System.out.print("The answer of " + num1 + " + " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 2 :
                             Subtract();
                             System.out.print("The answer of " + num1 + " - " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 3 :
                             Multiply();
                             System.out.print("The answer of " + num1 + " * " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 4 :
                             Divide();
                             System.out.print("The answer of " + num1 + " / " + num2 + " is: " + decimals.format(answer));
                             Modulus();
                             System.out.print(" and the remainder is " + decimals.format(answer));
                             break;
                        case 5 :
                             maximumValue();
                             System.out.println("The maximum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
                             minimumValue();
                             System.out.println("The minimum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 6 :
                             Squareroot1();
                             System.out.println("The squareroot of value " + num1 + " is: " + decimals.format(answer));
                             Squareroot2();
                             System.out.println("The squareroot of value " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 7 :
                             absoluteNumber1();
                             System.out.println("The absolute number of " + num1 + " is: " + decimals.format(answer));
                             absoluteNumber2();
                             System.out.println("The absolute number of " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 8 :
                             octalEquivalent1();
                             System.out.println("The octal equivalent of " + num1 + " is: " + octalEquivalent1());
                             octalEquivalent2();
                             System.out.println("The octal equivalent of " + num2 + " is: " + octalEquivalent2());
                             hexadecimalEquivalent1();
                             System.out.println("\nThe hexadecimal equivalent of " + num1 + " is: " + hexadecimalEquivalent1());
                             hexadecimalEquivalent2();
                             System.out.println("The hexadecimal equivalent of " + num2 + " is: " + hexadecimalEquivalent2());
                             break;
                        case 9 :
                             Round1();
                             System.out.println("The rounded number of " + num1 + " is: " + decimals.format(answer));
                             Round2();
                             System.out.println("The rounded number of " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 0 :
                             if (choice2 == 0) {
                                  System.exit(1);
                             break;
                   return choice2;
              public String anotherCalculation() throws IOException {
                   boolean inputCorrect = false;
                   while (inputCorrect == false) {
                             try {                              
                                  BufferedReader br3 = new BufferedReader (new InputStreamReader(System.in));
                                  System.out.print("\nWould you like to do another calculation? Y/N ");
                                  more = br3.readLine();
                                  String s1 = "y";
                                  String s2 = "Y";
                                  if (more.equals(s1) || more.equals(s2)) {
                                       inputCorrect = true;
                                       while (inputCorrect = true){
                                            inputNumber1();
                                            System.out.println("");
                                            calculatorChoice();
                                            System.out.println("");
                                            inputNumber2();
                                            System.out.println("");
                                            Calculator();
                                            System.out.println("");
                                            anotherCalculation();
                                            System.out.println("");
                                            inputCorrect = true;
                                  } else {
                                       System.out.println("\n" + nameSurname + " thank you for using this program, you have used this program for: " + decimals.format(programRuntime()) + " seconds");
                                       System.out.println("the program will now exit, Goodbye.");
                                       System.exit(0);
                             } catch (IOException ex){
                                  System.out.println("You did not enter a valid answer: " + "\""+ more + "\" is not in the list!!");
                                  inputCorrect = false;
              return more;
         public static void main(String[] args) throws IOException {
              Project p1 = new Project();
              p1.insertNameAndSurname();
              System.out.println("");
              p1.inputNumber1();
              System.out.println("");
              p1.calculatorChoice();
              System.out.println("");
              p1.inputNumber2();
              System.out.println("");
              p1.Calculator();
                   System.out.println("");
                   p1.anotherCalculation();
                   System.out.println("");
    {code}
    *Can you please run my code for yourself and have a look at how this program is constructed*
    *and give me ANY feedback on how I can better this code(program) or if I've done anything wrong from your point of view.*
    Your help will be much appreciated.
    Thanks in advance

    Smirre wrote:
    Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??You cannot restrict the user. It is a sad fact in programming that the worst bug always sits in front of the Computer.
    What you could do is checking the input string for numbers. If it contains numbers, just reprompt for the Name.
    AND you might want to ask yourself why the heck a calculator needs to know the users Name.

  • Help with starting the EM dbconsole please - emctl error.

    Hi there - i've spent half my life trying to sort this and it's in vain. There's only 9 hits in google for the below error message and half of those are in Japanese. Not much help therefore. So any advice to be gratefully received!
    I've installed enterprise manager with the option for Oracle to create a new repository. All seems to have installed ok. I've issued the set oracle_sid and the usual "emctl status dbconsole" command and i always get the "unable to locate web application configuration from ." error.
    I can't see any oracle dbconsole service in the services window either. Should there be one or does this get created when you run a successful "emctl start dbconsole" command?
    I've tinkered with the Oracle homes (as per previous discussions) but to no avail.
    Appreciated if someone could point me in the right direction - I'm a newby to Enterprise Manager.
    Thanks in advance. Jon

    Nope. Still exactly the same.
    Error as per previous server before i started hacking it (emctl status dbconsole): "Unable to locate web application configuration from ." I'm completely losing my mind with this install. This same error has happened on 3 different servers now. Always falls over on this agent configuration. Don't Oracle test their installation procedures? Anyway, here's a not so useful snippet of the logs. If anyone knows anything, would be good to let me know - otherwise change of career for me :-(
    Cheers...
    "Oc4jDeploy tool completed successfully!
    INFO: Configuration assistant "OC4J Instance Configuration Assistant" succeeded
    INFO: Command = D:\Oracle_Server\EM\oms10g\perl\5.6.1\bin\MSWin32-x86\perl.exe D:\Oracle_Server\EM\oms10g\bin\genpluginpath.pl D:\Oracle_Server\EM\oms10g D:\Oracle_Server\EM\oms10g
    Operation successful.
    INFO: Configuration assistant "Register DCM Plug-Ins With EM" succeeded
    INFO: Command = D:\Oracle_Server\EM\oms10g\jdk\bin\javaw.exe -jar D:\Oracle_Server\EM\oms10g\dcm\lib\dcm.jar createInitialBackup -v -d -o D:\Oracle_Server\EM\oms10g -force
    backup created: InstalledImage_EnterpriseManager0.btn-wks-strauss.rdfgroup.com
    INFO: Configuration assistant "DCM Repository Backup Assistant" succeeded
    INFO: Command = D:\Oracle_Server\EM\oms10g\perl\5.6.1\bin\MSWin32-x86\perl D:\Oracle_Server\EM\oms10g/install/oneoffs/applyOneoffs.pl automatic
    INFO: Configuration assistant "EM Technology Stack Upgrade" succeeded
    INFO: Command = oracle.sysman.emcp.oms.OmsPlugIn -configureOms
    Operation Stopping OPMN Processes is in progress.
    Operation EM Deploying is in progress.
    Operation Unlocking Passwords and Out of Box setup is in progress.
    Operation Configuring OMS is in progress.
    OMS is being Secured and Lock is set to true.
    Precompiling JSPs.
    Performing installation of CLI services for client.
    Operation Restarting OPMN Processes is in progress.
    INFO: Configuration assistant "OMS Configuration" succeeded
    INFO: Command = oracle.sysman.emcp.agent.AgentPlugIn
    Performing free port detection on host=BTN-WKS-STRAUSS.RDFGROUP.COM
    Securing the agent
    Performing targets discovery and agent configuration
    Command = oracle.sysman.emcp.agent.AgentPlugIn has failed
    Exception : java.lang.Exception: 6
    INFO: Configuration assistant "Agent Configuration Assistant" failed "

  • A starting point for pipemenus in Openbox

    Does anybody know of a good "hello world" pipemenu written in python or bash? I'd like to get started with making my own pipemenus, but I'm having a hard time looking though some of the pipemenus on the Openbox website. I just need a nice clean one to look at for a starting point. Thanks.

    Hi kiwisaotome,
    The idea is to make a script that creates an xml form at the time when it is called, which the openbox menu can use. It's fairly easy. Here is an example that I use. I don't remember where I got it from:
    #!/bin/bash
    FREQ=`cpufreq-info -p | awk '{print $3}'`
    echo '<openbox_pipe_menu>'
    if [ $FREQ = 'powersave' ]; then
    echo '<separator label="Powersave"/>'
    else
    echo '<item label=" Powersave">'
    echo '<action name="Execute"><execute>sudo cpufreq-set -g powersave</execute></action>'
    echo '</item>'
    fi
    if [ $FREQ = 'ondemand' ]; then
    echo '<separator label="Ondemand"/>
    else
    echo '<item label="Ondemand">'
    echo '<action name="Execute"><execute>sudo cpufreq-set -g ondemand</execute></action>'
    echo '</item>'
    fi
    if [ $FREQ = 'performance' ]; then
    echo '<separator label="Performance"/>'
    else
    echo '<item label="Performance">'
    echo '<action name="Execute"><execute>sudo cpufreq-set -g performance</execute></action>'
    echo '</item>'
    fi
    echo '</openbox_pipe_menu>'
    Then I call it from the openbox menu.xml where it first is declared or what ever it's called:
    <menu execute="~/.config/openbox/scripts/cpufreq-pipe.sh" id="system-cpu-menu" label="CPU Governor"/>
    And then called:
    <menu id="system-cpu-menu"/>
    Hope that helps.

Maybe you are looking for

  • Insert From Master Table which is not based on EO

    Hi I have a Master-Detail relationship table page,now my requirement is to Insert data from Master VO(which is not based on any EO) Actually I have added four new columns in the VO,only these four columns are of type message Text Input,all others are

  • Memory error after C042 errors on users database

    Hi, We recently have memory error messages on the POA and on the Client. The error seemed to follow several C042 errors: The database function 53 reported error [C042] on user4mn.db Error: Memory error. Memory function failure [8101] User: I cannot f

  • How do I get itunes to comile various artists cds?

    I am new to the posting, so please fogive me if this has already been answered. My kids and I put a lot of compilation albums on our itunes like the Now that's what I call music-where the album is the same name, but the artists are all different. On

  • SOAP Examples in wsdp-1_0-ea2

    Dear list, in the Java Web Services Tutorial there is one example pointing to the endpoint: http://wombat.ztrade.com with a service called GetLastTradePrice is defined. Is this a real-world sample web service? It doesn't seem accessible publicly and

  • Importing svg's stroke-width not scaled up

      I am trying to import an svg in the illustrator, and it has stroke-width of 30px  but its wasn't scaled up, its showing 1px of the stroke-width always, In preferences i have checked the option ' scale and transform the stroke-width ' and i have cha