Creation of Job Documentation Macros
In case you create many Job Doumentations you might have already wondered if it is possible to assign Contact Persons, Organizations, Logical Components (i.e. Systems) automatically. The answer is: Yes you can!
The Job Documentation can be accessed via an automation framework that executes XML scripts. In the Job Scheduling Management these XML script are responsible for the automatic scheduling of standard jobs but are also used to provide the Job Documentation macro functionality. You can even call the XML automation interface from remote system. This could be used to create Job Documentations from a remote system. See SAP note 1327024 for more information on remote APis and the XML schema.
In order to create you first macro you don’t have to code XML. Just start report RAGS_CREATE_JOBDOC_MACRO in transaction SE38 and enter the desired parameters for business priority, logical component, region, country and contact person as shown below. Of course you have to provide a unique macro id and a description. You can assign macros either to a single user or to all users in the SAP Solution Manager system.
When done just run the report and open a Job Documentation and switch to change mode. Navigate to the Macro button in the header area, expand it and … voila…there’s the just created Job Documentation macro. Select it in order to execute it.
Now check of the Organization data and Business Priority was correctly assigned.
Check if the Logical Component was correctly assigned.
Check if the Contact Person was correctly assigned.
If everything was correctly assigned save the Job Documentation and your’re done and can from now use this macro on each new Job Documentation.
Of course report RAGS_CREATE_JOBDOC_MACRO supports just basi requiremts. In case you have more complex requirements, you can also upload your custom XML automation scripts with report RAGS_SCRIPT_UPLOAD. Hint: Use the download functionality and SAP note 1327024 to reverse engineer your XML file.
SAP note 1385644 delivers an email notification functionality for macros. If enabled en email is send to all the contact persons that are responsble for the Job Documentation.
List of selected related SDN blogs: ·
- SAP is first vendor to provide a comprehensive Job Management Suite
- Job Scheduling Management with SAP Solution Manager
- Central Job Scheduling with SAP Solution Manager
- Monitoring Job Chains with SAP CPS by Redwood and SAP Solution Manager
- Managing Standard Jobs centrally from SAP Solution Manager
- CPS Wiki
- Re-directing transactions SM36, SM37, SA38: Controlling end-user scheduled jobs – Part 1
- An easy way to identify end-user scheduled jobs which bypass your central scheduling tool
- Job Interception: Controlling end-user scheduled jobs