cuijian
2025-07-04 16807e7a9b856a78abbfd80d7ec69e784d5127c7
src/main/java/org/jeecg/modules/sap/service/impl/SAPServiceImpl.java
@@ -29,10 +29,9 @@
            }
            // 设置输入参数
            JCoParameterList input = function.getImportParameterList();
            JCoTable inputTable = function.getTableParameterList().getTable("ZTAB_WERKS");
            inputTable.appendRow();
            inputTable.setValue("ZTAB_WERKS", "2301"); //参数名需与 SAP 函数定义一致
            inputTable.setValue("WERKS", "2301"); //参数名需与 SAP 函数定义一致
            // 执行调用
            function.execute(destination);
@@ -44,7 +43,6 @@
                outputTable.setRow(i);
                log.info("Row {} : {}", i, outputTable.getString("AUFNR"));
            }
//        String materialName = output.getString("MATERIAL_NAME"); // 参数名需与 SAP 函数定义一致
            return String.valueOf(numRows);
        } catch (JCoException e) {