Debugging the webdynpro application
hi
iam trying to debug my webdynpro application
its showing as
selected server node doesnot run in a restricted load
balancing mode
any suggestions ?
hi
thanks for the reply
i have gone through this document
in selecting the j2ee engine where we select
server node its showing up the error as in the cluster
we have two nodes server 0 and server 1
any suggestions ?
Similar Messages
-
How to debug the webdynpro application
Hi ,
i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON and also enable debugging of process also but it is giving error message like this
<b>Failed to Connect to remote VM.Connection Refused</b>Hi Nageswara
The link provided shows you hoe to debug WebDynpro application.
Its a eLearning course available on sdn, which shows step by step process.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/3178ae74-0701-0010-ba8d-e3ca9f1edc1e
Hope ur problem is solved.
Pls award points for answers. -
Debugging the webdynpro abap application from portal.
I developed a WebDynpro application and integrated in portal. I have to catch some portal events.For that i have written some code in my application. I tried to debug the application from portal by using all the available break-point types.but we could not .
Anybody have an idea how to debug a WebDynpro application from portal.
Thanks,
Kumar.Hi
Few links to check:
External debugging is not working
Re: Debugging Abap webdynpro appln
Re: Unable to Debug WD ABAP application
Dedug is not working in Production Server.
a) Check on number of R/3 sessions opened at a time.
b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system. -
Error while configuring Debugging for WebDynpro Application
Hi Experts,
I am trying to configure Portal server for debugging a WebDynpro application.
In NWDS , in Debug configuration
When i tried to add my Webdynpro Project and application under Debug tab , No problem.
But when i checked J2EE Engine tab : it showed the following error.
<b>[J2EE Engine]: the selected server node does not run in restricted load balancing mode, please configure it correctly so that the URL extention can be used</b>
And ignoring it when i started debugging the application , the URL was formed like this :
http://<host>:50000/@@@DEBUG@@@7672950/webdynpro/dispatcher
/local/WDtest/WDtest?SAPtestId=1
with the error : The requested resource does not exist.
Details: Go to main page of this application!
Can anybody help me to fix the configuration.
Regards,
Ashish ShahHi,
To configure to the debugging mode... follow the steps:
1. Select "SDM" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
2. Make a right click on "SDM" and choose "Enabling Debugging of Process"
3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
Or if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information... follow the link
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
Hope it helps...
Regards / Guru -
Runtime Error While executing the WebDynpro Application
I am getting the Runtime Error While executing the WebDynpro Application. The error message is "TSV_TNEW_OCCURS_NO_ROLL_MEMORY".
It says like "
Short text
No roll storage space of length 9728 available for OCCURS area.
What happened?
Each transaction requires some main memory space to process
application data. If the operating system cannot provide any more
space, the transaction is terminated.
But while executing some other Web Dynpro Applications, i am not facing this problem.Generally this error is a result of an infinite loop on internal table or select endselect statement where by severs temporary memory gets full. With no memory to insert new records in temporary memory system generates the dump.
Check your application or ask basis consultant to look at the memory parameters in instance profile.
Regards
Rohit Chowdhary -
How to set the WebDynpro application title (IE windows title)?
Hello all,
I would like to set the WebDynpro application title according to the current transaction ID. This title is the IE windows title that is shown on the upper left-corner of the IE browser.
Rule: [Object Instance Information] u2013 [Application Title] u2013 [Browser Title]
For example: Trans. <No.> - <My App> - Windows Internet Explorer
I would like to set <No.> dynamically on run-time according to my current transaction number.
I have this piece of code that gets a reference to the application info:
data: lr_app_info TYPE REF TO if_wdr_rr_application.
lr_app_info ?= wdr_task=>application->application_info.
And there is lr_app_info->get_description() method to have the description of the application, but there is no set method.
The application description can be hardcoded in:
tx. SE80, opening the WebDynpro component, then accessing its WebDynpro application. In the properties tab, there is a description field. I need to append transaction ID to it.
Do you know any way to implement this? This issue is for WebDynpro ABAP.
Best regards and thanks in advance,
Fouad.Hello Satra,
Thanks for your reply. I already had a look into that thread, but my question is not related to the windows title of the WebDynpro component.
My question is related to the title of the Internet Explorer that we all see on the top left-corner. For WebDynpro , this is the WebDynpro application title. How can we change it?
I hope my question is clear now, and I wish someone can help me soon.
With kind regards,
Fouad. -
Passing value from Adobe Interactive form, to the Webdynpro Application
Hi,
I have followed all the tutorials on interactive forms in WD for Java, & am able to successfuly display my context data in an interactive form.
However, i need help with the following:
1. Online scenario:
User has filled details in an interactive form & clicks on the submit button.
The Data from the form is NOT getting passed back to the WebDynpro application.
2. Offline Scenario:
User has filledup a pdf file(form), & has uploaded the form to the webdynpro application, using the file-upload UI element.
How do i read the data that the user has entered in that pdf file?
Any help with regard to these two queries, will be appreciated.
Thanks,
Hanoz1) Online Scenario
check if the context mapping between UI elements and Context is properly done
check if the cardinality of the Context is alright.
2) Offline Scenario
you will have two views.
one upload view
and one interactive form view
in the upload view use the File Upload UI element.
in the Interactive Form View.... use the same view which you used to create the offline form, thus the interactive form UI element will already know the structure of data and the context mapping in the pdf file when you upload it.
Add the following line of code to the
method wdDoInit.
wdContext.getNodeInfo().getAttribute
("pdfObject").getModifiableSimpleTyp
e();
Add the following line of code right
before
wdThis.wdFirePlugOutToDisplay()
in the method onActionShowForm().
wdThis.wdGetTravelRequestCompControl
ler().wdGetContext().currentContextE
lement().setPdfObject(wdContext.curr
entContextElement().getPdfObject());
in the interactive form view, change the property of the interactive form.... MODE to usePdf.
regards,
-Ag. -
How to secure the Webdynpro Application name ?
Hi Experts,
I have a requirement to send the Webdynpro Application name to Outlook inbox where the users will logs into that application and they will see the view the data and clicks on some action(Approve or Reject).
Now the my client does not want send that actual Webdynpro URL to outlook mailbox as it is having some security issues(host and domain details). Instead of that, can we change the actual Application name to any custom name by changing the host , domain and etc, parameters ?
Thanks in Advance,
Regards,
GiriHi,
If you want to hide the application path, goto SICF transaction and then create an External Alias for your WDA application path and then send the Alias path name.
Suppose, you have the WDA application url as
host:port/sap/bc/webdynpro/<APPLICATION_NAME> . Instead of this you can just show
host:port/sap/<Your Name> ( or any other) using Alias.
Regards,
Kiran -
Sending a Email from the webdynpro application
Hi Guys,
I am having one requirement in my application .ie. Email to the specified Id .
As per my reqirement i am having 4 fields in my UI page.
Task Id : T001
Assigned to : ratnakar
Mail id : [email protected]
Task Description : Test Area
Submit : Save(Button)
when i click the Save button the Email has to reach the specified id with the task description.
could any body please help how to proceed .........
Thanks and Regards
Ratnakar reddyHi Guys,
Some body sugested me to use the javaMail api .. i donot exactly how to use it in the webdynpro application. some where i got the below code ...
InitialContext ctx = new InitialContext();
Properties props = new Properties();
props.put("mail.smtp.host","Message server");
Session sess = Session.getInstance(props);
Message message = new MimeMessage(sess);
message.setFrom(new InternetAddress(wdContext.currentContextElement().getFrom()));
String recepient = wdContext.currentContextElement().getTo();
message.setRecipient(Message.RecipientType.TO, new InternetAddress(recepient));
String subject = wdContext.currentContextElement().getSubject();
message.setSubject(subject);
String content = wdContext.currentContextElement().getMessage();
message.setContent(content,"text/plain");
// Send the message
Transport.send(message);
if i use the above same code i am not able resolve some errors with the session and internetAddress. becuse there are no supporting Imports to handle them even if used the Organise imports.
i am very new to this mailing concept can any body give me a step by step process ...to send the mail to the specified in the user interface.
Thanks and regards
Ratnakar -
Debugging the portal application
Hi all,
It is possible to debug the portal application.
If yes how.
Regards,
Aravindhan.RHi Aravindhan,
Check out this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/Previewing%20and%20Debugging%20Portal%20Applications_Debugging%20Portal%20Applications.html
Also do not forgot to set iViewProcessorService property, ProductionMode to false.
Regards,
Ashutosh -
How can we retrieve the Porta User in the Webdynpro Application
Hi,
How can we retrieve the portal user information in the webdynpro applications?.
Thanks in Advance
Chandra.Hi Chandra,
In the init() funtion of your View use client USER API below is the usage of it..
String Username = "";
IWDClientUser wdUser = null;
try {
wdUser = WDClientUser.getCurrentUser();
} catch (WDUMException e) {
e.printStackTrace();
IUser user = wdUser.getSAPUser();
Username =user.getUniqueName()
Thanks Raj.
xxxxxxxxxxxxxxxxxxxxxxxxx
Edited by: Armin Reichert on Feb 18, 2008 7:27 PM -
Want to load dynamic URL from the WebDynpro application
Hi ALL,
My problem is I developed a WebDynpro application to show the vendor details in the table.
I created a iview in the portal and integrated the webdynpro application. Taken 2 columnwidth page.
In 1 column to showing the vendor details and in another column i want to show the site of the vendor.
Now, In row selection I want to show the homepage of the vendor site in another ivew(2nd column) of the page.
Kindly help me out.
Thanks in advance.Hi,
Please follow the below process for passing data between two webdynpro applications using portal eventing.
Step1:-
Webdynpro Application 1 (Iview1)
Create an input field bind a context variable and have a button and write the following code in the button onaction.
public void onActionOK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
com.sap.tc.webdynpro.clientserver.event.api.WDPortalEventing.fire("urn:com.sap.tc.portaleventing.example","show",
wdContext.currentContextElement().getHi());
Here Hi-->is the context variable binded to the input field.
Step2:-
WDDOINIT write the following code:-
com.sap.tc.webdynpro.clientserver.event.api.WDPortalEventing.subscribe("urn:com.sap.tc.portaleventing.example","show",wdThis.wdGetRaiseFireAction());
While creating the action it should have the following 3 parameters.
1.dataObject-->Type String
2.namespace-->Type String
3.name-->Type String
Your action code should look like something below.
public void onActionRaiseFire(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject, java.lang.String namespace, java.lang.String name )
wdComponentAPI.getMessageManager().reportSuccess("Value in the input field"+dataObject);
Note:-
1.Make sure your using portal along with domain
Eg:-http://portal:50000/irj/portal--->wrong
http://portal.domain.com:50000/irj/portal--->right
2.EPCF level should be 1.
3.Check whether both applications run on the same domain.Sometimes portal eventing does not work between cross domain applications.We should do domian relaxing in order to achieve this.
Thanks & Regards,
Lokesh Kamana -
Debugging abap webdynpro application
hi gurus,
an abap webdynpro application is runninf fine in developmernt server but not in production system. i transported the application again to refresh the application in production. but still the error persists. now i want to debug the abap editor in production system. so i wrote code 'BREAK POINT' in abap editor. but program is not stopping at this code. in dev as well as in prod system. please suggest.
Moderator Message: There is a separate forum for Webdypro for ABAP. Please post your question there.
Edited by: kishan P on Nov 29, 2010 1:25 PMHi
Few links to check:
External debugging is not working
Re: Debugging Abap webdynpro appln
Re: Unable to Debug WD ABAP application
Dedug is not working in Production Server.
a) Check on number of R/3 sessions opened at a time.
b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system. -
DeBugginng The WebDynPro Application
Dear Gurus,
Im new to WebDynPro for Java , i want to know to debug the application , please any one of you can explain inn detail.
what is the difference NWDS and NWDI?
Thanks in advance,
PhaniHello Phani,
To be able to debug within a running Webdynpro application, you must activate debugging of the server processes of J2EE engine.
This will be done in J2EE engine View.
Follow:-
a) Window --> Show View --> Other and then select J2EE --> J2EE engine.
Choose ok to confirm your entries.The system displays a view containing status information about the running J2EE engine.
b) expand the tree display fully until you can see the actual server processes.
c) Right click the server node and then choose Enable Debugging of Processes from the context menu.
Now, Setting a Breakpoint:-
a) Choose the place where you want to set the breakpoint. Right click on the marker bar, frame next to the line of code to open the context menu and choose add breakpoint (highlighted blue dot will appear)
Hope this helps, with respect to debugging.
NWDS:- SAP NetWeaver Developer Studio is used as an integrated development environment (IDE) which incorporates NWDI. The SAP solution is designed so that the developer can perform almost all his tasks within the development environment. Access to separate interfaces and the relevant services is only required in exceptional cases such as when having to adhere to a role concept with a manager for transporting applications. SAP NetWeaver Developer Studio is based on the platform of the Eclipse open-source development project. Using its plug-in mechanism, it supports a variety of development tasks and perspectives of the individual development objects.
NWDS is just a development environment with all robust development tools.
It can run j2ee,j2se and sap applications also.
It is an interface to access NWDI services and applications
NWDI:- NWDI is Netweaver Development Infrastructure.
NWDI provides an infrastructure to develop Java applications on netweaver platform and is responsible for versioning,building and lifecycle management of these applications developed.
It has mainly three components :
DTR(Design time repository) : for versioning of any file altered.
CBS(Component build service) : for building application in central build environment.
CMS(change management service):to transport and setup logical landscape.
[NWDI Basics|http://help.sap.com/saphelp_nw2004s/helpdata/en/44/312b1a8bea3ec8e10000000a1553f6/frameset.htm]
Hope this helps,
Regards,
Shailesh -
Not able to access the WebDynpro application in BlackBerry.
Hi,
I have created a WebDynpro application. The application is workin fine on IE but when I access the same application from BlackBerry simulator 8830 it gives an error :
500 Internal Server error.
APPLICATION ERROR OCCURED DURING THE REQUEST PROCESSION
THE REQUESTED DEPLOYABLE OBJECT "InventryLookUpApp" is not deployed on the server.
Please check the URL for typos
The URL for the application is :
http://10.54.162.252:50000/webdynpro/dispatcher/sap.com/a1s~searchproduct/InventoryLookupApp
Please guide.
ManishHi Manish,
Try this link:
http://10.54.162.252:50000/webdynpro/dispatcher/sap.com/a1s~searchproduct/InventoryLookupApp?sap-wd-client=WmlClient
Let me know what happens.
Thanks,
Ted
Maybe you are looking for
-
How to create java classes when multiple xsd files with same root element
Hi, I got below error 12/08/09 16:26:38 BST: [ERROR] Error while parsing schema(s).Location []. 'resultClass' is already defined 12/08/09 16:26:38 BST: [ERROR] Error while parsing schema(s).Location []. (related to above error) the first definition a
-
How to delete duplicate attribute in on premise server for office 365 dir sync tool
Hi, Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool . While running the dirsync tool iam getting the below error : "Unable to update this object because the following attributes associated wi
-
Payment cards authorization error
hai everybody can u please tell is there any field related to STATE in customer master data in standard please help me out thank you
-
hi ive installed the output mode to bridge cc and can see it but it wont work ??
-
Strange Behaviour of JTabbedPane.Please Guide
Folks I am getting a strange Error regarding JTabbedPane. In my main class,I am using : addTab ("One", null, new A(), "Test One"); nothing happens.The contents of class A is not displayed. But when I say: addTab ("One", null, new A().call(), "Test On