在浏览器里使用 SAP GUI

2846 篇文章 296 订阅

事务码SICF,service name输入WEBGUI,

点右键,选择Test Service:


可以在浏览器里敲SE38进入ABAP editor了:

然么缺乏语法高亮显示:

如果想要浏览器里的语法高亮显示,参考我的SAP community blog How ABAP syntax highlight is implemented in WebIDE launched via browser

以及那些年我用过的SAP IDE

2021年1月31日更新

有朋友在我的公众号里留言:

我安装了770,想问下登录配置文件是放在哪里了,好像不再是以前的路径了…

要获取更多Jerry的原创技术文章,请关注公众号"汪子熙"或者扫描下面二维码:

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Java can also be used to interact with SAP GUI Scripting API, although it requires additional steps for setup compared to using ActiveX-compatible languages. Here are the general steps to use SAP GUI Scripting API in Java: 1. Install and configure SAP GUI on the machine where the Java application will run. 2. Download and install the SAP Java Connector (SAP JCo), which is a middleware component that allows Java applications to communicate with SAP systems. 3. Add the SAP JCo library to the Java classpath. 4. Write Java code to create an instance of the SAP GUI Scripting API component, connect to a SAP system, and perform the desired actions. Here's a sample code snippet in Java to perform a simple task using SAP GUI Scripting API: ``` import com.sap.conn.jco.*; import com.sap.conn.jco.ext.*; public class SAPGUIScriptingExample { public static void main(String[] args) throws JCoException { // Create a new SAP GUI Scripting API object JCoDestination destination = JCoDestinationManager.getDestination("SAPGUI"); // Connect to the SAP system destination.ping(); // Get the SAP GUI Scripting API object for the active session JCoContext.begin(destination); JCoSession session = destination.getSession(); JCoFunction function = session.getFunction("BAPI_COMPANYCODE_GETLIST"); // Invoke a function to get a list of company codes function.execute(session); // Retrieve the result and display it JCoStructure result = function.getExportParameterList().getStructure("COMPANYCODE_LIST"); System.out.println(result); } } ``` Note that this is just a simple example, and more complex scenarios may require additional code and configuration.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

汪子熙

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值