Skip to Content
0

Get detail on table web dynpro java

Oct 19, 2016 at 03:39 AM

75

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tobias Hamdorf Oct 21, 2016 at 02:50 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded