Skip to Content
avatar image
Former Member

Get detail on table web dynpro java

Dear all,

have a data table and LinktoAction items on it. I want to click each item, the user can get value of this item. But the result returns only first item on table,

and code:

Create_eCofc_Model _input= new Create_eCofc_Model();
Z_Esrce_Send_Pdf_Portal_Input input=new Z_Esrce_Send_Pdf_Portal_Input(_input);
wdContext.nodeZ_Esrce_Send_Pdf_Portal_Input().bind(input);
String test= wdContext.nodeI_Search_1B().getCurrentElement().getAttributeAsText("Prueflos");

wdContext.currentZ_Esrce_Send_Pdf_Portal_InputElement().setP_Prueflos(wdContext.currentI_Search_1BElement().getPrueflos());
wdComponentAPI.getMessageManager().reportSuccess("test: "+ test);
try
{
input.execute();
wdContext.nodeOutput_Send_Pdf().invalidate();
}
catch (ARFC2ModelExecuteException e2)
{
// TODO Auto-generated catch block
wdComponentAPI.getMessageManager().reportException("WDDynamicRFCExecuteException: "+e2.getMessage(),false);
}

Please help me. Thanks

s1.png (6.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 21, 2016 at 02:50 PM

    As I have posted here --> Link

    You can use the parameter mapping of the action to determine the current node the user clicked on. Let me know if you have any further questions.

    /Tobias

    Add comment
    10|10000 characters needed characters exceeded