on 07-09-2009 12:20 PM
Hi Experts,
I have created WD screen. It fetches data from R/3 using RFC. I have created 'DropdownByIndex' UI element and mapped this with the output of RFC. It is fetching Emp Name.
I have following reqirement:
1) Initially first record (Emp Name) is displayed. When I am clicking on the Drop Down I can see list of rows. The first row is a blank line. I don't want to display this blank line. How I can get rid of it.
2) In the screen there is Push Button. User has to select any record from the drop down box. After that user has to click on push button. On this some other RFC should be executed.
The system should fetch the pernr of the given Emp Name. How I can get the pernr of the user whose Emp Name has been displayed in the Drop Down UI element.
Regards,
Gary
Hi Gary,
1. Change the selection property of the node from 0..n to 1..n
2. On click of Push botton execute the below code
wdContext.currentXXXNodeElement().getPernr();
// Assuming that pernr and employee are in same node.
// Since the current element of the node is the one which you selected in the drop down then
// currentXXXNodeElement().getPernr() returns the same element pernr.
Regards,
Jaya.
Edited by: VJR on Jul 9, 2009 5:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.