Hi!
I'm trying to do that when the user clicks a cell in a table with item opens details of that item in another view, so i got 2 views and 1 controler and 2 rfcs, i'm new in webdynpros so help me with this tell me why this doesn't work and what the best way to do this.
in my first view(itens) i do this in a method that is called in the lead select...
String posnr = wdContext.nodeT_Zcrm_St_05().getT_Zcrm_St_05ElementAt(wdContext.nodeT_Zcrm_St_05().getLeadSelection()).getPosnr(); String kunnr = wdContext.currentT_Zcrm_St_04Element().getKunnr(); String vbeln = wdContext.currentT_Zcrm_St_04Element().getVbeln(); wdThis.wdGetDetPedidoCustController().executeDetItem(posnr,kunnr,vbeln);
when i call the method executeDetItem with this Strings a Conversion error comes but when i pass values in "" it goes ok...
wdThis.wdGetDetPedidoCustController().executeDetItem("000","0001000010","0000000001");
i already try to see if is the length but it is not... i raised the length and it goes ok with the method call above...
my method in the controller is like this
Z_Rfc_Detalhe_Item_Input inputItem = new Z_Rfc_Detalhe_Item_Input();
wdContext.nodeDetalheItemNode().bind(inputItem);
inputItem.setI_Item(item);
inputItem.setI_Cliente(cliente);
inputItem.setI_Pedido(pedido);
try{
wdContext.currentDetalheItemNodeElement().modelObject().execute();
}catch(Exception ex){
ex.printStackTrace();
}
wdContext.nodeT_Zcrm_St_03().invalidate();
wdContext.nodeT_Zcrm_St_06().invalidate();
thanks
Regards
Dalmo