on 10-15-2007 11:14 AM
Hi Experts,
As part of my project I have designed Web Dynpro screen. I have to provide following functionality in the screen:
User clicks on 'Find WBS Element button' on the Web Dynpro screen. On clicking on this button, one window should pop up. This window should display 10000s records of R/3 table. These records pertain to active WBS Element. There are three fields on this window - WBS Element, Description and Billable Flag. User should be able to search on WBS Element or Description. How we can acheive this?
Regards,
EP
Hi,
In your popped up window, give an inputfield with value search property.
ie. Create an input field in popped up view, bind it to a context variable ,say 'wbs'.
then in init() of this poppedup view, after executing the ABAP function to get R/3 data for WBSelements, give
IWDAttributeInfo attrInfo=wdContext.getNodeInfo().getAttribute("wbs");;
IModifiableSimpleValueSet dropValueSetattrInfo.getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
for(int i=0;i< <modelNodecontainingWBSElements>.size();i++)
{
String elem=<modelNodecontainingWBSElements>.get<modelNodecontainingWBSElements>elementAt(i).get<WBSelementID>;
String desc=<modelNodecontainingWBSElements>.get<modelNodecontainingWBSElements>elementAt(i).get<WBSelementDescription>;
dropValueSet.put(elem,desc);
}
When this view is loading it will give an input field, which has a right button ,click there.
It will show a list of all WBS elements from R/3. There you can search by WBS element and by its description.
Let me knoe whether it is useful for you.
Thanks
Smitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.