CLAS CL_EXCHANGE_RATES

Source Link
Open in ADT

Home
Previous Object: CL_COM_USER_FACTORY
Next Object: CL_FDT_BRS_PROCESSOR

Status: RELEASED

Public
Type ty_is_fix_rate_change_allowed TYPE cl_exchange_rates=>ty_is_fix_rate_change_allowed
Type ty_allowed_deviation TYPE cl_exchange_rates=>ty_allowed_deviation
Type ty_is_update_allowed TYPE cl_exchange_rates=>ty_is_update_allowed
Type ty_logical_system TYPE cl_exchange_rates=>ty_logical_system
Type ty_message TYPE BAPIRET2
Type ty_exchange_rate TYPE cl_exchange_rates=>ty_exchange_rate
Type ty_exchange_rates TYPE cl_exchange_rates=>ty_exchange_rates
Type ty_convert_curr TYPE cl_exchange_rates=>ty_convert_curr
Type ty_messages TYPE cl_exchange_rates=>ty_messages
Static Method put
  IMPORTING
    exchange_rates TYPE cl_exchange_rates=>ty_exchange_rates
    is_update_allowed TYPE cl_exchange_rates=>ty_is_update_allowed Optional
    is_fixed_rate_change_allowed TYPE cl_exchange_rates=>ty_is_fix_rate_change_allowed Optional
    allowed_deviation TYPE cl_exchange_rates=>ty_allowed_deviation Optional
    do_commit TYPE ABAP_BOOL Optional
  RETURNING result TYPE cl_exchange_rates=>ty_messages
Static Method put_replica
  IMPORTING
    logical_system TYPE cl_exchange_rates=>ty_logical_system
    is_update_allowed TYPE cl_exchange_rates=>ty_is_update_allowed Optional
    is_fixed_rate_change_allowed TYPE cl_exchange_rates=>ty_is_fix_rate_change_allowed Optional
    allowed_deviation TYPE cl_exchange_rates=>ty_allowed_deviation Optional
    do_commit TYPE ABAP_BOOL Optional
  CHANGING
    exchange_rates TYPE cl_exchange_rates=>ty_exchange_rates
  RETURNING result TYPE cl_exchange_rates=>ty_messages
Static Method convert_to_foreign_currency
  IMPORTING
    date TYPE SYDATE
    foreign_currency TYPE cl_exchange_rates=>ty_convert_curr-fcurr
    local_amount TYPE any
    local_currency TYPE cl_exchange_rates=>ty_convert_curr-tcurr
    rate TYPE cl_exchange_rates=>ty_convert_curr-ukurs Optional
    rate_type TYPE cl_exchange_rates=>ty_convert_curr-kurst Optional
    do_read_tcurr TYPE ABAP_BOOL Optional
  EXPORTING
    exchange_rate TYPE cl_exchange_rates=>ty_convert_curr-ukurs
    foreign_amount TYPE any
    foreign_factor TYPE cl_exchange_rates=>ty_convert_curr-ffact
    local_factor TYPE cl_exchange_rates=>ty_convert_curr-tfact
    derived_rate_type TYPE cl_exchange_rates=>ty_convert_curr-kurst
    fixed_rate TYPE cl_exchange_rates=>ty_convert_curr-ukurs
  RAISING cx_exchange_rates
Static Method convert_to_local_currency
  IMPORTING
    date TYPE SYDATE
    foreign_amount TYPE any
    foreign_currency TYPE cl_exchange_rates=>ty_convert_curr-fcurr
    local_currency TYPE cl_exchange_rates=>ty_convert_curr-tcurr
    rate TYPE cl_exchange_rates=>ty_convert_curr-ukurs Optional
    rate_type TYPE cl_exchange_rates=>ty_convert_curr-kurst Optional
    do_read_tcurr TYPE ABAP_BOOL Optional
  EXPORTING
    exchange_rate TYPE cl_exchange_rates=>ty_convert_curr-ukurs
    foreign_factor TYPE cl_exchange_rates=>ty_convert_curr-ffact
    local_amount TYPE any
    local_factor TYPE cl_exchange_rates=>ty_convert_curr-tfact
    fixed_rate TYPE cl_exchange_rates=>ty_convert_curr-ukurs
    derived_rate_type TYPE cl_exchange_rates=>ty_convert_curr-kurst
  RAISING cx_exchange_rates

Exists on:
754false
750false
702false

Bug reports and ideas welcome
Made using abaplint.app