I am trying to extract BSEG
table data from SAP ERP system. I want to set a filter on field GJAHR
for year 2018 so that data for that particular year will be extracted. Below is the code snippet:
if(fields != null){
JCoTable table = function.getTableParameterList().getTable("FIELDS");
for (String field : fields) {
table.appendRow();
table.setValue("FIELDNAME", field);
}
}