Recode Abap Dynpro into Web Dynpro
Hi All,
A client has asked us to look at rearchitecting a custom transaction that was developed in Abap Dynpro. Initial analysis shows that there are performance problems to be addressed, but I've been thinking perhaps it makes sense to looking into starting over using the webdynpro technology. I was wondering if anyone has started converting old SAP transactions into Webdynpro ? If you have what kind of results are you seeing ?
Regards,
Verdere
Hi,
Check this thread
http://help.sap.com/saphelp_nw70/helpdata/EN/30/f2156a26fb4b4d86c5b0ce9f86bfb3/content.htm
Cheers
Ram
Similar Messages
-
Hi All,
I am trying to complete the Integrating EJB 3.0 into Web Dynpro Using the EJB Model Importer tutorial that goes with SAP NetWeaver Composition Environment 7.1 SP3 Developer Studio.
Does anyone ever completed this tutorial because I have problems completing it. The result is very important for me because I need to use this technology for my essay.
In this tutorial you create a button that calls the method StudsBean.getStudent(String). In this method the object student is created and it will be returned. In several labels the information of the returned student should be displayed. But that doesnt happen, when I push the button no error occurs but the labels are still empty. When I try to debug the Enterprise Bean and Web Dynpro application I see that the method StudsBean.getStudent(String) is called and the propertys are set and the student object is returned, but still it isnt displayed.
After discussing this with a colleague I tried to search for a solution on the SDN and of course Google. First I thought I would be a bug but I only found 2 people with the same problem. I found it remarkable because its one of the key subjects of Java EE 5 and its a tutorial displayed in the welcome page of the Developer Studio.
So do you people think its a bug in WebDynpro? Because I am sure that I followed all the steps mentioned (a colleague checked it even).
Regards,
SanderHi Vesselin,
Thank you for the quick replay, this is the code I'm using:
public void onActionGetStudent(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionGetStudent(ServerEvent)
try {
// executes the corresponding method on the session facade
wdContext.currentRequest_StudsLocal_getStudentElement().
modelObject().execute();
// forces Web Dynpro to re-create the Request model object
// in order to clear the InputField
wdContext.nodeRequest_StudsLocal_getStudent().invalidate();
// updates the UI elements bound to the Response node
wdContext.nodeResponse().invalidate();
//Code for trying something out
//wdContext.nodeReturn().invalidate();
//wdContext.nodeAddress().invalidate();
} catch (Exception e) {
throw new RuntimeException(e);
Have you tried this example yourself, or is replay based on experience?
Kind Regards,
Sander -
Couldn't complete tutorial 'Integrating EJB 3.0 into Web Dynpro ...'
Hi All,
I am trying to complete the Integrating EJB 3.0 into Web Dynpro Using the EJB Model Importer tutorial that goes with SAP NetWeaver Composition Environment 7.1 SP3 Developer Studio.
Does anyone ever completed this tutorial because I have problems completing it. The result is very important for me because I need to use this technology for my essay.
In this tutorial you create a button that calls the method StudsBean.getStudent(String). In this method the object student is created and it will be returned. In several labels the information of the returned student should be displayed. But that doesnt happen, when I push the button no error occurs but the labels are still empty. When I try to debug the Enterprise Bean and Web Dynpro application I see that the method StudsBean.getStudent(String) is called and the propertys are set and the student object is returned, but still it isnt displayed.
After discussing this with a colleague I tried to search for a solution on the SDN and of course Google. First I thought I would be a bug but I only found 2 people with the same problem. I found it remarkable because its one of the key subjects of Java EE 5 and its a tutorial displayed in the welcome page of the Developer Studio.
So do you people think its a bug in WebDynpro? Because I am sure that I followed all the steps mentioned (a colleague checked it even).
Regards,
SanderHi Sander,
I guess, it's not a bug in Web Dynpro, maybe it's a bug in the tutorial
I tried something similar, but not following the tutorial and it works. I wasn't able to call the model from the view controller and I guess that's the problem. Take the code from the init-method of the view controller and put it to the component controller's init -method and the code inside the onActionGetStudent and put it into a method you create in the component controller, too. From onActionGetStudent just call this method in the component controller with some code like this:
wdThis.wdGet<your component controller's name>.<your method's name>;
Hope this helps
Kind regards
Stefanie -
Accessing ABAP Functions in Web Dynpro Java
Hi,
I am trynig to do "Accessing ABAP Functions in Web Dynpro Java" this application, (which is the example application which i got from www.sdn.sap.com) but everything is fine no error also while dyploying.
But it is not dysplaying the first page after i run the application i am getting plain web page ,without any content.
Can any body help me.
Regards,
H.V.Swathik.. now iam getting some error on page.
I have embeded the two view in to window.
But now after running the application i am getting connection error
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=jktr3 GROUP=SPACE R3NAME=R32 MSSERV=sapmsR32 PCS=1 ERROR Group SPACE not found TIME Fri Sep 26 15:05:59 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
... 61 more
Rgards,
H.V.Swathi -
I want to write ABAP Program in web dynpro Using se80 tra.code
hi
I want to write ABAP Program in web dynpro Using se80 tra.code and to Create URL for the same.
Please let me know the steps to do.
ThanksHi Shiva,
I understood , you want to create a Webdynpro Applicaiton and run it.
this will help you
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
Regards
Abhimanyu -
ESS Business Package for ERP 6.0 is a ABAP or JAVA Web Dynpro
Hi,
We are trying to implement ERP 6.0 and ESS with the Portal.
Is the ESS business package a ABAP or JAVA Web Dynpro????
Thanks.
Regards,
MikeHi Mike,
ESS BP is a portal content (runs only on portal runtime) which can only be deployed and run on SAP J2EE server (So it is java based).
http://help.sap.com/saphelp_erp2005/helpdata/en/f6/263359f8c14ef98384ae7a2becd156/frameset.htm
From EHP2 for ECC 6.0, you have an option choose ABAP WebDynpro for Travel related services. However, the portal content (iViews) is still on SAP J2EE server.
Thanks
karthik -
Import web service from service registry into web dynpro
HI, when i import web service into web dynpro model, it asks me to create service group or if i choose no service group configure, it ask me the destionation for metadata and excution. i import service from service registry. what does the service configuration mean? and if i choose no service group, where should i configure the destination?thanks
Hi Lei,
The metadata and execution destinations are relevant for runtime. On runtime you web dynpro application will access the web services you imported via these two destinations.
You can configure the metadata and execution destinations in the following location:
login on the CE system Netweaver Administrator: http://hostname:portnumber/nwa
On NWA navigate to SOA Management --> Technical Configuration --> Destination Template Management.
In this section of NWA you can define the Metadata and Execution destinations for your web services.
Please check the following blog for more information:
How to Consume an Enterprise Service from the ES Workplace in Web Dynpro in the new SAP NetWeaver Composition Environment 7.1
Regards,
Yasar -
Hi there,
How can I step into web dynpro component while debugging a process?
Regards,
Ricardo GiacominHi
1.Enable remote debugging(external breakpoint) on function module
2. Use same UserID that enables debugging and used in JCo Connection.
3. Run your application, it will take you to SAP GUI screen when breakpoint found.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30 -
How to call a method of a zclass into web dynpro application
How to call a method of a zclass into web dynpro application
Hi,
if the method is of type static then u can access it directly as below.
call method class_name=>method_name
If the method is instance method then U need to create the object of that class. then through this object u can access the method.
CALL METHOD Obj_name->method_name -
How to inject external configuration into web dynpro application
Hi colleagues,
I've a web dynpro application, which has some hard coded hostnames in the source code.
All hard coded hostnames should be moved to some else place, either engine parameters or external configuration file.
Searching over the project, hard coded hostnames were found in following file types:
- wdmodel files
- properties files
- java files
How to inject external configured hostnames into web dynpro applications, especially wdmodel and property files? Are threre best practices?
Thanks for any hint!
Best regards
Danielproperty file is supposed to do that job, you can configure the value at nwa after the application is deployed.
Configuring a Web Dynpro Application (Java) - IT Scenarios at a Glance - SAP Library -
Accessing ABAP Functions in Web Dynpro
Hi all,
for testing reasons I would like to implement a simple Web Dynpro Application which access APAP functions (or BAPIs) on a remote SAP backend system. The problem is that I dont have a SAP backend system
There is a tutorial :
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/355b9c90-0201-0010-d2a8-89fece426526">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/355b9c90-0201-0010-d2a8-89fece426526</a>
which states some prerequisites.
My question:
Is it possible to comply to all these prerequisites by installing NetWeaver Preview and minisap as remote SAP backend system ? Where can I get minisap ?
I'm quite new to SAP so I'm al little unsure which part belongs where.
Maybe someone can give me a hint.
Thanx a lotHi Oliver,
here you can download all you need:
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
Note: read the column comment in the page to understand what you need (java or abap stack).
Hope this help you,
Vito -
Integrate web dynpro into WEB UI
Hi,
I have a problem with integrating wd4a application into web ui.
When I set up url of the wd4a application (absolute url) as logical link, everything went ok in dev system.
But after transport to test system, application was not reachable, because absolute url linked to dev.
The second attemp was to set up the logical link to BSP application, which called absolute url to wd4a application using <bsp:call> statement in view. The problem is that this statement didnt work at all and it doesnt matter if there link to my application or to google.com.
do you have any idea how to solve this?
thanks
JurajHi,
I know this method,
but problem is that I used absolute link in WEB UI customizing, tx CRMC_IC_LTX_URLS ... in case I could create my own link, everything is ok
my problem is that I dont know how to define link in this tx with relative url
or I can be solved in way that I somehow integrate web dynpro into BSP application and then set up URL in tx CRMC_IC_LTX_URLS for the BSP.
the only problem is I dont kobw how to do this
thanks
Juraj -
Hello everyone,
I would like to know if it is possible to have instances of a class as a part of a controller context. You know, like if you added a service call to a BAPI or a function group, but with method calls to an object instead.
I have a feeling, that it is uncommon to bring Web Dynpro and the object orientation of ABAP Objects together.
For example, i don't want the event handling code of my controllers to call function groups, which in turn make calls to my object oriented model. Is there a way to skip that nasty imperative step?
Sorry for asking questions which may sound vague or naive, I'm kind of a beginner regarding Web Dynpro and ABAP.
cheers,
Jens BarthelThere's no need at all to have function modules in the way.
You can have either controller attributes or context attributes defined as object references, and then call methods from those objects instead...
In both cases, you just have to use TYPE REF TO instead of TYPE when defining the attributes.
Furthermore, if you have a central class through which you interact with your OO model, you can define it as Assistance class and then you'll have an instance automatically in all the controllers...the drawback / advantage is that you do not control its instantiation which is done by the framework.
Regards
Edited by: Alejandro Bindi on Oct 14, 2008 6:23 PM -
How to intrigrate ALV report into Web Dynpro
Hi Experts,
I Done one ALV Report and the same thing should be developed on web dynpro also...so, i want to intigrate the alv in web dynpro is this possible..if so, pl. let me know..asap. Thanks & Rewards,
SatishHi
ALV in Web Dynpro ABAP is different from Dynpro ALV.
In WebDynpro ABAP ALV is SAP's standard component SALV_WD_TABLE
You have to use this component inside your component.
the following tutorial will help you
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/60ea94e5-0901-0010-c3bb-aad5ea9620d8 [original link is broken]
Abhi -
ABAP PROGRAMMING in WEB DYNPRO
Dear all,
After days of installing netweaver and mini sap succesfully. I am wondering how i could i access the web dynpro for abap.
Can some one help me in providing me solution to access web dynpro.
Regards
ramhey ram
this sandeep here u r australian roommate buddy u rember u me and lokesh gandhi. what is u r email address dude i am working in portals to just mail me u r email address to [email protected] or [email protected]
Regards
sandeep
Maybe you are looking for
-
Unable to Control Volume on Hp Touchsmart 610
Hello, I just received my brand new custom HP Touchsmart 610 system. I've found that I am unable to lower the master volume at all. I have tried using the mouse to lower the volume on the sound mixer, the keyboard buttons and side monitor buttons.
-
Re: Search Help for Standard field in a Standard Component
Dear Experts i enhanced a standard screen with one inputfield and mapped a context attribute(The attribute is also standard one which doesnot have search help) my requirement is to assign a search help to the context attribute so that at runtime the
-
Bright light appearing while unlocking.
Bright light appearing on top left or right portion of the screen while unlocking as shown in the picture. Any idea on why this happening? Thanks in Advance..
-
Well, the latest firmware fixed the trackpad issues that I was having. Way cool! Now yesterday, a new problem developed which I wondered if anyone else had experienced. Yesterday, when returning to my desk, I realised that my MBP was making a humming
-
Passing Array of UDT or Collection as IN OUT using OracleDbType.InputOutput
Hi gurus, I received the following helpful and correct answer to this thread Re: Error Passing UDT as Collections using OracleDbType.Object However I'm now trying to modify it to be an OracleDbType.InputOutput as the correct answer modified my origin