Error while creating iViews after implementing custom hover menu in NW 7.3

Dear Experts,
We recently implemented a customized hover menu in Portal 7.3. Since then while creating an iView we are getting the following error :
java.net.MalformedURLException: Illegal character in query at index 1023: /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=pcd%3Aportal_content%2Fcom.sap.pct%2Fadmin.templates%2Fiviews%2Fcom.sap.portal.adminStudioRedirector&iview_mode=default&isEmbedded=false&workUnitIndex=0&oClass=com.sapportals.portal.iview&PagePath=pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.portal.wd_portal_content&SerWinIdString=&tabID=Tab054b1825_40f6_11e1_8169_00000ace34a2&workUnit=pcd%3Aportal_content%2Fcom.sap.pct%2Fadmin.templates%2Fiviews%2Feditors%2Fcom.sap.portal.appintegratorWizard&com.sap.portal.reserved.cnfgurl=pcd%3Aportal_content%2Fadministrator%2Fsuper_admin%2Fsuper_admin_role%2Fcom.sap.portal.content_administration%2Fcom.sap.portal.content_admin_ws%2Fcom.sap.portal.wd_portal_content%2Fcom.sap.portal.admin.studio.configuration&ComponentType=com.sapportals.portal.iview&NavigationTarget=navurl://e9d5d97dd3e55c9763a4973a016a3cc6&where=pcd%3Aportal_content&TarTitle=Portal Content Management&NavMode=0&sessionID=1326796101929&PrevNavTarget=navurl://032ac1f471768f5a16cac8e152546fd3&objectID=pcd%3Aportal_content&HistoryMode=1&com.sap.portal.reserved.wd.pb.restart=false&what=portal_content/templates/iviews/sap_bi7x_report_iview&workUnitUniqueId=054b1824-40f6-11e1-81f7-00000ace34a2&editorID=Tab054b1825_40f6_11e1_8169_00000ace34a2&displayName=New+iView&ClientWindowID=WID1326795999656
The error persists for all iView templates. Please provide your inputs.
Best Regards
Gaurang Dayal

Hi Gaurang Dayal,
The problematic part is the (first) space character within the parameter
TarTitle=Portal Content Management
You'd have to examine why this is not escaped.
Hope it helps
Detlev

Similar Messages

  • Error While Creating Iview?

    Hi Everyone,
    I Got the error while creating iview in the portal.
    Just i went Portal COntent->Folder->New->Iview
    500   Internal Server Error
      SAP NetWeaver Application Server 7.00/Java AS 7.00 
    Failed to process request. Please contact your system administrator.
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    The initial exception that caused the request to fail, was:
       java.lang.NoClassDefFoundError
         at com.sap.security.core.server.csi.URLChecker._isValid(URLChecker.java:289)
         at com.sap.security.core.server.csi.URLChecker.isValidURL(URLChecker.java:1202)
         at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.checkURL(AbstractURLGenerator.java:697)
         at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.applyWSRPTemplate(AbstractURLGenerator.java:1235)
         at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.computeWebResourcePath(AbstractURLGenerator.java:945)
         at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.computeWebResourceURL(AbstractURLGenerator.java:1078)
         at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.getWebResourceURL(AbstractURLGenerator.java:223)
         at com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator.getWebResourceURL(WDURLGenerator.java:377)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:407)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Thanks
    Subbarao

    Hi Subbarao,
    Is this a new installation. Check whether all post installation tasks (like patch upgrade) are completed.
    Also try restarting the server.
    Regards.
    Santhosh

  • Error while create iview in 6.2

    Dear EP friends
    I am getting below error while try to create the iview programmatically.
    Error:javax.naming.NoInitialContextException: java.lang.ClassNotFoundException: com.sapportals.portal.pcd.gl.PcdInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.sapportals.portal.pcd.gl.PcdInitialContextFactory]
    The version i am working here is
    6.0.2.33.0.Enterprise_Portal_Support_Package_2
    I included some of jar files of 6.4.
    any idea?
    plz reply
    thanx in advance
    with warm regards,
    S. Lakshmikanthaiah

    hi Detlev,
    thanx for ur response.
    I am following as the steps given in
    Browse Roles, Folders, Pages & iViews assigned to a user: EP6 SP2
    of Prakash Singh.
    His another one EP 6.4 worked fine.
    and libs i am using appropriated only,
    still i got that error.
    that is why posted my query
    thanx anyway
    Lakshmikantha

  • Error while creating iview of a BI report in CE

    Hi,
    I have created a iView of type BEx Web Application iView
    the steps are
    1st selected SAP NetWeaver BI
    then in parameter tab i have provided TEMPLATE=mytemplateid which i have copied from my bi report url.
    the bi system is already maintained in portal but when i am trying to preview the iView its getting error.
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 05:51_24/10/08_0026_22886750
    See the details for the exception ID in the log file.
    please help.

    Hi,
    Check this Thread may be usefull.
    /message/3079029#3079029 [original link is broken]
    Thanking You,
    Gopal

  • Error while creating IViews using collaboration API

    Hi
    I have created one Dynpage portal component, in that i would like to utilize collaboration API.
    I am keep on getting errors like "<b>The compilation unit directly references the missing type ...."</b>"
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sap.ip.collaboration.room.api.IRooms;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.*;
    public class Sample extends PageProcessorComponent {
      public DynPage getPage() {
        return new SampleDynPage();
      public static class SampleDynPage extends DynPage
         IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    Initialization code executed once per user.
    I have included the following jar files:
    bc.rf.framework_api.jar
    coll.shared.extension_api.jar
    coll.shared.roomobject_api.jar
    coll.shared.types_api.jar
    com.sap.security.api.ep5.jar
    and also i have included com.sap.netweaver.coll.shared in portal.xml as servicesreference
    Experts can you please help in the above problem
    I am sure u will get reward points.
    Thanks in Advance

    HI,
    You have to add the following jars apart from the jars you have mentioned
    1. kmc.util.core_api.jar
    2. umapi.jar
    To find jar files
    ==================
    Download and install the JAR Finder. how to is mentioned in this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2951">Weblog</a>. see what jar is required by copying the com.sap.ip.BaseException  from the error "compilation unit references................." and put the "BaseException" in the jar finder and search. from the given options select the correct jar "com.sap.ip.BaseException" right click and add to the project. You can add all the jars required by this method.
    Portalapp.xml
    ==============
    <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
        <property name="ServicesReference" value="com.sap.netweaver.coll.shared"/>
      </application-config>
    HI,
    use the BaseException etc the errors you get in NWDS to search for the jar. paste the BaseException and search in jarfinder.
    Message was edited by: Kirupanand Venkatapathi
    Message was edited by: Kirupanand Venkatapathi

  • Error while creating domain after OSB Installation OS:linux 64 bit

    Hi,
    OS is Linux 64 bit.. Oracle 11g.. Could you please suggest what I am missing in Installation of OSB or domain creation??
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    Application Template Selection:
    Available Templates
    |_____Basic WebLogic Server Domain - 10.3.3.0 [wlserver_10.3]x
    |_____Oracle BPM Suite - 11.1.1.0 [Oracle_SOA1] [2]
    |_____Oracle SOA Suite - 11.1.1.0 [Oracle_SOA1] [3] x
    |_____Oracle Service Bus OWSM Extension - 11.1.1.3 [Oracle_OSB1] [4]
    |_____Oracle Enterprise Manager - 11.1.1.0 [oracle_common] [5]
    |_____Oracle Service Bus Extension - Single Server Domain Topology - 11.1.1.3 [Oracle_OSB1] [6]
    |_____Oracle Service Bus Extension - All Domain Topologies - 11.1.1.3 [Oracle_OSB1] [7]
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.3.0 [wlserver_10.3] [8]
    |_____Oracle Business Activity Monitoring - 11.1.1.0 [Oracle_SOA1] [9]
    |_____Oracle WSM Policy Manager - 11.1.1.0 [oracle_common] [10] x
    |_____Oracle JRF WebServices Asynchronous services - 11.1.1.0 [oracle_common] [11]
    |_____Oracle JRF - 11.1.1.0 [oracle_common] [12] x
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.3.0 [wlserver_10.3] [13]
    ** CFGFWK-64040: The template you selected can't be applied because the
    ** following dependencies have not been satisfied:
    ** Unresolved ORs:
    ** OR for Oracle Service Bus OWSM Extension:11.1.1.3
    ** [/opt/oracle/Middleware/Oracle_OSB1/common/templates/applications/wlsb
    ** _owsm.jar]  <xml-fragment
    ** xmlns:fo="http://www.w3.org/1999/XSL/Format">
    ** <dom:requires name="Oracle Service Bus Extension - All Domain
    ** Topologies" version="11.1.1.3" colocated="true"
    ** xmlns:dom="http://xmlns.oracle.com/weblogic/domain-template"/>
    ** <dom:requires name="Oracle Service Bus Extension - Single
    ** Server Domain Topology" version="11.1.1.3" colocated="true"
    ** xmlns:dom="http://xmlns.oracle.com/weblogic/domain-template"/>
    ** </xml-fragment>
    Thanks,
    Sushma

    Usually, when you choose for example Oracle Service Bus Extension - Single Server Domain Topology - 11.1.1.3 [Oracle_OSB1], the dependencies are automatically chosen as well.
    If this not happening, just add the products it is suggesting in the error, such as Oracle Service Bus OWSM Extension - 11.1.1.3 [Oracle_OSB1] .

  • Error while creating webdynpro iview after  portal upgrade to ehp1

    Hello  All
    We have upgraded  our portal from 7.0  sp  15   to  portal  7.01  sp  3    .
    After upgrade we can create  iviews using portal components  but we are not able to create  iview using Iview template
    We are getting following  error  while creating  webdynpro java  iview
    java.lang.NoSuchMethodError: com.sapportals.portal.pcd.gl.PcdSearchControls.addExplicitAttributeCheck(Lcom/sapportals/portal/pcd/gl/IPcdAttribute;)V
         at com.sap.portal.pcm.iviewserver.cache.TemplatesCacheSrv.getPCDCatalog(TemplatesCacheSrv.java:184)
         at com.sap.portal.pcm.iviewserver.cache.TemplatesCacheSrv.refresh(TemplatesCacheSrv.java:589)
         at com.sap.newpage.pagewizardpanes.PageTemplateSelection.initTemplates(PageTemplateSelection.java:229)
         at com.sap.newpage.pagewizardpanes.PageTemplateSelection.wdDoModifyView(PageTemplateSelection.java:172)
         at com.sap.newpage.pagewizardpanes.wdp.InternalPageTemplateSelection.wdDoModifyView(InternalPageTemplateSelection.java:305)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
         at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1300)
         at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:327)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:869)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Regards
    Rajendra

    Hello Rajendra,
    please can you tell me, if you finally get a Solution for this Problem about  iviews creation with template Error after upgrade.
    Thanks and take Care
    Gedeon

  • Error while creating 2nd Material Receipt after reversal of 1st MR

    Dear,
    Facing an error while creating Material Receipt.
    The gate entry of this material is 123456789.
    The 1st MR was created on 10/02/2011 & no. was 12345 with Location ABC via Z T-code.
    Under Quality this product was Rejected with Location XYZ.
    Due to Material was Rejected in Quality this MR 12345 was reversed through MB01 which produced a Reversal number 67890.
    Now the material is again on its original Location ABC.
    Now when the user is again creating an MR on 17/03/2011 of this material present at ABC location via using Z T-code it is producing an error stating that M/R already processed against 123456789 gate entry.
    We have done these several cases before also and there was no error shown when we created the 2nd MR for the same material after its reversal has been made.

    Dear,
    Problem solved.
    The problem was in PO.
    The person had unchecked the GR-basediv which caused the real trouble. The MR number was not appearing in MB03 & material was rejected in the QA11 so it was reversed through MB01.
    When again the MR was being punched then it was stating that the "MR already processed for the Gate Entry."
    PO was changed, Bill No. was changed by adding "A" & later deleting this "A" from Table level.

  • Error While creating new iview

    Hi,
    I am trying to create an iview in Portal 6.0 & while creating iview getting following error
    Portal Runtime Error
    <b>An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.templateSelection
    Component Name : com.sap.portal.admin.templateselectionwizard.default
    The exception was logged. Inform your system administrator..
    Exception id: 12:22_20/12/06_0007_4809150
    See the details for the exception ID in the log file</b>
    & also its showing followin info
    12:25:04 - An editor is already open for this object. Use the controls in the editor to change the editing mode.
    Can anyone pls guide me in solving this proble ? What could be the reson for this error ? I am logging with administrator.
    Thanks in advance!
    Smita

    Hi Smita,
       The error shows that Editor is already open in other session for this iview.
    Have you checked whether this iview got locked ?
    To unlock the iview.Go to System admin->Monitoring->Portal->Object locking
    there you can unlock the object.
    Hope it helps
    Regards
    Rani A
    Dont forget to assign points if Useful

  • Error while creating Vacancy requisition object (NB) after upgrading EHP4

    Hi All,
    We had alreay E-Rec system with EHP2 and using last 1 year. Now based on Client requirement, we have upgrdaed to EHP4. After completing EHP4 upgradation, we are getting error while creating vacancy requisition object after all level of approval.
    Can any body help how to resolve this issue?
    Thanks in advance.
    Regards,
    Sreelatha

    Hi
    Hope SAP Note 1241014 will be useful to you.
    Best Regards
    Reddy

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error while creating customer account sites from backend

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Duplicate post.
    Error while creating customer account sites
    Error while creating customer account sites

  • Getting Error While creating the iViews in EP.

    Dear Experts,
    I am getting the below error while creating the new iViews in the EP.
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/pb.
    Exception id: [00142A4FD4AA006400000B0F00005BA80004CAFF2F033C5E]
    Please help me to resolve this error.
    Thanks  & Regards,
    Sachin Sable

    Hi ,
    Check the possible causes of error
    http://help.sap.com/saphelp_nw70/helpdata/en/f4/1a1041a0f6f16fe10000000a1550b0/content.htm
    and check the logs related to that exceptionid.
    Koti Reddy

  • Error while creating new user in Oracle 11i EBS

    I am getting following error while creating new user. How solve this issue?
    “Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.

    Following is the text from Note for Custom Password Validation logic:
    Customers who wish to use their own password validation logic may do
      so by writing their own Java classes that implement the
      oracle.apps.fnd.security.PasswordValidation Java interface.  The
      interface requires 3 methods to be implemented:
      1) public boolean validate(String user, String password)
        - This method takes a username and password, and then returns true
      or false, indicating whether the user's password is valid or invalid,
      respectively.
      2) public String getErrorStackMessageName()
        - This method returns the name of the message to display when the
      user's password is deemed invalid (i.e., the validate() method returns
      false).
      3) public String getErrorStackApplicationName()
        - This method returns the application shortname for the
      aforementioned error message.
      After writing the Java class to perform customized password
      validation, the customer must then set the value of the profile option
      SIGNON_PASSWORD_CUSTOM to be the full name of the class.  If, for
      example, the name of the Java class is
      oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
      SIGNON_PASSWORD_CUSTOM profile option must be
      oracle.apps.fnd.security.AppsPasswordValidation.  Note that AOL/J
      will attempt to load this class dynamically.  Hence it is necessary to
      make the class accessible by AOL/J.  This means that in Forms, the
      class must first be loaded into the database using the loadjava
      command.
    You will need to apply the following patches for 11.5.1:
       1344802
       1363919
       1472974
       1351004
       1377615
    You will need to apply the following patches for 11.5.2:
       1377615

  • Error while creating new projects using api

    Hello,
    I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
    Source template ID is invalid.
    ===
    My code is as follow:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    define no=&amg_number
    DECLARE
    -- Variables used to initialize the session
    l_user_id NUMBER;
    l_responsibility_id NUMBER;
    cursor get_key_members is
    select person_id, project_role_type, rownum
    from pa_project_players
    where project_id = 1;
    -- Counter variables
    a NUMBER := 0;
    m NUMBER := 0;
    -- Variables needed for API standard parameters
    l_commit VARCHAR2(1) := 'F';
    l_init_msg_list VARCHAR2(1) := 'T';
    l_api_version_number NUMBER :=1.0;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    -- Variables used specifically in error message retrieval
    l_encoded VARCHAR2(1) := 'F';
    l_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_msg_index_out NUMBER;
    -- Variables needed for Oracle Project specific parameters
    -- Input variables
    l_pm_product_code VARCHAR2(30);
    l_project_in pa_project_pub.project_in_rec_type;
    l_key_members pa_project_pub.project_role_tbl_type;
    l_class_categories pa_project_pub.class_category_tbl_type;
    l_tasks_in pa_project_pub.task_in_tbl_type;
    -- Record variables for loading table variables above
    l_key_member_rec pa_project_pub.project_role_rec_type;
    l_class_category_rec pa_project_pub.class_category_rec_type;
    l_task_rec pa_project_pub.task_in_rec_type;
    -- Output variables
    l_workflow_started VARCHAR2(100);
    l_project_out pa_project_pub.project_out_rec_type;
    l_tasks_out pa_project_pub.task_out_tbl_type;
    -- Exception to call messag handlers if API returns an error.
    API_ERROR EXCEPTION;
    BEGIN
    -- Initialize the session with my user id and Projects, Vision Serves (USA0
    -- responsibility:
    select user_id into l_user_id
    from fnd_user
    where user_name = 'SSHAH';
    select responsibility_id into l_responsibility_id
    from fnd_responsibility_tl
    where responsibility_name = 'Projects Implementation Superuser';
    pa_interface_utils_pub.set_global_info(
    p_api_version_number => l_api_version_number,
    p_responsibility_id => l_responsibility_id,
    p_user_id => l_user_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status);
    if l_return_status != 'S' then
    raise API_ERROR;
    end if;
    -- Provide values for input variables
    -- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
    -- by the user. In this case we select a pre-defined one.
    select lookup_code into l_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Conversion';
    -- L_PROJECT_IN: We have to provide values for all required elements
    -- of this record (see p 5-13, 5-14 for the definition of the record).
    -- Customers will normally select this information from some external
    -- source
    l_project_in.pm_project_reference := 'AGL-AMG Project &no';
    l_project_in.project_name := 'AGL-AMG Project &no';
    l_project_in.created_from_project_id := 1;
    l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
    l_project_in.project_status_code := 'UNAPPROVED';
    l_project_in.start_date := '01-JAN-11';
    l_project_in.completion_date := '31-DEC-11';
    l_project_in.description := 'Trying Hard';
    l_project_in.project_relationship_code := 'Primary';
    -- L_KEY_MEMBERS: To load the key member table we load individual
    -- key member records and assign them to the key member table. In
    -- the example below I am selecting all of the key member setup
    -- from an existing project with 4 key members ('EE-Proj-01'):
    for km in get_key_members loop
    -- Get the next record and load into key members record:
    l_key_member_rec.person_id := km.person_id;
    l_key_member_rec.project_role_type := km.project_role_type;
    -- Assign this record to the table (array)
    l_key_members(km.rownum) := l_key_member_rec;
    end loop;
    -- L_CLASS_CATEGORIES: commented out below should fix the error we get
    -- because the template does not have an assigment for the mandatory class
    -- 'BAS Test'
    l_class_category_rec.class_category := 'Product';
    l_class_category_rec.class_code := 'Non-classified';
    -- Assign the record to the table (array)
    l_class_categories(1) := l_class_category_rec;
    -- L_TASKS_IN: We will load in a single task and a subtask providing only
    -- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
    -- the task record)
    l_task_rec.pm_task_reference := '1';
    l_task_rec.pa_task_number := '1';
    l_task_rec.task_name := 'Construction';
    l_task_rec.pm_parent_task_reference := '' ;
    l_task_rec.task_description := 'Plant function';
    -- Assign the top task to the table.
    l_taskS_in(1) := l_task_rec;
    -- Assign values for the sub task
    l_task_rec.pm_task_reference := '1.1';
    l_task_rec.pa_task_number := '1.1';
    l_task_rec.task_name := 'Brick laying';
    l_task_rec.pm_parent_task_reference := '1' ;
    l_task_rec.task_description := 'Plant building';
    -- Assign the subtask to the task table.
    l_tasks_in(2) := l_task_rec;
    -- All inputs are assigned, so call the API:
    pa_project_pub.create_project
    (p_api_version_number => l_api_version_number,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_workflow_started => l_workflow_started,
    p_pm_product_code => l_pm_product_code,
    p_project_in => l_project_in,
    p_project_out => l_project_out,
    p_key_members => l_key_members,
    p_class_categories => l_class_categories,
    p_tasks_in => l_tasks_in,
    p_tasks_out => l_tasks_out);
    -- Check the return status, if it is not success, then raise message handling
    -- exception.
    IF l_return_status != 'S' THEN
    dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
    dbms_output.put_line('Error: ret status: '||l_return_status);
    RAISE API_ERROR;
    END IF;
    -- perform manual commit since p_commit was set to False.
    COMMIT;
    --HANDLE EXCEPTIONS
    EXCEPTION
    WHEN API_ERROR THEN
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    WHEN OTHERS THEN
    dbms_output.put_line('Error: '||sqlerrm);
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    END;
    ===
    Msg_count: 1
    Error: ret status: E
    ERROR: 1: Project: 'AGL-AMG Project 1123'
    Source template ID is invalid.
    PL/SQL procedure successfully completed.

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

Maybe you are looking for

  • How do I convert TC sparse bundle to disk image?

    Ok, this question could be cross-listed under a number of threads, so I had to just pick one... A few months ago, the HD in my MB was clearly dying, so I replaced it with a larger, faster drive. All good, until I realized I had been close to maxing o

  • Org unit not visible in the search

    Hi All, In the master data maintenance of the organization management , we have created an sales organization unit (O 50000XXX). Function and attribute values for sales scenario has been maintained. Object permitted in determination check box also ch

  • DBAdapter polling for new or changed records not issuing callback?

    I have a process which includes a partner link with a database adapter. The database adapter is to poll a table for new records using an external database server. I have no relationships setup, it's a single-table query. The adapter is configured to

  • Why does my project not turn out right when I export my movie?

    I am creating projects for a church doing announcements via video.  Once the project is created and my timeline complete, I export the project to my desktop.  It often creates strange anomlies duplicating different parts of the project and replacing

  • Crystal Reports Language Pack

    Hi, I have developed an application that uses CR Basic for Visual Studio 2008. This application use the CRRedist2008_x64.msi / x86.msi. On the Page https://websmp230.sap-ag.de/sap%28bD1kZSZjPTAwMQ==%29/bc/bsp/spn/bobj_download/main.htm   i found diff