public interface SettlementDocumentService
You retrieve the following data using this OData based service: You can read the Settlement Document related information at both on header and item level. You can release Settlement Documents on header level which were blocked to accounting and where the Application Status was not set. You can reverse Settlement Documents. .
Reference: SAP API Business Hub
OData Service: | OP_API_SETTLMT_DOC_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Settlement Document |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<SetlDoc> |
countSetlDoc()
Fetch the number of entries from the
SetlDoc
entity collection matching the filter and search expressions. |
CountRequestBuilder<SetlDocItm> |
countSetlDocItm()
Fetch the number of entries from the
SetlDocItm entity collection matching the filter and search expressions. |
CreateRequestBuilder<SetlDoc> |
createSetlDoc(SetlDoc setlDoc)
Create a new
SetlDoc
entity and save it to the S/4HANA system. |
CreateRequestBuilder<SetlDocItm> |
createSetlDocItm(SetlDocItm setlDocItm)
Create a new
SetlDocItm entity and save it to the S/4HANA system. |
GetAllRequestBuilder<SetlDoc> |
getAllSetlDoc()
Fetch multiple
SetlDoc
entities. |
GetAllRequestBuilder<SetlDocItm> |
getAllSetlDocItm()
Fetch multiple
SetlDocItm entities. |
GetByKeyRequestBuilder<SetlDoc> |
getSetlDocByKey(String settlmtDoc)
Fetch a single
SetlDoc
entity using key fields. |
GetByKeyRequestBuilder<SetlDocItm> |
getSetlDocItmByKey(String settlmtDoc,
String settlmtDocItem)
Fetch a single
SetlDocItm entity using key fields. |
SettlementDocumentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull SettlementDocumentService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<SetlDoc> getAllSetlDoc()
SetlDoc
entities.SetlDoc
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.@Nonnull CountRequestBuilder<SetlDoc> countSetlDoc()
SetlDoc
entity collection matching the filter and search expressions.SetlDoc
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.@Nonnull GetByKeyRequestBuilder<SetlDoc> getSetlDocByKey(@Nonnull String settlmtDoc)
SetlDoc
entity using key fields.settlmtDoc
- Settlement Document Number
Constraints: Not nullable, Maximum length: 10
SetlDoc
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.@Nonnull CreateRequestBuilder<SetlDoc> createSetlDoc(@Nonnull SetlDoc setlDoc)
SetlDoc
entity and save it to the S/4HANA system.@Nonnull GetAllRequestBuilder<SetlDocItm> getAllSetlDocItm()
SetlDocItm
entities.SetlDocItm
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.@Nonnull CountRequestBuilder<SetlDocItm> countSetlDocItm()
SetlDocItm
entity collection matching the filter and search expressions.SetlDocItm
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.@Nonnull GetByKeyRequestBuilder<SetlDocItm> getSetlDocItmByKey(@Nonnull String settlmtDoc, @Nonnull String settlmtDocItem)
SetlDocItm
entity using key fields.settlmtDocItem
- Document Item
Constraints: Not nullable, Maximum length: 6
settlmtDoc
- Settlement Document Number
Constraints: Not nullable, Maximum length: 10
SetlDocItm
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.@Nonnull CreateRequestBuilder<SetlDocItm> createSetlDocItm(@Nonnull SetlDocItm setlDocItm)
SetlDocItm
entity and save it to the S/4HANA system.setlDocItm
- SetlDocItm
entity object that will be created in the S/4HANA system.SetlDocItm
entity. To perform execution, call the
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.