Regarding custom context created for CR_B2B application(Complaints&Returns)

Hi,
We have created a custom context for cr_b2b application.
We are able to login to the application, but we are getting some compilation errors on the left hand side page (genericsearch.jsp)
The errors are:
ISA Framework: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process: [/usr/sap/FWX/JC91/j2ee/cluster/server1/apps/sap.com/homecr_test/servlet_jsp/cr_test/work/jsp_genericsearch1285932156290.java:163: package com.sap.isa.isacore.uiclass.b2b does not exist com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI l_ui = new com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI(pageContext); ^ /usr/sap/FWX/JC91/j2ee/cluster/server1/apps/sap.com/homecr_test/servlet_jsp/cr_test/work/jsp_genericsearch1285932156290.java:163: package com.sap.isa.isacore.uiclass.b2b does not exist com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI l_ui = new com.sap.isa.isacore.uiclass.b2b.CreateTransactionUI(pageContext); ^ 2 errors ].
What would be the reason?  Some pointers on this would be of great help
Thanks in Advance
Regards,
Satish.

Hi Pradeep,
I can see that the CreateTransactionUI class is part of sap.comcrmisaisacoredefault.jar.
We tried to deploy this jar into this path:
/usr/sap/FWX/JC91/j2ee/cluster/<server no>/apps/sap.com/home~cr_test/servlet_jsp/cr_test/root/WEB-INF/lib
We have placed this file in all server nodes of the given path.
But still error exists.
What could be the reason?
Thanks,
Satish.

Similar Messages

  • Context Root for WebDynPro Applications

    Is it possible to give a custom context root for a WebDynPro Application?
    Ex: http://localhost:50000/myapp
    Thanks and Regards
    Chandu

    Hi,
    If u r talking about Custom Controller context , it is possible.For every WD component bydefault one component controller will be there and u can create any no of custom controllers.Both r faceless entyties and work as globel resource for any views in the component.
    Regards,
    Srikanth Reddy.T

  • HT201684 In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?

    In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?
    I've tried everything to get a custom umask set for all apps. It just seems impossible...
    Is there a replacement for launchd-user.conf?

    Please file a bug report: https://bugreport.apple.com
    I am sure this is something that got lost, like environment variables, in the Yosemite/iOS merger.

  • Custom formula YTD for PERIODIC Application - BPC 7.5 NW

    Dear all,
    The customer has 2 time hierarchies, fiscal year and calendar year. He would like to change the measures formulas to fix their fiscal year specification, their fiscal year begins in April instead of January. Some entities of the customer will input data based on fiscal year and someone based on calendar year.
    Their application is a PERIODIC application. I cannot use the how to guide 'How to Create Customer measure formulas for Fiscal Periodic, QTD and YTD' because it's only for YTD application.
    Can someone help me to understand how to modify the YTD formula for the entities that inputs based on the PARENTH2 (fiscal year hierarchy), please?
    I will send you the code delivered from SAP for YTD measure formula for PERIODIC Application
    MEMBER [MEASURES].[YTD] AS 'IIF([%KFSPL%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%PERIODS%].[LEVEL00], [%PERIODS%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),IIF([%KFSPL%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%PERIODS%].[LEVEL00], [%PERIODS%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%KFSPL%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%PERIODS%].[LEVEL02])),IIF([%KFSPL%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%PERIODS%].[LEVEL02])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    Thanks
    Regards
    Rosa Alfonso

    Hi Chandra,
    Few things that you can check -
    1. What is your fiscal canlendar period?  April to March or Jan to Dec?
    2. In Time Dimension, MONTHNUM whould be '1' for the month from which the fiscal year starts
    3. In Time Dimension, ISBEGINING whould be '1' for the month from which the fiscal year starts
    Please do these changes, process the dimension, refresh the dimension members in BPC-Excel and then see if you get proper values.
    Hope this helps.
    If problem still persists, please copy-paste the YTD formula from backend ... will check and let you know.  Also what is the version, SP and patch level that you are working on?
    Regards,
    Rashmi

  • Custom host-name for web application SharePoint 2010

    I am facing a weird behavior. Can anyone help me regarding this?
    Steps performed:
    1. Created a web application using custom host name.
    2. Created a site collection using "Blank" site template. Nothing issues.
    3. Created another site collection using "Publishing" site template. Authentication prompt came multiple times. IIS logs/Fiddler/HTTP Watch are full with 401 entries.
    4. Added the custom host-name with web server IP in local desktop hosts file(which is in intranet domain). Prompt issue fixed.
    5. Authentication mode set as NTLM. 

    Hi DDasgupta,
    After you created a web application with a custom host name, if you got a prompt for the user and you may face the following issues:
    There is continuous prompt for the credentials
    HTTP 401.1 error
    This shows that there is a problem with the Loopback configuration. This situation should occur only when we access the application from the server machine.
    For fixing the problem, we have to disable the Loopback value inside the registry.Open the Registry Editor (regedit.exe) and locate the following key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, and create a new Key Value of type DWORD inside
    it and set the value to 1.
    More information, please refer to the link:
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-creating-host-name-for-web-application/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to set custom master page for sharepoint application page ?

    Hello,
    I need to apply custom master page for the custom application page I created for login purpose.
    Can anyone please let me know how to apply master page for custom application page ?
    Note : I need to set custom master page for application page at web application level.
    thanks,
    Dipti Chhatrapati

    Hi Dipti,
    You can use the same reference as ASP.NET
    Example
    "<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document" %>"
    You can use SharePoint Designer 2010
    http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
    When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
    André Lage Microsoft SharePoint, CRM Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

  • Regarding custom context menuitem click

    Hi ALL,
    On Repeatedly clicking on the same custom context menu item, the movie gets refereshed and re-launched in IE and Mozilla.Please given me an solution to overcome this problem.
    Note:This Problem arises only for Popup Title window with custom context menuitem
    Regards,
    Karthik

    Hi Pradeep,
    I can see that the CreateTransactionUI class is part of sap.comcrmisaisacoredefault.jar.
    We tried to deploy this jar into this path:
    /usr/sap/FWX/JC91/j2ee/cluster/<server no>/apps/sap.com/home~cr_test/servlet_jsp/cr_test/root/WEB-INF/lib
    We have placed this file in all server nodes of the given path.
    But still error exists.
    What could be the reason?
    Thanks,
    Satish.

  • Error in JSP's for custom project created for SAP-SHRAPP crm/isa/web/b2b

    Hi All,
    we have NWDS 7.3, NWDI 7.3, JDK 1.6.
    Imported the track, created a new custom b2b project. Added the corresponding dependencied on the project folders.
    On build of the custom project, build was finished with some warnings. The depolyment was completed successfully.
    We are able to open the XCM settings of the custom project. And even the application for the custom project is running fine, ordes are being saved, without any error.
    However, when i open any JSP say order.jsp. It has some set of warnings and errors. The error description says ISACORE jar file is not accessible.
    Kindly help, how to solve this issue?
    Thanks
    Ekta
    PS. example of one of the error
    Access restriction: The type OrderChangeUI is not accessible due to restriction on required library D:\NWDS
    \eclipse\workspace.jdi\0\DCs\sap.com\crm\isa\isacore\_comp\gen\default\public\default\lib\java
    \sap.com~crm~isa~isacore~default.jar
    when i go to this location the JAR file is available.

    all the SC are of version 7.01
    Thanks!
         ED7
    o SAP_JTECHS.sca     sap.com      SAP_JTECHS      7.02 SP8 (1000.7.02.8.1.20110704191740)
    o SAP_BUILDT.sca     This is DTR component it will be in NWDI(DI BUILD TOOL)
    o SAP-JEE.sca     sap.com      SAP-JEE      7.02 SP8 (1000.7.02.8.1.20110705065623)
    o SAP-SHRJAV.sca
         SAP SHARED JAVA COMP. 7.01//
    SAP-SHRJAV      701 SP4 (1000.701.0.4.6.20110722065102)
    o SAP-SHRWEB.sca
         SAP SHARED WEB COMPONENTS//
    SAP-SHRWEB      701 SP4 (1000.701.0.4.6.20110722073940)
    o SAP-SHRAPP.sca
         sap.com      SAP-SHRAPP      701 SP4 (1000.701.0.4.6.20110722064714)
    o SAP-CRMJAV.sca
         CRM JAVA COMPONENTS 7.01//
    SAP-CRMWEB      701 SP4 (1000.701.0.4.6.20110722064233)
    o SAP-CRMWEB.sca
         CRM JAVA WEB COMPONENTS 7.01///
    SAP-CRMWEB      701 SP4 (1000.701.0.4.6.20110722064233)
    o SAP-CRMAPP.sca
                        sap.com      SAP-CRMAPP      701 SP4 (1000.701.0.4.6.20110722063254)
    o SAP-CRMDIC.sca
         sap.com      SAP-CRMDIC      701 SP4 (1000.701.0.4.6.20110722063636)
    o SAP-IPCMSA.sca
         CRM IPC MOBILE 7.01///
    SAP-IPCMSA      701 SP4 (1000.701.0.4.6.20110722064529)
    o STRUTS.sca
         This was for only CRM 5 I think you should ignore this SC    Note 917001 - XCM configuration failes on OS/400
    o TEALEAF.sca     This was for only CRM 5 I think you should ignore this SC   Note 900660 - TeaLeaf RealiTea Version 4.5 for CRM 5.0

  • 11g: Custom error handling for all application raised exceptions?

    Hi,
    the only thing I can find in the documentation regarding an error handler is this: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_adv.htm#BABEHFHI (26.8)
    However, this kind of error handler seems to ignore exceptions thrown in backing beans and underlaying business logic inplemented in app modules.
    Is there a way to globaly handle those exceptions and show an error message if an exception is throw or is the only way a catch block in each backing bean method?
    Thanks

    So, If I understand correctly, the only option is to redirect to exception handler view and show eror informatin there.
    If, however, we want to present errors in popup messages, we have to handle exceptions in all backing bean's methods, e.g.:
    catch (Exception ex){
    handleError(ex);
    public void handleError(Exception ex){
    FacesContext fctx = FacesContext.getCurrentInstance();
    FacesMessage message=
    new FacesMessage(
    FacesMessage.SEVERITY_ERROR,
    "Error",
    ex.getMessage());
    fctx.addMessage(null,message);
    Is that correct?
    Thanks

  • Unit test for J2EE application

    I am writting a Unit test for One J2EE application. The Application is built in such a way that makes unit testing extremely difficult.
    There are 2 things that contribute to the mess.
    1. Sping integration means all the config files are specified in web.xml independently, even though their beans rely on each other across files. End result is in a unit, I cannot try to load a bean because some of its dependencies are missing (ie. they are in a config file that the first file does not include). For this I tried to use AbstractDependencyInjectionSpringContextTests class to set the Spring Application Context when you are not in the flow but didn't success ed.If any one has use this please post the example.
    2. The application is using Errors interface of package org.springframework.validation. To write a test for any validator class you have to pass the object of Error in the validate method with the command object. Now my question is how you can set this Error object when you are not in the flow. For this I tried to use Mock object e.g Errors error;
    Mockery context = new Mockery();
    final Errors errorMock =context.mock(Errors.class);
    //call the validate object with mock object
    classObject.doValidate(cmdObject, errorMock)
    This thing doesn't work. It gives me below error message.
    unexpected invocation: errors.pushNestedPath("")
    no expectations specified: did you...
    - forget to start an expectation with a cardinality clause?
    - call a mocked method to specify the parameter of an expectation?
    Is there any way to get around these hiccups programmatically in unit tests?
    thanks...

    If you are doing unit testing, try to use straight JUnit4 without involving the Spring framework. Given that you do unit testing, you might not need Spring configuration in your unit test at all. You can programmatically instantiate the instance of the class under testing and either programmatically instantiate collaborating objects, or create mock objects for that purpose. If you are doing functional testing, you might need a Spring context after all. Understand that your tests are running in the different context than the complete application, so you would have to create separate application context for your test(s). You might have to go through the existing Spring configuration modules that you created for your application and re-jiggle them a bit so that they can be included both in your application context and your unit test context.
    Hope this helps.

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • Custom xml parser for EAR

    I am trying to specify a custom XML parser for my application to use as the default BEA one does not work with Apache Axis.
    I added the following to my weblogic-application.xml file:
    <xml>
    <parser-factory>
    <saxparser-factory>org.apache.xerces.jaxp.SAXParserFactoryImpl</saxparser-factory>
    <document-builder-factory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</document-builder-factory>
    <transformer-factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer-factory>
    </parser-factory>
    </xml>
    I also updated the Manifest file for my EAR to include the following:
    Class-Path: APP-INF/lib/xercesImpl.jar;APP-INF/lib/xml-apis.jar
    This is not working. Any ideas?
    Here is the docs i am following: http://edocs.beasys.com/wls/docs81/xml/xml_appscop.html#1075700

    Augie (guest) wrote:
    : XML Team --
    : I am a true beginner on XML, besides the basics, I am having
    : problem understanding how to use the parser. We have a
    project
    : that requires us to form XML docs using PL/SQL (print
    statements)
    : and send them via FTP to our clients. Our clients will then
    : parse the XML code that we put together and input the data
    into
    : their database. We are using XML as an EDI form.
    : I downloaded the parser, and tested, but cannot understand how
    to
    : actually do a parse on a .xml file. Something ran and
    returned,
    : but I cannot get a head/tail out of them.
    : My question is:
    : 1. How do I parse .xml files?
    I am not sure what parser or interface you are trying to use.
    Our command line ones will print the output of the parse to the
    screen. Our class files allow you to construct an in-memory DOM
    Tree representation that can be programaticly accessed. Review
    our samples to see how to do it.
    : 2. After parsing, is there a flatfile with all the data? where
    is
    : the parsed results?
    Not unless you use our print methods or pipe our commandline
    versions to the screen.
    : 3. Our client has Oracle 8.0.5, can the XML: Parser for C work
    : independently? How do you get parsed data into the database?
    All of our XML Parsers for C, C++, and Java can work
    independenmt of the database. However, only the Java version is
    currently configured to work with the XML SQL Utility (also
    available here) to get parsed data in and out of the database.
    Download it and take a look.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Creating a "context" for an application...or something like that

    hey all. I've got a console program that runs all the time, on a TimerTask. What I would like to do is create objects in the main class and have those objects available to other classes and threads generated by the stuff the TimerTask's thread creates, but without passing objects around. Sort of like one would do with servlet/jsp programming with contexts and the request scope and such.
    I come from a web background, and so I think about this very much like a "scope" thing, where objects can be created and put in the request scope, and then other objects can avail themselves of stuff in the request scope.
    What i'm really trying to do is create a DB Connection pool in the main class and have threads and such use the connections, but i don't want to pass the pool object around to all the different objects within the TimerTask's thread. But this is more a question of scoping or availability of objects than it is about DBCP, per se.
    I feel like I should have learned this stuff in java 101 way back when, but I didn't, or I forgot, and now i need to gitterdone.
    Any tips? Thanks os much.

    hey all. I've got a console program that runs all
    the time, on a TimerTask. What I would like to do is
    create objects in the main class and have those
    objects available to other classes and threads
    generated by the stuff the TimerTask's thread
    creates, but without passing objects around. Sort of
    like one would do with servlet/jsp programming with
    contexts and the request scope and such.In fact, with servlets and JSPs, the objects are passed around via a ServletConfig object (the servlet's public void init(ServletConfig config) method) for the application (ServletContext) scope. The request scope of course is passed along to the service methods in the ServletRequest object, as is the HttpSession scope. The PageContext is generated in a JSP at the beginning of the _jspService method...
    But anyway, that is not what you need to do... If you want one context that the whole application can use, you can create a Singleton class, and use a static method from the class (of a Factory Object) to generate the Context/pass around the already generated Context. Take a www.google.com search for Singleton and you should see what I mean. But, since you will be working with multiple threads, make sure you sinchronise your methods...
    I come from a web background, and so I think about
    this very much like a "scope" thing, where objects
    can be created and put in the request scope, and then
    other objects can avail themselves of stuff in the
    request scope.If you want more than one Context, then that is a bit more difficult. What I would do is have some sort of TaskFactory that generates your classes (Tasks) that run in the Timer. Follow the Servlet example of having a TaskConfig object that will hold a reference to the single ApplicationContext that all tasks share, then generates a new TaskContext that will serve individual threads. Pass this TaskConfig object into each of your class's init(...) methods. (Maybe have an AbstractTask that has an init(TaskConfig ) method that stores it in a protected class variable so each individual Task doesn't have to worry about it - like the GenericServlet does...)
    What i'm really trying to do is create a DB
    Connection pool in the main class and have threads
    and such use the connections, but i don't want to
    pass the pool object around to all the different
    objects within the TimerTask's thread. I think this is usually done with a Singlton, I could be wrong though... I beleive a search through the forums for Connection Pooling may provide some examples...
    But this is
    more a question of scoping or availability of objects
    than it is about DBCP, per se.
    I feel like I should have learned this stuff in java
    101 way back when, but I didn't, or I forgot, and now
    i need to gitterdone.
    Any tips? Thanks os much.

  • Context menu for customized selfwritten VI

    Hallo!
    Maybe someone knows and has time to share: is it possible to create a customized popup/context menu for a customized - self written VI (vide .jpg)? And as working with LV 2011 I have realised it's impossible to create a polymorphic VI out of other polymorphic vi-s right?  If anybody knew any walk through, I will be thankfull
    A.

    Dear Aleph,
    information about creating run time context menus can be found here: http://www.ni.com/white-paper/3171/en/
    Another soultion, is to create your own VI that will po up when a user uses his RMB on a specific object. This can be achieved by properly using the Event Structure. Let me know if you need more information.
    What do you mean by creating a polymorphic VI from a polymorphic VI?
    Best regards,
    Mateusz Stokłosa
    Applications Engineer
    National Instruments

  • Creating Complaints/Returns from external reference for Billing Documents.

    Hi Experts,
    I have question regarding Creating Complaints/Returns from external reference.
    My requirement is to fetch data for Billing Type, Billing Documents and other related from ECC system and to create Complaints/Returns using the same in Web UI.
    Is there any SPRO configuration as such so that we can pinpoint to the ECC system where it should fetch the data or is there be a custom development involved for the Drop down lists in Web UI?
    I know about the BADI CRM_COPY_BADI_EXTERN which is triggered when creating using reference, but I am not able to see where the method SEARCH_HELP_FOR_EXTERN_DOC or GET_SEARCH_HELP are triggered.
    I have gone through many forums within SDN but not able to find any solution. Please help!
    Regards,
    Mahesh

    Hi Ly,
    I wouldn't be able to share the code with you, but I would ask you to check with the functional counterpart regarding the important fields that are to be copied.
    What I did in my case is, based on the Billing document number passed from CRM in the RFC I hit the tables VBRK and VBRP for header and item data respectively.
    For pricing I passed the relevant fields from KONV table (KSCHL, KWERT, KAWRT etc..)
    For document flow VBFA.
    For partner VBPA.
    I faced issues only with pricing as there were many settings and pricing routine logic differences between CRM and ERP.
    Regards,
    Mahesh

Maybe you are looking for

  • SSO between SAP Portal 7.3 and Ruby on Rails

    Hello Everyone, We are planning to integrate SAP Portal 7.3 and a RoR application and I am wondering If someone can share some experience (If you have any of course) on how to establish SSO between SAP Portal and RoR. The SAP Portal will act as servi

  • I can't get my own videos in iTunes 6

    I just bought the new iPod video 30GB, and downloaded the new version is iTunes (v. 6) for my PC, and i am trying to import my own videos (yes, they are mpeg 4, so i know they are compatible with iTunes 6 and my new iPod). I found an article that sai

  • ACS 3.1: CSTacacs service failure on W2k SP3

    Hi all We are experiencing problems with our ACS server, whereby the CSTacacs services fails and the following errors are generated in the 'Event Viewer': 1) From the 'Application Log', in 'Event Viewer': CSTacacs could nto be started. Failed to init

  • Anyone have experience with using Oracle's free VirtualBox on a Mac?

    I'm a new Mac user, and am wondering about experiences with Oracle's VirtualBox for simultaneously running Windows software?  I have some professional software I use for work that is PC-based, and if I can use the free Oracle download it would be che

  • HELP !!! Discoverer Desktop/Plus Slowness

    We have a view build on wip_discrete_jobs_v and hr_all_organization_units in APPS. When the view runs it returns at a very good speed. Then we build a disco report, the first time we open the report, it took 10 seconds yesterday. However, when we try