hi,
we have a requirment like this :
we are using the BAPI - SWN_UWL_GET_WORKLIST to get work list.
here i need to pass multiple status to the inputparameter - IM_STATUS_FILTER
which of type - Swr_Status(which of type table type).
i am using following code to do that:
Swr_Status inputStatus = new Swr_Status();
Swr_Status_List statusList = new Swr_Status_List();
inputStatus.setWi_Stat("ready");
statusList.addSwr_Status(inputStatus);
input.setIm_Status_Filter(statusList);
Swr_Status inputStatus1 = new Swr_Status();
Swr_Status_List statusList1 = new Swr_Status_List();
inputStatus1.setWi_Stat("started");
statusList1.addSwr_Status(inputStatus1);
input.setIm_Status_Filter(statusList1);
but it is not taking values for both the status.it is taking only latest one .how can i pass multiple values to table type ?
Pls suggest me on this.
Regards,
Anitha