This is a test message to test the length of the message box.
Login

Write a comment

Writing comments is only allowed to registered users, registration is free and does not require an email address and can be done quickly here.

Changes to parameters

Srinath_Mareedu - 05/23/2025 - 12:14

Hi Bjorn,

I have created a job catalogue and subsequently job template. The execution class did not have any parameters when I first created the job objects. Now I have built the parameters(one select option via et_parameter_def) in 'if_apj_dt_exec_object~get_parameters' method. But the select option is not reflected on my Job template.

My question: Can we not change the parameters once the job objects are created? If changes to parameters are needed, should I create new job catalogue and job template?

Also, when defining parameters, we have 'datatype', the documentation says it accepts either 'C' or 'I' but does not mention about the max allowed length. Does it mean, all the character type parameters are strings?


Xexer - 05/23/2025 - 16:35

Hello Srinath,

unfortunately, the first version of the application jobs wasn't quite as good and had many problems with maintaining and extending the jobs. If you extend the parameters, you should delete the objects and create them again, as synchronization doesn't work quite as well. You can specify the length of the parameter via the definition, so you can already limit it.

The new version (v2) fixes the bugs and issues, and value help also works very well.

Greetings Björn


Unable to see custom job template in 'Maintain Application Job' in S/4 HANA On Prem

vkbook - 01/16/2025 - 17:49

Hi Bjorn,

Thanks for the fantastic blog. I am trying this on an On-Prem system - S4HANA ON PREMISE 2023 01 (02/2024) FPS

I followed all the steps and am able to see the custom job template on the Fiori app - Application Job Templates but am not able to see it in the Fiori App 'Maintain Application Job'. Is there any special authorization needed in On-Prem to see custom templated on the Maintain Application Job Fiori App or is this not supported in On-Prem. Appreciate your thoughts on this.

Thanks, VK


Xexer - 01/16/2025 - 20:08

Hello VK, for BTP you have to create an IAM App with the job object (more described in the article for authorizations). For On-Premise you need the authorization for the jobs. You can check the DCL of the Core Data Service "C_APJ_JOB_TEMPLATE_F2058" for more insights. You need the object "S_APJ_TPL" mit 03 to see the job and 02 to plan and execute it.

Greetings Björn


Christopher

Christopher - 01/03/2025 - 16:12

Do you know if/how we can access the entered job name?


Xexer - 01/03/2025 - 19:14

Not currently. In what context is the information needed and isn't one criterion on the input sufficient? Normally I would say I don't need this information for the processing.


Christopher - 01/06/2025 - 13:36

We are sending out an e-mail after the job is finished. It would be nice to have the job name as part of the e-mail text.


Xexer - 01/07/2025 - 16:16

Thanks for your reply. Actual there is no way to get the information. I have checked the report APJ_CLASS_RUNNER (Version v2), there is only the template available, but also not handed over. Better you create an input field for the user, so you can take the value of that input. Or you create an Influence Request, if you need it.