Interface ProductionRevenueAccountingRevenueAccountingDocumentService
- All Known Implementing Classes:
DefaultProductionRevenueAccountingRevenueAccountingDocumentService
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
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 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.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 ProductionRevenueAccountingRevenueAccountingDocumentService 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.
-
getAllPRARevenueAccountingHeader
Deprecated.Fetch multipleRevenueAccountingHeaderentities.- 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.Fetch the number of entries from theRevenueAccountingHeaderentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<RevenueAccountingHeader> getPRARevenueAccountingHeaderByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument) Deprecated.Fetch a singleRevenueAccountingHeaderentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
- 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 CreateRequestBuilder<RevenueAccountingHeader> createPRARevenueAccountingHeader(@Nonnull RevenueAccountingHeader revenueAccountingHeader) Deprecated.Create a newRevenueAccountingHeaderentity and save it to the S/4HANA system.- 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.Fetch multipleRevenueAccountingItemsentities.- 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.Fetch the number of entries from theRevenueAccountingItemsentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<RevenueAccountingItems> getPRARevenueAcctItemsByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine) Deprecated.Fetch a singleRevenueAccountingItemsentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
- 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 CreateRequestBuilder<RevenueAccountingItems> createPRARevenueAcctItems(@Nonnull RevenueAccountingItems revenueAccountingItems) Deprecated.Create a newRevenueAccountingItemsentity and save it to the S/4HANA system.- 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.Fetch multipleDeductDetailentities.- 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.Fetch the number of entries from theDeductDetailentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<DeductDetail> getPRARevenueAcctItemsDeductByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String deductionType) Deprecated.Fetch a singleDeductDetailentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
deductionType- Other Deduction Type CodesConstraints: Not nullable, Maximum length: 2
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
- 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.Fetch multipleMarketingDetailentities.- 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.Fetch the number of entries from theMarketingDetailentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<MarketingDetail> getPRARevenueAcctItemsMktgByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String marketingType) Deprecated.Fetch a singleMarketingDetailentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
marketingType- Marketing type codeConstraints: Not nullable, Maximum length: 2
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
- 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.Fetch multipleTaxDetailentities. -
countPRARevenueAcctItemsTax
Deprecated.Fetch the number of entries from theTaxDetailentity collection matching the filter and search expressions. -
getPRARevenueAcctItemsTaxByKey
@Nonnull GetByKeyRequestBuilder<TaxDetail> getPRARevenueAcctItemsTaxByKey(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String severanceTaxType) Deprecated.Fetch a singleTaxDetailentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
accountingDocument- Revenue Accounting Document NumberConstraints: Not nullable, Maximum length: 10
pRAAccountingDocumentLine- Accounting Document Line NumberConstraints: Not nullable, Maximum length: 8
pRAAccountingPeriod- PRA Accounting PeriodConstraints: Not nullable, Maximum length: 6
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.
-