Class DefaultSubsequentBillingDocumentService
- All Implemented Interfaces:
BatchService<SubsequentBillingDocumentServiceBatch>,SubsequentBillingDocumentService
SAP Self-Billing Cockpit uses this service to retrieve details about billing documents in your system that were created with reference to existing billing documents in your system. For example, if a credit memo was created with reference to an invoice, the invoice is the preceding billing document and the credit memo is the subsequent billing document. The service makes the subsequent billing document's data available through a single service entity. This service is intended solely for the integration between SAP S/4HANA Cloud and SAP Self-Billing Cockpit and should not be used for any other purposes. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_SUBSQNT_BILLG_DOC_SBI_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Self-Billing Cockpit Integration(SAP_COM_0564) |
| Scope Items: | Self-Billing(4H2) |
| Authentication Methods: | x509 |
| Business Object: | Billing Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.SubsequentBillingDocumentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingSubsequentBillingDocumentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleSubsqntBillgDocForSelfBillgentities.getSubsqntBillgDocForSelfBillgByKey(String billingDocument, String billingDocumentItem, String subsequentDocument, String subsequentDocumentItem) Deprecated.Fetch a singleSubsqntBillgDocForSelfBillgentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultSubsequentBillingDocumentService
public DefaultSubsequentBillingDocumentService()Deprecated.Creates a service usingSubsequentBillingDocumentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultSubsequentBillingDocumentService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:SubsequentBillingDocumentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceSubsequentBillingDocumentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<SubsequentBillingDocumentServiceBatch>
-
getAllSubsqntBillgDocForSelfBillg
Deprecated.Description copied from interface:SubsequentBillingDocumentServiceFetch multipleSubsqntBillgDocForSelfBillgentities.- Specified by:
getAllSubsqntBillgDocForSelfBillgin interfaceSubsequentBillingDocumentService- Returns:
- A fluent helper to fetch multiple
SubsqntBillgDocForSelfBillgentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSubsqntBillgDocForSelfBillgByKey
@Nonnull public SubsqntBillgDocForSelfBillgByKeyFluentHelper getSubsqntBillgDocForSelfBillgByKey(String billingDocument, String billingDocumentItem, String subsequentDocument, String subsequentDocumentItem) Deprecated.Description copied from interface:SubsequentBillingDocumentServiceFetch a singleSubsqntBillgDocForSelfBillgentity using key fields.- Specified by:
getSubsqntBillgDocForSelfBillgByKeyin interfaceSubsequentBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
billingDocumentItem- Preceding Item of an SD DocumentConstraints: Not nullable, Maximum length: 6
subsequentDocument- Subsequent Sales and Distribution DocumentConstraints: Not nullable, Maximum length: 10
subsequentDocumentItem- Subsequent Item of an SD DocumentConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
SubsqntBillgDocForSelfBillgentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-