on 08-18-2015 10:06 AM
Hi Gurus,
I have a scenario where I have to return row number to display smartform. The table is coming from R/3 side and I have to return the row number which will be selected by the user and on that input smartform will displayed. I have tried on leadselect but I am not able to get it.
Thank & Regards
Shilpi
Hi Gurus,
Please provide me solution.
Thanks & Regards
Shilpi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi shilpi mahajan ,
itseem you are using nwds 7.3 and here lead selection will alway point to first row, so use Parameter mapping ,
see the below link
http://help.sap.com/saphelp_nw70/helpdata/en/2f/55f35ceb9ca9458598ba61a4ca2fbb/content.htm
wdDoModifyView(...)
{
if (firstTime)
{
IWDLinkToAction link = (IWDLinkToAction) view.getElement("LinkID");
link.mappingOfOnAction().addSourceMapping("nodeElement", "rowElement");
}
}
paste above code in the view which has your table and then im assuming you are having a link to action in the table and on click of that you are getting smart form , so in that action you have to create an input parameter of type that tablenode Element as shown below...
void onActionLinkClicked(..., I<DataSourceNode>Element rowElement)
{
/* do whatever with row element */
}
hope this solves your problem.
Regards
Govardan Raj
Hi u,
it is same as salary statement facility in ESS, the scenario is i have table displaying contents plus a column with sequence number, on the click the RFC should return sequence number and a smartform will be displayed.
the problem that i am facing is, when I am keeping my onleadselection property of the table blank it is selectable and when i am putting an event it just selects the first row and other rows are not selectable.
Please Help!
Thanks & Regards
Shilpi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shilpi,
Why to keep it blank ? Just keep that action as it is. if you want Don't write code in it.
You have to create this action so as to use selection of Table.
Also make sure that property rowSelectable= true;
<<if possible can you attach screenshots of table and properties of it ?>>
Regards,
Amey
What is selection cardinality of node assigned to the table ?
It seems properties are appropriate. Issue should not occur.
I have also done same in 7.3. But I am not facing such issue.
Instead of binding 'output node residing in input node', can you try for separate output node?
Else
Can you try to delete and recreate table using apply template ?
--
Regards,
Amey
don't know what u are talking....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.