cancel
Showing results for 
Search instead for 
Did you mean: 

Not displaying the data in to the table..wht is the issue

Former Member
0 Kudos

I have problem for the displaying the RFC Model object date in to the table.

I have created the Table in the view, Then i have choosed the "create binding" option in the outLine window to map the perticular RFC model object to the Table to display. The data is not displaying in the table . But the RFC model object contains data. when i am trying to display with MessageMaganger.reporSuccess(). it is diplaying the data.

Can any one tell me what is the issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, Vishal!

Did you call the invalidate()-method on the bound model node after execution of rfc in order to fill it with the return data?

Regards,

Thomas

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

First, in your view layout in NWDS, look at the tableview, do you see fieldnames in the columns and rows. If so, then I believe that you have bound correctly. Also, in your executeBAPI method, make sure that it looks something like this.



    public void executeBapi_Gl_Acc_Getlist_Input( )
  {
    //@@begin executeBapi_Gl_Acc_Getlist_Input()
    
    try{
    	
    	wdContext.currentBapi_Gl_Acc_Getlist_InputElement().modelObject().execute();
    } 
    catch (Exception ex)
    	{
    		ex.printStackTrace();
    }
    
<b>    wdContext.nodeOutput().invalidate();</b>
    
    //@@end
  }


Regard,

Rich Heilman