Interface ProductionRevenueAccountingContractMarketingCostService

All Known Implementing Classes:
DefaultProductionRevenueAccountingContractMarketingCostService

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

You can read the Contract Marketing cost header and items. Contract Marketing costs can be created or updated or deleted along with its detailed items based on combination of Contract/Contract & Well Completion/Contract & Measurement Point/Contract & Well Completion & Measurement Point along with Material and Validity Dates..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: CE_PRACONTRACTMARKETING_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: PRA Valuation Data Integration(SAP_COM_0921)
Scope Items: Revenue Accounting - Oil and Gas Production(5NM)
Authentication Methods: x509
Service Group Name: API_PRACONTRACTMARKETING
Business Object: ProductionRevenueAccountingContractMarketingCost
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull ProductionRevenueAccountingContractMarketingCostService 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.
    • getAllContrMarketingDet

      @Nonnull GetAllRequestBuilder<ContractMarketingDetail> getAllContrMarketingDet()
      Deprecated.
      Fetch multiple ContractMarketingDetail entities.
      Returns:
      A request builder to fetch multiple ContractMarketingDetail 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.
    • countContrMarketingDet

      @Nonnull CountRequestBuilder<ContractMarketingDetail> countContrMarketingDet()
      Deprecated.
      Fetch the number of entries from the ContractMarketingDetail entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ContractMarketingDetail 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.
    • getContrMarketingDetByKey

      @Nonnull GetByKeyRequestBuilder<ContractMarketingDetail> getContrMarketingDetByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate, String contractMarketingCostControl, String marketingType)
      Deprecated.
      Fetch a single ContractMarketingDetail entity using key fields.
      Parameters:
      marketingType - Marketing type code

      Constraints: Not nullable, Maximum length: 2

      pRAMaterial - Material Number

      Constraints: Not nullable, Maximum length: 18

      pRAContract - Contract Number

      Constraints: Not nullable, Maximum length: 10

      effectiveToDate - Effective To Date

      Constraints: Not nullable

      well - Well ID number

      Constraints: Not nullable, Maximum length: 15

      contractMarketingCostControl - Contract Marketing Cost Control

      Constraints: Not nullable, Maximum length: 12

      effectiveFromDate - Effective from date

      Constraints: Not nullable

      measurementPoint - Measurement point number

      Constraints: Not nullable, Maximum length: 20

      wellCompletion - Well Completion Number

      Constraints: Not nullable, Maximum length: 5

      Returns:
      A request builder to fetch a single ContractMarketingDetail 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.
    • getAllContrMarketingHdr

      @Nonnull GetAllRequestBuilder<ContractMarketingHeader> getAllContrMarketingHdr()
      Deprecated.
      Fetch multiple ContractMarketingHeader entities.
      Returns:
      A request builder to fetch multiple ContractMarketingHeader 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.
    • countContrMarketingHdr

      @Nonnull CountRequestBuilder<ContractMarketingHeader> countContrMarketingHdr()
      Deprecated.
      Fetch the number of entries from the ContractMarketingHeader entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ContractMarketingHeader 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.
    • getContrMarketingHdrByKey

      @Nonnull GetByKeyRequestBuilder<ContractMarketingHeader> getContrMarketingHdrByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate)
      Deprecated.
      Fetch a single ContractMarketingHeader entity using key fields.
      Parameters:
      pRAMaterial - Material Number

      Constraints: Not nullable, Maximum length: 18

      pRAContract - Contract Number

      Constraints: Not nullable, Maximum length: 10

      effectiveToDate - Effective To Date

      Constraints: Not nullable

      well - Well ID number

      Constraints: Not nullable, Maximum length: 15

      effectiveFromDate - Effective from date

      Constraints: Not nullable

      measurementPoint - Measurement point number

      Constraints: Not nullable, Maximum length: 20

      wellCompletion - Well Completion Number

      Constraints: Not nullable, Maximum length: 5

      Returns:
      A request builder to fetch a single ContractMarketingHeader 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.
    • createContrMarketingHdr

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

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