Problem with IView Callable in GP
Hi Guys,
I encounter a similar problem to the one in thread Problem to execute a Callable Object in UWL iView doesn't work in my GP process at all. I always get the error message in GP Runtime when it comes to an iView callable: The portal page builder required to execute this callable object is not available.. If I open the corresponding task in UWL I get: "cannot get the process instance, please contact your system administrator.". The messages look familiar, but happen in a totally different situation.
I also get the modified config file, no help. So could any of you figure out what the problem is? Thanks.
Ge
try this uwl config file
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd' [
]>
<UWLConfiguration version="2.0">
<ItemTypes>
<ItemType name="uwl.task.gp" connector="GuidedProceduresConnector" defaultView="uwlTaskGPView" defaultAction="launchGP" executionMode="default">
<Actions>
<Action name="launchGP" groupAction="no" handler="IViewLauncher" referenceBundle="launch_sap" returnToDetailViewAllowed="yes" launchInNewWindow="no" launchNewWindowName="GPWindow" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="DynamicParameter" value="app.processId=${item.externalId}"/>
<Property name="page" value="pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance"/>
<Property name="app.processId" value="${item.externalId}"/>
<Property name="System" value="SAP_LocalSystem"/>
</Properties>
</Action>
</Actions>
</ItemType>
</ItemTypes>
<Views>
<View name="uwlTaskGPView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.gp" columnOrder="subject, process, creatorId, createdDate, dueDate, status" sortby="dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom">
<Descriptions default="Guided Procedures">
<ShortDescriptions>
<Description Language="de" Description="Guided Procedures"/>
<Description Language="en" Description="Guided Procedures"/>
</ShortDescriptions>
</Descriptions>
<DisplayAttributes>
<DisplayAttribute name="phase" type="string" width="" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Phase">
<ShortDescriptions>
<Description Language="de" Description="Phase"/>
<Description Language="en" Description="Phase"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="process" type="string" width="" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Process">
<ShortDescriptions>
<Description Language="de" Description="Process"/>
<Description Language="en" Description="Process"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
</DisplayAttributes>
<Actions>
<Action name="launchGP" groupAction="no" handler="IViewLauncher" referenceBundle="launch_sap" returnToDetailViewAllowed="yes" launchInNewWindow="no" launchNewWindowName="GPWindow" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="DynamicParameter" value="app.processId=${item.externalId}"/>
<Property name="page" value="pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance"/>
<Property name="app.processId" value="${item.externalId}"/>
<Property name="System" value="SAP_LocalSystem"/>
</Properties>
</Action>
</Actions>
</View>
</Views>
</UWLConfiguration>
Similar Messages
-
Problem with Background Callable Object
Hi All,
I am trying to create a background callable object in GP. From my understanding and according to the help document here is what I did:
- Generated a deployable proxy development component using the Top down approach.
- Created a Java Development component which implements the interface IGPBackgroundCallableObject. This Development component has the proxy object generated in Step 1 in the Used DCs. Internally this class does a JNDI lookup to the deployed Webservice Client and executes the webservice. Then I add this class as a public part in the Development Component.
- Create a J2EE Library that has the public part of the class generated in Step 2 as the Used DCs.
- Deploy the Library and use that in the GP Design time to create the Callable object.
Following are the problems that I am facing:
- The Java class that consumes the deployable proxy does not seem to recognize the classes that are present in the proxy object. Even though there is a reference to it.
- If we try to include the proxy project in the Java Build path of the class it simply removes the link at build time.
- At one instance it somehow succeeded during the build phase and I deployed the library to the J2EE engine but while testing the callable project it came up with a NoClassDef exception. Basically it was unable to find the proxy objects classes.
I am not sure if I am doing anything wrong or the process that I am following is not right. I would appreciate if anyone could help me understand what the problem is and how do we go about achieving the above scenario.
Best regards,
SudhiHi Jorgen,
This behavior is completely normal. It can seem awkward but what you described is somehow logical.
Let's say you have three actions, the second one is the email notification. When completing the first action, the second action is triggered. As it is a background callable object, it is put into the queue and wait for processing. As the refresh of the screen is faster than the processing of the callable object, the next action (the third) is not yet active/ready to be processed.
When the email is sent (i.e. the background callable object executed), a callback takes place and the next activity is triggered. Then, the 3 action is active and can be shown.
Due to technical restriction of Web Dynpro, it is not possible to refresh the screen when the action is ready to be processed. The user has to refresh it explictly.
With SP12, the processing of the queue has been improved and it's much more faster than before. The "problem" you noticed shouldn't be there anymore.
Hope this helps.
David -
Hi,
When copied and view the url in a new window the following problem is coming.
can any one help, to generate url for my iview.
Current url: "http://ps5207:50300/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fsriram2!2ftestiview?sap-config-mode=true"
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Access denied (Object(s): portal_content/sriram2/testiview).
Exception id: 10:51_14/08/07_0096_38481850
See the details for the exception ID in the log file "hi Ram,
your URL contains the port and other info which we get for the iViews being displayed in portal.
URL iviews are for simple URLs....copying the iview address as such and putting this under the URL iView will not work I guess.
better try the quick links for this.
just search for quick links in the forum..you will get enough answers on how to do this.
Cheers........ -
Hi All,
I am using two webdynpro iviews in a page .. i want the page to be displayed only after two iviews are loaded .. so i thought of using embedded property , but i came to know that both iviews will be refreshed if anyone of the ivews gets refreshed ... what exactly mean by refresh .. will the iview be loaded again .. if so is there any way to avoid this??
Regards,
RHi,
Read <a href="http://help.sap.com/saphelp_nw70/helpdata/en/37/21dd3f92c4f306e10000000a1550b0/frameset.htm">here</a> about Embedded Isolation Method and <a href="http://help.sap.com/saphelp_nw70/helpdata/en/b5/8d977463334342be192228d2824fe1/frameset.htm">here</a> about URL Isolation Method.
Roy -
Problem with using Callable Statements via JDBC/JSP
Hi Pals,I have this scenario;
If a stored procedure has being created for me on Oracle database and i need
to execute the stored procedure via my JSP ,where i capture some parameters in
my JSP,send this parameters to the Stored Procedure . Then the Stored procedure decides if its an Update or Insert depending on the PL/SQL(Stored Procedure) code on database.
How do i go about this using The CallableStatement java API and obviously JDBC.
All suggestions will be appreciated and codes as well.
Cheers.This is a basic question about how a CallableStatement works in JDBC. Read the documentation on CallableStatement in the JDK. If you are having trouble understanding something in the JDK, come back here and ask a specific question.
-
Problem with small text in iview header
hi,
i got a little problem with iView header.
I've set 2 pages containing the same iViews. The 2 pages have layout (1 column full width -- standard) and the 2 pages have the same properties, themes.
The problem is that in the first page the header text is very small and in the second one the header text display correctly.
Have anyone had this problem and how did you solve it ?
Thanks in advance.Hi,
I don't have a straight answer but:
1. Have you tried creating a copy of the page which is working correctly?
2. Why do you need two pages with the same content? Personally, I can't see any reason for maintaining two identical objects.
Roy -
Problems with Callable Statement
Hi All,
I have a problem with the callable statement that contains stored procedure.Here main thing i want to know is that can a stored procedure can be used for a database like Access.Because i am using Access as a database here.In which i have created the table Students.
The table Students contains 3 fields they are name,amount & balance.
The program is compiling well but during the runtime it is showing an error:-
"Syntax error in Create Table" .
For ur reference i have posted the code:-
import java.io.*;
import java.sql.*;
public class CallStatDemo
public static void main(String arg[])
Connection con;
CallableStatement cs;
Driver dr;
String str1,str2;
int in1,in2;
double d1;
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:Ananth"); //the dsn name is Ananth
init(con);
if(con==null)
System.out.println("Connection not Established");
else
cs=con.prepareCall("{call Payment(?,?)}");
cs.setString(1,"Raman"); //name
cs.setString(2,"2000"); //amount
cs.execute();
catch(Exception e)
System.out.println("Error Message : "+e);
static void init(Connection con)
throws SQLException
Statement stmt = con.createStatement();
stmt.execute ("create or replace procedure Payment(name in text,amount in text)is " +
" begin"+
" update Students set balance=balance-amount where name =name;"+
"end Payment;");
stmt.close();
Thanx,
m.ananthuI have no clue if Access supports stored procedures, and this surely isn't related to JDBC at all. Did you check your Access documentation?
Your posted code does not contain any CREATE TABLE statement, so where do you get your error (which line)
Most probably Access does not support stored procedures. To verify that, you should execute your CREATE PROCEDURE statement from within Access, to verify that it is a supported statement. -
Problem with JavaScript in URL iView
Hi,
I am facing a problem with javascript when i am trying to access my application through URL iView. In the javascript window.top is used to access the frames in the window. But the EP is not recognizing it as valid. what exctly the problem and please suggest me a solution.
Ashok.Hi,,
thanks for the quick reply. But what i asked was different. I will put it in different way. I have deployed a application in Web Application Server and trying to access it through URL iView. My application is pure J2EE application with html,jsp and JS files. In javascript we used window.top property of the java script which is working fine MS IE. The problem is window.top is a IE specific property which is not having any equallent open standerd so EP is throwing a java script error. As I know the only possible solution for this problem is inherating IE rendaring capabilities to iView(i.e iFrame). is there any way to do that?
Ashok. -
Caching problem for iViews with URL parameters
Hi,
We have a big problem with <b>iView caching.</b>
Our objective is to use <b>SAP Netweaver Portal 2004s & External Facing portal </b> for a public Internet Portal
For performances reasons we need to activate iviews caching on the principal iviews. But the problem is that a page called with different parameters generates exactly the same html result
<u>example --> The display of a news item:</u>
/irj/portal/anonymous/index.htm?rid=/news_123.xml
gives the same cached result as
/irj/portal/anonymous/index.htm?rid=/news_456.xml
The caching level is "shared" because all users are anonymous !
The iview caching seems to be occuring on component (iView) level and not on URL level
Can someone help ?
At the moment we have performances of 10 seconds for a page, and with caching it's becoming less than 1 second, so we really need the caching !!!
Thanks
LaurentHello
I hope you get your answer since, nevertheless it could help other.
Have you tried to put the cache level to "session" instead of "user" or "shared" at the iview level?
Regards
Benoit -
Problems with MDM 5.5 SP05 Portal Content - ResultSet iView
Hello Experts,
We are having problems with standard iViews from MDM 5.5, more specific with ResultSet iView. We created an iView using English as default browsers language but our client wanted it in Portuguese, so in the MDM Repository both languages were defined and used in MDM Data Manager, when passed to the Portal iView an error occur, but only in a ResultSet iView from the MDM Portal Content, the others iViews (itemDetails, PicklistSearch, etc...) are shown in Portuguese, and we cannot figure out why it works fine in English and not in Portuguese. We left the default language defined by clients browser. Below Im sending the LOG, which by the way, doesn't help much, but I put it also here. Any ideas of what should I do ?
LOG ERROR:
java.lang.IllegalArgumentException: unknown format type at
We are using Portal 7.0 SPS11 and MDM 5.5 SP05 - Portal Content in a Win2003/Oracle server each.Alex,
sorry to disturb you with this issue, can you explain me basic steps in order to setup standard MDM iviews from the portal?
I mean, I have already installed all standard mdm business content, and also have configured system and aliases in the portal to connect to my mdm repositories. Those system/aliases are working propperly.
But, when I try to preview standard MDM iviews/pages I got several JAVA errors in trace logs.
Specific iviews are: Item Details, Show products, etc..any iview execution fails.
So, am I missing something?, do i have to create a specific user in portal?, assign specifi roles or groups???.
Platform is: nw2004s SR2, SP11, MDM content 5.5
Thank you in advance. -
Problem with DiscussionGroups iView
Hello Yogi/Robert,
I have a problem with my discussion groups iview.
I am using the discussion groups iView, and layout set is DiscussionGroupsContributor. The iView is using the /discussiongroup folder to store the discussions created.
Here's the problem: all the discussions created are stored in the same folder, and every new room created is able to view the same discussions.
I want to be able to restrict discussions to different rooms, so that members of one room cannot view/read the discussions from another room.
Please,how can I get this done...it is very urgent!!!
Thanks in advance.
CollinsHi Collins,
have a look on how the room template "SAP_Standard_Template_2 (Read only)" is configured and configure your template in the same way.
You need two Room Extensions, one for the DiscussionPermission and the second for Discussion Persistency. In the second a preconfigured room extension CM store is used (here cmDocuments with the label "Documents"). The output parameter "discussion_path" is mapped on the Path parameter of the RoomDiscussion iView on the RoomDiscussion Page.
So the sentence "<i>For data for discussion groups inside rooms, the system determines the path to the storage folder automatically.</i>" is only correct if you work with room extensions as mentioned above.
If you need more information on CM Room Extensions have a look at this link: http://help.sap.com/saphelp_nw04s/helpdata/en/f2/3c9041eedda009e10000000a155106/content.htm
Hope this helps,
Robert -
Problems with the postal code in address iview ESS.
I would greatly appreciate if someone answer this threat. I am having this big problem with the address iview. It is not possible to change the postal code in the address iview.
Can you explain the issue? Means for which country this issue is coming. We faced similar issue. There is some bug in ESS/MSS package itself. You send me details of issue at [email protected] I will reply you back with OSS message answered by SAP if that is a bug.
-
Problems with the "my tasks" iView
Hello,
we use the EP 6 SP 09.
I have problems with the "my tasks" iView (com.sap.netweaver.bc.uwl.ui.uwl). The first problem is, that the user get no e-mail if anybody give him a task (Options: Notification = Notify on Updates, Completion ...). The next problem I have is, if a user (without admin rights) click on the button "Personalize" he get an empty window. But a user with admin rights get the window with the "Personalize" view.
Can anybody help me? Where are the possibility to customizing?
kind regards
Jochen Kormannshaushi,
The personalization tray is only visible if the iView tray is visible.So make sure that iView tray is visible.
Also u can look into followinw links.
https://weblogs.sdn.sap.com/weblogs/topic/22
Think outside the box - enhance processes with Universal Worklist Action Handlers!
Regards mujjammil -
Page Layout Problems with embedded iViews
Hi all,
We are having problems with the position of the iviews in the layout page using embedded iviews. Sometime load in one order and other times in another one. I need that the iviews load in the same order always.
Any idea, please?
Thanks for all.Hi José,
if in fact this is the case, then I would expect that the single iViews are called via different threads. If this is the case, then I would implement within the iView to wait for some result provided by the iView, which should be loaded first (for example, by putting some certain value into the http session object).
For deeper discussions on this topic see and
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
Problem with Tools Area iView Creation - Help Needed.
Hi Guys,
I am having a small problem with the Tool Area Par, I downloaded the Par and have edited it and then redeployed it on the Portal, however when I am creating an iView I am getting the Following error:
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/every_user/general/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.toolAreaiView
Component Name : null
Page could not create the iView.
See the details for the exception ID in the log file
Can anyone suggest me what could be wrong and why I am not able to see the Iview and why I get this exception.
Thanks,
John.Log File:
[code]
Component : com.sap.portal.navigation.toolarea.default
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.ToolAreaiView of Portal Component com.sap.portal.navigation.toolarea.default because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 26 more
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.ToolAreaiView
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@2086d]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@695f94]
References:
not registered!
Resources:
C:
usr
sap
J2E
JC00
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
com.sap.portal.navigation.toolarea
private
classes
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 more
[/code]
Maybe you are looking for
-
Issue with Migration of Users/groups in Essbase
Hi, am trying to migrate the users specific to the application using Advanced option through Migration Wizard (EAS 716)..But i see the users with the application on old box and when i check it after migration, am not able to see the users related to
-
Need to add Plant name to PO list in SUS SRM 5.0
We are looking into adding the plant name to the 'List of Purchase Orders' screen. Just checking to see if anyone has already done that. If so would you please guide me on how to do that. Thanks Krishna
-
A50 wlan intel 2200bg dont work
I have a problem with the 2200bg wireless network card. Device manager recognize it, but it wont start.... I reinstalled the recovery cd from toshiba but it still dont work. (it has an ! at the device manager and code 10) Can anybody help me ?
-
Createing a physical standby database.
Hi, Can we create a physical standby database with in a single system in windows. If possible please please help me how to do. Thanks and Regards Poorna Prasad
-
Hi. I have another problem. I try to send a message to a topic destination, but it doesn't persist (dest. is always empty). No errors and the log and seems to be fine. I post my JAVA code, some metrics and a log after starting the JAVA class. "For pe