¡Caminando hacia el éxito!

Aprende en Comunidad

Avalados por :

Cómo programar trabajos en SAP con relación de predecesor y sucesor usando BTC_EVENT_RAISE

  • Creado 01/03/2024
  • Modificado 01/03/2024
  • 27 Vistas
0
Cargando...
Hello All,

Hope you are doing well..!!!

Recently, I had a requirement to schedule a job in SM37 where the second job will start once the first one is finished. However, when you schedule two jobs with a predecessor-successor relationship (start condition "Start after job"), you can schedule the predecessor periodically, but not the successor.

The BTC_EVENT_RAISE program is now available to solve this technical problem.

In this example, I am going to schedule job 1 and job 2 where job 2 will start once job 1 is finished.

Steps to follow are as below:

Step 1) Creating an Event –> Go to Transaction code SM62 –> Select BckProcEvnts tab –> Create an event.



  1. Go to SM62










Then provide the event name with a description.





In the snapshot above, we can see I have created an Event ‘Z_TEST’.



Step 2) Creating a variant for Program "BTC_EVENT_RAISE"

Go to se38 –> Enter Program name ‘BTC_EVENT_RAISE’—> Select Variant radio Button –> Click Display







Enter a name for Variant and click ‘Create’.







In the following screen, enter the event name, which you have created in SM62 (in Step 1). In my case, I had created ‘ZTEST’ Event.







Click on Attributes, enter a description for the variant and click on ‘Save’







Step 3:- Create the test job in SM36 as Z_TEST1. (I have given the program as RSPO0041 and the variant as SAP&001).



Then again, I create the new program and given the program name as BTC_EVENT_RAISE and the variant as Z_TEST_25 (created in step 2). Snapshot FYR.







Now, I released the Z_TEST1 and then the job automatically started once job 1 completed.

Reference: https://launchpad.support.sap.com/#/notes/919458

Feel free to drop a comment on your thoughts for SAP Job scheduling methods.



Thanks for reading the blogs and have a safe time ahead..!!





Pedro Pascal
Se unió el 07/03/2018
Pinterest
Telegram
Linkedin
Whatsapp

Sin respuestas

No hay respuestas para mostrar No hay respuestas para mostrar Se el primero en responder

contacto@primeinstitute.com

(+51) 1641 9379
(+57) 1489 6964

© 2024 Copyright. Todos los derechos reservados.

Desarrollado por Prime Institute

¡Hola! Soy Diana, asesora académica de Prime Institute, indícame en que curso estas interesado, saludos!
Hola ¿Puedo ayudarte?