Skip to content

/AWS1/CL_PRN=>DELETESERVICETEMPLATEVERSION()

About DeleteServiceTemplateVersion

If no other minor versions of a service template exist, delete a major version of the service template if it's not the Recommended version. Delete the Recommended version of the service template if no other major versions or minor versions of the service template exist. A major version of a service template is a version that isn't backwards compatible.

Delete a minor version of a service template if it's not the Recommended version. Delete a Recommended minor version of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's backwards compatible.

Method Signature

IMPORTING

Required arguments:

IV_TEMPLATENAME TYPE /AWS1/PRNRESOURCENAME /AWS1/PRNRESOURCENAME

The name of the service template.

IV_MAJORVERSION TYPE /AWS1/PRNTEMPLATEVERSIONPART /AWS1/PRNTEMPLATEVERSIONPART

The service template major version to delete.

IV_MINORVERSION TYPE /AWS1/PRNTEMPLATEVERSIONPART /AWS1/PRNTEMPLATEVERSIONPART

The service template minor version to delete.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRNDELSVCTMPLVRSOUT /AWS1/CL_PRNDELSVCTMPLVRSOUT