Class DefaultSettlementDocumentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,SettlementDocumentService
You can use this OData-based service to do the following: Read the Settlement Documents on header and item level. Release Settlement Documents that were blocked to accounting and where the application status was not set. Reverse Settlement Documents. Read the relevant pricing elements for the Settlement Document header and item level. Complete Settlement Documents. Revoke the completion of Settlement Documents. Read the relevant partners for the Settlement Document header and item level..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | SETTLMTDOC_0001 |
| API Version: | 1.2.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Logistics - Settlement Document Integration(SAP_COM_0714) |
| Scope Items: | Sales Rebate Processing(1B6), Purchasing Rebate Processing(2R7), Sales Commissions - External Sales Representative(2TT), Royalties Settlement for Sales(55I) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SETTLMT_DOC |
| Business Object: | Settlement Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.SettlementDocumentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingSettlementDocumentService.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 theCustItmPricingElemententity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCustPricingElemententity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSetlDocentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSetlDocItmentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSettlementDocumentItemPartnerentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSettlementDocumentPartnerentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSuplrItmPricingElemententity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSuplrPricingElemententity collection matching the filter and search expressions.createSetlDoc(SetlDoc setlDoc) Deprecated.Create a newSetlDocentity and save it to the S/4HANA system.Deprecated.Fetch multipleCustItmPricingElemententities.Deprecated.Fetch multipleCustPricingElemententities.Deprecated.Fetch multipleSetlDocentities.Deprecated.Fetch multipleSetlDocItmentities.Deprecated.Fetch multipleSettlementDocumentItemPartnerentities.Deprecated.Fetch multipleSettlementDocumentPartnerentities.Deprecated.Fetch multipleSuplrItmPricingElemententities.Deprecated.Fetch multipleSuplrPricingElemententities.getCustItmPricingElementByKey(String settlmtDoc, String settlmtDocItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleCustItmPricingElemententity using key fields.getCustPricingElementByKey(String settlmtDoc, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleCustPricingElemententity using key fields.Deprecated.getSetlDocByKey(String settlmtDoc) Deprecated.Fetch a singleSetlDocentity using key fields.getSetlDocItmByKey(String settlmtDoc, String settlmtDocItem) Deprecated.Fetch a singleSetlDocItmentity using key fields.getSettlementDocumentItemPartnerByKey(String settlmtDoc, String settlmtDocItem, String partnerFunction, String partnerCounter) Deprecated.Fetch a singleSettlementDocumentItemPartnerentity using key fields.getSettlementDocumentPartnerByKey(String settlmtDoc, String partnerFunction, String partnerCounter) Deprecated.Fetch a singleSettlementDocumentPartnerentity using key fields.getSuplrItmPricingElementByKey(String settlmtDoc, String settlmtDocItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleSuplrItmPricingElemententity using key fields.getSuplrPricingElementByKey(String settlmtDoc, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleSuplrPricingElemententity using key fields.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
-
DefaultSettlementDocumentService
public DefaultSettlementDocumentService()Deprecated.Creates a service usingSettlementDocumentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:SettlementDocumentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceSettlementDocumentService- 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:SettlementDocumentServiceCreates a batch request builder object.- Specified by:
batchin interfaceSettlementDocumentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllCustItmPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleCustItmPricingElemententities.- Specified by:
getAllCustItmPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
CustItmPricingElemententities. 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.
-
countCustItmPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theCustItmPricingElemententity collection matching the filter and search expressions.- Specified by:
countCustItmPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
CustItmPricingElemententities. 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.
-
getCustItmPricingElementByKey
@Nonnull public GetByKeyRequestBuilder<CustItmPricingElement> getCustItmPricingElementByKey(String settlmtDoc, String settlmtDocItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleCustItmPricingElemententity using key fields.- Specified by:
getCustItmPricingElementByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
settlmtDocItem- Document ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
pricingProcedureCounter- Pricing Procedure CounterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CustItmPricingElemententity 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.
-
getAllCustPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleCustPricingElemententities.- Specified by:
getAllCustPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
CustPricingElemententities. 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.
-
countCustPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theCustPricingElemententity collection matching the filter and search expressions.- Specified by:
countCustPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
CustPricingElemententities. 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.
-
getCustPricingElementByKey
@Nonnull public GetByKeyRequestBuilder<CustPricingElement> getCustPricingElementByKey(String settlmtDoc, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleCustPricingElemententity using key fields.- Specified by:
getCustPricingElementByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
pricingProcedureCounter- Pricing Procedure CounterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CustPricingElemententity 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.
-
getAllSetlDoc
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleSetlDocentities.- Specified by:
getAllSetlDocin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
SetlDocentities. 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.
-
countSetlDoc
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theSetlDocentity collection matching the filter and search expressions.- Specified by:
countSetlDocin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
SetlDocentities. 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.
-
getSetlDocByKey
Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleSetlDocentity using key fields.- Specified by:
getSetlDocByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
SetlDocentity 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.
-
createSetlDoc
Deprecated.Description copied from interface:SettlementDocumentServiceCreate a newSetlDocentity and save it to the S/4HANA system.- Specified by:
createSetlDocin interfaceSettlementDocumentService- Parameters:
setlDoc-SetlDocentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SetlDocentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSetlDocItm
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleSetlDocItmentities.- Specified by:
getAllSetlDocItmin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
SetlDocItmentities. 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.
-
countSetlDocItm
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theSetlDocItmentity collection matching the filter and search expressions.- Specified by:
countSetlDocItmin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
SetlDocItmentities. 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.
-
getSetlDocItmByKey
@Nonnull public GetByKeyRequestBuilder<SetlDocItm> getSetlDocItmByKey(String settlmtDoc, String settlmtDocItem) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleSetlDocItmentity using key fields.- Specified by:
getSetlDocItmByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
settlmtDocItem- Document ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A request builder to fetch a single
SetlDocItmentity 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.
-
getAllSettlementDocumentItemPartner
@Nonnull public GetAllRequestBuilder<SettlementDocumentItemPartner> getAllSettlementDocumentItemPartner()Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleSettlementDocumentItemPartnerentities.- Specified by:
getAllSettlementDocumentItemPartnerin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
SettlementDocumentItemPartnerentities. 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.
-
countSettlementDocumentItemPartner
@Nonnull public CountRequestBuilder<SettlementDocumentItemPartner> countSettlementDocumentItemPartner()Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theSettlementDocumentItemPartnerentity collection matching the filter and search expressions.- Specified by:
countSettlementDocumentItemPartnerin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
SettlementDocumentItemPartnerentities. 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.
-
getSettlementDocumentItemPartnerByKey
@Nonnull public GetByKeyRequestBuilder<SettlementDocumentItemPartner> getSettlementDocumentItemPartnerByKey(String settlmtDoc, String settlmtDocItem, String partnerFunction, String partnerCounter) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleSettlementDocumentItemPartnerentity using key fields.- Specified by:
getSettlementDocumentItemPartnerByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
settlmtDocItem- Document ItemConstraints: Not nullable, Maximum length: 6
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
partnerCounter- Partner counterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
SettlementDocumentItemPartnerentity 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.
-
getAllSettlementDocumentPartner
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleSettlementDocumentPartnerentities.- Specified by:
getAllSettlementDocumentPartnerin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
SettlementDocumentPartnerentities. 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.
-
countSettlementDocumentPartner
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theSettlementDocumentPartnerentity collection matching the filter and search expressions.- Specified by:
countSettlementDocumentPartnerin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
SettlementDocumentPartnerentities. 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.
-
getSettlementDocumentPartnerByKey
@Nonnull public GetByKeyRequestBuilder<SettlementDocumentPartner> getSettlementDocumentPartnerByKey(String settlmtDoc, String partnerFunction, String partnerCounter) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleSettlementDocumentPartnerentity using key fields.- Specified by:
getSettlementDocumentPartnerByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
partnerCounter- Partner counterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
SettlementDocumentPartnerentity 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.
-
getAllSuplrItmPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleSuplrItmPricingElemententities.- Specified by:
getAllSuplrItmPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
SuplrItmPricingElemententities. 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.
-
countSuplrItmPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theSuplrItmPricingElemententity collection matching the filter and search expressions.- Specified by:
countSuplrItmPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
SuplrItmPricingElemententities. 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.
-
getSuplrItmPricingElementByKey
@Nonnull public GetByKeyRequestBuilder<SuplrItmPricingElement> getSuplrItmPricingElementByKey(String settlmtDoc, String settlmtDocItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleSuplrItmPricingElemententity using key fields.- Specified by:
getSuplrItmPricingElementByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
settlmtDocItem- Document ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
pricingProcedureCounter- Pricing Procedure CounterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
SuplrItmPricingElemententity 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.
-
getAllSuplrPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch multipleSuplrPricingElemententities.- Specified by:
getAllSuplrPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch multiple
SuplrPricingElemententities. 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.
-
countSuplrPricingElement
Deprecated.Description copied from interface:SettlementDocumentServiceFetch the number of entries from theSuplrPricingElemententity collection matching the filter and search expressions.- Specified by:
countSuplrPricingElementin interfaceSettlementDocumentService- Returns:
- A request builder to fetch the count of
SuplrPricingElemententities. 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.
-
getSuplrPricingElementByKey
@Nonnull public GetByKeyRequestBuilder<SuplrPricingElement> getSuplrPricingElementByKey(String settlmtDoc, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Description copied from interface:SettlementDocumentServiceFetch a singleSuplrPricingElemententity using key fields.- Specified by:
getSuplrPricingElementByKeyin interfaceSettlementDocumentService- Parameters:
settlmtDoc- Settlement Document NumberConstraints: Not nullable, Maximum length: 10
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
pricingProcedureCounter- Pricing Procedure CounterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
SuplrPricingElemententity 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
-