Fixed header in Web Dynpro
Hi all,
I was asked to make a fixed (non-scrollable) header in Web Dynpro.
I placed two ViewContainer-elements and linked two views to the main view - one view for the header on the top, another for the body of the document. But it doesn't work - the whole document is scrollable.
Who could help me and has an idea - how can I organize in Web Dynpro that the header is always on the top?
Thanks,
Oleksandr
Hi Oleksandr,
I have achieved this by doing the following:
Create 2 Views-> View1(Main) , View2(Header).
In your main view create one "ViewContainerUIElement" (VCU) for header and change the layout of your rootelement conatiner to Matrixlayout now change the layout of the header ViewcontainerUIelement to MatrixheadData.
In your Main view create another "ViewContainerUIElement" for your content and change its layout to MatrixheadData as well.
Now in your header view insert UI element Image and again change the layout of rootelementcontainer to Matrixlayout and also of Image to matrixheadData.
In your content View change the layout as well to Matrix and just add few UI elements as per your need.
In your window add header view to Main view header VCU and content view to content VCU.
Test your application and it should be fine.
If you are still having the problem with the header scroll bar assign width and height to your image you may also try assigning the width to your header VCU.
Hope this is helpful.
Regards,
Abhinav
Similar Messages
-
Any way to get HTTP header in web dynpro Java?
Is there any way to get HTTP header in web dynpro java? This method gives me the params. Is params same as header? It doesn't have any way to retrieve header data. I am on NW 7.0.19
WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("param");Dear Faraz,
I'm afraid the code you've pasted is only to retrieve URL parameters.
Have you tried this document to see if it offers any good hint:
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9]
Not sure if you can process the HTTP header with a WD4J.
An alternative could be to develop some Portal component in plain JAVA working as a proxy to call your WD4J afterwards.
That portal component would process your HTTP header and forward any parameter to your WD4J.
But this is me just guessing.
Kind Regards
/Ricardo -
Design header in Web Dynpro for java
Dear experts
I used PageHeader UI Element for design header in web dynpro for java. How to insert a image and set padding logo in page header?
Ex : Create a SAP header includes the content as SAP logo, application title, functions, user name, logout button.
Thanks.Hi,
I couldn't understand your requirement for keeping an image in page header but i suggest you not to do so, because it is not a good practice and creates a performance issue. Page header UI element is not much customizable for same purpose and should not contain interactive UI elements according to [UI Element Guide|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b06c8c9a-19a4-2b10-d985-9ae7a4383478]. You can also refer to the same document for the usage of the Page header and other UI Elements its a very useful and nice article.
Regards
Jeetendra -
Hi,
Iam using web service model. I have to send some parameters through SOAP header. How can i do this?? pls help.Hello Sujesh,
There is a posibility to use SOAP Header if you are using PHP. If yes have a look at this link
http://uk.php.net/manual/nl/function.soapheader-soapheader.php
if no, sorry I have no clue.
Regards,
Dharmi -
Testing thru NWDS: Error replaying a recorded Web dynpro java application
Hello Experts,
I am trying to test a web dynpro for java application using the record and replay facility provided in NWDS. I have gone through the documentation provided under the head "Testing Web Dynpro Applications in the Developer Studio" at help.sap.com
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/c1/c6213e225f9a0be10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/c1/c6213e225f9a0be10000000a114084/frameset.htm</a>
The testing seems pretty straight forward..
I am able to record a web dynpro application and it generates a test script file with extension .testscript but when i replay the generated test script it gives me the following error:
<b>-->Contacting XML Client on Server to get initial XML document.
ERROR: Contacted the Xml client on the J2EE Server, but did not receive an Xml document from it.
******************************</b>
or sometimes this error:
<b>-->Contacting XML Client on Server to get initial XML document.
ERROR: Cannot contact the XML Client on the J2EE Server.
******************************</b>
Seems like some configuration needs to be done at the J2EE server level enabling some XML service etc.
I will be highly obliged if someone can guide me how to remove this error and replay the recorded application..
Regards
SundeepHi all,
if anyone has any knowledge of this subject plz reply....
Regards
Sundeep -
Sub header in a salv grid in web dynpro abap
Hi All,
How to create sub header in a salv grid in web dynpro abap?
Please help in this.
Header
Subheader1
Subheader2
Then after this columns will starts.I don't believe that is possible with the ALV directly:
[http://help.sap.com/saphelp_nw70/helpdata/EN/86/641b88c9034eebacb26ba7fbb17981/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/86/641b88c9034eebacb26ba7fbb17981/frameset.htm]
The closest you could probably get is to put your ALV within a Tray or Group and put your main header in the the Tray or Group caption. Either that or just put a textview element above the ALV and set the design of the textview to one of the header values (depending upon the size you want). -
Problem in changing CAPTION (header) of a View in Web dynpro component
Hi All,
I want to change the Caption (header) text of a View in Web dynpro component. But when i transport it the changes are not reflecting in other systems.
Also when i activate the Web dynpro component in development system, it issues a message "The text belongs to package $TMP". But the Web dynpro component is assigned to a custom package.
Any pointers to resolve this is appreciated.
Thanks in advance.
Regards,
Navin.Hi
Please check the 'text' property of the caption.
e.g : If you are using OTR to bind the text then it might be possible that the OTR text belongs to $TMP package.
Please explain how have you binded the caption ?
Regards,
Puneet -
How to group few columns in ALV in web dynpro under a common column header?
Hi All,
Please let me know the way to group few columns in ALV display under a common column header in a web dynpro application .
For e.g.
year
| Q1 | Q2 |......
Thanks in advance.
Regards
ArchanaHi Archana,
Creating a group header is possible in case of normal Table UI element. I don't think any such functionality exists in case of ALV. Just go through Thomas' comments in this thread: header group in wd alv.
I hope it helps.
Regards
Arjun -
How to fix few rows in ALV after filtering on a column in Web Dynpro ABAP
Hi,
I have the following requirement:
In an ALV, when i filter based on a column, then this filter should not be applied to 2 of its rows.
These rows relate to totals. The totals are manually calculated as they require other component information too.
Along with the filter result, these total rows have to be displayed.
Let me know in case ALV in Web Dynpro ABAP supports this functionality.
Regards,
RekhaHi,
ALV table does not support this functionality.
You can display the total in an another table instead.
I had the same requirement with total and had to display the totals separately.
Thanks,
Feroz -
Error while calling a web service in web dynpro through XI
Hello,
I was following a blog for Invoking Webservices using SAP XI
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
I have done all the steps specified but when I import the wsdl file in web dynpro application and deploy the project I get the following error:
<b>"Exception on execution of web service with WSDL URL 'bankws_OUT_MI.wsdl' with operation 'bankws_OUT_MI' in interface 'bankws_OUT_MI'"</b>
where:
bankws_OUT_MI -
is the message interface name.
I have defined a web service in the integration reopsitory as follows:
<b>http://PEP:50000/XISOAPAdapter/MessageServlet?channel=:bankws:s_comm</b>
where
bankws --- service name
s_comm -
sender communication channel
selected 'bankws_OUT_MI' message interface from the given choices
'bankws_IN_MI' or 'bankws_OUT_MI'.
interface name: bankws_OUT_MI -
mesage interface name
Can anyone guide me how to proceed further. Also if possible can anyone send me some helpful documentation regarding how to call a web service in web dynpro through XI.
Thanks in advance.
Regards,
Imtoolhello everyone,
I made the whole scenario again and it is running succusfully in Xml spy. Now when i call the webservice in web dynpro... I get the following error:
<b>com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 200 while accessing URL: http://PEP:50000/XISOAPAdapter/MessageServlet?channel=:OOMS_WS_OUT:CC_OOMS_WS_OUT. Response Message: OK. Content Type: text/html; charset=utf8. Body Content: <html> <head><title>MessageServlet</title></head> <body> <h3>Message Servlet is in Status OK</h3> <h3>Status information:</h3> Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#7 $) bound to /MessageServlet <br/>Classname ModuleProcessor: null <br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean <br/>Lookupname for remoteModuleProcessorLookupName: null <br/>ModuleProcessorClass not instantiated <br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0 <br/>ModuleProcessorRemote not instantiated </body></html></b>
I have also made the entry in the visual administrator for metadata_dest and execution_dest.
Does anybody have an idea what mistake i am doing.
Thanks,
Imtool -
ECATT abends during recording when lead selection is set to 0 on web dynpro
We have a web dynpro application that works ok when running by itself. When we tried to record ECATT testing on it, it abended after we click on a selection from a list of values. The error on the browser indicated an error on the "lead select". After reviewing the dump, we found that it abends on an exception when the lead selection on the ALV is not set. When we changed our code to set the lead selection to 1, the ECATT recording worked.
We have a requirement to set the lead selection of ALV to 0 so we need to change back our code. We just did the setting to 1 just to get ECATT recording to work for now. Does anybody know why ECATT requires this? Is there a support packs that fixes this?
Here is a snippet from ST22 for more details on this:
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_WD_CONTEXT
Date and Time 2007/02/07 14:50:06
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CONTEXT_NODE===========CP' has to be
terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
therefore caused a runtime error.
The reason for the exception is:
The lead selection has not been set. VIEW_TABLE
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
"CL_WDR_CONTEXT_NODE===========CP" or "CL_WDR_CONTEXT_NODE===========CM00V"
"_RAISE_ELEMENT_NOT_FOUND"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "torsapd01"
Network address...... "10.2.75.183"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 8 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "TORSAPD01"
Database type..... "MSSQL"
Database name..... "PR3"
Database user ID.. "dbo"
Char.set.... "English_United State"
SAP kernel....... 700
created (date)... "Aug 28 2006 22:20:27"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 75
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16128
EM...... 16759616
Heap.... 0
Page.... 0
MM Used. 12713776
MM Free. 4042608
User and Transaction
Client.............. 200
User................ "SIC0010"
Language Key........ "E"
Transaction......... " "
Program............. "CL_WDR_CONTEXT_NODE===========CP"
Screen.............. "SAPMHTTP 0010"
Screen Line......... 2
Information on Caller ofr "HTTP" Connection:
Plug-in Type.......... "HTTP"
Caller IP............. "10.49.77.47"
Caller Port........... 8000
Universal Resource Id. "/sap/bc/webdynpro/sap/zpr3_base_price/"
Information on where terminated
Termination occurred in the ABAP program "CL_WDR_CONTEXT_NODE===========CP" -
in "_RAISE_ELEMENT_NOT_FOUND".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 11
of the (Include) program "CL_WDR_CONTEXT_NODE===========CM00V".
Source Code Extract
Line
SourceCde
1
method RAISEELEMENT_NOT_FOUND.
2
data: l_count type I,
3
l_node_name type string.
4
5
l_node_name = if_wd_context_node~get_path( ).
6
7
l_count = if_wd_context_node~get_element_count( ).
8
if l_count = 0.
9
raise exception type cx_wd_context exporting textid = cx_wd_context=>NODE_EMPTY node_nam
10
elseif element_index = if_wd_context_node=>use_lead_selection.
>>>>>
raise exception type cx_wd_context exporting textid = cx_wd_context=>NO_LEAD_SELECTION n
12
else.
13
raise exception type cx_wd_context exporting textid = cx_wd_context=>ELEMENT_NOT_FOUND n
14
endif.
15
endmethod.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
1
SY-TABIX
0
SY-DBCNT
2
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
HTTP Control
SY-MSGTY
E
SY-MSGID
TD
SY-MSGNO
600
SY-MSGV1
000003587101
SY-MSGV2
0001
SY-MSGV3
EN
SY-MSGV4
SY-MODNO
0
SY-DATUM
20070207
SY-UZEIT
145005
SY-XPROG
SAPCNVE
SY-XFORM
CONVERSION_EXITHi Eugene,
i suggest you raise an SMP ticket for these.
Looks like a bug at first glance.
regards
Phil -
Date Column not getting sorted in a table in web Dynpro Java
Hi All,
I am facing an issue while sorting the date column in a table in my web dynpro java application.
When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
Thanks & Regards,
AnuragHi,
You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
In your table, add a new column and bind to this new attribute, and hide your original date column
If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
Cheers,
Robin -
Srm 7.0 - Hide field in web dynpro using configurations
Hello to all,
I'm trying to hide some fields on PO web dynpro. In this example on web dynpro /SAPSRM/WDC_DODC_PO_I_BD I start the component configuration /SAPSRM/WDCC_DODC_PO_I_BD, I search for the fields I want to hide and put the visibility attribute to Invisible and I mark final check box.
The fields don't dessapear from the web dynpro. Am I missing something?
Best regards,
NachoThanks for your reply.
I have here two situations:
SPRO. If I add the field on Configure Field Control at Header Level/Item Level it disapears but not all fields appear on this transaction. For example, I can't do that to tolerance group (TOL_GP)
Webdynpro. Using Component Configuration of the dynpro. I guess that it is in two actions:
- Change the value of visibility to Invisible on Web dynpro Built-In
- Add field to context. I put for this example:
Attributes of the Element usagesDefinition (ITEM_TOL.TOL_GP)
usageName ITEM_TOL.TOL_GP
componentName ITEM_TOL.TOL_GP
ConfigurationName /SAPSRM/WDCC_DODC_PO_I_BD
The webdynpro way doesn't work, Am I missing something?
Best regards,
Nacho -
Error in opening sap web dynpro iview
hi all,
i am trying to open sap webdynpro iview in portal but getting the following error...
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
[Hide]
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).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.ClassNotFoundException: com.lti.wdp.InternalCSLs Found in negative cache -
Loader Info -
ClassLoader name: [local/SLAReporting_KM] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/com.sap.km.application sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:tccolapi library:com.sap.aii.util.misc library:tccmi library:tccol~runtime Resources: D:\usr\sap\CX5\DVEBMGS00\j2ee\cluster\server0\apps\local\SLAReporting_KM\webdynpro\public\lib\app.jar Loading model: {parent,references,local} -
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:65)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:638)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:675)
... 49 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0007.20060509173555.0000 (release=NW04S_07_REL, buildtime=2006-05-09:16:21:23[UTC], changelist=13857, host=pwdfm114), build date: Thu May 18 17:33:32 GMT+05:30 2006
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_09-b05, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en
Time of Failure Wed Jul 12 09:17:18 GMT+05:30 2006 (Java Time: 1152676038656)
Web Dynpro Code Generation Infos
sap.com/pb
SapDictionaryGenerationCore 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:11[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:18[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0007.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:14:35[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:31[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:31[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:22[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0007.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:22:56[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0007.20060210162212.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:27:38[UTC], changelist=389002, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
SapWebDynproGenerationCore 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:40[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/pb_api
SapDictionaryGenerationCore 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:11[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:18[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0007.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:14:35[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:31[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:31[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:22[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0007.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:22:56[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0007.20060210162212.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:27:38[UTC], changelist=389002, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
SapWebDynproGenerationCore 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:40[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.lti.CSLs. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:638)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:675)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:560)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:300)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:359)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:670)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:267)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:726)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:662)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
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:808)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:227)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1278)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:353)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:551)
at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:300)
at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
at sun.reflect.GeneratedMethodAccessor3364.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:659)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:532)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
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: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: java.lang.ClassNotFoundException: com.lti.wdp.InternalCSLs
Found in negative cache
Loader Info -
ClassLoader name: [local/SLAReporting_KM]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:cross
interface:ejbserialization
sap.com/com.sap.km.application
sap.com/tcwddispwda
sap.com/tcwdcorecomp
service:webdynpro
service:sld
library:tcddicddicservices
library:com.sap.aii.proxy.framework
library:tcgraphicsigs
library:com.sap.mw.jco
library:com.sap.lcr.api.cimclient
library:sapxmltoolkit
library:com.sap.aii.util.rb
library:com.sap.util.monitor.jarm
library:tcddicddicruntime
library:com.sap.aii.util.xml
library:tccolapi
library:com.sap.aii.util.misc
library:tc~cmi
library:tccolruntime
Resources:
D:\usr\sap\CX5\DVEBMGS00\j2ee\cluster\server0\apps\local\SLAReporting_KM\webdynpro\public\lib\app.jar
Loading model: {parent,references,local}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:65)
... 52 moreHi there,
Try re-deploy the application and restart the server. It will fix this problemn.
Regards,
Luciano -
How to get the Response Code when a URL is launched from Web Dynpro
Hello Experts,
I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
I am using the following code to get the Response Code:
try{
URL url = new URL("Some Url");
HttpURLConnection.setFollowRedirects(false);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.connect();
wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
}catch(Exception e){
wdComponentAPI.getMessageManager().reportSuccess("Exception");
Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
i always get Response Code= 500 (which is for Internal Server Error) shown in the messgae i have printed.
Please let me know the correct way of getting the Response Code from Web Dynpro.
Also my resource is lying on a SAP Portal 6.4
Best Regards
Sundeep
Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AMHi,
Check this code from /thread/5242768 [original link is broken] if it works.
try{
URL myurl = new URL("http://calendar.google.com");
URLConnection connection = myurl.openConnection();
if(connection instanceof HttpURLConnection) {
HttpURLConnection httpConnection = (HttpURLConnection) connection;
HttpURLConnection.setFollowRedirects(true);
httpConnection.setRequestMethod("HEAD");
httpConnection.connect();
System.out.println("Response = "+httpConnection.getResponseCode());
catch(Exception e) {
// print exception
Regards,
Harini S
Maybe you are looking for
-
I am trying to change the following code so then the fixed rows will stay on top(but below the headers!), but when I change getContentPane().add(fixedScroll, BorderLayout.SOUTH); to getContentPane().add(fixedScroll, BorderLayout.NORTH); it stays abov
-
Some folders on System Manager are not displayed correctly
Hi, I'm using a Rockwell CLP of family ControlLogix, this CLP communicates with NI OPC Servers. I have created a Process and an IO Server on System Manager My problem is: when I browse for TAGs on System manager, some items, who must be folders, are
-
Dear SD Expert, Consider me newbie in SD...i was given task to do the ff: 1.create new condition type (ZYYY) with 10% value. 2.This should be added in the SD pricing procedure. 3. This condition type is optional during SO creation/change 4.
-
Mapping is done ....but it is not inserting any rows
hi, Mapping is validated successfully. We will deploy the code in the backend by generating the code. When the package is created and executed It.It shows me procedure completed succesfully...But it will not insert any rows. I am unable to find the r
-
Cannot Manual add music or restore
Back in June I bought an iPod shuffle for the missus and had problems manually adding music. This was fixed as described here: http://discussions.apple.com/message.jspa?messageID=2501294 I've not tried changing any of the tracks since then until this