|
|
||||||||||||||||||||
|
||||||||
| Checklist: |
|
||
Transaction SM62 -- Define events Example:
An event by itself doesn't do anything. A background job needs to be defined and configured to wait for the event. Therefore, you create the background job via SM36 and specify the new event name as the "Start Condition". Example:
Notice that the new background job can be defined as a periodic job. This allows you to trigger the job in the future as opposed to one time only.
Transaction SM64 -- Trigger events within SAP
Example:
Executable SAPEVT
The syntax is as follows:
sapevt <EventName> pf=<Path_to_Default_Profile>
Example:
SAPEVT is a stand-alone executable that can be copied into remote computers. That's right! You can execute an event right from your laptop or desktop computer.
So, is there anything else required on the remote computer besides the executable? Yes. You need to have an entry in the "services" file with the TCP port for the SAP messenger of the SAP instance. You can edit the file with Notepad or any plain-text editor and add the necessary entry at the end. The file is located under the %systemroot%system32driversetc directory.
Example:
Add the line below and save the file:
Also, please notice that you need to have read access to the "default.pfl" file on the SAP instance.
Now that you know how to trigger events to kick off SAP jobs you can smile every time an interface job is needed.
'); // -->
|
|
|||||||||||||||||||||||||
| About Us | Contact Us | For Advertisers | For Business Partners | Site Index | RSS |
|
|
|
|||||||