@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odatav4.services.DefaultSettlementDocumentService") public class DefaultSettlementDocumentService extends Object implements ServiceWithNavigableEntities, 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 |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSettlementDocumentService()
Creates a service using
SettlementDocumentService.DEFAULT_SERVICE_PATH to send the requests. |
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. |
String |
getServicePath()
Getter for the OData service root path.
|
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. |
DefaultSettlementDocumentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultSettlementDocumentService()
SettlementDocumentService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSettlementDocumentService withServicePath(@Nonnull String servicePath)
SettlementDocumentService
withServicePath
in interface SettlementDocumentService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
SettlementDocumentService
batch
in interface SettlementDocumentService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SetlDoc> getAllSetlDoc()
SettlementDocumentService
SetlDoc
entities.getAllSetlDoc
in interface SettlementDocumentService
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 public CountRequestBuilder<SetlDoc> countSetlDoc()
SettlementDocumentService
SetlDoc
entity collection matching the filter and search expressions.countSetlDoc
in interface SettlementDocumentService
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 public GetByKeyRequestBuilder<SetlDoc> getSetlDocByKey(@Nonnull String settlmtDoc)
SettlementDocumentService
SetlDoc
entity using key fields.getSetlDocByKey
in interface SettlementDocumentService
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 public CreateRequestBuilder<SetlDoc> createSetlDoc(@Nonnull SetlDoc setlDoc)
SettlementDocumentService
SetlDoc
entity and save it to the S/4HANA system.createSetlDoc
in interface SettlementDocumentService
setlDoc
- SetlDoc
entity object that will be created in the S/4HANA system.SetlDoc
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SetlDocItm> getAllSetlDocItm()
SettlementDocumentService
SetlDocItm
entities.getAllSetlDocItm
in interface SettlementDocumentService
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 public CountRequestBuilder<SetlDocItm> countSetlDocItm()
SettlementDocumentService
SetlDocItm
entity collection matching the filter and search expressions.countSetlDocItm
in interface SettlementDocumentService
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 public GetByKeyRequestBuilder<SetlDocItm> getSetlDocItmByKey(@Nonnull String settlmtDoc, @Nonnull String settlmtDocItem)
SettlementDocumentService
SetlDocItm
entity using key fields.getSetlDocItmByKey
in interface SettlementDocumentService
settlmtDoc
- Settlement Document Number
Constraints: Not nullable, Maximum length: 10
settlmtDocItem
- Document Item
Constraints: Not nullable, Maximum length: 6
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 public CreateRequestBuilder<SetlDocItm> createSetlDocItm(@Nonnull SetlDocItm setlDocItm)
SettlementDocumentService
SetlDocItm
entity and save it to the S/4HANA system.createSetlDocItm
in interface SettlementDocumentService
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.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.