cuijian
2025-07-01 ffa5afb4e38d577c85813f48e41696f0c569c7a7
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) {