Skip to content

/AWS1/CL_PRN=>UPDATESERVICE()

About UpdateService

Edit a service description or use a spec to add and delete service instances.

Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

Use the description parameter to modify the description.

Edit the spec parameter to add or delete instances.

You can't delete a service instance (remove it from the spec) if it has an attached component.

For more information about components, see Proton components in the Proton User Guide.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/PRNRESOURCENAME /AWS1/PRNRESOURCENAME

The name of the service to edit.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/PRNDESCRIPTION /AWS1/PRNDESCRIPTION

The edited service description.

IV_SPEC TYPE /AWS1/PRNSPECCONTENTS /AWS1/PRNSPECCONTENTS

Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRNUPDATESVCOUTPUT /AWS1/CL_PRNUPDATESVCOUTPUT