I created a custom controller and wrote the following code in the init part of Cust controller. No errors. But when i deploy control doesnt goto the back end and in the view empty table is coming up.
Requirement is to pass the userid to the backend and get the data from the BAPI and siaplay it in the table format.
input1.setUserid("USRID");
wdContext.nodeZ_Ess_Read_9099_Input().bind(input1);
try {
input1.execute();
wdContext.nodeOutput().invalidate();
} catch (Exception Ex) {
Ex.printStackTrace();
}
//@@begin others
Z_Ess_Read_9099_Input input1;
//@@end