Skip to content

Latest commit

 

History

History
215 lines (121 loc) · 2.62 KB

retrieve-application-job-parameters-117063a.md

File metadata and controls

215 lines (121 loc) · 2.62 KB

Retrieve Application Job Parameters

Retrieve the application job parameters as a JSON string. This string can directly be used for scheduling an application job.

You can include the following properties in the URL of the request:

Property

Necessity

Comment

JobName

Mandatory

This is the name of the application job

JobCount

Mandatory

This is an alphanumerical job count value

The operation returns:

  • Parameter String: A JSON string containing the application job parameters.

Request

POST <host>/sap/opu/odata/SAP/BC_EXT_APPJOB_MANAGEMENT;v=0002/JobParamValuesGet?JobName='JobName'&JobCount='JobCount'

Response

<d:ParameterValues>{JSONSTRING}</d:ParameterValues>

Retrieve the application job parameters. You can include the following properties in the URL of the request:

Property

Necessity

Comment

JobName

Mandatory

This is the name of the application job

JobCount

Mandatory

This is an alphanumerical job count value

The operation returns:

  • Step Number: The number of the step where the parameter exists

  • Parameter Name: The name of the parameter

  • Sign/Option/Low/High: Values according to ABAP ranges

Request

POST <host>/sap/opu/odata/SAP/BC_EXT_APPJOB_MANAGEMENT;v=0002/JobParamValuesStructGet?JobName='JobName'&JobCount='JobCount'

Response

{
  "d": {
    "results": [
      {
       "StepNr": StepNumber,
	"JobParameterName": "ParameterName",
	"Sign": "I",
	"Option": "EQ",
	"Low": "LowValue",
	"High": "HighValue"	}
    ]
  }
}