cancel
Showing results for 
Search instead for 
Did you mean: 

Job Control in SM7.2 - customization to open Job Documentation instead of Job Request?

bernie_krause
Participant
0 Kudos

Hi. We're in the process of turning on Job Control, but would prefer if the redirect would send the user directly to Job Documentation page as opposed to Job Request page. Is there a way to customize the redirect to this end? We don't use Job Requests, but would like to control for Job Document creation which the Job Request redirect does not seem to do.


Thanks.
Bernie Krause

Accepted Solutions (1)

Accepted Solutions (1)

gergely_spiry
Explorer
0 Kudos

Hello Bernie.

In case of the redirect is configured the managed system is calling Solution Manager function AGS_EJR_CREATE_JOB_REQ_BASIC:

a) on calling SM36 ("new Job") the managed system hands over the information on the requesting user and maps him on a business partner.

b) on trying to change an existing job via SM37 for which job documentation is linked, the managed system hands over the GUID of the Job Documentation.

c) on trying to change an existing job via SM37 for which no job documentation is linked, the managed system hands over the informatio needed to create a new Job Documentation.

So the information would be there to support the creation or update of a job documentation. However, function AGS_EJR_CREATE_JOB_REQ_BASIC is always starting a job request guide procedure. The request is not created, if the job is a one time job. In this case the job is directly scheduled via the XBP interface.

In order to fullfill your requirement an enhancement of the function AGS_EJR_CREATE_JOB_REQ_BASIC would be needed.

Regards,

Gergely Spiry

Answers (1)

Answers (1)

bernie_krause
Participant
0 Kudos

Thanks, Gergely. I'll have one of our abap developers take a look, see if this is worthwhile. The other option I was thinking of was editing BP_SOLMAN_JOBDEFINITION to call AGS_EJR_CREATE_JOBDOC instead of AGS_EJR_CREATE_JOB_REQUEST. Would that be feasible as well?

Bernie