Debugging WebDynpro Application( Java)
Hi All,
Can anyone help me to understand how to debug a webdynpro application in java.
To be more clear what are the steps right from starting the debugger to viewing the data in the variable.
Thanks in Advance.
hi Hemalata,
to debug an webdynpro application follow these steps:-
1.First put <b>breakpoints</b> in your code on the lines you wish to debug.(<b>double click</b> to put breakpoint).
2. First step would be to goto <b>Window Menu</b> -> <b>Preferences</b>
In <b>Preferences</b> setup the SAP J2EE with the appropriate <b>Host</b> and <b>Port</b>.
3. Goto <b>Window</b> -> <b>Show View</b> and select <b>J2EE Engine</b>.Make sure you <b>J2EE </b> engine is up and running.Also make sure that the debug mode for <b>SDM</b> and <b>SERVER0</b> variables is <b>ON</b>.You can check these paramters in the J2EE Engine TAB.
4.Now goto <b>Window</b> -> <b>Open perspective</b> -> <b>Other</b> and select <b>Debug</b>.The Debug screen should open.
5.Next goto <b>Run</b> ->Select <b>Debug</b> -> Select <b>Webdynpro Application</b> -> click on <b>New</b>.
6.Give the <b>Name</b> for your configuration.In the <b>Debug Tab</b> select your <i>Project</i> and <i>Application</i>. In the <b>J2EE Tab</b> select your <i>J2EE Engine</i>(should be selected by default).Click on <b>Apply</b> and then on <b>Debug</b>.
7.Your application should run automatically.In case it doesnt run it manually.Now once you trigger the event which contains the breakpoint given code the window should automatically shift from INTERNET EXPLORER to NETWEAVER.
8.Now <b>select any variable</b> you wish to see the value for , <b>right click</b> and select <b>Watch</b>.You should see the values in the top right window in Debug view.
9.Use <b>F6</b> for step by step debug, or <b>F5</b> for breakpoint to breakpoint debugging.
Reward points if this is of any help.
Thank you in advance.
Similar Messages
-
Debugging webdynpro application
I would like to debug webdynpro application (cProjects portal application), can you anyone explain how can i debug the portal application (which is on ABAP stack)
Hi Venkat,
I am also doing modifications to cProjects. In SICF transaction, I see the cProjects service as active, but when I go to 'se80' and enter 'cProjects' as a webdynpro application, it says that the application does not exist. Could you please tell me where I am going wrong.
Thanks,
Tom -
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. -
Sample WebDynpro for Java for BAPI error
Hi,
I have created one BAPI which will take matnr as an input and gives table of matnr, maktx.
This BAPI i have used (through Adaptive RFC) to create sample WebDynpro Application (JAVA) through NWDS.
I have deployed it and tried to run it, but it failed with following error.
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
What could be the problem?
I have also tried sample application without any BAPI, It worked fine.
Please let me know what could be the possible error.
-Thanksif its 500 Internal Server Error it would have created a DUMP on the ABAP side. check tcode ST22 in the ABAP engine to find more details.
Raja -
Hello,
I would like to debug webdynpro application in ABAP which we are using via portal (IBM WebSeal). If I try debug application without portal, then everything is OK. We are using SSO for logon.
Any idea, please?
Thanks.
Best regards
Capek Martin>
Martin Capek wrote:
> Yes,
> SE38, program, set external breakpoint, open browser with application. Click in application...debugger is not started ...:-(
>
> Thanks for help.
Hi,
SE38 - program editor . You started posting Webdynpro ABAP.
However if you type in for example WD_THEMES or your program and press the debugger button should bring you to the debugger. IS this happening?
Normal debugging with out portal.
Edited by: Baskaran Senthivel on Jan 14, 2011 2:21 PM
Edited by: Baskaran Senthivel on Jan 14, 2011 2:30 PM -
How to debug an Application Service?
Hi,
I have created an application Service which has been exposed as as a Web Service. Now how can I debug the Web Service or in other words the application service.
I have started the CE server in debug mode and I am able to debug WebDynpro Applications.
I am working on SAP CE 7.1.
Please reply ASAP.
Regards,
Manish SethiHi Manish
follow this tutorial it describes how to configure and use the SAP NetWeaver Developer Studio and the J2EE Engine for debugging CAF Application Service.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9db6c4ea-0c01-0010-15b1-f72f12aade28
thanks
Asif -
How can I debug webdynpro java application?
hi,
How can I debug webdynpro java application?
ThanksCheck this document
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
/padmanaban
Edited by: Padmanaban on Sep 26, 2008 1:55 AM -
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 -
How to Debug WebDynpro-ABAP application
Hello Friends,
1. How to Debug WebDynpro-ABAP application.
2. What is modal dialog
3. If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
Thanx for Ur time.
Cheers,
SamHi,
As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
P.S -> Pleas close this thread if satisfied with all questions.
Thanks
Anuj -
Webdynpro application Debug Configuration problem
Dear Friends,
I am trying to WebDynpro application debug Configuration.
But I could not find the Debug Configurator link under portal's System Administrator -> System Configuration -> Web Dynpro Console -> Settings
My portal version is
J2EE Engine : 6.40 PatchLevel 105424.313
Portal : 6.0.18.1.0
KnowledgeManagementCollaboration : 6.0.18.0.0 (NW04 SPS18)
Can anybody help me where I am wrong and how can I do Java WebDynpro application debug configuration can do?
Thanks in advance
LakshmikanthaiahHi,
As for as I know the debug configurator is available in NW04s SP 12. See this
<a href="http://209.85.175.104/search?q=cache:0172QKC3AU4J:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56debugconfiguratorwebdynpro&hl=en&ct=clnk&cd=1">web dynpro debug configurator</a> link
regards,
Siva -
Debugging ABAP Code From Within Webdynpro Application
Hello Experts,
We use ABAP RFC Function in Our Java Webdynpro application, We need to debug the parameters pass from the webdynpro application to the ABAP Function.
In order to do that we:
1. Defined a JCO connection with "Single Server Connection" as the Destination Type.
2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.
3. We have activate the external debugging in se80 Utilities -> Settings
4. We have set an HTTP (external) breakpoint in the ABAP code,
As mentioned in the article:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
However, we recieve a dump in the R3 system:
RFC_DEBUGGING_NO_DIALOG_USER
ShrtText
RFC debugging is only possible with dialog user
What happened?
You attempted to debug a program by RFC. However, in this destination
there is a user whose user type permits communication without dialog.
This means, for example, that debugging with a system user is not
possible.
What can you do?
Restart the program and take note of the following:
You can do one of the following:
1. You can change the user listed in the RFC destination and enter a
dialog user.
2. In the target system of RFC you can change the user type of the user
listed in the RFC destination to 'dialog'.
3. You can avoid this runtime error by omitting the RFC debugging.
If in the ABAP debugger the statement cursor points to the statement
(CALL FUNCTION ... DESTINATION), you must choose the function
'Execute'.
We checked and the user we use is defined as dialog in SU01 and the user that the webdynpro use to call the functio is the same user as was logged in.
What else should we do?
Thanks,
EyalHello Eyal,
You mentioned the following..
1. Defined a JCO connection with "Single Server Connection" as the Destination Type. 2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.*<---The system that you logged into is your source system*
3. We have activate the external debugging in se80 Utilities -> Settings
4. We have set an HTTP (external) breakpoint in the ABAP code,
and the name of the system defined in the RFC connection will be your target system.
As per the response (dump error message) in this target system you need to have a dialog user.
And this dialog user needs to be defined in the RFC destination that is being used to connect to the target system.
Regards,
Siddhesh -
Calling Java webdynpr application in ABAP webdynpro application
Hi All,
I have a requirement to call a Java webdynpro application from ABAP Webdynpro application. Is it possible? If any of you have done, please let me know how to do it.
Regards,
Basha.Hi,
And as you said it Java Webdynpro application, it should be possible to generate the URL for the Application at runtime.
I also haven't tried, but it should work. Please let me know if LinkTOURL doesnt suffice, we can try and check if it works.
Thanks,
Anand -
How to access(connect) BI Data in webdynpro for java applications
Hi ,
is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
if not how to integrate the BI data in webdynpro applications ?
Regards,
GovinduHi,
Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
You can use DBlink(which i have done).
Please refer the link below:
[Link|Data from BW to Oracle.;
This I have done in NW04s. Not sure whether a better solution is available in the newer release.
Hope it helps.
Regards,
Manoj -
How to access custom JAVA webdynpro application from an iPad?
Hi,
We are trying to access custom JAVA webdynpro application from an iPad, but nothing is opening up from the iPad browser.
What can be the possible reasons for this? Any kind of SICF enablement or opening up of ports in the network?
Any inputs are welcome!!
TIA,
Regards
DeepthiHi,
it is possible to show Java Web Dynpro applications on a mobile device in general, but the controls and the ui should be optimized for the mobile device.
Safari devices are not officially supported so far for Mobile Web Dynpro.
Supported are Windows Mobile devices and Blackberry devices. I also got some good results with Symbian devices.
You can find more inforamtion on Mobile Always Connected at:
ht[http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm]
Best Regards,
Stefan -
How to use BAPI in webdynpro for java application
Hi all,
Please help in getting started with calling a BAPI in a webdynpro for java application. I have got only the content needed to call a BAPI in a webdynpro for abap application but not in java. Kindly provide me some documents if possible.
Thanks in advanceHi ,
U have Created One Bapi u want to work with web Dyn pro for java Application Right .
U need the Following
1) NWDS (Netweaver Devloper Studio )
2) jdk1.4 or Above installed in your system .
After Installation of NWDS .
1) Just Take J2EE Enginee Details
a) Go to Window -> preferences -> J2ee Enginee - > give ur port number , Host name Details . and click finsh .
Go To Web Dyn Pro Perspective Click onj2EE engine .
Click On Refresh U will see Green Colour button .
Now ur Ready to import Ur BAPI .
1) Go to File -> New -> Project - > Web Dyn pro Project -.
Give Name , pkg Name Click On Finish .
2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name -> Click on Finish .
3) Now ur View And Controller Are Created by Default .
4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next
a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name Etc -> then Click on next .
b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name Click on Search . Ur bapi will be displyed In Down . click on Next .
c) Now Ur model is Importedint into NWDS .Map ur model data To Controller and Controller Element to View Elements .
After ur Model .
Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .
after wards u have to go Apllication -> Right click -> deploy and Run .
ur output will be displyed thru Browser .
Thats it
Regards ,
venkat
Maybe you are looking for
-
I bought laptop online, gonna return it. How to get refund to another card?
I bought a macbook online, and I decided to return it.The credit card i used to purchase was canceled, I wanna know to to get refund to a different card.
-
Cant upgrade flash for google tv. help
flash player upgrade to no avail for Google tv. what gives? and believe me I am pretty saavy with IT and i know i probably just have to wait for a developer to pick his head up out of the sand.
-
i use firefox as my internet browser. when i go to itunes to download music it says i am not connected to the internet when actualy i am. what am i doing wrong?
-
Show image on the form Java WS gets image. Call this WS on button click
Hi, Is there a way to show an image on the form. On the form I have along with the data I have a button that when clicked get and show the image itself on the form. I have a Java WebService that gets the image from the remote location. How can I make
-
Syncing my 6th generation Ipod Classic, I get loads of the same message, "Itunes could not copy songs into ipod due to error -50". The syncing then completes with only 15gb used space and 143 gb space free. What can I do to correct this error, please