
A much-awaited feature of public cloud is now available with the 2502 release, with this feature we can attach a custom F4 value help to application job parameters, a basic yet essential feature.
Below are the steps on how we can attach F4 value help to application job parameters.
1) Create a class where all the business logic will be executed, this class will also contain all the job parameters.
To schedule an application job, you require an application job catalog entry that contains the name of the class (Class with execute method) which contains the interface IF_APJ_RT_RUN. You can create and edit application job catalog entries in the editor for application job catalog entries.
2) Creation of Application Job Catalog Entries
You can create an application job catalog entry in the ABAP development tools for Eclipse (ADT) using the creation wizard.
How to provide F4 to a parameter in application job
Creation of Value help CDS
Create CDS view with below annotations and assign this view to a parameter of the corresponding job catalog. The application job framework uses these annotations to render the value help dialog and the CDS view to search, filter, and display the list of possible values.
Along with F4 help, now we can group the job parameters fields in different sections by creating different sections and groups.
Add Section and Group in catalog-->
Add the group to each of the parameter
Creation of Application Job Template
Create application job template and provide the catalog entry that was created in above steps
Application Job Fiori App to execute the job
User can select any value from the F4 that was attached in Job catalog to these fields.
Pretty easy right? Give it a try and let me know in the comments section whether this post was helpful. I will be creating more blogs on the new feature of public cloud that were introduced in the 2502 release.
Thanks
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |