|
|
@ -405,6 +405,9 @@ public class SapItemSyncImpl implements SapItemSyncService {
|
|
|
|
if (func == null) {
|
|
|
|
if (func == null) {
|
|
|
|
throw new RuntimeException("Function does not exist in SAP");
|
|
|
|
throw new RuntimeException("Function does not exist in SAP");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//参数
|
|
|
|
|
|
|
|
JCoParameterList jCoParameterList = func.getImportParameterList();
|
|
|
|
|
|
|
|
jCoParameterList.setValue("P_WERKS", mapList.get("P_WERKS"));
|
|
|
|
|
|
|
|
|
|
|
|
log.info("来料检验-------" + mapList.toString());
|
|
|
|
log.info("来料检验-------" + mapList.toString());
|
|
|
|
func.execute(dest);//执行调用函数
|
|
|
|
func.execute(dest);//执行调用函数
|
|
|
|