on 06-19-2009 7:38 AM
Dear All
We have three applications - 2 in web dynpro ABAP and 1 in web dynpro java.
My requirement is to connect the 2 web dynpro ABAP applications with the web dynpro java application.
Web dynpro ABAP applications will call web dynpro java application on the execution of an action.
Certain parameters will be passed from web dynpro ABAP applications to web dynpro java application.
It is also required that user should be able to navigate back to web dynpro ABAP application from web dynpro java application. While navigating back, web dynpro ABAP application should be in the same state as they were in earlier i.e. without any loss of data.
Anybody knows how to achieve this?
Kindly let me know if you need any further information.
Regards
Vineet Vikram
Hi,
I think the only way to achieve this is using Potal navigation. This is because both the applications run in different severs. So internal navigation is not possible.
You can do like this:
Create ivews for both WebDynpro ABAP and WebDynpor Java applications.
Use "WDPortalNavigation.navigateAbsolute(ivew)" to navigate from WebDynpro ABAP Ivew to WebDynpor Java application Ivew.
How to keep user selected values in the WebDynpro ABAP Ivew?
Before navigating store all the selected values in client session and navigte to WebDynpro Java Ivew.
Again navigate back to WebDynpro ABAP Ivew. Every time in the init method of WebDynpro ABAP Application check whether any selected values present in client session. If yes then make sure to select those values by default in the screen.
You can think about work protect mode also in Portal.
Regards,
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can maintain the clinet side data in session.
Code to maintain the client side data in session
String test1 = wdContext.currentContextElement().getTest1();
String test2 = wdContext.currentContextElement().getTest2();
IMaintainScope maintainer = Utils.getScopeMaintainer(WDScopeType.CLIENTSESSION_SCOPE);
maintainer.getScope().put("Test1", test1);
maintainer.getScope().put("Test2", test2);
//Retrieving the data from session
if(maintainer.getScope().get("Test1") != null)
{
String test1= maintainer.getScope().get("Test1").toString();
}
if(maintainer.getScope().get("Test2") != null)
{
String test2= maintainer.getScope().get("Test2").toString();
}
Hoe this helps you...
Regards,
Saleem
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.