Automic Workload Automation

Expand all | Collapse all

SAP Event triggered jobs in Automic

  • 1.  SAP Event triggered jobs in Automic

    Posted 04-03-2018 11:21 AM
    Hello Experts,

    We are in process if implementing Automic Workload automation tool in our SAP landscape and trying to find out options to activate event triggered jobs in SAP through Automic.
    What is the best option to achieve this ?
    As per requirement job should be active in Automic all the time and it should trigger the job in SAP whenever the event occurs. All SAP events are created in SAP SM64 transaction.

    Regards,
    Abin


  • 2.  SAP Event triggered jobs in Automic

    Posted 04-03-2018 01:06 PM
    Hi Abin!

    Depending on what kind of event you would like to trigger the SAP job activation the solutions available could be different. How would the event be triggered? An SAP job can easily be activated using the script ACTIVATE_UC_OBJECT within the process tab of an EVENT object like so:

    :SET &ACTOBJ# = ACTIVATE_UC_OBJECT("NAME_OF_SAP_JOB")

    For additional information check our documentation here:
    https://docs.automic.com/documentation/webhelp/english/AWA/12.1/DOCU/12.1/AWA%20Guides/help.htm#AE_AWA_Source/Script/ucaafh.htm?Highlight=ACTIVATE_UC_OBJECT


  • 3.  SAP Event triggered jobs in Automic

    Posted 04-03-2018 01:09 PM
    Event Objects run either at a specific time or as frequent as every minute to check for the event. The Event process tab is used to run script every single time the event job makes a check for the conditions, alternatively the Process tab is executed when the event determines the condition is true and you would like to trigger the SAP job.

    https://docs.automic.com/documentation/webhelp/english/AWA/12.1/DOCU/12.1/AWA%20Guides/help.htm#AWA/Objects/obj_event.htm?Highlight=EVENT


  • 4.  SAP Event triggered jobs in Automic

    Posted 04-03-2018 01:49 PM
    Do you want an SAP job to be activated based on an event in SAP? I would look into a Console event for SAP for that.


  • 5.  SAP Event triggered jobs in Automic

    Posted 04-03-2018 09:38 PM
    Thank you Andrew and Michael for your valuable inputs.

    Yes, our requirement is to activate SAP job based on an event in SAP and we have many jobs like that. I tried to create a Console Event and used  ACTIVATE_UC_OBJECT to trigger the job based on event.
    However I see some delay in event triggering time in SAP and job activation time by Automic. Always there is a delay of nearly 2 mins. ie, the job is getting triggered after 2 mins of event trigger in SAP. Do we have any parameter in Automic to control this delay ? Also we have many  events in SAP. Do we need to create separate Console events for each event ? or can we have single console event with all the events updated and have some 'IF' condition under process tab to trigger a job based on the event occurred in SAP ? what is the recommended option ?

    Regards,
    Abin