Errors in standard code in NWDS

I am trying to modify standard ESS/MSS source code. But lot of code there is marked in RED to say that it is an error code ( Which in reality is not). And even when i press CTRL + Space to get context help for commands it does nto work. I logged off and logged back in, did syn sources but to no use. Any sueggestions how to get over this issue
regards
Sam

Hi Sam,
You're missing compile time libraries, that is, your classpath doesn't provide enough JARs. As I'm not familiar with ESS/MSS development, I cannot help directly, but the general reason is obvious. Probably you are using NWDI to alter the implementation?! In this case, the dependencies to other components are not set up sufficiently.
Hope it helps
Detlev

Similar Messages

  • Standard Code in NWDS vanishes

    Hi,
    I am using NWDS 2.0.13 which is downloaded from Service Market Place recently.When I do the UI designing and press "Save All MetaData" all the standard code which is generated by the NWDS in my implemetation tabs gets vanishes.
    Can anybody says what might be the problem is?
    Regards,
    Guru

    Hi Guru.
    You may be overwriting the code generated by the developer, i did have the same problem and was by i was writing over the code generated by the developer studio.
    Regards.
    Gregory.

  • Error in standard code.

    Hi,
        In Standard Include PCF16IN3. I find this code.
    read table temsefin_tab with key PERNR      = EMP_TAB-EMP_NO "1274331"
                                          FPPER+0(2) = '01'.
           if sy-subrc <> 0.
             read table temsefin_tab with key PERNR       = EMP_TAB-EMP_NO
                                              FPPER+0(2) = '02'.
             if sy-subrc <> 0.
                read table temsefin_tab with key PERNR     = EMP_TAB-EMP_NO
                                                 FPPER+0(2) = '03'.
                if sy-subrc <> 0.
                  DELETE ACKNO_TAB WHERE PERNR = EMP_TAB-EMP_NO AND QUARTER = 1.
                endif.
              endif.
    This Code Deletes the acknowledgement no for 1 quarter .01,02 ,03 are first three months.
    How ever the FPPER dos not contains the date in proper format. Currently it picks up '200701'.
    Therefore it compares '20' to '01' ,'02','03' and therefore deletes the acknowledgement nos.
    I am not sure if there is a SAP note for this correction.
    Any Ideas guys..?
    Regards,
    Shashank

    I just found out the solution.I had posted this to SAP .
    Dear CUstomer,
    Thanks for the message.
    The file format given in Note 927906 is modified. A 'Pay date' field is
    added at the end. Please find updated format below:
    Field Description Type Length Example
    Employee Number TEXT 8 400010001
    Company code TEXT 4 IN01
    Payroll period TEXT 6 012005
    Income tax TEXT 15 20000
    Surcharge TEXT 15 2000
    Education cess TEXT 15 200
    Total tax TEXT 15 22200
    Cheque/DD Number TEXT 14 12345
    Bank branch code TEXT 7 1234567
    Challan date TEXT 12.01.2005
    Challan number TEXT 9 12345
    Pay Date TEXT 01.04.2005
    this it the file format.
    I was sending PAYDATE as blank.
    As soon as i sent the pay date it started coming up in sorted order.
    Regards,
    Shashank

  • Build Error While importing standard application into NWDS

    Hi all,
    I am trying to Import T&E Standard Applications into NWDS.
    Two components  (tra & tra/tre) have to be synched to the studio. These two are interdependent..
    One Component I am able synch and create project perfectly but when i try to do the second one, i am getting Generation BUILD Error...
    Help me in this regard..
    Thanks
    Malla
    Edited by: challa mallareddy on May 7, 2009 12:34 PM

    Hi,
    As per your error, I think you have already created a project with name NewParProject. Give a different name and then check.
    Also check if your par file is  not corrupt. Download it again and follow below steps in NWDS :
    Go to File>Import > Select par file >
    >Browse and select the par file>
    >Give a project name i.e. ParProjectTest  > Finish.
    This should work.
    Regards
    Deepak

  • Error in Standard Program for Purchase Order

    Hello Everyone,
    I am getting an ABAP Dump Error while Displaying & Printing Purchase Order using TCODE : ME9F & ME23N.
    We have applied new Patches.
    for Logistics it is 26 & ABAP it is 58.
    I am getting Error in standard INCLUDE
    Program : LMEDRUCKF1K at line 64.
    The Error is :- "Field "ENJPREVIEW" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement."
    Declaration for "ENJPREVIEW" is also available in
    include LMEDRUCKTOP. still it gives an error.
    These lines of code is included by SAP note 855263.
    Before applying these Patches it was working properly, but now it gives an error.
    Please , Can anyone give solution for this.
    Regard's
    Archana.

    Hi Archana ,
    Check is there any Inactive Versions in ur Systems ?
    useful tcodes are SPAU /SPDD for tables
    Regards
    prabhu

  • Reg.errors in standard ess coding

    hi
    In the below  standard code  it is giving many errors in like
    the import com.sap.tc.webdynpro cannot be resloved
    com.sao.tc.logging cannot be resloved
    wdcontrollerapi cannot be resloved like than this many errors for the below.
    can any please help me how to relsove the errors
    import com.sap.xss.hr.per.in.family.review.wdp.IPrivateReviewView;
    import com.sap.xss.per.helpers.F4TextHelper;
    import com.sap.xss.per.helpers.TextFieldInfo;
    import com.sap.tc.webdynpro.progmodel.api.WDVisibility;
    //@@end
    //@@begin documentation
    //@@end
    public class ReviewView
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(ReviewView.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 com.sap.xss.hr.per.in.family.review.wdp.IPrivateReviewView for more details
      private final IPrivateReviewView 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 com.sap.xss.hr.per.in.family.review.wdp.IPrivateReviewView.IContextNode for more details.
      private final IPrivateReviewView.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.IWDViewController 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 ReviewView(IPrivateReviewView 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()
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:wdDoModifyView
    Hook method called to modify a view just before rendering.
    This method conceptually belongs to the view itself, not to the
    controller (cf. MVC pattern).
    It is made static in order to discourage a way of programming that
    routinely stores references to UI elements in instance fields
    for access by the view controller's event handlers etc.
    The Web Dynpro programming model recommends to restrict access to
    UI elements to code executed within the call to this hook method!
    @param wdThis generated private interface of the view's controller as
           provided by Web Dynpro; provides access to the view controller's
           outgoing controller usages etc.
    @param wdContext generated interface of the view's context as provided
           by Web Dynpro; provides access to the view's data
    @param view the view's generic API as provided by Web Dynpro;
           provides access to UI elements
    @param firstTime indicates whether the hook is called for the first time
           during the lifetime of the view
      //@@end
      public static void wdDoModifyView(IPrivateReviewView wdThis, IPrivateReviewView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         String subtype = wdContext.currentSubtypesElement().getSubtype();
                                       if (subtype.equals("2")) {
                                            wdContext.currentContextElement().setStandardIsVisible(
                                                 WDVisibility.VISIBLE);
                                            wdContext.currentContextElement().setIsVisible(WDVisibility.NONE);     
                                            wdContext.currentContextElement().setStandardVisible(WDVisibility.VISIBLE);
                                       }else if (subtype.equals("6")) {
                                            wdContext.currentContextElement().setStandardIsVisible(
                                                           WDVisibility.VISIBLE);
                                            wdContext.currentContextElement().setIsVisible(WDVisibility.NONE);     
                                            wdContext.currentContextElement().setStandardVisible(WDVisibility.NONE);
                                        else if(subtype.equals("5") || subtype.equals("8") || subtype.equals("10") || subtype.equals("14")){
                                            wdContext.currentContextElement().setStandardIsVisible(
                                            WDVisibility.NONE);
                                            wdContext.currentContextElement().setIsVisible(
                                            WDVisibility.VISIBLE);
                                            wdContext.currentContextElement().setStandardVisible(WDVisibility.NONE);
                                       else
                                            wdContext.currentContextElement().setStandardIsVisible(
                                            WDVisibility.NONE);
                                            wdContext.currentContextElement().setIsVisible(
                                                                               WDVisibility.NONE);
                                            wdContext.currentContextElement().setStandardVisible(WDVisibility.NONE);
        // Other Allowances
         if (wdContext.currentSelectedInfotypeElement().getKdbsl().equals("X"))
                        wdContext.currentContextElement().setOther_Allowances(true);
                   else
                   {   wdContext.currentContextElement().setOther_Allowances(false);
      //Child Education Allowance
      if (wdContext.currentSelectedInfotypeElement().getKdzul().equals("X"))
                          wdContext.currentContextElement().setChild_Education_Allowance(true);
                     else
                     {   wdContext.currentContextElement().setChild_Education_Allowance(false);
    // Children_Hostel_Allowance
    if (wdContext.currentSelectedInfotypeElement().getKdgbr().equals("X"))
                           wdContext.currentContextElement().setChildren_Hostel_Allowance(true);
                      else
                      {   wdContext.currentContextElement().setChildren_Hostel_Allowance(false);
         TextFieldInfo[]     fieldInfo = new TextFieldInfo[]
           { new TextFieldInfo("Fasex", "Gender"),
              new TextFieldInfo("Fanat", "Nationality"),
              new TextFieldInfo("Fana2", "OtherNationality"),
              new TextFieldInfo("Fana3", "SecondNationality"),
              new TextFieldInfo("Fgbld", "BirthCountry"),
             new TextFieldInfo("Fnmzu", "OtherTitle"),
              new TextFieldInfo("Fvrsw", "Name_Prefix")
         F4TextHelper.GetF4Text(     wdThis.wdGetAPI(),
                                       wdContext.nodeSelectedInfotype(),
                                       view,
                                       fieldInfo);
        //@@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
      //@@end
    Thanks in advance
    Deepika.M
    Edited by: deepika_indian on May 24, 2011 10:49 AM
    Edited by: deepika_indian on May 24, 2011 10:50 AM
    Edited by: deepika_indian on May 24, 2011 11:49 AM

    Hi Vivek
    I have pasted all the components which are used in server.can u please check it and guide me.
    BP_ERP5ESS  1.0 SP18 (1000.1.0.18.0.20100830051959)  SAP AG  MAIN_ERP05VAL_C  20101223183222 
    sap.com  BP_ERP5MSS  1.0 SP18 (1000.1.0.18.0.20100830033715)  SAP AG  MAIN_ERP05VAL_C  20101223183226 
    sap.com  DI_CBS  7.00 SP23 (1000.7.00.23.0.20101122112033)  SAP AG  MAIN_APL70P23_D  20110509211915 
    sap.com  DI_CMS  7.00 SP23 (1000.7.00.23.0.20101122112054)  SAP AG  MAIN_APL70P23_D  20110509212038 
    sap.com  DI_DTR  7.00 SP23 (1000.7.00.23.0.20101122112109)  SAP AG  MAIN_APL70P23_D  20110509212048 
    sap.com  EP-PSERV  7.01 SP3 (1000.7.01.3.0.20090108071100)  SAP AG  SAP AG  20101021161551 
    sap.com  EP-WDC  7.01 SP3 (1000.7.01.3.0.20081211162000)  SAP AG  SAP AG  20101021161701 
    sap.com  SAP-EU  7.01 SP3 (1000.7.01.3.0.20090112112930)  SAP AG  MAIN_NW701P03_C  20101021162607 
    sap.com  SAP-JEE  7.01 SP7 (1000.7.01.7.0.20100612175953)  SAP AG  SAP AG  20110516194447 
    sap.com  SAP-JEECOR  7.01 SP7 (1000.7.01.7.0.20100612180141)  SAP AG  SAP AG  20110516194727 
    sap.com  SAP_BUILDT  7.01 SP7 (1000.7.01.7.0.20100610162200)  SAP AG  SAP AG  20110521181615 
    sap.com  SAP_ESS  600 SP19 (1000.600.0.19.1.20110408044819)  SAP AG  MAIN_ERP05PAT_C  20110516202410 
    sap.com  SAP_JTECHF  7.01 SP7 (1000.7.01.7.0.20100612180438)  SAP AG  SAP AG  20110516194827 
    sap.com  SAP_JTECHS  7.01 SP7 (1000.7.01.7.0.20100612182449)  SAP AG  SAP AG  20110516203152 
    sap.com  SAP_MSS  600 SP19 (1000.600.0.19.0.20110207050012)  SAP AG  MAIN_ERP05VAL_C  20110516203751 
    sap.com  SAP_PSS  600 SP18 (1000.600.0.18.0.20100830054704)  SAP AG  MAIN_ERP05VAL_C  20110516203850 
    sap.com  SAPPCUI_GP  600 SP18 (1000.600.0.18.0.20100830054620)  SAP AG  MAIN_ERP05VAL_C  20101223183346 
    Thanks & Regards
    Deepika

  • Designer syntax errors in correct code.

    I have added some trigger code to a bound item. The designer syntax checker finds errors in the code but the generated form runs correctly. It appears that the syntax checker doesn't like DECLARE. The code doesn't do anything and I believe it is fine but I would like to get the syntax checker to stop complaining about it. Any suggestions on how I might arrange things to stop the syntax error messages would be appreciated. Here is the offending code with error messages:
    DECLARE
    item_id     Item;
    BEGIN
    item_id := FIND_ITEM('M1.STATE');
    END;
    The Syntax Checker found the following errors:-
    PLS-00103: (Line 1) Encountered the symbol "DECLARE" when expecting one of the following:
    begin function package pragma procedure separate subtype type
    use <an identifier> <a double-quoted delimited-identifier>
    form current cursor external language
    The symbol "begin" was substituted for "DECLARE" to continue.
    PLS-00103: (Line 20) Encountered the symbol "end-of-file" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted d
    [2] error(s), [0] warning(s)

    This will not work correctly in 32-bit Windows (or 64-bit) The type of wParam *must* be WPARAM, the type of lParam *MUST* be LPARAM, and for a dialog handler the return type should be BOOL. The old _export keyword no longer exists, and is not needed in
    Win32. FAR is a macro with an empty body and its appearance in all places can be deleted. The quaint and confusing PASCAL keyword may still work, but it would be better to use the now-correct term CALLBACK. Since this is clearly antique Win16 code, there may
    be other problems dealing with size of integers. The types int, long, DWORD, UINT and others all represent 32-bit values. The return type for window handlers must have the return type LRESULT, and for dialog handlers, BOOL. All wParam and lParam types must
    be changed as I indicated. Note that for Win16, wParam was 16-bit and lParam 32-bit. For Win32, WPARAM, LPARAM and LRESULT are all 32-bit values, and for Win64 they are 64-bit values. Any place the code casts a pointer to an integer type, the code is inherently
    incorrect. You must use types like INT_PTR, UINT_PTR, DWORD_PTR and other _PTR-suffixed types for such casts; in Win32 these are pointer-sized integer types (32-bit) and in Win64 they are pointer-sized integer types (64-bit). Types like int, long, DWORD, etc.
    are 32-bit values in both Win32 and Win64. Converting code to run on Win32/64 from Win16 requires great caution, because the programming "standards" that were taught for Win16 did not plan on true platform portability, and programmers were taught
    terrible techniques such as declaring wParam as WORD and LPARAM as long. And casting pointers to ints and back. All of these techniques lead to disaster.

  • WS Navigator shows error "Invalid Response Code (500)

    I have published a ECC 6.0 webservice in PI Service Registry. I use NW Dev Studio and attempt to find the published WS but I get an error in the WS Navigstor.
    Endpoints were created so I attempt to consume it in NWDS but I get the the following error:
    "Invalid Response Code: (500) WSDL could not be generated  The requested URL........""
    In somamanger I can see the WSDL and it looks fine...
    Any ideas or steps that I need to do or missed?
    Thanks
    Mikie

    Hi,
    Are you able to test the web service on the web service navigator successfully. On the soamanager you have an option for testing the web services in web service navigator.
    Regards,
    Yasar

  • Schedule Line Date Changed By Standard Code After User Exit

    We've implemented USEREXIT_MOVE_FIELD_TO_VBEP to conditionally change the schedule line date (it changes VBEP-EDATU) when sales orders are being created.  This functions correctly when VA01 or EDI is used.  However, when the order is created using BAPI_SALESORDER_CREATEFROMDAT2, standard code executing after the user exit changes the schedule line date to an incorrect value. 
    The user exit correctly changes the schedule line date; then later on in the execution subroutine VBEP_FUELLEN_VBEPKOM in include FV45EFEP_VBEP_FUELLEN_VBEPKOM is executed which changes the date on line 37 using the value in US_VBEPKOM-EDATU.  US_VBEPKOM-EDATU is in scope in the user exit, but earlier in subroutine VBEP_FUELLEN_VBEPKOM (line 12 to be exact) this variable is updated with the value in US_VBEPKOM1-EDATU, which is not in scope during the user exit.  So, USEREXIT_MOVE_FIELD_TO_VBEP doesn't have access to US_VBEPKOM1-EDATU and can not ensure that the correct value is used later on in subroutine VBEP_FUELLEN_VBEPKOM.
    I noticed at the end of subroutine VBEP_FUELLEN_VBEPKOM it calls USEREXIT_MOVE_FIELD_TO_VBEPKOM.  I could update VBEP-EDATU here to correct the error whenever the order is created using the BAPI, but it would be nice to have a solution that could be implemented only in USEREXIT_MOVE_FIELD_TO_VBEP without also having to implement USEREXIT_MOVE_FIELD_TO_VBEPKOM.
    So my question: is there a way to update the schedule line date in USEREXIT_MOVE_FIELD_TO_VBEP where it won't be changed later in subroutine VBEP_FUELLEN_VBEPKOM when the order is created using the BAPI?

    Hi Caetano,
    thanks for your suggestion
    Yes, we use firm zone for few of the vendors. there the system don't change the schedule lines.
    Also for the stock transfer PR's there is no firm zone and the lead time is one day. in this case it changes everyday after the MRP run.
    the stock transfer PR's leads to the creation of Schedule lines from the source plant. Since this PR gets changed everyday. the alerts coming out of MD07 gets changed and we really did not know if this order is delayed or not.  In the source plant we use the firm zone to avoid moving the schedule line. But then the alerts are always not correct.
    is there any setting which helps in not moving the PR everyday without using " start in the past"
    thanks
    Nagendra Kumar

  • 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

Maybe you are looking for