Debug a WD4A application
Hello to all,
how can I debug a WD4A application.
If I set an external breakpoint in SE80 the requested application dumps.
Regards Christian
Hello,
I have never came across this kind of issue like just setting a external break point in SE80 code results in a dump.
I think this is the only way to debug the WD4A to put a breakpoint in code in se80.
May be some one has came across this issue before will come up with the answer.
Thanks
Pradeep
Similar Messages
-
How to call a WD4A Application of another system
Hi,
I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
<html>
<head>
<title>IFrames - Webdynpro Test</title>
</head>
<body>
<iframe src=<%= lv_url_route %>"
width="100%" height="500" scrolling="auto" frameborder="1" transparency>
</iframe>
</body>
<html>
Can anybody help?!?!
Thanx & best regards,
Oliver
Edited by: Oliver Pregler on Jul 28, 2008 3:26 PMHi Oliver,
unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
data: lr_empty_parent type ref to cl_gui_container,
lr_viewer type ref to cl_gui_html_viewer.
data: lv_url(200) type c.
lv_url = 'http://www.xyz.com'.
create object lr_viewer
exporting
parent = lr_empty_parent
exceptions
cntl_error = 1
cntl_install_error = 2
dp_install_error = 3
dp_error = 4
others = 5.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
lr_viewer->detach_url_in_browser(
exporting
url = lv_url
exceptions
cntl_error = 1
dp_error_general = 2
others = 3 ).
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
cl_gui_cfw=>flush( ).
If it helps you - fine. If not - forget it
Best regards
Jörg Racz -
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 change the browser title of standard SAP WD4A application - eRecruit
Hi,
I have a requirement to change browser title for standard SAP WD4A application hrrcf_a_candidate_registration. I know this value is used from application description filed.
Current set up is 'Candidate Registration'. (WD Component HRRCF_C_REGISTER_UI)
I tried to use enhancement framework technique and application customization/configuration - but was not successfull.
I do not like the idea of changing the standard SAP object since it might be overwritten in future upgrade. And also I do not prefer to create z* copy of this application as well.
Any ideas how to handle this request? Is dynamic modification of this property possible?
Thanks for your feedback.
Regards,
IgorHello,
Did you try to change the description of the service in transaction SICF ?
You can find the Webdynpro services under the tree /default_host/sap/bc/webdynpro/sap/.
Regards, -
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. -
Debug the swing application from eclipse
Hi
I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
Note: I can able to debug simple swing application. But i can't able to debug this application.
Thanks
mindusIf it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this. -
Absolute Navigation between WD4J and WD4A applications
All,
I have a WD4J and a WD4A application that communicate with each other via absolute navigation and URL parameter. I am finding that in some cases after calling the WD4J from my WD4A (via call method lr_port_manager->navigate_absolute), that the WD4A seems to remain "alive" such that when the WD4J again calls the WD4A it resumes to the view from which it left rather than calling the window startup plug to obtain the URL parameter.
This happens consistently for some users, but not others even though the same exact user roles are assigned and the same exact data is used. Furthermore, I do not make use of any Suspend/Resume or Exit plugs w/in the Window.
I appreciate any thoughts/help,
ChadHi All,
I solved it by adding the encoded parameter string
&_paramsXmlStr_=<Params><Row BANK_CTRY="US" MAX_ROW="10"></Row></Params>
to iView URL in the WDPortalNavigation.navigateAbsolute. Find the code below.
WDPortalNavigation.navigateAbsolute(
"ROLES://portal_content/myFolder/myiViews/myVCiView?&_paramsXmlStr_=<Params><Row BANK_CTRY="US" MAX_ROW="10"></Row></Params>",
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
I did not pass the parameters as Business parameters(WebDynpro will chage these Business parameters as DynamicParameter).
Thanks
Sreekanth -
How to Debug C++ Multithreaded Application in Solaris
Hi All,
I am working in Solaris Sparc 5.8 Machine. I need to debug Multithreaded C++ Application in Unix Environment.
I am using dbx debugger.
Please explain me how to debug multithreaded applications. if possible please explain me with example.
Thanks in Advance.
Thanks & Regards,
Vasu1. Look over the dbx manual that comes with Sun Studio. Dbx includes many features for debugging MT code.
2. If you have specific questions after reading the manual and trying out the features, ask them in the debugger forum:
http://forum.sun.com/forum.jspa?forumID=257 -
Debugging of any Application on WAS
Hello Everybody,
Can two developers can debug the same application at the same time on the same server?
If not, then can two developers can debug the different but dependant applications at the same time on the same server?
What are the possible options are available to debug any applications on the server?
Thanks,
BhavikHi Rich,
This is Bhavik here.
I have tried to debug from two different workstations for a same application running on same server under same network.
If one is debugging, it gives following error to other:
Failed to connect to remote VM.Connection refused.
If first person comes out of the debugging and another trying to step into, at that moment there is no problem in debugging.
So, what should I need to do more to debug simulteneously?
My WAS server : NW04 SP12
My NWDS: SP12
I have enabled my debug mode in config tool.
Thanks,
Bhavik -
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 -
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 -
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. -
Folder creation in MS sharepoint from WD4A application
Hi All,
We have a requirement to create folders in MS sharepoint from our WD4A applications. We need some guidence in achieving this functionality.
Thanks in advance.
Regards,
Booma GanesanHi Viajy,
I am using below code in the ABAP program, unfortunately it is not sucessfully create the folder in the application server. Please correct the below code, if any thing wrong.
data: unixcom like rlgrap-filename,
dir type char(30).
data: begin of tabl occurs 500,
line(400),
end of tabl.
dir = '/tmp/test'.
tabl-line = dir.
append tabl.
unixcom = 'mkdir mydir'. "command to create dir
"to execute the unix command
call 'SYSTEM' id 'COMMAND' field unixcom
id 'TAB' field tabl[].
Please correcr if anything wrong in the code.. -
JDeveloper 11.1.1.1.0 hangs while debugging a simple application
Hello all... I use Jdeveloper 11g in my Fedora linux ( version 9 ) machine. Jdev works fine normally, but when I try to debug a sample application it simply hangs and does not allow me to do anything besides going to console mode and killing off all the processes associated with Jdev in the following manner..
[sugantha@localhost ~]$ ps aux | grep jdev
and then kill -9 <PIDs>
The code where it hangs exactly is this...
*public void actionPerformed(ActionEvent e) {*
String cmd = e.getActionCommand();
*if (ON_TOP_COMMAND.equals(cmd)) {*
if (onTop.isSelected())
layeredPane.moveToFront(dukeLabel);
else
layeredPane.moveToBack(dukeLabel);
*} else if (LAYER_COMMAND.equals(cmd)) {*
int position = onTop.isSelected() ? 0 : 1;
layeredPane.setLayer(dukeLabel,
layerList.getSelectedIndex(),
position);
with the breakpoint placed in line 2 of the code shown.Pressing F7, F8 or F9 has no effect. Has anyone ever encountered this issue or is there a workaround to avoid this kind of behaviour while debugging in JDeveloper. Thanks in advance."Installing the ADF runtime is not required if you are using JDeveloper to run applications in Integrated WebLogic Server."
http://docs.oracle.com/cd/E24382_01/admin.1112/e16179/deploy.htm#BGBECCBE
When I explicitely add the groovy-lang-1.6.3.jar in "Project properties" --> "Libraries and Classpath" then it works!
The groovy-lang-1.6.3.jar gets deployed with the application.
But still, why isn't it sufficient to have "ADF Model Runtime" (containing groovy-lang-1.6.3.jar) added ??
Is the ADF Model Runtime library deployed with the application? Select Manage Libraries. Is the ADF Model Runtime library selected as Deployed By Default?
If a new library is created, is the library a Deploy by Default?
If a library is added to a Model or ViewController project and used in the other project is a dependency defined between projects?
On JDeveloper 11.1.1.4.0 the same application works when debugging it.
Does anybody know how to fix it. Is there a missing library which was automatically added in the old JDeveloper but is not any more in the new one?
JDeveloper 11.1.1.4.0 JDeveloper runtime libraries that are deployed into Oracle WebLogic Server to support ADF applications includes groovy-all-1.6.3.jar in the adf.oracle.domain.ear Library and System Classpath.
http://docs.oracle.com/cd/E23549_01/web.1111/e15470/ap_jdevlibs.htm#BCFCIGBJ
In JDeveloper 11.1.2.2.0 groovy-all-1.6.3.jar is included only in the adf.oracle.domain.ear Library, not the system classpath.
http://docs.oracle.com/cd/E26098_01/admin.1112/e16179/ap_jdevlibs.htm
And is 1.6.3 the right version for ADF 11.1.2.2.0 Applications or should I add a newer groovy version?
The groovy version is the same groovy-all-1.6.3.jar.
Edited by: dvohra16 on Sep 11, 2012 9:18 AM -
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 ?
Maybe you are looking for
-
I recently purchased songs from itunes via my pc and I dont know how to get them onto my iphone? When I click the sync button it says I will lose all the music currently on my iphone.. Help
-
Trouble opening a pdf file on my macbook air
I am trying to open a pdf attachment that was sent to me. I am opening it on my macbook air but it says it is not supported. Can anyone help?
-
How do I get HTML5 videos to play in Firefox?
Win7, FF 9.0.1. HTML5 videos will play in Chrome abd Opera, but not FF. htaccess files have been edited to AddType for ogg, mp4, and webm file types. I have tried with basic player using <video> tag and with and without controls attribute. Nada. I ha
-
Hi, Someone can say me the join between BSIS and BSIK / BSEG? Because I have an example in BSEG but i cant reproduce it in BSIS and BSIK. I dont have clear the relations. Thanks a lot!
-
Is it possible and practical ?
Is it possible to insert a div tag in o a table layout and is it advisable - I want to create a navigation bar with rollovers inside a div tag. The rest of my page is in tables thanks again for all your help Michael