Class DefaultProductionRevenueAccountingRevenueAccountingDocumentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductionRevenueAccountingRevenueAccountingDocumentService
You can read the Revenue Accounting Document Header, Items, Tax, Marketing and Tax information related to Revenue Accounting Document. You can simulate and Posting Revenue Accounting Document.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_PRAREVENUEACCTDOCUMENT_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | PRA Accounting Data Integration(SAP_COM_0920) |
| Scope Items: | Revenue Accounting - Oil and Gas Production(5NM) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRAREVENUEACCTDOCUMENT |
| Business Object: | ProductionRevenueAccountingRevenueAccountingDocument |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductionRevenueAccountingRevenueAccountingDocumentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductionRevenueAccountingRevenueAccountingDocumentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theRevenueAccountingHeaderentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theRevenueAccountingItemsentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theDeductDetailentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMarketingDetailentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theTaxDetailentity collection matching the filter and search expressions.createPRARevenueAccountingHeader(RevenueAccountingHeader revenueAccountingHeader) Deprecated.Create a newRevenueAccountingHeaderentity and save it to the S/4HANA system.createPRARevenueAcctItems(RevenueAccountingItems revenueAccountingItems) Deprecated.Create a newRevenueAccountingItemsentity and save it to the S/4HANA system.Deprecated.Fetch multipleRevenueAccountingHeaderentities.Deprecated.Fetch multipleRevenueAccountingItemsentities.Deprecated.Fetch multipleDeductDetailentities.Deprecated.Fetch multipleMarketingDetailentities.Deprecated.Fetch multipleTaxDetailentities.getPRARevenueAccountingHeaderByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument) Deprecated.Fetch a singleRevenueAccountingHeaderentity using key fields.getPRARevenueAcctItemsByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine) Deprecated.Fetch a singleRevenueAccountingItemsentity using key fields.getPRARevenueAcctItemsDeductByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String deductionType) Deprecated.Fetch a singleDeductDetailentity using key fields.getPRARevenueAcctItemsMktgByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String marketingType) Deprecated.Fetch a singleMarketingDetailentity using key fields.getPRARevenueAcctItemsTaxByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String severanceTaxType) Deprecated.Fetch a singleTaxDetailentity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultProductionRevenueAccountingRevenueAccountingDocumentService
public DefaultProductionRevenueAccountingRevenueAccountingDocumentService()Deprecated.Creates a service usingProductionRevenueAccountingRevenueAccountingDocumentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultProductionRevenueAccountingRevenueAccountingDocumentService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPRARevenueAccountingHeader
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch multipleRevenueAccountingHeaderentities.- Specified by:
getAllPRARevenueAccountingHeaderin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch multiple
RevenueAccountingHeaderentities. 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.
-
countPRARevenueAccountingHeader
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch the number of entries from theRevenueAccountingHeaderentity collection matching the filter and search expressions.- Specified by:
countPRARevenueAccountingHeaderin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch the count of
RevenueAccountingHeaderentities. 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.
-
getPRARevenueAccountingHeaderByKey
@Nonnull public GetByKeyRequestBuilder<RevenueAccountingHeader> getPRARevenueAccountingHeaderByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch a singleRevenueAccountingHeaderentity using key fields.- Specified by:
getPRARevenueAccountingHeaderByKeyin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
RevenueAccountingHeaderentity 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.
-
createPRARevenueAccountingHeader
@Nonnull public CreateRequestBuilder<RevenueAccountingHeader> createPRARevenueAccountingHeader(@Nonnull RevenueAccountingHeader revenueAccountingHeader) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceCreate a newRevenueAccountingHeaderentity and save it to the S/4HANA system.- Specified by:
createPRARevenueAccountingHeaderin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
revenueAccountingHeader-RevenueAccountingHeaderentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
RevenueAccountingHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPRARevenueAcctItems
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch multipleRevenueAccountingItemsentities.- Specified by:
getAllPRARevenueAcctItemsin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch multiple
RevenueAccountingItemsentities. 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.
-
countPRARevenueAcctItems
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch the number of entries from theRevenueAccountingItemsentity collection matching the filter and search expressions.- Specified by:
countPRARevenueAcctItemsin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch the count of
RevenueAccountingItemsentities. 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.
-
getPRARevenueAcctItemsByKey
@Nonnull public GetByKeyRequestBuilder<RevenueAccountingItems> getPRARevenueAcctItemsByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch a singleRevenueAccountingItemsentity using key fields.- Specified by:
getPRARevenueAcctItemsByKeyin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
RevenueAccountingItemsentity 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.
-
createPRARevenueAcctItems
@Nonnull public CreateRequestBuilder<RevenueAccountingItems> createPRARevenueAcctItems(@Nonnull RevenueAccountingItems revenueAccountingItems) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceCreate a newRevenueAccountingItemsentity and save it to the S/4HANA system.- Specified by:
createPRARevenueAcctItemsin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
revenueAccountingItems-RevenueAccountingItemsentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
RevenueAccountingItemsentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPRARevenueAcctItemsDeduct
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch multipleDeductDetailentities.- Specified by:
getAllPRARevenueAcctItemsDeductin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch multiple
DeductDetailentities. 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.
-
countPRARevenueAcctItemsDeduct
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch the number of entries from theDeductDetailentity collection matching the filter and search expressions.- Specified by:
countPRARevenueAcctItemsDeductin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch the count of
DeductDetailentities. 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.
-
getPRARevenueAcctItemsDeductByKey
@Nonnull public GetByKeyRequestBuilder<DeductDetail> getPRARevenueAcctItemsDeductByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String deductionType) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch a singleDeductDetailentity using key fields.- Specified by:
getPRARevenueAcctItemsDeductByKeyin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
deductionType- Other Deduction Type CodesConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
DeductDetailentity 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.
-
getAllPRARevenueAcctItemsMktg
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch multipleMarketingDetailentities.- Specified by:
getAllPRARevenueAcctItemsMktgin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch multiple
MarketingDetailentities. 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.
-
countPRARevenueAcctItemsMktg
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch the number of entries from theMarketingDetailentity collection matching the filter and search expressions.- Specified by:
countPRARevenueAcctItemsMktgin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch the count of
MarketingDetailentities. 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.
-
getPRARevenueAcctItemsMktgByKey
@Nonnull public GetByKeyRequestBuilder<MarketingDetail> getPRARevenueAcctItemsMktgByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String marketingType) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch a singleMarketingDetailentity using key fields.- Specified by:
getPRARevenueAcctItemsMktgByKeyin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
marketingType- Marketing type codeConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
MarketingDetailentity 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.
-
getAllPRARevenueAcctItemsTax
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch multipleTaxDetailentities.- Specified by:
getAllPRARevenueAcctItemsTaxin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch multiple
TaxDetailentities. 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.
-
countPRARevenueAcctItemsTax
Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch the number of entries from theTaxDetailentity collection matching the filter and search expressions.- Specified by:
countPRARevenueAcctItemsTaxin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Returns:
- A request builder to fetch the count of
TaxDetailentities. 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.
-
getPRARevenueAcctItemsTaxByKey
@Nonnull public GetByKeyRequestBuilder<TaxDetail> getPRARevenueAcctItemsTaxByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String severanceTaxType) Deprecated.Description copied from interface:ProductionRevenueAccountingRevenueAccountingDocumentServiceFetch a singleTaxDetailentity using key fields.- Specified by:
getPRARevenueAcctItemsTaxByKeyin interfaceProductionRevenueAccountingRevenueAccountingDocumentService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
severanceTaxType- Severance Tax TypeConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
TaxDetailentity 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-