Test my simple SnakeGame

hello everyone,
i'm a computer science student, i've been programming in java for a while and i'd like you to test my new release of the SnakeGame
this version is available on my web site : ( http://osminosm.olympe-network.com/?pid=5 ) in 3 forms : online (jnlp) , JAR and Java source code
i'm looking for tests, comments and modifications .
you're wellcome to contact me via the comment box provided in my website of e-mail me at : [email protected]
thank's in advance.
osman kalache

Hey there, I had a quick look at your app, and the source
I've a few points to make on your code commenting:
1. Your comments should never cover the how, and always cover the why - Code is being read by developers, and developers don't need to be reminded of how the language works
2. If you feel the need to add a comment, then you should consider renaming - Self documenting code is better than any number of comments - comments lie, because they are seldom updated when code is update.
3. Use Javadoc where appropriate (There is no need to put the method name above a method - the method name is there for everyone to see, and no amount of additional comments saying the name of the method is going to change that - however comments lie, and if the method name changes, the comment will be there for posterity making false claims)
4. If a comment deserves to exist, it deserves it's own line - In line comments (comments at the end of a line of code) should be avoided
On a general code note:
You should override the paintComponent method when you are extending Swing components
You shouldn't extend a class unless you are adding functionality, it is better to use composition when all you want to do is use the likes of JFrame in the way you are. So instead of extends JFrame, you could create an instance variable and set it up as you need it*
Also, I'm not sure if you did it just for the source download or whatever, but you shouldn't use the default package for your classes. Create an appropriate package structure and put your code in there.
Try and be more consistent on your use of braces enclosing blocks, and you should also try to always use them even if there is just a single line of code (this is considered best practice by some, and unnecessary by others, I'll just say that it may save you some debugging time in the future if you use them - but the main point is to pick one style and stick with it, don't mix and match)
Additional possibilities:
You have debug System.out.println() in there that you have commented out. You should look into using a logging framework like log4j, you can use a configuration file to turn on/off logging, and to have different levels of logging, etc. Log4j is probably the most common framework, and knowing how to use it will serve you well in the future.
*This outline demonstrates composition. Also classes should do a single thing, so I created a UserInputListener to handle the input from the user.
package com.jdc.snake;
public class SnakeGame {
    private JFrame frame;
    public static void main(String args[]) {
        SnakeGame game = new SnakeGame();
        game.setMapDimensions();
        while (true) {
            while (game.gameStopped) {
                // nothing goes here because we're just waiting
            game.initGame();
            game.playGame();
    public SnakeGame() {
        frame = new JFrame(APPLICATION_NAME);
        frame.setSize(WINDOW_WIDTH, WINDOW_HEIGHT);
        frame.setLocation(WINDOW_X_LOCATION, WINDOW_Y_LOCATION);
        frame.setResizable(false);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        frame.getContentPane().add(scoreLabel, BorderLayout.PAGE_START);
        frame.getContentPane().add(infoLabel, BorderLayout.PAGE_END);
        frame.getContentPane().add(scene, BorderLayout.CENTER);
        frame.addKeyListener(new UserInputListener());
        frame.setVisible(true);
     * Initialises all the necessary presets for a new game - creates the snake and links all the game
     * objects together - puts all the game objects to the readyToPlay state
    private void initGame() {
    void handlekeyPressed(int keyCode) {
        switch (keyCode) {
        case KeyEvent.VK_UP:
            snake.turnNorth();
            break;
        case KeyEvent.VK_DOWN:
            snake.turnSouth();
            break;
        case KeyEvent.VK_LEFT:
            snake.turnWest();
            break;
        case KeyEvent.VK_RIGHT:
            snake.turnEast();
            break;
        // game controls : Start/Stop/Pause/unPause/SpeedUp/SpeedDown
        case KeyEvent.VK_R:
            setGameStopped();
            break;
        case KeyEvent.VK_P:
            setGamePaused(!gamePaused);
            break;
        case KeyEvent.VK_PAGE_DOWN:
            gameSpeedDown();
            refreshScoreLabel();
            break;
        case KeyEvent.VK_PAGE_UP:
            gameSpeedUp();
            refreshScoreLabel();
            break;
    class UserInputListener extends KeyAdapter {
        @Override
        public void keyPressed(KeyEvent e) {
            handlekeyPressed(e.getKeyCode());
}Also, a small point, and I'm assuming you are a non-native english speaker: Dimension
Edited by: macrules2 on 27-Mar-2009 10:55

Similar Messages

  • How to test the simple .java file in cactus

    dear friends,
    i have use the junit first time .And i am working in weblogic8.1 so i have use cactus .But i face the problem to use it.
    1. how to test the simple .java file in cactus.
    2.how to run the cactus in weblogic 8.1.

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • How to test a simple PL SQL function from another PL SQL script

    Hi,
    I have created a function. Now i need to test that whether it is returning the correct values or not.
    For that, i have written anothe pl sql script and trying to call this function. Im passing all the IN parameters in that function. I assume here that OUT parameters will provide me the result. Im trying to display the OUT parameter one by one to see my result.
    I'm using toad as sql client here connected with oracle.
    pl sql script:-
    DECLARE
    BEGIN
         DBMS_OUTPUT.PUT_LINE('$$$$$$$ VINOD KUMAR NAIR $$$$$$$');
         FETCH_ORDER_PRODUCT_DATA(320171302, 1006, 6999,
    ODNumber OUT VARCHAR2, Line_Number OUT VARCHAR2,
    ServiceID OUT VARCHAR2, BilltoNumber OUT VARCHAR2,
    AnnualPrice OUT NUMBER, CoverageCode OUT VARCHAR2)
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | ODNumber );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | Line_Number );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | ServiceID );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | BilltoNumber );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | AnnualPrice );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | CoverageCode );
    END;
    Function:-
    Program Name : SPOT_Order_Product_Data_For_CFS.sql
    Description : Function to Validate parameters from CFS
    By : Vinod Kumar
    Date : 08/19/2011
    Modification History
    By When TAR Description
    CREATE OR REPLACE FUNCTION FETCH_ORDER_PRODUCT_DATA(orderNumber IN VARCHAR2, customerNumber IN VARCHAR2,
    productLine IN VARCHAR2, ODNumber OUT VARCHAR2,
    Line_Number OUT VARCHAR2, ServiceID OUT VARCHAR2,
    BilltoNumber OUT VARCHAR2, AnnualPrice OUT NUMBER,
    CoverageCode OUT VARCHAR2)
    RETURN VARCHAR2 IS
    lv_err_msg VARCHAR2(100) := '';
    lv_bucket_id VARCHAR2(14);
    lv_bill_number VARCHAR2(30);
    lv_anual_price NUMBER;
    lv_coverage_code VARCHAR2(8);
    lv_quote_num NUMBER(10) := NULL;
    lv_line_num NUMBER(5) := 0;
    lv_customer_number VARCHAR2(30) := customerNumber;
    lv_product_id VARCHAR2(14) := productLine;
    lv_count_quote NUMBER := 0;
    lv_quote_status VARCHAR2(5);
    lv_quote_version NUMBER(2):=0;
    BEGIN
    IF INSTR(orderNumber, '-') = 0 THEN
    lv_quote_num := orderNumber;
    ELSE
    lv_quote_num := SPT_Delimiter(orderNumber, 1, '-');
    lv_line_num := SPT_Delimiter(orderNumber, 2, '-');
    END IF;
    --Check status of the quote COM, APP
    SELECT COUNT(*) INTO lv_count_quote FROM sot_order_header WHERE ORDER_NUMBER=lv_quote_num
    AND ORDER_STATUS IN ('APP', 'COM') AND CUSTOMER_NUMBER = lv_customer_number;
    IF lv_count_quote = 0 THEN
    lv_err_msg := 'Invalid Order number';
    RETURN lv_err_msg;
    END IF;
    -- Fetch the latest version on SPOT quote
    SELECT MAX(VERSION_NUMBER) INTO lv_quote_version FROM SPT_QUOTE_HEADER WHERE QUOTE_NUMBER = lv_quote_num
    AND CUSTOMER_NUMBER = lv_customer_number;
    -- If quote is valid fetch the data in OUT parameters
    IF lv_line_num = 0 THEN
    BEGIN
    SELECT a.CUSTOMER_BILLTO_NUMBER,
    b.LINE_NUMBER, b.BUCKET_ID,
    b.ANNUAL_REF_RATE_USD, b.COVERAGE_CODE
    INTO lv_bill_number,lv_line_num,lv_bucket_id,lv_anual_price,lv_coverage_code
    FROM SPT_QUOTE_HEADER a, SPT_QUOTE_LINE b
    WHERE a.QUOTE_NUMBER = lv_quote_num
    AND a.CUSTOMER_NUMBER = lv_customer_number
    AND a.VERSION_NUMBER = lv_quote_version
    AND a.QUOTE_NUMBER = b.QUOTE_NUMBER
    AND a.VERSION_NUMBER = b.VERSION_NUMBER
    AND b.PRODUCT_ID = lv_product_id;
    ODNumber := lv_quote_num;
    BilltoNumber := lv_bill_number;
    Line_Number := lv_line_num;
    ServiceID := lv_bucket_id;
    AnnualPrice := lv_anual_price;
    CoverageCode := lv_coverage_code;
    RETURN '';
    EXCEPTION WHEN OTHERS THEN
    lv_err_msg := 'Multiple PIDs existing in the SPOT order, please provide the SPOT order + line number as input data';
    RETURN lv_err_msg;
    END;
    ELSE
    BEGIN
    SELECT a.CUSTOMER_BILLTO_NUMBER,
    b.BUCKET_ID, b.ANNUAL_REF_RATE_USD,
    b.COVERAGE_CODE
    INTO lv_bill_number,lv_bucket_id,lv_anual_price,lv_coverage_code
    FROM SPT_QUOTE_HEADER a, SPT_QUOTE_LINE b
    WHERE a.QUOTE_NUMBER = lv_quote_num
    AND a.CUSTOMER_NUMBER = lv_customer_number
    AND a.VERSION_NUMBER = lv_quote_version
    AND a.QUOTE_NUMBER = b.QUOTE_NUMBER
    AND a.VERSION_NUMBER = b.VERSION_NUMBER
    AND b.PRODUCT_ID = lv_product_id
    AND b.LINE_NUMBER = lv_line_num;
    ODNumber := lv_quote_num;
    BilltoNumber := lv_bill_number;
    Line_Number := lv_line_num;
    ServiceID := lv_bucket_id;
    AnnualPrice := lv_anual_price;
    CoverageCode := lv_coverage_code;
    RETURN '';
    EXCEPTION WHEN OTHERS THEN
              lv_err_msg := 'Multiple SPOT lines exist with same parameter';
              RETURN lv_err_msg;
    END;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    lv_err_msg := '@@@ EXCEPTION THROWN @@@ '|| SUBSTR(SQLERRM,1,120);
    RETURN lv_err_msg ;
    END;
    Don't look at the function, it might have errors but my primary concern is how to test this function. Once I start doing its testing then only i can understand any bugs(if any).
    My pl sql is not so good. Im still learning. I don't understand IN and OUT parameters are.
    I just know that IN parameters r those whick we pass in to the function wen we call it and OUT parameters are those through which we get the result.
    Thanks in advance
    Vinod Kumar Nair

    20100511 wrote:
    I wondered how I could test the output of the function from within TOAD?I usually create the following function in my developer schema:
    create or replace function BoolToChar( b boolean ) return varchar2 is
    begin
      if b then
        return( 'TRUE' );
      else
        return( 'FALSE' );
      end if;
    end;To test a function like yours, the following will do in SQL*Plus/TOAD/etc:
    begin
      DBMS_OUTPUT.put_line(
        BoolToChar( XCCC_PO_APPROVALLIST_S1.does_cpa_exist(1017934)  )
    end;
    I'm probably doing 101 things wrong here, but thought I'd ask anyway and risk being shouted at.Shout at? You reckon? I thought people risked being beaten with a lead pipe, or pelted with beer cans and stale pretzels - which makes being shouted at a really safe and viable alternative. {noformat};-){noformat}

  • Can you please test a simple program on the PDA for me

    Hi,
    I am attaching a simple code for writing an array on the serial port of the PDA. The serial port is configured for 57600, 8, 1 stop, no parity.
    I need to know if you get the following sequence in the display "Checkstring 3" : 03,08,00,01,03,00
    On my PDA (IPAQ 5450) the "00" is not displayed or transmitted. Hence I wish to know if LV has a bug or I need to write a DLL to do this operation.
    Please help me, because this is the last thing that I expected LV to go wrong.
    Thanks in advance.
    Attachments:
    UnderDev_SerialPortCommandWrite.vi ‏70 KB
    Serial_Port_Initialize.vi ‏27 KB

    Hello �
    I tried your program in an iPAQ H3845 and I was able to see the 00 in the sequence.
    S Vences

  • Unit testing and Issue on ODS

    Hi every one,
    I was asked to do Unit testing on all the objects I created which includes data loading, checking the structure.....etc...If any one has any template for Unit testing pls forward it to me [email protected].....
    My ods is designed with out checking "Activate ODS data immeaditely".....and we r not using process chains here...
    while testing data loads when ever we send data data to that ODS how do u activate it thru jobs automatically????
    if we give Job selection it may not work out right, cos we don't know when we load data....so can I make use of events so that when ever data comes to ODS I need to activate it and it has to push that data to other ODS...can anyone throw some light on the events and what even to use for automatic activation....
    If any one has any template pls forward it to the above ID
    Thanks in advance

    BW
    Doing unit test is simple. Just document what ever the steps you follow while loading your ODS. You could follow these steps
    1 . Check the functionality of your Infosource whether it is full or Delta – Take a screen shot.
    2.   Check Delta Load Functionality if you have any Delta extractors.
    4     . Schedule the Info Package
    5     Go to Manage Data targets and see whether ODS got loaded successfully or not.
    6     Check if it is activated or Not. In your case it will automatically gets activated since you selected automatic activation.
    Don’t forget to take screen shots of each Process
    Hope this helps
    Thanks
    Sat

  • Simple Substitution not working in Jdev

    I am trying to test a simple Substitution case in my environment. When I run my JSP in the base env with Substitution engaged then I get an exception. And when I run AM in the base project with Substitution engaged, then I don't see the new behavior. Following is my use case.
    1. Create ContactEO in the BaseProject. Default the first name to be 'DefaultFstName'
    2. Export ContactEO to an ADF Library.
    3. Create a jsp that exposes attributes from the ContactEO via the VO.
    4. Now create a new empty project in the same workspace, let's call it CustomProject.
    5. In the CustProject, include the library that was created as per step2.
    6. Create a new EO that extends ContactEO. Override attribute for First name and default it to 'CustomFstName'
    7. In the CustProject, define the substitution rule so that ContactEO is replaced with ContactEOExt.
    8. In the base project set Factory-Substitution-List=CustomProject
    If I run my jsp created as per step 3, I get the following exception. This is surprising because my CustomProject doesn't have any jsp pages and why is it even trying to look for CustomProject's cpx file? I am running the base app only here!
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container /CustomProject.cpx
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:193)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:70)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:229)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1115)
    at oracle.jbo.mom.DefinitionManager.initProject(DefinitionManager.java:1180)
    at oracle.jbo.mom.DefinitionManager.initSubExtendsPropForProject(DefinitionManager.java:1157)
    at oracle.jbo.mom.DefinitionManager.initManager(DefinitionManager.java:243)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.initManager(JUMetaObjectManager.java:1218)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.<init>(JUMetaObjectManager.java:94)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom(JUMetaObjectManager.java:293)
    at oracle.adfinternal.view.faces.config.rich.FacesDatabindingConfigurator._setupAdfDatabindingForJsf(FacesDatabindingConfigurator.java:64)
    at oracle.adfinternal.view.faces.config.rich.FacesDatabindingConfigurator.init(FacesDatabindingConfigurator.java:30)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:390)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.init(RegistrationFilter.java:47)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:92)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:54)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpApplication.getFilterConfig(HttpApplication.java:8000)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:505)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:362)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:909)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:815)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:620)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:593)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:377)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    If I run my AM in the base mode, after setting Factory-Substitution-List=CustomProject, I still don't see the new behavior. Any pointers to resolve both these issues would be greatly appreciated.
    thanks,
    deepinder

    You can use this forum JDeveloper and ADF
    This is specific to ADF Issues.

  • VI Analyzer Front Panel Size and Postion Test fails

    Hi
    We make a lot of use of the VI Analyser and I have been playing with the configuration settings to try and make it only fail the tests that matter to us and I have one test I do not understand correctly.
    From the LabVIEW help
    Panel Size and Position—Checks that a front panel
    completely resides within the bounds of the screen. The test also checks whether
    the front panel is larger than the maximum specified width and height. If you
    are using a multi-monitor system, the test fails if the panel does not reside
    entirely within the bounds of the primary monitor. This test works only on
    standard, control, and global VIs.
    I would like to apply this test, a simple check developers are not creating huge VI, it sounds simple enough, but I cannot seem to get this test to pass.
    I am working with two monitors and this test fails when my VI is on either monitor with the message  "This VI's front panel does not reside entirely within the specified bounds (1280 x 1024)" my current screen resolutionis 1280 x 1024, so I assume as long as my VI front panel fits within one screen it should be a pass.
    I can clearly see my that VI front panel (and block diagram for that matter) fits within the screen of either monitor. If I look at the VI properties of my VI the Window Size is 474 x 513, could anybody please suggest when why this might be failing.
    cheers 
    Dannyt
    Danny Thomson CLAD
    Sub10 Systems Ltd
    Solved!
    Go to Solution.

    Hi Norbert,
    Thanks for the prompt reply, my asking the question and your reply has made me play with this a little deeper and I have managed to solve my problem.
    In case anyone else has a similar problem here are the details.
    When you have two monitors and look at the Windows properites you see one monitor is identified as 1 and the other as 2, thses identities are based on the graphics card and the which monitor is plugged into which ouptput connector. You can then chose which monitor you wish to act as your primary monitor. You would suspect it would not matter once you have selected your primary monitor BUT IT DOES.
    My inital set-up   
    Left Hand Monitor    - idenity 2 selected to be primary monitor
    Right Hand Monitor - identiy 1 
    With this set-up everything looks and acts as I expect it to task bar, icons etc on my primarry monitor.  However if you run the VI Analyser it will fail Panel Size and Position on BOTH the left and right hand monitors.
    I crawlled under my desk and swapped the monitors cables round so now the set-up is
    Left Hand Monitor    - idenity 1 selected to be primary monitor
    Right Hand Monitor - identiy 2
    Now the VI Analysers Panel Size & Position Tests will pass on the left hand monitor but fail on the right hand monitor, just as would expect.
    It appears that LabVIEW is looking not only at the windows "Primary Monitor" setting but also the identies, this does not seem the behaviour I would expect nor the correct behaviour.
    cheers 
    Dannyt
    Danny Thomson CLAD
    Sub10 Systems Ltd

  • Please do a quick test for me (PC), thank you very much

    Hi there fellow Premiere Pro CC2014 users.
    in relation to this earlier discussion (PremierePro PC 8.2.0 (65) replace footage causes error "The importer reported a generic error")
    Could someone please do me huge a favor and test this simple set up?
    create a premiere project
    create a sequence
    create a black video or color matte
    right click the black video or color matte source item in the project bin area  (not the timeline)
    Choose "replace footage" and pick any AE project .aep file you have.
    If the feature works as I should, then a window should open showing the content of the AE project (comps)
    if you on the other hand get a "the importer has generated a generic error" window pop up, then the feature is broken and have been so for a while (maybe since CC 6).
    Please write your result back here. Thank you and happy holidays

    Thank you for doing the test.
    Let me explain why this I call this a severe bug then.
    The work flow I describe here is just to keep the test as simple as possible to ease the workload of people willing to do the actual test. So please ignore the black video setup in it self.
    Here is the real work flow where this feature is crucial for effeiciancy.
    I make 3D animations and have been doing so for many years.
    The way I usually produce a animation is that I set up animation clips / layers in 3DSMax and render out quick png viewport preview files for fast and efficient editing in premiere.
    Once I am satisfied with the final cut of the animation in its preview state in general, I submit the animation layers from 3DSMax to the renderfarm to have it render out the final frames as .exr files.
    As the individual animation clips / layers begin to emerge on the network, I am ready to do the Post Production part of the animation production.
    And since post production work, masking, filtering, effects and stuff is much more suited for AfterEffects I import every final rendered animation clip / layer into AE and do post work on the individual clip.
    Here is where the Bug is introduced!
    As the clips are completed in AE, I begin to replace the preview clips in Premiere with the comps coming from the AE to finalize the project.
    The way I used to replace the clips in Premiere, were by right clicking the individual preview sources in the Premiere project bin, Right click them and choose "Replace footage".
    The reason why I am doing it this way compared to other replace methods, is that this is the only way the already edited clips in the timeline keeps their In/Out and freeze frame settings. Using any other replace method resets the clip, so all previous in/out, freeze frame settings are lost, meaning I would more or less have to reconstruct the entire timeline once more as I replaced the clips one by one.
    Of cause I could just render out the comps from AE as uncompressed Avi sequences, but then I loose the benefit of the dynamic link workflow that these tools promote them self by.
    I hope this has throw some light on the predicament and shows why it's extremely annoying that this bug has been introduced since version CC 2014.
    Thank you : )

  • My simple jsp doesn't work: hhhelp

    hello i'm new to java.
    I'm testing a simple jsp with a javabean: Fruit.class
    When i test it , it seems there is a problem of package (but i really need help on this)...
    Here's the error i get:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:44: cannot resolve symbol
    symbol : class Fruit
    location: class org.apache.jsp.confirm_jsp
    Fruit commandeFruit = null;
    ^
    here's the full error report
    Etat HTTP 500 -
    type Rapport d'exception
    message
    description Le serveur a rencontr� une erreur interne () qui l'a emp�ch� de satisfaire la requ�te.
    exception
    org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP
    Une erreur s'est produite � la ligne: 2 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
        [javac] Compiling 1 source file
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:44: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          Fruit commandeFruit = null;
          ^
    Une erreur s'est produite � la ligne: 2 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:46: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
            commandeFruit = (Fruit) _jspx_page_context.getAttribute("commandeFruit", PageContext.PAGE_SCOPE);
                             ^
    Une erreur s'est produite � la ligne: 2 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:48: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
              commandeFruit = new Fruit();
                                  ^
    Une erreur s'est produite � la ligne: 16 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:71: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getNomFruit())));
                                                                            ^
    Une erreur s'est produite � la ligne: 17 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:74: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getCouleur())));
                                                                            ^
    Une erreur s'est produite � la ligne: 18 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:77: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getPrix())));
                                                                            ^
    Une erreur s'est produite � la ligne: 19 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:80: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getPoids())));
                                                                            ^
    7 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note La trace compl�te de la cause m�re de cette erreur est disponible dans les fichiers journaux de Tomcat.
    --------------------------------------------------------------------------------

    hello i tried what you told me but it steel seems i've
    got 2 errors
    here's the error
    exception
    org.apache.jasper.JasperException: Impossible de
    compiler la classe pour la JSP
    Une erreur s'est produite � la ligne: 5 dans le
    fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    [javac] Compiling 1 source file
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\
    pache\jsp\confirm_jsp.java:6: <identifier> expected
    import full.package.name.Fruit;
    ^
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\
    pache\jsp\confirm_jsp.java:47: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
    Fruit commandeFruit = null;
    ^--------------------------------------
    here's my jsp:
    <%-- confirm.jsp --%>
    <%@ page import="full.package.name.Fruit" %>
    <jsp:useBean id="commandeFruit" class="Fruit" />
    <jsp:setProperty name="commandeFruit"
    property="nomFruit" value="Mangue" />
    <jsp:setProperty name="commandeFruit"
    property="couleur" value="Orange" />
    <jsp:setProperty name="commandeFruit" property="prix"
    value="5.95" />
    <jsp:setProperty name="commandeFruit" property="poids"
    param="saisie_poids" />
    <HTML>
    <body>
    <h1>Votre commande de fruit (confirm.jsp)</h1>
    <br>
    Fruit : <jsp:getProperty name="commandeFruit"
    property="nomFruit"/><br>
    Couleur : <jsp:getProperty name="commandeFruit"
    property="couleur" /><br>
    Prix au kg : <jsp:getProperty name="commandeFruit"
    property="prix" /> Euros<br>
    Quantit� : <jsp:getProperty name="commandeFruit"
    property="poids" /><br>
    Total
    :�<%=commandeFruit.getPrix()*commandeFruit.getPoid
    () %> Euros<p></p>
    Revenir � la commande pour
    la modifier
    </body>
    </html>
    First error is becoz you are using word package which is a standard identifier. So you have to change ur folder name to smething else other than package.
    Second error is becoz of the first error. If the forst error is fixed second error will not occur.
    Thanks
    KM

  • Simple mail functionality

    Hi,
    I am testing the simple mail functionality in transaction VA01.
    In customizing (output determination – processing routines) for simple mail is being used a program and a smartform. It was not me who developed them.
    The problem is that when I try to test this through VA01 (I choose simple mail, etc), I get a dump saying: ‘Invalid commit work in an update function module. Termination occurred in the ABAP program ‘SAPLSOI1’ – in “SO_DOCUMENT_SEND_API1”. The main program was “RSM13000’’.
    My problem now is how can I try to debug this when I am in transaction VA02? I am not able to execute the program I have in customizing…
    How can I found more information about this?
    Thanks a lot

    Weird..
    I am working with SAP ECC 6.0 - release 700
    In version history no one has modified the program...
    function so_document_send_api1.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(DOCUMENT_DATA) LIKE  SODOCCHGI1 STRUCTURE  SODOCCHGI1
    *"     VALUE(PUT_IN_OUTBOX) LIKE  SONV-FLAG DEFAULT SPACE
    *"     VALUE(SENDER_ADDRESS) LIKE  SOEXTRECI1-RECEIVER DEFAULT SY-UNAME
    *"     VALUE(SENDER_ADDRESS_TYPE) LIKE  SOEXTRECI1-ADR_TYP DEFAULT 'B'
    *"     VALUE(COMMIT_WORK) LIKE  SONV-FLAG DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(SENT_TO_ALL) LIKE  SONV-FLAG
    *"     VALUE(NEW_OBJECT_ID) LIKE  SOFOLENTI1-OBJECT_ID
    *"     VALUE(SENDER_ID) LIKE  SOUDK STRUCTURE  SOUDK
    *"  TABLES
    *"      PACKING_LIST STRUCTURE  SOPCKLSTI1
    *"      OBJECT_HEADER STRUCTURE  SOLISTI1 OPTIONAL
    *"      CONTENTS_BIN STRUCTURE  SOLISTI1 OPTIONAL
    *"      CONTENTS_TXT STRUCTURE  SOLISTI1 OPTIONAL
    *"      CONTENTS_HEX STRUCTURE  SOLIX OPTIONAL
    *"      OBJECT_PARA STRUCTURE  SOPARAI1 OPTIONAL
    *"      OBJECT_PARB STRUCTURE  SOPARBI1 OPTIONAL
    *"      RECEIVERS STRUCTURE  SOMLRECI1
    *"  EXCEPTIONS
    *"      TOO_MANY_RECEIVERS
    *"      DOCUMENT_NOT_SENT
    *"      DOCUMENT_TYPE_NOT_EXIST
    *"      OPERATION_NO_AUTHORIZATION
    *"      PARAMETER_ERROR
    *"      X_ERROR
    *"      ENQUEUE_ERROR
    data begin of object_hd_change.
            include structure sood1.
    data end of object_hd_change.
    data begin of attach_hd_change.
            include structure sood1.
    data end of attach_hd_change.
    data begin of object_data.
            include structure soodd.
    data end of object_data.
    data begin of objhead occurs 1.
            include structure soli.
    data end of objhead.
    data begin of objcont occurs 100.
            include structure soli.
    data end of objcont.
    data begin of atthead_tab occurs 1.
            include structure soli.
    data end of atthead_tab.
    data begin of attcont_tab occurs 10.
            include structure soli.
    data end of attcont_tab.
    data begin of atthead occurs 1.
            include structure soli.
    data end of atthead.
    data begin of attcont occurs 10.
            include structure soli.
    data end of attcont.
    data begin of new_pack_list occurs 10.
            include structure soxpl.
    data end of new_pack_list.
    data begin of rec_table occurs 10.
            include structure soos1.
    data end of rec_table.
    data begin of object_fl_change.
            include structure sofm1.
    data end of object_fl_change.
    data rcode like sonv-rcode.
    data object_type like sood-objtp.
    data object_id_new like soodk.
    data file_format(3).
    data: originator      like soos1-recextnam,
          originator_type like soos1-recesc.
    data: hex_size like sy-tabix.
    data: old_object like swotobjid,
        * sh070900 5.0A reconvert R30 into OBJ Docs is possible.
          sood_id like soodk.
    data: old_folder_id like soodk,
          old_object_id like soodk,
          old_forwarder like soud-usrnam,
          old_object_data like sood2.
    data hex_mode type sonv-flag value space.
    data dummy_hex type solix_tab.
    **data i.
    **if sy-uname = ''
    while i ne 1.
    endwhile.
    **endif.
    describe table contents_bin lines hex_size.
    if hex_size gt 0.
       call function 'SO_CONVERT_CONTENTS_BIN'
        exporting
          it_contents_bin = contents_bin[]
        importing
          et_contents_bin = contents_bin[].
       data l_new_size     type i.
       data l_line_size    type i.
       data l_new_doc_size type i.
       describe table contents_bin lines l_new_size.
       if l_new_size <> hex_size.
         describe field contents_bin-line length l_line_size in character mode.
         loop at packing_list where transf_bin = on.
           packing_list-body_start = packing_list-body_start * 2 - 1.
           packing_list-body_num = packing_list-body_num * 2.
           l_new_doc_size = packing_list-body_num * l_line_size / 2.
           if packing_list-doc_size <= l_new_doc_size.
             packing_list-doc_size = l_new_doc_size * 2.
           endif.
           modify packing_list.
         endloop.
       endif.
    endif.
    describe table contents_hex lines hex_size.
    if hex_size gt 0.
       refresh contents_bin.
      MOVE CONTENTS_HEX[] TO CONTENTS_BIN[].
       hex_to_cont contents_hex contents_bin.
    endif.
    * transfer document data
      perform transfer_objdat_to_obj using document_data
                                           object_hd_change
                                           object_fl_change.
      perform set_default_object_data using object_hd_change.
    * read object out of table
    * take API1, so no receiver conversion is necessary here
      read table packing_list index 1.   "first object is document
      if sy-subrc ne ok.   "no packing list
        raise parameter_error.
      endif.
      perform read_object_out_of_tables tables object_header
                                               contents_txt
                                               contents_bin
                                               objhead
                                               objcont
                                      using    packing_list
                                               object_data
                                               rcode.
    * parameters    for tracing
      LOOP AT OBJHEAD.
        PERFORM  TRACE(RSSOEXTR) USING 'OBJHEAD'  OBJHEAD-LINE.
      ENDLOOP.
      if rcode ne ok.   "no object found
        raise parameter_error.
      endif.
    * out of object data use only extern content flag and perhaps the size
      move object_data-extct to object_hd_change-extct.
      if object_hd_change-objlen = 0       or
         object_hd_change-objlen is initial.
        move object_data-objlen to object_hd_change-objlen.
      endif.
      perform format_prepare_for_insert in program sapfssoa          "873845
           using packing_list-transf_bin
                 dummy_hex
        changing objhead[]
                 objcont[]
                 packing_list-doc_type
                 object_hd_change-file_ext
                 rcode.
      move packing_list-doc_type to object_type.
    * for old types move size to header
      perform size_to_header tables objhead
                             using  object_type
                                    document_data-doc_size.
    get    now all attachments, decreibed in packing list
      refresh new_pack_list.
      refresh atthead_tab.
      refresh attcont_tab.
      loop at packing_list from 2.
        clear new_pack_list.
        perform read_object_out_of_tables tables object_header
                                                 contents_txt
                                                 contents_bin
                                                 atthead
                                                 attcont
                                        using    packing_list
                                                 object_data
                                                 rcode.
        check rcode = ok.
      * sh240899 46C check for executable mail attachment (MAPI)
        if packing_list-doc_type = 'R3O'.
          read table attcont index 21 into old_object.
          if old_object-objtype = 'SOFM'.
            read table attcont index 22.
            if attcont = 'PROCESS'.
            * it's an attachment created by MAPI because of an executable
            * mail
            * read old mail and fill new one with process parameters
              move: old_object-objkey(17) to old_folder_id,
                    old_object-objkey+17(17) to old_object_id,
                    old_object-objkey+34(12) to old_forwarder.
              call function 'SO_OBJECT_READ'
                   exporting
                        folder_id                  = old_folder_id
                        forwarder                  = old_forwarder
                        object_id                  = old_object_id
                   importing
                        object_hd_display          = old_object_data
                   tables
                        objpara                    = object_para
                        objparb                    = object_parb
                   exceptions
                        folder_not_exist           = 4
                        folder_no_authorization    = 5
                        object_not_exist           = 6
                        object_no_authorization    = 7
                        operation_no_authorization = 8
                        owner_not_exist            = 9
                        parameter_error            = 10
                        others                     = 15.
              if sy-subrc = 0.
                move: old_object_data-vmtyp to object_hd_change-vmtyp,
                      old_object_data-skips to object_hd_change-skips,
                      old_object_data-acnam to object_hd_change-acnam,
                      old_object_data-acmem to object_hd_change-acmem.
              endif.
              continue.
            elseif attcont = 'DISPLAYATTACHMENT'.
            * sh070900 5.0A reconvert R30 into OBJ Docs is possible.
            * get object instance and method into attachment body
              refresh: attcont, atthead.
              move old_object-objkey+17(17) to sood_id.
              perform socx_select(sapfsso0) tables atthead
                                                   attcont
                                                   object_para
                                                   object_parb
                                            using  sood_id
                                                   hex_mode
                                                   rcode.
              move atthead[] to attcont[].
            * fill new packing list parameter
              describe table atthead lines packing_list-head_num.
              describe table attcont lines packing_list-body_num.
              packing_list-doc_size = '255'.
              packing_list-doc_type = obj.
            endif.
          endif.
        endif.
        move-corresponding packing_list to new_pack_list.
        move: packing_list-obj_descr     to new_pack_list-objdes,
              packing_list-obj_name      to new_pack_list-objnam,
              packing_list-doc_size      to new_pack_list-objlen,
              packing_list-obj_langu     to new_pack_list-objla,
              packing_list-mess_type     to new_pack_list-extct,
              packing_list-doc_type      to new_pack_list-objtp,
              packing_list-transf_bin    to new_pack_list-transf_bin."873845
        describe table atthead_tab lines new_pack_list-head_start.
        add 1 to new_pack_list-head_start.
        describe table attcont_tab lines new_pack_list-body_start.
        add 1 to new_pack_list-body_start.
        perform format_prepare_for_insert in program sapfssoa        "873845
             using packing_list-transf_bin
                   dummy_hex
          changing atthead[]
                   attcont[]
                   new_pack_list-objtp
                   new_pack_list-file_ext
                   rcode.
      get new sizes (also for attcont, someone forgot this...)
        describe table atthead lines new_pack_list-head_num.
        describe table attcont lines new_pack_list-body_num.
        loop at atthead.
          clear atthead_tab.
          move atthead to atthead_tab.
          append atthead_tab.
        endloop.
        loop at attcont.
          clear attcont_tab.
          move attcont to attcont_tab.
          append attcont_tab.
        endloop.
        append new_pack_list.
      endloop.
    * transfer receiver data
      perform transfer_rec_to_tab tables receivers
                                         rec_table.
    * sender in right format
      move sender_address to originator.
      perform convert_sndart_esc using sender_address_type
                                       originator_type.
      call function 'SO_OBJECT_SEND'
           exporting
              EXTERN_ADDRESS             = ' '
              FOLDER_ID                  = ' '
              FORWARDER                  = ' '
                object_fl_change           = object_fl_change
                object_hd_change           = object_hd_change
              OBJECT_ID                  = ' '
                object_type                = object_type
                outbox_flag                = put_in_outbox
                originator                 = originator
                originator_type            = originator_type
              OWNER                      = ' '
              STORE_FLAG                 = ' '
           importing
                object_id_new              = object_id_new
                sent_to_all                = sent_to_all
                originator_id              = sender_id
           tables
                objcont                    = objcont
                objhead                    = objhead
                objpara                    = object_para
                objparb                    = object_parb
                packing_list               = new_pack_list
                att_head                   = atthead_tab
                att_cont                   = attcont_tab
                receivers                  = rec_table
           exceptions
                object_not_sent            = 15
                object_type_not_exist      = 17
                operation_no_authorization = 21
                parameter_error            = 23
                too_much_receivers         = 73
                others                     = 1000.
      case sy-subrc.
        when ok.
          move object_id_new to new_object_id.
        when object_not_sent.
          perform transfer_tab_to_rec tables rec_table
                                             receivers.
          raise document_not_sent.
        when too_much_receivers.
          raise too_many_receivers.
        when object_type_not_exist.
          raise document_type_not_exist.
        when operation_no_authorization.
          raise operation_no_authorization.
        when parameter_error.
          raise parameter_error.
        when others.
          raise x_error.
      endcase.
    MOVE OBJECT_ID TO NEW_OBJECT_ID.
      perform transfer_tab_to_rec tables rec_table
                                         receivers.
    set commit work
      if commit_work = on.
        commit work.
      endif.
    endfunction.

  • Help On New "Test Configuration Tool"

    I am testing a simple Configuration Scenario using Test Configuration in Integration Directory.
      I have Given the Necessary Header Information along with the Payload (From SXMB_Moni).
      The Execution stops at the interface Determination and Mapping step with an Error Symbol.
    The Log Doeen't show Any entries for this neither does the Table in Results Tab show any entry.
    Any clues??

    hi,
    you don't see any entries in the table at all?
    if you see only the header error
    you need to click on it to see the details
    have  alook at the link below to find the <b>Error Log </b> tab and how to:
    "expand the trace (icon ) and display the individual trace entries." <- from help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/874a4273bb3830e10000000a155106/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Simple use of variables in query

    Hi,
    i've just started using PL/SQL and as a long time user of TSQL the syntax is a bit confusing for me. I'm trying to test a simple query - using a variable to select some rows from a table. Lest assume that we have a table with data from different days and we want to view data from specific day.
    I could use:
    SELECT * FROM TABLE
    where TRADE_DATE = '2010-10-23'
    but what i would like to do is to pass the date value as a variable, in TSQL i'd just write:
    declare @trade_date datetime
    set @trade_date = '2010-10-23'
    SELECT * FROM TABLE
    where TRADE_DATE = @trade_date
    Could someone help me and write the last query using PL/SQL syntax?
    Also - it there some kind of a tutorial for people like me? comparison of simple queries written in both languages? tried to google it but didn't have luck.

    There are a couple of differences besides variable syntax. The variable would look like this in PL/SQL:
    declare
        v_trade_date date := DATE '2010-10-23';
    begin
        select * into ?????  -- see below
        from   table
        where  trade_date = v_trade_date;
    end;However the next difference is that PL/SQL does not implicitly return result sets to the client application, so you either have to select <b>into</b> a PL/SQL variable, or process the values in a loop, or explicitly return a ref cursor (or just do the processing in SQL statements within the procedure, without returning anything). I don't know much about T-SQL but I have the impression that in Oracle there is a stronger distinction between SQL (the interpreted query language) and PL/SQL (the compiled programming language) than the equivalents in SQL Server. Saubhik's example above is not PL/SQL (which you asked about) but plain SQL.
    Using the example of SQL*Plus, you might use a ref cursor like this:
    var r refcursor;
    declare
        v_trade_date date := DATE '2010-10-23';
    begin
        open :r for
        select *
        from   test_table
        where  trade_date = v_trade_date;
    end;
    print :ror
    var r refcursor;
    create or replace procedure p (p_out_results out sys_refcursor)
    as
        v_trade_date date := DATE '2010-10-23';
    begin
        open p_out_results for
        select *
        from   test_table
        where  trade_date = v_trade_date;
    end p;
    set autoprint on
    exec p(:r)Edited by: William Robertson on Oct 24, 2010 5:31 PM

  • How to edit UserInterface that only Limit-tests are shown

    Hello,
    i just tested the Simple-UserInterface in TS4.0 for Labview.
    While running a sequence all steps are shown in a list.
    What i want to do is:
    How can i modify the USerInterface that not all steps are shown but only the tests that i specify. For example all steps with a special property.
    Is this possible?
    Thanks for your help

    Hello,
    I have a couple of ideas for you.  First of all, are you viewing your
    report from the user interface as well?  You may want to consider modifying what
    step results are added to the report, so that the operator will only see the
    relevant results.  You can do this by viewing the Properties of a step,
    navigating to the "Run Options" category, and disabling the "Record Result"
    checkbox.
    You can also use UI messages to pass data back to your user interface from
    your TestStand sequence, if you want these specific results to be displayed in a
    different section of your user interface.  This would require adding some
    indicators to your user interface that will display your desired results, then
    passing the relevant data back in UI messages to the user interface.  From your
    user interface, you can then update your customized indicators with the data
    passed back from the UI messages.
    Here are some links for further reading related to result recording and UI
    messages.
    Result Recording:
    What are the Different Levels For Which I Can Disable Result
    Recording?
    UI Messages:
    Using
    Default and Custom UIMessages
    Using
    Non-TestStand UI Controls in a User Interface
    User Interface Messages (UIMessages)
    I hope that helps.  BR
    AmirG

  • Authorizations for testing of ABAP Web Services

    Can somebody tell me which authorizations/roles I need to assign to a user with SAP WAS 6.40 ABAP so that he will be able to test a simple ABAP Web Service with the Java Service home page of this service?
    I tried this with the roles SAP_BC_DWB_ABAPDEVELOPER and SAP_BC_WEBSERVICE_ADMIN but this seams not to be enough and I could not find a hint on how I could find out what is going wrong.
    The user gets an error message on the top of the service home page when he submitted the service request:
    "An error has occurred. Maybe the request is not accepted by the server:
    Authority check failed"
    The service is configured with standard authentication. On the service test page the user gets a login screen which he passes successfully. The error occurs afterwards when the services test is executed.
    Many thanks!
    Best regards, Birgit

    Hi,
    1. log on to SAP system with user XXX .
    2. Do your steps to call webservice from JAVA Service home page - use the same user id for log on.
    3. As soon as you see the error message as you mentioned
    Run transaction SU53 in the target SAP system . This should tell you the authority object where the failure had happend.
    Hope this helps.
    Regards
    Raja

  • Creating a simple java client for a session EJB local interface

    Hi all
    Is it possible to create a simple java client for a session ejb local interface with JDeveloper.
    The problem is that it creates a test client for a remote interface only...
    i.e.
    MySessionEJB sessionEJB = context.lookup("MySessionEJB")
    and once i try to adjust it manually for the local interface...
    MySessionEJBLocal sessionEJB = (MySessionEJBLocal) context.lookup("MySessionEJBLocal") (MySessionEJBLocal - is the name of my local interface)
    it generates the exception:
    javax.naming.NotFoundException: SessionEJBLocal not found
    at...........................(RMIClientContext.java:52)
    There is still no problem with accessing the local interface object from the jsf project where i've added <ejb-local-ref> tag into the web.xml file.
    but i need the possibility of testing the simple java client for the local interface to test business methods wich should return objects without indirect properties
    Thanks in advance.
    Alex.

    Pedja thanks for reply.
    I still dont understand what is wrong with my example.
    The first peace of the code i wrote (getting the reference to the remote interface object) works pretty well, and even more it is produced automatically by JDeveloper, so why we cant get a reference to the local interface object the same way?
    Certanly we should use the local interface for getting access to the resource functioning under the same local jvm and i think it doesnt metter wich app server we really use wls or oas or others
    Thanks. Alex.

Maybe you are looking for

  • Contract account not found and replicated to ISU

    Hi Experts, Our users created s3 contract account in the Production system. But upon searching for 2 of them they are not able to find these two contract accounts in CRM as well on ISU side.I have also checked the queues and Bdocs if any one of them

  • IPod Touch 1st Generation can't download podcasts

    I have an iPod Touch 1st generation, software version 2.2.1 update indicates this is the latest version for my iPod). It has recently lost the ability to downoad podcasts through the iTunes store. I can get to the store, but when clicking on any podc

  • External Hard Drive in System Profiler not on desktop

    The system profiler recognizes my firewire drive (though it has a corrupted looking title: "m(õc‰ìÎÜÒ"≥':". I can't access the drive itself. I've tried disk warrior, disk utility and Data Rescue II in an effort to get in (so I can put the info on ano

  • BBP_GET_STATUS_2 backgoruond job cancelled

    Hi SRM gurus we have BBP_GET_STATUS_2 in SRM with backgoround scheduled as follows: 1. Once every hour (with variant of 10days) 2. Daily once at 2am (with variant of 50days) 3. Once every week at 4am (with variant of 365days). But from past 2 week th

  • Query regarding mapping (aggregated)

    Hi, I need some help in mapping. SOURCEis as below: <E1EDP01> <E1EDP05> <KSCHL>ZRTP</KSCHL> <KRATE>100</KRATE> </E1EDP05> <E1EDP05> <KSCHL>ZIPP</KSCHL> <KRATE>200</KRATE> </E1EDP05> </E1EDP01> TARGET <E1EDP01> <E1EDP05> <KSCHL>ZRTP</KSCHL> <KRATE>300