Skip to Content

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.

RAGS_CREATE_JOBDOC_MACRO

 

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.

Run Macro

 

Now check of the Organization data and Business Priority was correctly assigned.

Check ORG Data

Check if the Logical Component was correctly assigned.

Check system landscape

 

Check if the Contact Person was correctly assigned.

Check Contact person

 

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: ·        

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply