Interface FinancialTransactionNetPresentValueService

All Known Implementing Classes:
DefaultFinancialTransactionNetPresentValueService

@Deprecated public interface FinancialTransactionNetPresentValueService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

This service enables you to create, read, update, and delete net present values of financial transactions in the net present values table in Treasury and Risk Management. By default, NPVs are calculated in Treasury and Risk Management with the ***Calculate Net Present Values - With CVA and DVA*** app. You can enter externally calculated net present value using the ***Enter Net Present Values*** app or with this service..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: CE_FINANCIALTRANSACTIONNPV_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Finance - Treasury Financial Transaction NPV Integration(SAP_COM_0923)
Scope Items: Debt and Investment Management(1WV), Foreign Currency Risk Management(1X1), Interest Rate Derivatives Management(1X3), Hedge Accounting for FX Forward - Group Ledger IFRS(1XD), Intercompany Process for Debt and Investment Mgmt(1YI), Intercompany Foreign Exchange Management(2F2), Hedge Accounting for FX Option - Group Ledger IFRS(2RW), Hedge Accounting for FX Swap - Group Ledger IFRS(2UF), Hedge Accounting for FX Forward - Local GAAP(3X1), Hedge Accounting for FX Option - Local GAAP(3X2), Hedge Accounting for FX Forward - Group Ledger US GAAP(3X3), Hedge Accounting for FX Option - Group Ledger US GAAP(3X4), Securities Option Management(6ND), Debt and Investment Management(OWV), Foreign Currency Risk Management(OX1), Interest Rate Derivatives Management(OX3)
Authentication Methods: x509
Service Group Name: API_FINTRANSACTIONNPV
Business Object: Financial Transaction Net Present Value
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull FinancialTransactionNetPresentValueService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllFinancialTransactionNPV

      @Nonnull GetAllRequestBuilder<FinancialTransactionNPV> getAllFinancialTransactionNPV()
      Deprecated.
      Fetch multiple FinancialTransactionNPV entities.
      Returns:
      A request builder to fetch multiple FinancialTransactionNPV entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countFinancialTransactionNPV

      @Nonnull CountRequestBuilder<FinancialTransactionNPV> countFinancialTransactionNPV()
      Deprecated.
      Fetch the number of entries from the FinancialTransactionNPV entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of FinancialTransactionNPV entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getFinancialTransactionNPVByKey

      @Nonnull GetByKeyRequestBuilder<FinancialTransactionNPV> getFinancialTransactionNPVByKey(String companyCode, String financialTransaction, String financialTransactionNPVType, LocalDate netPresentValueValidityDate)
      Deprecated.
      Fetch a single FinancialTransactionNPV entity using key fields.
      Parameters:
      companyCode - Company Code

      Constraints: Not nullable, Maximum length: 4

      netPresentValueValidityDate - Effective From

      Constraints: Not nullable

      financialTransactionNPVType - Price/NPV Type for OTC Transactions

      Constraints: Not nullable, Maximum length: 3

      financialTransaction - Financial Transaction

      Constraints: Not nullable, Maximum length: 13

      Returns:
      A request builder to fetch a single FinancialTransactionNPV entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • createFinancialTransactionNPV

      @Nonnull CreateRequestBuilder<FinancialTransactionNPV> createFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV)
      Deprecated.
      Create a new FinancialTransactionNPV entity and save it to the S/4HANA system.
      Parameters:
      financialTransactionNPV - FinancialTransactionNPV entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new FinancialTransactionNPV entity. To perform execution, call the execute method on the request builder object.
    • updateFinancialTransactionNPV

      @Nonnull UpdateRequestBuilder<FinancialTransactionNPV> updateFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV)
      Deprecated.
      Update an existing FinancialTransactionNPV entity and save it to the S/4HANA system.
      Parameters:
      financialTransactionNPV - FinancialTransactionNPV entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing FinancialTransactionNPV entity. To perform execution, call the execute method on the request builder object.
    • deleteFinancialTransactionNPV

      @Nonnull DeleteRequestBuilder<FinancialTransactionNPV> deleteFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV)
      Deprecated.
      Deletes an existing FinancialTransactionNPV entity in the S/4HANA system.
      Parameters:
      financialTransactionNPV - FinancialTransactionNPV entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing FinancialTransactionNPV entity. To perform execution, call the execute method on the request builder object.