on 06-26-2006 2:15 PM
Hi All,
I have three views.The first is the search view and the other two are the tables view.
In the second view..I have to display the data from the BAPI in to the table..and on the lead selection of any row and after pressing the Get Detail button I should get the Details from the BAPI for the particular row in the Third view or Table.
Kindly provide me the logic to make it working.
Thanks in advance.
Regards
Dipendra
Hello Dipendra,
View1 -> View2 -> View3
Navigation through this views can be achieved by navigation plugs as you may already be aware of.
Sample code available in the location
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d</a>
See samples '1 | 2 | 10 | 15 | 40 '
So after navigation logic is implemented, next step is to pass lead selection data from view2 to view3. This can be done by storing leadselection index in the Contoller context and access the same from view3. So just get the index and get the nodeElement and display the details.
Regards,
Sudeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohanty,
You can get the lead selection row by current context element.
IFilterBAPIResultElement filterResult = wdContext.currentFilterBAPIResultElement();
filterResult.getAttributeA();
filterResult.getAttributeB(); ...
concatenate the attribute using "," and fire portal event
WDPortalEventing.fire(
"urn:sample",
"sample",
"Sample,"+Value);
Value contains data of selected row
subscribe in destination or third iview display the details.
Regards
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.