Trigger ABAP program using UNIX script

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

你可能感兴趣的:(unix)