打印格式 SAP RFC 测试

master
cez 2021-11-22 18:15:25 +08:00
parent bab2c34fdc
commit 4cf1ebf605
1 changed files with 3 additions and 5 deletions

View File

@ -20,16 +20,14 @@ public class JeecgOneGUI {
public static void main(String[] args) {
// CodeWindow codeWindow = new CodeWindow();
// codeWindow.pack();
Map<String, Object> result = new HashMap<String, Object>();
try {
try {
SapRFC saprfc = SapRFC.getInstance();
saprfc.prepare("ZZKMES_FM_PP112");
saprfc.execCall();
// saprfc.getParamTableList()
JCoTable tab = saprfc.getParamTableList("IT_OUT");
JCoTable tab = saprfc.getParamTableList("ES_OUTPUT");
System.out.print("rows:" + tab.getNumRows());
result.put("IT_OUT", tab);
} catch (Exception e) {
} catch (Exception e) {
System.out.print(e.getMessage());
}