Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Event driven batch job

Former Member
0 Likes
1,843

We need to set up an event driven batch job which encrypts and then moves a payment file which has been created on the SAP server. I understand how to create an event driven background process in SM36, but I am presented with a list of 'events', none of which do I know what they do. Is there one which says 'when a file is created' or 'when directory list changes' already in existence, or it is something we need to create - and if so, how? Any help, greatly appreciated. Thx

4 REPLIES 4
Read only

ThomasZloch
Active Contributor
0 Likes
1,019

You can add own events via tx SM62, please also look into SAP online documentation.

However these events need to be triggered explicitely by a process or program, a generic "when file is created" type is not available in the standard. Maybe this could be built via unix shell scripts using the "sapevt" command, but this is a topic for system administrators, not developers.

For example an ABAP program that creates a file could also trigger an event subsequently that a file transfer job is waiting for. One might as well include both steps into the same job though. Please disclose more about your process chain for better suggestions.

Thomas

Read only

0 Likes
1,019

Hi Thomas

System is R3 4.6c.

We are running transaction F110 in Accounts Payable to create the payment medium to send to the bank. We need to be able to 'sign' this output using PGP to ensure that no-one has tampered with the file. We are dropping the output file in a folder in the SAP server that the user cannot navigate to. We then need a batch job to run which calls the PGP software (which resides on the SAP server), signs the file and moves it to an area where it will be further processed. I understand we can use an Event driven process to do this but don't know how to create the event (I have worked out how to create an event driven process in SM36 though).

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,019

Hi,

Is the payment file created through F110?

BR,

Suhas

Read only

Former Member
0 Likes
1,019

we can schedule a back ground job by triggering an event using Tcode SM62..

For Bette Understanding please go through the below link..

http://wiki.sdn.sap.com/wiki/display/ABAP/Schedulingbackgroundjobbytriggeringanevent

Hope this will help you..

Regards,

Kiran