Errors in OVS code

Hi all,
   Can someone help rectify errors in the below code. I can't able to run this code
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package se.abb.com;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateOVSCust).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import se.abb.com.wdp.IPrivateOVSCust;
import se.abb.com.wdp.IPrivateView2;
import se.abb.com.wdp.IPublicOVSCust;
import se.abb.com01.Zexigo_Cats_Search_Input;
import se.abb.com01.Zexigo_Cvr_Update_Input;
import com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException;
import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
import com.sap.tc.webdynpro.progmodel.api.IWDNode;
import com.sap.tc.webdynpro.progmodel.api.IWDNodeElement;
import com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener;
//@@end
//@@begin documentation
//@@end
public class OVSCust
Logging location.
  private static final com.sap.tc.logging.Location logger =
    com.sap.tc.logging.Location.getLocation(OVSCust.class);
  static
    //@@begin id
    String id = "$Id$";
    //@@end
    com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class.  </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see se.abb.com.wdp.IPrivateOVSCust for more details
  private final IPrivateOVSCust wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see se.abb.com.wdp.IPrivateOVSCust.IContextNode for more details.
  private final IPrivateOVSCust.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
  public OVSCust(IPrivateOVSCust wdThis)
    this.wdThis = wdThis;
    this.wdContext = wdThis.wdGetContext();
    this.wdControllerAPI = wdThis.wdGetAPI();
    this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
  //@@begin javadoc:wdDoInit()
  /** Hook method called to initialize controller. */
  //@@end
  public void wdDoInit()
    //@@begin wdDoInit()
    //$$begin Service Controller(-1119166442)
    wdContext.nodeZexigo_Cvr_Update_Input_OVS().bind(new Zexigo_Cvr_Update_Input());
    //$$end
     Zexigo_Cats_Search_Input searchInput = new Zexigo_Cats_Search_Input();
     wdContext.nodeZexigo_Cats_Search_Input().bind(searchInput);   
    //@@end
  //@@begin javadoc:wdDoExit()
  /** Hook method called to clean up controller. */
  //@@end
  public void wdDoExit()
    //@@begin wdDoExit()
    //@@end
  //@@begin javadoc:executeZexigo_Cvr_Update_Input_OVS()
  /** Declared method. */
  //@@end
  public void executeZexigo_Cvr_Update_Input_OVS( )
    //@@begin executeZexigo_Cvr_Update_Input_OVS()
    //$$begin Service Controller(-1263234559)
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    try
      wdContext.currentZexigo_Cvr_Update_Input_OVSElement().modelObject().execute();
      wdContext.nodeOutput_update().invalidate();
    catch(WDDynamicRFCExecuteException e)
      manager.reportException(e.getMessage(), false);
    //$$end
    //@@end
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). </p>
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
  //@@begin others
  private class OVSDemoContextNotificationListener implements IWDOVSContextNotificationListener {
  /* @see com.sap.tc.webdynpro.progmodel.api
  .IWDOVSContextNotificationListener#onQuery(... */
  public void onQuery(IWDNodeElement queryInputNodeElement,IWDNode queryOutputNode) {
  IPublicOVSCust.IZexigo_Cats_Search_InputElement ovsInput = (IPublicOVSCust.IZexigo_Cats_Search_InputElement) queryInputNodeElement;
  IPublicOVSCust.IZexigo_Cats_Search_OutputNode ovsOutput = (IPublicOVSCust.IZexigo_Cats_Search_OutputNode) queryOutputNode;
  try {
  ovsInput.modelObject().execute();
//      invalidate 'Output' model node via a top-down access
//      approach
  ovsInput.node().getChildNode("Output",0).invalidate();
  } catch (Exception e) {
  IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
  msgMgr.reportException(e.getLocalizedMessage(), false);
  /* @see com.sap.tc.webdynpro.progmodel.api
.IWDOVSContextNotificationListener#applyResult(...)*/
  public void applyResult(IWDNodeElement applicationNodeElement,
  IWDNodeElement queryOutputNodeElement) {
  IPrivateView2.IZexigo_Cats_Search_InputElement ovsCallerNodeElement = (IPrivateView2.IZexigo_Cats_Search_InputElement) applicationNodeElement;
  IPublicOVSCust.IZexigo_Cats_Search_OutputElement output = (IPublicOVSCust.IZexigo_Cats_Search_OutputElement) queryOutputNodeElement;
  ovsCallerNodeElement.setVariant(output.getAttributeValue());
  /* @see com.sap.tc.webdynpro.progmodel.api
.IWOVSC
  DontextNotificationListener#applyInputValues(...) */
  public void applyInputValues(IWDNodeElement applicationNodeElement,IWDNodeElement queryInputNodeElement) {
  Object initialValue = applicationNodeElement.getAttributeValue("Variant");
  queryInputNodeElement.setAttributeValue("Variant", initialValue);
  private IWDOVSContextNotificationListener ovsListener = new OVSDemoContextNotificationListener();
  public com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener getOVSListener( ) {
  return ovsListener;
  public com.sap.tc.webdynpro.progmodel.api.IWDNode getOVSInputNode( ) {
//     @@begin getOVSInputNode()
  return wdContext.nodeZexigo_Cats_Search_Input();
//     @@end
  public com.sap.tc.webdynpro.progmodel.api.IWDNode getOVSOutputNode( ) {
//     @@begin getOVSOutputNode()
return wdContext.nodeQueryOutputNode();
//     @@end
  //@@begin others
  //@@end

Hi all,
   Can someone help rectify errors in the below code. I can't able to run this code
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package se.abb.com;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateOVSCust).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import se.abb.com.wdp.IPrivateOVSCust;
import se.abb.com.wdp.IPrivateView2;
import se.abb.com.wdp.IPublicOVSCust;
import se.abb.com01.Zexigo_Cats_Search_Input;
import se.abb.com01.Zexigo_Cvr_Update_Input;
import com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException;
import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
import com.sap.tc.webdynpro.progmodel.api.IWDNode;
import com.sap.tc.webdynpro.progmodel.api.IWDNodeElement;
import com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener;
//@@end
//@@begin documentation
//@@end
public class OVSCust
Logging location.
  private static final com.sap.tc.logging.Location logger =
    com.sap.tc.logging.Location.getLocation(OVSCust.class);
  static
    //@@begin id
    String id = "$Id$";
    //@@end
    com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class.  </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see se.abb.com.wdp.IPrivateOVSCust for more details
  private final IPrivateOVSCust wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see se.abb.com.wdp.IPrivateOVSCust.IContextNode for more details.
  private final IPrivateOVSCust.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
  public OVSCust(IPrivateOVSCust wdThis)
    this.wdThis = wdThis;
    this.wdContext = wdThis.wdGetContext();
    this.wdControllerAPI = wdThis.wdGetAPI();
    this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
  //@@begin javadoc:wdDoInit()
  /** Hook method called to initialize controller. */
  //@@end
  public void wdDoInit()
    //@@begin wdDoInit()
    //$$begin Service Controller(-1119166442)
    wdContext.nodeZexigo_Cvr_Update_Input_OVS().bind(new Zexigo_Cvr_Update_Input());
    //$$end
     Zexigo_Cats_Search_Input searchInput = new Zexigo_Cats_Search_Input();
     wdContext.nodeZexigo_Cats_Search_Input().bind(searchInput);   
    //@@end
  //@@begin javadoc:wdDoExit()
  /** Hook method called to clean up controller. */
  //@@end
  public void wdDoExit()
    //@@begin wdDoExit()
    //@@end
  //@@begin javadoc:executeZexigo_Cvr_Update_Input_OVS()
  /** Declared method. */
  //@@end
  public void executeZexigo_Cvr_Update_Input_OVS( )
    //@@begin executeZexigo_Cvr_Update_Input_OVS()
    //$$begin Service Controller(-1263234559)
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    try
      wdContext.currentZexigo_Cvr_Update_Input_OVSElement().modelObject().execute();
      wdContext.nodeOutput_update().invalidate();
    catch(WDDynamicRFCExecuteException e)
      manager.reportException(e.getMessage(), false);
    //$$end
    //@@end
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). </p>
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
  //@@begin others
  private class OVSDemoContextNotificationListener implements IWDOVSContextNotificationListener {
  /* @see com.sap.tc.webdynpro.progmodel.api
  .IWDOVSContextNotificationListener#onQuery(... */
  public void onQuery(IWDNodeElement queryInputNodeElement,IWDNode queryOutputNode) {
  IPublicOVSCust.IZexigo_Cats_Search_InputElement ovsInput = (IPublicOVSCust.IZexigo_Cats_Search_InputElement) queryInputNodeElement;
  IPublicOVSCust.IZexigo_Cats_Search_OutputNode ovsOutput = (IPublicOVSCust.IZexigo_Cats_Search_OutputNode) queryOutputNode;
  try {
  ovsInput.modelObject().execute();
//      invalidate 'Output' model node via a top-down access
//      approach
  ovsInput.node().getChildNode("Output",0).invalidate();
  } catch (Exception e) {
  IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
  msgMgr.reportException(e.getLocalizedMessage(), false);
  /* @see com.sap.tc.webdynpro.progmodel.api
.IWDOVSContextNotificationListener#applyResult(...)*/
  public void applyResult(IWDNodeElement applicationNodeElement,
  IWDNodeElement queryOutputNodeElement) {
  IPrivateView2.IZexigo_Cats_Search_InputElement ovsCallerNodeElement = (IPrivateView2.IZexigo_Cats_Search_InputElement) applicationNodeElement;
  IPublicOVSCust.IZexigo_Cats_Search_OutputElement output = (IPublicOVSCust.IZexigo_Cats_Search_OutputElement) queryOutputNodeElement;
  ovsCallerNodeElement.setVariant(output.getAttributeValue());
  /* @see com.sap.tc.webdynpro.progmodel.api
.IWOVSC
  DontextNotificationListener#applyInputValues(...) */
  public void applyInputValues(IWDNodeElement applicationNodeElement,IWDNodeElement queryInputNodeElement) {
  Object initialValue = applicationNodeElement.getAttributeValue("Variant");
  queryInputNodeElement.setAttributeValue("Variant", initialValue);
  private IWDOVSContextNotificationListener ovsListener = new OVSDemoContextNotificationListener();
  public com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener getOVSListener( ) {
  return ovsListener;
  public com.sap.tc.webdynpro.progmodel.api.IWDNode getOVSInputNode( ) {
//     @@begin getOVSInputNode()
  return wdContext.nodeZexigo_Cats_Search_Input();
//     @@end
  public com.sap.tc.webdynpro.progmodel.api.IWDNode getOVSOutputNode( ) {
//     @@begin getOVSOutputNode()
return wdContext.nodeQueryOutputNode();
//     @@end
  //@@begin others
  //@@end

Similar Messages

  • Error in Tax code while creating a PO in T.code ME21n

    Hi,
    I am trying to create purchase Order, I am getting an error when while entering this
    Tax Code : v1
    Jurisdict. Code: RS14902
    The error is "Tax code v1 in procedure TAXBRJ is Invalid"
    How to rectify this error. Or
    What can be other way of entering the tax code and jurisdict code

    Hi,
    Go to the Table T007A, where you find the tax codes.
    Input & out put taxes are the tax types.
    In FTXP T.code give the tax code and  click on the
    Input tax codes are used for purchase cycle and out put taxes are for sales cycle. I Hope you have given the sales related tax code. Thats why system is giving the error message.
       In T007 Table give the proper input and get the details.
    Regards,

  • Error while generating code in brf+ function

    Hi all,
    i am getting error while generating code in function in bRF+
    am using weight fields ..if i dont use quantity fields am able to generate code .
    please help.
    Thanks.

    Can you provide more details? What exactly is the error?
    I think we have provided a note for the issue. With the details it should be possible to identify the note number.

  • I have a an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes. All of the other movies on the card download with out a problem.

    I have an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes.
    All of the other movies on the card download with out a problem. The movie in question is not 'corrupt' as you can watch it in iMovie direct from the SD card but as soon as you try to import it, it  just says 'error'. iIve tried moving the file to an external drive ( and other variations on this theme) then importing but have had no luck.
    Can anyone please help me.

    The mystery remains....
    Thanks for the pointers. The file type is .mts (a proprietry sony one).
    I have now found some video converter software (Wondershare and iSkysoft) at a cost. Either will convert this file for me into .mp4. This I can then import into iMovie without any problems. I've checked this on the trial versions and it worked well but without paying am left with a giant watermark in the video
    The mystery (which I still havent solved) is why did 20 other .mts files import fine and then this one not?
    If you could point me in the direction of some free .mts converter software that would be the cherry on the cake.
    Thanks

  • Adobe Print Form Error - Invalid Response Code: (401) Unauthorized

    Hi, I've just configured ADS on Netweaver 2004s. I've run through the config guide and everything works ok including the form generation test report FP_TEST_00 which outputs PDF without issue. I have two problems:
    -When I run a "test connection" on the RFC destination 'ADS' using the ADSUSER for the login details, I get a 403 not authorized error. Changing this user to J2EE_ADMIN resolves the issue and I get a 302 redirect. I've tried adding other permissions to the ADSUSER without any luck.
    -Running a report on the Portal under e.g. Executive Reporting and attempting to just right-click and hit "Print Version" results in a 401 error for request "http://hostXX:portXX/AdobeDocumentServices/Config?style=document" exactly as per this thread: Re: Adobe Form Creation Error - Invalid Response Code: (401) Unauthorized. However, I've double-checked all user details in Visual Administrator (ADS_AGENT) and on the ABAP stack side in su01 and sm59. I also tried changing the users to dialog with no effect. If I go directly to that URL and log in with ADSUSER I get a 403 not authorised error (using J2EE_ADMIN is again successful). I've noticed that in the http access log the HTTP protocol used is 1.1 when using the web browser and 1.0 when using the sm59 connection test. I've heard of problems with using HTTP/1.1, but when I change the options on IE8 to use HTTP/1.0, it changes for all other requests except the request for "http://hostXX:portXX/AdobeDocumentServices/Config?style=document", which is still submitted as HTTP/1.1. Conversely, in sm59 if I specify that it should use HTTP/1.1 under Special Options, I can see from the access log that it is in fact still using HTTP/1.0. Could this be related to the 401 error code that I'm seeing?
    Any help would be appreciated. Thanks,
    John

    I think I've ruled out the HTTP protocol version as being an issue here. However I may have found more useful information on the actual issue.
    In the security log under usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\log\system I see a different message for the unsuccessful report PDF generation attempt to that of a direct query to the same URL with the same web browser, as below. The unsuccessful attempt appears to forget the ADSUSER credentials and resort to the default J2EE_GUEST which has no authorisations and therefore fails. The direct query doesn't lose the ADSUSER credentials and I think this is because it prompts for the user/password when needed. Does anyone know why this happens for a direct query to this URL but not for the PDF generation attempt?
    Resulting logs from unsuccessful PDF generation attempt:
    #1.5 #005056AF1EB300750000002D0000142000048B4D2208F055#1279063306899#/System/Security/WS/SecurityProtocol#sap.com/irj#com.sap.security.core.client.ws.AuthenticationContext.setDestination#AICL0001#622##<host>_<sid>_3576650#AICL0001#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_5##0#0#Info#1#com.sap.security.core.client.ws.AuthenticationContext#Java###An destination was set with the following properties:
    {0}.#1#{PROXY_ENABLED=false, CLIENT_AUTHENTICATION_KEYSTORE_VIEW=, SAP_SID=, SLD_URL=, USERNAME=ADSUSER, SLD_WS_NAME=, URL=http://<host>:50000/AdobeDocumentServices/Config?style=document, PROXY_URL=, SSL_SERVER_AUTHENTICATION=IGNORE, SLD_WS_SYSTEM_NAME=, PASSWORD=XXX, SLD_WS_PORT=, SAP_CLIENT=, DEFAULT_URL=http://localhost:50000/AdobeDocumentServices/Config?style=document, Authentication=BASIC, CLIENT_AUTHENTICATION_KEYSTORE_CERTIFICATE=, URL_CHOICE=Custom, SAP_LANGUAGE=}#
    #1.5 #005056AF1EB30072000000250000142000048B4D220A12ED#1279063306977#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#J2EE_GUEST#0##<host>_<sid>_3576650#Guest#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_24##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.FAILED
    User: N/A
    Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          exception             true       Authentication did not succeed.#
    Successful direct access of URL http://<host>:50000/AdobeDocumentServices/Config?style=document (click on rpData test and manually log in as ADSUSER):
    #1.5 #005056AF1EB30070000000250000142000048B4D3E260016#1279063778670#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#ADSUSER#675##<host>_<sid>_3576650#Guest#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.OK
    User: ADSUSER
    Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          true       true                 
    Central Checks                                                                                true                  #
    #1.5 #005056AF1EB30070000000260000142000048B4D3E2666A6#1279063778702#/System/Security/Audit/J2EE##com.sap.engine.services.security.roles.audit#ADSUSER#675##<host>_<sid>_3576650#ADSUSER#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.roles.audit#Java###{0}: Authorization check for caller assignment to J2EE security role [{1} : {2}].#3#ACCESS.OK#SAP-J2EE-Engine#all#

  • Is there a error with this code

    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    public class ClickMe extends Applet implements MouseListener {
    private Spot spot = null;
    private static final int RADIUS = 7;
    public void init() {
    addMouseListener(this);
    public void paint(Graphics g) {
    //draw a black border and a white background
    g.setColor(Color.white);
    g.fillRect(0, 0, getSize().width - 1, getSize().height - 1);
    g.setColor(Color.black);
    g.drawRect(0, 0, getSize().width - 1, getSize().height - 1);
    //draw the spot
    g.setColor(Color.red);
    if (spot != null) {
    g.fillOval(spot.x - RADIUS, spot.y - RADIUS, RADIUS * 2, RADIUS * 2);
    public void mousePressed(MouseEvent event) {
    if (spot == null) {
    spot = new Spot(RADIUS);
    spot.x = event.getX();
    spot.y = event.getY();
    repaint();
    public void mouseClicked(MouseEvent event) {}
    public void mouseReleased(MouseEvent event) {}
    public void mouseEntered(MouseEvent event) {}
    public void mouseExited(MouseEvent event) {}
    When I compile the the code I get a "cannot resolve symbol"
    private Spot spot = null;
    spot = new Spot(RADIUS);
    I don't know if these are errors in the code

    'cannot resolve symbol' errors usually mean a problem with the declarations and initialisations at the start of your class. This is specifically to do with your line private Spot spot = null;
    i haven`t much time to look at your code, but i would suggest getting rid of the null initialisation here, and do you ever actually change this value? after a quick look it seems that you only query it to see if the variable spot is null. if you never affect this value, then it will always be null and only one if statement will ever be executed.
    but as i said i haven`t any time, so could be off here
    boutye - boss is coming bak argh!

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • Error FF753 Tax code 01 not appear in any G/L account item with FM Active

    Hi
    We have fund management configured for one of the company code, while creating billing document through VF01/VF02 we are  getting the Error FF753 Tax code 01 not appear in any G/L account item.
    This error however does not appear when posting directly from FI with the same tax code.
    I have tried to change the message control in which case i am getting a dump pointing to PSM-FM.
    Please advise.
    Regards
    Sandeep

    Hi:
              If you could please refer to the contents of  OSS Note 112609 - How are tax codes transferred to conditions ?
    "Symptom
    If a billing document is transferred to accounting the system displays error messages. Transferring tax codes from tax conditions into the pricing conditions and discounts does not function as expected.
    Other terms
    FF805, FF747, FF753, MWSKZ, MWSK1, tax code
    Reason and Prerequisites
    The tax condition in the SD pricing procedure contains incorrect reference steps, there are several tax conditions in the pricing procedure of which the tax codes overwrite each other or a program error exists.
    Solution
    In the accounting document for a billing document, the different G/L account line items are provided with a tax code. The tax code of the G/L accounts is transferred from the tax condition(s) of the billing document. How are the tax codes of the tax conditions transferred into the other conditions of a billing document ?
    Basically:
    The conditions of a billing document are read from top to bottom. As soon as an active tax (inactive = ' ') is read, the system transfers the tax code of this tax into the non-tax conditions as follows:
        1. The reference steps (From-step, To-step) are read (the reference steps are defined in the pricing procedure).
        2. The tax code is transferred into all conditions, for which
        the step number of the condition lies in the pricing procedure between "From-step" and "To-step",
        the condition is not inactive (exactly: the inactive flag is not equal to A (Condition exclusion), M (Inactive due to manual entry), or X (Incorrect)),
        the condition is not statistical (if it is no invoice list condition),
        the condition is no tax condition.
    After the transfer of the tax code the system searches for the next active tax. If further taxes are found, their tax code is again transferred according to the above procedure. If the reference steps of different taxes overlap, tax codes that have already been transferred are overwritten. To all non-tax conditions which in the pricing procedure stand after the last tax condition the tax code of the last active tax condition is transferred if they are not statistical.
    Special features:
        1. If the "From-step" of a tax condition refers to a subtotal of the pricing procedure, the tax code of the tax is not only transferred into the conditions with step number between From-step and To-step but into all non-tax conditions for which
        the step number of the condition in the pricing procedure is lower than the "To-step" of the tax condition.
        the condition is not statistical (if it is no invoice list condition).
        the condition is not a tax condition.
        2. If the "To-step" of the tax condition is smaller than the "From-step", then the system sets "To-step = From-step".
    Notes:
        1. As of Release 4.0 the tax code is no longer transferred in pricing but only when the billing document is released to accounting.
        2. If you use several taxes and tax codes and Customizing is incorrect for the release of billing documents to accounting, among others the system may display error message FF747.
        3. If there are several taxes in the pricing procedure refer to Notes 72173 and 82091 for Releases 3.0D - 3.1G. For Release 3.1H, only note 82091 is relevant.
        4. For conditions which are transferred into accounting (thus not statistical, not inactive conditions) and do not contain a tax code, the system searches for a default tax code which in Accounting Customizing can be set depending on the company code (tax code for non-taxable transactions). This applies to releases up to and including Release 4.5B. For Release 4.6, refer to Note 385127."
    Regards

  • Error in T-Code: F.5E

    Dear all,
    I am getting the following errors while executing T-Code: F.5E
    01. No postings can be created for company code 4000
    02. Errors occur when determining adjustment accounts
    03. Correct the error
    04. Run report SAPF180K
    and i didn't get any error in T-Code: F.5D
    Please help me in this.
    Regards
    JS

    Dear,
    Try to use transaction F.5G -> Redetermine Adjustment Accounts for Balance Sheet Selection.
    This report will display what is wrong with your account determination.
    If you have any problems with account determination go to transaction FBKP > Automatic Posting > Financial statement readjustment.
    I hope It helps you.
    Att.
    Cássio Moreira

  • While Printing Stock Transfer PO giving error message " Tax code in procedu

    Dear SAP MM Cons,
    I want see the print preview of stock transfer purchase order but i getting following error.
    Tax code in procedure TAXINN is invalid
    Where we need not require to give any tax code in the stock transfer PO. Can any body help me to see the printpreview of STO.
    Reagrds
    Abhishek Tiwari

    Kedarji
    Thank you.Urgent please.
    Regards
    venkat
    Edited by: garapati on Feb 15, 2008 12:06 PM

  • ORA-01403: no data found Error in PLSQL code raised during plug-in processing.

    Hello OTN community,
    We are having the access to APEX problem. a New user was setup to access the APEX application. When I test to login as a new user, I get the message "ORA-01403: no data found Error in PLSQL code raised during plug-in processing.". When click OK to the disply message, the application will take me out of the sstem. I need help to even understand what is happening. I didn't develop the application, there is no documentation for this application, I am just supporting the application whenever there is a problem and I am new to APEX. As you can see I need help to figure this thing out. Your help is dearly appreciated.
    Thank you OTN

    Try to check the query that is executed and check if there is data or not

  • By the today e-received updates for Adobe Photoshop Elemenst 12.1 and Adobe Premiere Elements 12.1 I got this error messages: Failure code = U44M1P2003. What to do? System = Window7 64bit.

    By the today e-received updates for Adobe Photoshop Elemenst 12.1 and Adobe Premiere Elements 12.1 I got this error messages: Failure code = U44M1P2003. What to do? System = Window7 64bit.

    Sometimes the Adobe servers used for the updates can get busy and it’s necessary to try a couple of times. Also make sure you don’t have a firewall which may be blocking the connection. It sometimes helps to temporarily disable internet security/anti-virus software. Because the Organizer is shared by both programs it often helps to do the PSE update first, followed by the PRE update in that order.
    Select the 12.1 update for PSE from the updater dialog and ensure everything else is unchecked.  Quit PSE and PRE if you have it running and then start the update.
    If PSE updates properly to 12.1 repeat the process for PRE.

  • I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I am sorry Erickkasner but there is no longer direct support provided for Creative Suite 5.5 installation issues.
    You are welcome to post any specific errors you are able to discover within your installation log to this discussion.  Since you are using Windows then Exit Code 15 could mean one of the following:
    Installer database is corrupted
    Update pending to your operating system
    Improper permissions set for the Media.db
    The installation log file should provide additional insight into the exact error you are experiencing.  Please make sure to use the find command to look for the words 'ERROR' and 'FATAL' to locate the relevant error messages.

  • LSMW - Error BDC_INSERT, Transaction code .. is invalid XD01

    Dear all.
    I have done the following Steps:
    1 - Maintain Object Attributes. Chose the Object type Batch Recording, then created a Record using the name (CLI_PMR). And created the Batch record and then assign the fields name.
    2 - Maintain Source Structures – Created the Struture (CLI_PMR1)
    3 - Maintain Source Fields – Assign the fields name and length that I used in my program. (CLI_PMR1).
    4 - Maintain Structure Relations – Assign the Struture (CLI_PMR1 to CLI_PMR)
    5 - Maintain Field Mapping and Conversion Rules – The normal thing in this point.
    6 - Specify Files - Specified the Legacy Data, path for the file.
    7 - Generate Read Program – Generated the Program.
    8 – Read Data – Executed this Step and every thing is correct
    9 - Generate Conversion Program – Generated the program
    10 - Convert Data – Convert data
    11 - Display Converted Data – Every thing is fine, with no errors
    12 - Create Batch Input Session- At this the error message appears Error BDC_INSERT, Transaction code .. is invalid  time.
    At the time we have created other LSMW programs for this T-Code and every thing is OK.
    I'm using the T-CODE=XD01
    Best Regards
    Pedro Miguel Rodrigues

    Hi, I had the same problem in LSMW when generating a batch input for trx IE01. The cause was that there were tab/newline-characters in my text file (some descriptions contained tab-characters). Since I used a tab delimited file, these tabs/newlines in the fields messed up my file.
    The excel file contained multiple lines per cell in some description fields. When this was exported to tab delimited text, it contained additional tabs. After checking the contents and removing the tabs/newlines from Excel and performed a new export to txt-file, it was solved.
    Best regards,
    Jan-Peter Molenaar
    SAP EAM Consultant

  • Error in Abap code - Unknown column name

    Hi
    I have this error in my code.
    Unknown column name "SUM(EKBE-MENGE)" field list. field list. field
    My code
    *Select sum(ekbe-menge)
           into MCSTRUCT-ZQuant
          from ekbe*
    How do I resolve this.
    thanks

    Hi,
    Try the following statement:
    Select sum( menge )
    into MCSTRUCT-ZQuant
    from ekbe.
    hope it helps...
    regards,
    Raju

Maybe you are looking for

  • Missing ACROBAT Tap from MS Word 2007 for Windows top Menu

    I could generate PDF file using a TAP on the top right of the screen (ACROBAT it was next to developer), however, I must have done something ... and now the Tap is missing. Anyone knows how can I get it back? Thank you, Monasterolo

  • Why is the quality of my burned DVD (IMovie) so inferior?

    I made a slide show with my digital photos using Imovie which looks great, but when I burned it to a DVD using IDVD, and then watched it on my TV the quality was not nearly as clear. I chose "large" when I was setting up the IDVD program. Is there so

  • PDF Test Toolkit disables IE with QTP

    I am running QTP 9.5, IE 8, and Acrobat Pro 9.4 I added in the Adobe PDF Test Tool. When I loaded AcroQTP add-in, my IE would not open. I turned off the ActiveX add-in and I can get IE to open but on selecting links, more than one dialog box will ope

  • Zen neeon 6GB problem

    Hai I have a Zen Neeon 6GB and Iam frequently facing malfunctioning of the player. Sometimes the player is generating heat and the total battery is going to dry. i used it until it was out of battery and went to charge it up on my computer, i plug it

  • How do I keep a "table" from Moving?

    Hi, I converted a series of existing "tables" to a different format so that I could use automatic totaling n the footer.  I did this by creating the new table and copying the old data into it.  The spreadsheet works fine, and I deleted the original.