Trigger ABAP program using UNIX script

本文介绍如何为ABAP程序创建批处理作业并使用事件作为启动标准。通过SM37创建批处理作业,并在SM62中定义事件。在Unix环境中,调用SAPEVT实用程序实现远程触发。

1. Create a batch job in SM37 for the ABAP program, and use an event for the start criteria.
2. Create an event in SM62
3. In unix, we'll need to call an executable SAPEVT.
This will be in the directory /usr/sap/<SAPSID>/SYS/exe/run
we also will need to use the appropriate profile for the SAP system to run the sapevt utility.

example :
sapevt abap_event -t pf=/usr/sap/<SID>/SYS/profile/<SID>_DVEBMGS00_<SYSNAME> nr=00

 

Related OSS

Note 11661 - Event-driven call of background jobs does not work

Note 374379 - Triggering SAPEVT from a remote host

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值