Skip to content

/AWS1/IF_GST=>UPDATEEPHEMERIS()

About UpdateEphemeris

Update an existing ephemeris.

Method Signature

METHODS /AWS1/IF_GST~UPDATEEPHEMERIS
  IMPORTING
    !IV_EPHEMERISID TYPE /AWS1/GSTUUID OPTIONAL
    !IV_ENABLED TYPE /AWS1/GSTBOOLEAN OPTIONAL
    !IV_NAME TYPE /AWS1/GSTSAFENAME OPTIONAL
    !IV_PRIORITY TYPE /AWS1/GSTEPHEMERISPRIORITY OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gstephemerisidrsp
  RAISING
    /AWS1/CX_GSTDEPENDENCYEX
    /AWS1/CX_GSTINVALIDPARAMETEREX
    /AWS1/CX_GSTRESOURCENOTFOUNDEX
    /AWS1/CX_GSTCLIENTEXC
    /AWS1/CX_GSTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_ephemerisid TYPE /AWS1/GSTUUID /AWS1/GSTUUID

The AWS Ground Station ephemeris ID.

iv_enabled TYPE /AWS1/GSTBOOLEAN /AWS1/GSTBOOLEAN

Enable or disable the ephemeris. Changing this value doesn't require re-validation.

Optional arguments:

iv_name TYPE /AWS1/GSTSAFENAME /AWS1/GSTSAFENAME

A name that you can use to identify the ephemeris.

iv_priority TYPE /AWS1/GSTEPHEMERISPRIORITY /AWS1/GSTEPHEMERISPRIORITY

A priority score that determines which ephemeris to use when multiple ephemerides overlap.

Higher numbers take precedence. The default is 1. Must be 1 or greater.

RETURNING

oo_output TYPE REF TO /aws1/cl_gstephemerisidrsp /AWS1/CL_GSTEPHEMERISIDRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->updateephemeris(
  iv_enabled = ABAP_TRUE
  iv_ephemerisid = |string|
  iv_name = |string|
  iv_priority = 123
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_uuid = lo_result->get_ephemerisid( ).
ENDIF.