Interface ProductionRevenueAccountingContractMarketingCostService
- All Known Implementing Classes:
DefaultProductionRevenueAccountingContractMarketingCostService
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..
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theContractMarketingDetailentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theContractMarketingHeaderentity collection matching the filter and search expressions.createContrMarketingHdr(ContractMarketingHeader contractMarketingHeader) Deprecated.Create a newContractMarketingHeaderentity and save it to the S/4HANA system.deleteContrMarketingHdr(ContractMarketingHeader contractMarketingHeader) Deprecated.Deletes an existingContractMarketingHeaderentity in the S/4HANA system.Deprecated.Fetch multipleContractMarketingDetailentities.Deprecated.Fetch multipleContractMarketingHeaderentities.getContrMarketingDetByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate, String contractMarketingCostControl, String marketingType) Deprecated.Fetch a singleContractMarketingDetailentity using key fields.getContrMarketingHdrByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate) Deprecated.Fetch a singleContractMarketingHeaderentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
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
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllContrMarketingDet
Deprecated.Fetch multipleContractMarketingDetailentities.- Returns:
- A request builder to fetch multiple
ContractMarketingDetailentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countContrMarketingDet
Deprecated.Fetch the number of entries from theContractMarketingDetailentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ContractMarketingDetailentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod 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 singleContractMarketingDetailentity using key fields.- Parameters:
marketingType- Marketing type codeConstraints: Not nullable, Maximum length: 2
pRAMaterial- Material NumberConstraints: Not nullable, Maximum length: 18
pRAContract- Contract NumberConstraints: Not nullable, Maximum length: 10
effectiveToDate- Effective To DateConstraints: Not nullable
well- Well ID numberConstraints: Not nullable, Maximum length: 15
contractMarketingCostControl- Contract Marketing Cost ControlConstraints: Not nullable, Maximum length: 12
effectiveFromDate- Effective from dateConstraints: Not nullable
measurementPoint- Measurement point numberConstraints: Not nullable, Maximum length: 20
wellCompletion- Well Completion NumberConstraints: Not nullable, Maximum length: 5
- Returns:
- A request builder to fetch a single
ContractMarketingDetailentity 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 theexecutemethod on the request builder object.
-
getAllContrMarketingHdr
Deprecated.Fetch multipleContractMarketingHeaderentities.- Returns:
- A request builder to fetch multiple
ContractMarketingHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countContrMarketingHdr
Deprecated.Fetch the number of entries from theContractMarketingHeaderentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ContractMarketingHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod 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 singleContractMarketingHeaderentity using key fields.- Parameters:
pRAMaterial- Material NumberConstraints: Not nullable, Maximum length: 18
pRAContract- Contract NumberConstraints: Not nullable, Maximum length: 10
effectiveToDate- Effective To DateConstraints: Not nullable
well- Well ID numberConstraints: Not nullable, Maximum length: 15
effectiveFromDate- Effective from dateConstraints: Not nullable
measurementPoint- Measurement point numberConstraints: Not nullable, Maximum length: 20
wellCompletion- Well Completion NumberConstraints: Not nullable, Maximum length: 5
- Returns:
- A request builder to fetch a single
ContractMarketingHeaderentity 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 theexecutemethod on the request builder object.
-
createContrMarketingHdr
@Nonnull CreateRequestBuilder<ContractMarketingHeader> createContrMarketingHdr(@Nonnull ContractMarketingHeader contractMarketingHeader) Deprecated.Create a newContractMarketingHeaderentity and save it to the S/4HANA system.- Parameters:
contractMarketingHeader-ContractMarketingHeaderentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ContractMarketingHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteContrMarketingHdr
@Nonnull DeleteRequestBuilder<ContractMarketingHeader> deleteContrMarketingHdr(@Nonnull ContractMarketingHeader contractMarketingHeader) Deprecated.Deletes an existingContractMarketingHeaderentity in the S/4HANA system.- Parameters:
contractMarketingHeader-ContractMarketingHeaderentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ContractMarketingHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-