cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule background job in SAP S/4HANA Public Cloud System

aman_mittal
Explorer
0 Kudos
335

Hi All,

I have a quick question and need a confirmation on same.

I am working on SAP S/4HANA Public Cloud System 3 tier landscape. I want to know if there is a way to directly schedule an object as a Scheduled Job like we did in SM36 in 0n-Premise system. 

For Example, I have created a class via Developer Extensibility and now I want to run that class daily and send lets say an email based on some condition or Update some sales orders based on some condition via EML. Is it possible via S4 Application jobs or we have to go via Integration Suite???

I have already checked blog How to schedule application jobs from a RAP-based ... - SAP Community but in this methodology we need a RAP application and user have to trigger it everytime to run the code in background. Also, I know about the SAP BTP Job Scheduling Service but I am looking for a process without BTP service.

Regards,

Aman Mittal

SAP S/4HANA Cloud Public Edition SAP S/4HANA Cloud Extensibility ABAP Cloud 

View Entire Topic
junwu
Active Contributor
Sandra_Rossi
Active Contributor

Also official documentation at help.sap.com:

Creating a Job Catalog Entry and a Job Template in ADT | SAP Help Portal

(Home > SAP Business Technology Platform (SAP BTP) > SAP Business Technology Platform > Development > Development in the ABAP Environment > Released Components and Objects > Application Jobs)

(this documentation talks about: IF_APJ_DT_EXEC_OBJECT, IF_APJ_RT_EXEC_OBJECT, CL_APJ_DT_CREATE_CONTENT)

NB: if needed, use CL_APJ_RT_API for Maintaining Application Jobs Using an API (SAP Help Portal).

aman_mittal
Explorer
Hi Sandra & Junwu, Thanks for the responses. Mistake I was making was not creating the Business Catalog and Role and assigning that role to my ID. I thought there is no way we can get the custom template created in ADT to Application Jobs app. This resolves my issue, Thanks a lot.