on 06-02-2015 1:54 PM
Dear WebDynpro Guru's,
I have a requirement from my client is that from the one application user wants to see the list of PR which is going to be Approved and if the user has selected the list of PR line items & he wants to see the details of the them. for this requirement i have develop Two different Web dynpro applications but my client is asking that first he has to show list of PR with line items with the minimum data then he has selected some item's of the single PR List he wanted to see the details briefly like the interactive ALV of the Normal ALV reports. for this i made as component usage call the second application in my first application so here how can i pass the selected table node to another application. Here i'm already tried the method url passing application & fields but it's not full fill our requirement. Please help me with your valuable suggestions & inputs to achieve this & also if he click that line item first view is invisible any other application view is only visible while back then he see the first application list only.
Thanks & Regards,
Suresh Reddy.
Hi Suresh,
Please go through this link.
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Your current design will make you more complicated. Instead of passing the values in URL, it is best that you can handle the process through node.
Please follow the below steps.
1. In your PR list application, collect all of your header and item data and store it in a separate node, where you should expose this node as an Interface node.
2. Now in your second process, based on the conditions that you met from PR list, make the component usage of your PR list component node in your details view component.
3. Now populate the values from the node, as it will hold values.
But one more option is there, which definitely gives you a better performance.
1. Don't go ahead for another WDA. In your same component, create another(Detail_View) view with the node holding all the relevant data.
2. For your PR item, create a single ton class and save all the data in the class. Please follow the below doc.
3. Now based on your business action, display the Detail_View. Now you have two advantages, one is you have already stored the values in the node and the other one is you are also saving it in your custom business class.
Hence you can minimize your design to single application by handling two views in same component.
BR,
RAM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Here no need to create two applications.
you can do this using one component only.
create a component , with 2 views.
in the first view you show the PR list with less values
and inn the second view , you show the detailed values.
Regards,
Shony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shony,
Thank you for the your valuable suggestion but i need two different application why because my client use these two applications for different purpose & that to be only authorized persons can only run these applications different way.While user wants see the data details of the PR line items he is no need to see the other application buttons only he his having details overview no further actions on the Second application.
Dear Shony,
Thank you for your valuable input i have tried using the interface node concept.But i'm not getting the values of the first application node values when my second application is initiated. Here i was made as call the second application in my first application set the interface node according to the user action and then in the second application again call the first application by component usage get the interface node of the first application in second application while getting the data from the interface node in the there is no data . Here I call the second application by using the URL in first application.
Dear Ramakrishnan,
yes i'm bind the node correctly at the first application while second application is initiated i'm accessing the node values that i'm binding the interface node there is no entries in that node.
I'm not saved any data anywhere. Please help me where i did the mistake develop my requirement.On the debug mode i checked that the node is correctly bind at the first application.
Hi Suresh,
Try this link
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=103481411
Hope this will solve the issue.
Rewards if useful.
Regards
Shony
Hi Suresh,
As you told that you have already bound the node values in your first application, now make sure that you have mapped the right node of your interface controller at your second application.
I mean once you added the component usage of your first application in your second application, make the interface node mapping in your second application of the interface controller.
It will definitely resolve your problem.
BR,
RAM.
User | Count |
---|---|
93 | |
10 | |
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.