cancel
Showing results for 
Search instead for 
Did you mean: 

Get detail on table web dynpro java

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member191044
Active Contributor
0 Kudos

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