Skip to content

/AWS1/IF_GST=>CREATEEPHEMERIS()

About CreateEphemeris

Create an ephemeris with your specified EphemerisData.

Method Signature

METHODS /AWS1/IF_GST~CREATEEPHEMERIS
  IMPORTING
    !IV_SATELLITEID TYPE /AWS1/GSTUUID OPTIONAL
    !IV_ENABLED TYPE /AWS1/GSTBOOLEAN OPTIONAL
    !IV_PRIORITY TYPE /AWS1/GSTCUSEPHEMERISPRIORITY OPTIONAL
    !IV_EXPIRATIONTIME TYPE /AWS1/GSTTIMESTAMP OPTIONAL
    !IV_NAME TYPE /AWS1/GSTSAFENAME OPTIONAL
    !IV_KMSKEYARN TYPE /AWS1/GSTKEYARN OPTIONAL
    !IO_EPHEMERIS TYPE REF TO /AWS1/CL_GSTEPHEMERISDATA OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP 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_name TYPE /AWS1/GSTSAFENAME /AWS1/GSTSAFENAME

A name that you can use to identify the ephemeris.

Optional arguments:

iv_satelliteid TYPE /AWS1/GSTUUID /AWS1/GSTUUID

The satellite ID that associates this ephemeris with a satellite in AWS Ground Station.

iv_enabled TYPE /AWS1/GSTBOOLEAN /AWS1/GSTBOOLEAN

Set to true to enable the ephemeris after validation. Set to false to keep it disabled.

iv_priority TYPE /AWS1/GSTCUSEPHEMERISPRIORITY /AWS1/GSTCUSEPHEMERISPRIORITY

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.

iv_expirationtime TYPE /AWS1/GSTTIMESTAMP /AWS1/GSTTIMESTAMP

An overall expiration time for the ephemeris in UTC, after which it will become EXPIRED.

iv_kmskeyarn TYPE /AWS1/GSTKEYARN /AWS1/GSTKEYARN

The ARN of the KMS key to use for encrypting the ephemeris.

io_ephemeris TYPE REF TO /AWS1/CL_GSTEPHEMERISDATA /AWS1/CL_GSTEPHEMERISDATA

Ephemeris data.

it_tags TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

Tags assigned to an ephemeris.

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->createephemeris(
  io_ephemeris = new /aws1/cl_gstephemerisdata(
    io_azel = new /aws1/cl_gstazelephemeris(
      io_data = new /aws1/cl_gstazelsegmentsdata(
        io_azeldata = new /aws1/cl_gstazelsegments(
          it_azelsegmentlist = VALUE /aws1/cl_gstazelsegment=>tt_azelsegmentlist(
            (
              new /aws1/cl_gstazelsegment(
                io_validtimerange = new /aws1/cl_gstiso8601timerange(
                  iv_endtime = '20150101000000.0000000'
                  iv_starttime = '20150101000000.0000000'
                )
                it_azellist = VALUE /aws1/cl_gsttimeazel=>tt_timeazellist(
                  (
                    new /aws1/cl_gsttimeazel(
                      iv_az = '0.1'
                      iv_dt = '0.1'
                      iv_el = '0.1'
                    )
                  )
                )
                iv_referenceepoch = '20150101000000.0000000'
              )
            )
          )
          iv_angleunit = |string|
        )
        io_s3object = new /aws1/cl_gsts3object(
          iv_bucket = |string|
          iv_key = |string|
          iv_version = |string|
        )
      )
      iv_groundstation = |string|
    )
    io_oem = new /aws1/cl_gstoemephemeris(
      io_s3object = new /aws1/cl_gsts3object(
        iv_bucket = |string|
        iv_key = |string|
        iv_version = |string|
      )
      iv_oemdata = |string|
    )
    io_tle = new /aws1/cl_gsttleephemeris(
      io_s3object = new /aws1/cl_gsts3object(
        iv_bucket = |string|
        iv_key = |string|
        iv_version = |string|
      )
      it_tledata = VALUE /aws1/cl_gsttledata=>tt_tledatalist(
        (
          new /aws1/cl_gsttledata(
            io_validtimerange = new /aws1/cl_gsttimerange(
              iv_endtime = '20150101000000.0000000'
              iv_starttime = '20150101000000.0000000'
            )
            iv_tleline1 = |string|
            iv_tleline2 = |string|
          )
        )
      )
    )
  )
  it_tags = VALUE /aws1/cl_gsttagsmap_w=>tt_tagsmap(
    (
      VALUE /aws1/cl_gsttagsmap_w=>ts_tagsmap_maprow(
        value = new /aws1/cl_gsttagsmap_w( |string| )
        key = |string|
      )
    )
  )
  iv_enabled = ABAP_TRUE
  iv_expirationtime = '20150101000000.0000000'
  iv_kmskeyarn = |string|
  iv_name = |string|
  iv_priority = 123
  iv_satelliteid = |string|
).

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.