Class DefaultSupplierConfirmationService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,SupplierConfirmationService
The service contains header, item, and line nodes. The information is sent in the request as a payload. It can be consumed by external applications to integrate with supplier confirmation processing in SAP S/4HANA Cloud. Operations in single and batch mode are supported. Single mode operations can be used to create one supplier confirmation at a time. A new supplier confirmation can be created with the entities header, item, and line. For existing supplier confirmations, new items and lines can be created and existing ones can be updated. For existing supplier confirmations, individual items, lines, and entire confirmations can be deleted..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_SUPPLIERCONFIRMATION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Supplier Confirmation Integration(SAP_COM_0904) |
| Scope Items: | Direct Procurement with Inbound Delivery(2TX) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SUPPLIERCONFIRMATION |
| Business Object: | SupplierConfirmation |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.SupplierConfirmationService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingSupplierConfirmationService.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 theSupplierConfirmationentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplierConfirmationItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplierConfirmationLineentity collection matching the filter and search expressions.createConfirmation(SupplierConfirmation supplierConfirmation) Deprecated.Create a newSupplierConfirmationentity and save it to the S/4HANA system.createConfirmationItem(SupplierConfirmationItem supplierConfirmationItem) Deprecated.Create a newSupplierConfirmationItementity and save it to the S/4HANA system.deleteConfirmation(SupplierConfirmation supplierConfirmation) Deprecated.Deletes an existingSupplierConfirmationentity in the S/4HANA system.deleteConfirmationItem(SupplierConfirmationItem supplierConfirmationItem) Deprecated.Deletes an existingSupplierConfirmationItementity in the S/4HANA system.deleteConfirmationLine(SupplierConfirmationLine supplierConfirmationLine) Deprecated.Deletes an existingSupplierConfirmationLineentity in the S/4HANA system.Deprecated.Fetch multipleSupplierConfirmationentities.Deprecated.Fetch multipleSupplierConfirmationItementities.Deprecated.Fetch multipleSupplierConfirmationLineentities.getConfirmationByKey(String supplierConfirmation) Deprecated.Fetch a singleSupplierConfirmationentity using key fields.getConfirmationItemByKey(String supplierConfirmation, String supplierConfirmationItem) Deprecated.Fetch a singleSupplierConfirmationItementity using key fields.getConfirmationLineByKey(String supplierConfirmation, String supplierConfirmationItem, String supplierConfirmationLine) Deprecated.Fetch a singleSupplierConfirmationLineentity using key fields.Deprecated.updateConfirmation(SupplierConfirmation supplierConfirmation) Deprecated.Update an existingSupplierConfirmationentity and save it to the S/4HANA system.updateConfirmationItem(SupplierConfirmationItem supplierConfirmationItem) Deprecated.Update an existingSupplierConfirmationItementity and save it to the S/4HANA system.updateConfirmationLine(SupplierConfirmationLine supplierConfirmationLine) Deprecated.Update an existingSupplierConfirmationLineentity and save it to the S/4HANA system.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
-
DefaultSupplierConfirmationService
public DefaultSupplierConfirmationService()Deprecated.Creates a service usingSupplierConfirmationService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:SupplierConfirmationServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceSupplierConfirmationService- 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:SupplierConfirmationServiceCreates a batch request builder object.- Specified by:
batchin interfaceSupplierConfirmationService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllConfirmation
Deprecated.Description copied from interface:SupplierConfirmationServiceFetch multipleSupplierConfirmationentities.- Specified by:
getAllConfirmationin interfaceSupplierConfirmationService- Returns:
- A request builder to fetch multiple
SupplierConfirmationentities. 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.
-
countConfirmation
Deprecated.Description copied from interface:SupplierConfirmationServiceFetch the number of entries from theSupplierConfirmationentity collection matching the filter and search expressions.- Specified by:
countConfirmationin interfaceSupplierConfirmationService- Returns:
- A request builder to fetch the count of
SupplierConfirmationentities. 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.
-
getConfirmationByKey
@Nonnull public GetByKeyRequestBuilder<SupplierConfirmation> getConfirmationByKey(String supplierConfirmation) Deprecated.Description copied from interface:SupplierConfirmationServiceFetch a singleSupplierConfirmationentity using key fields.- Specified by:
getConfirmationByKeyin interfaceSupplierConfirmationService- Parameters:
supplierConfirmation- Supplier Confirmation NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
SupplierConfirmationentity 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.
-
createConfirmation
@Nonnull public CreateRequestBuilder<SupplierConfirmation> createConfirmation(@Nonnull SupplierConfirmation supplierConfirmation) Deprecated.Description copied from interface:SupplierConfirmationServiceCreate a newSupplierConfirmationentity and save it to the S/4HANA system.- Specified by:
createConfirmationin interfaceSupplierConfirmationService- Parameters:
supplierConfirmation-SupplierConfirmationentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SupplierConfirmationentity. To perform execution, call theexecutemethod on the request builder object.
-
updateConfirmation
@Nonnull public UpdateRequestBuilder<SupplierConfirmation> updateConfirmation(@Nonnull SupplierConfirmation supplierConfirmation) Deprecated.Description copied from interface:SupplierConfirmationServiceUpdate an existingSupplierConfirmationentity and save it to the S/4HANA system.- Specified by:
updateConfirmationin interfaceSupplierConfirmationService- Parameters:
supplierConfirmation-SupplierConfirmationentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplierConfirmationentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteConfirmation
@Nonnull public DeleteRequestBuilder<SupplierConfirmation> deleteConfirmation(@Nonnull SupplierConfirmation supplierConfirmation) Deprecated.Description copied from interface:SupplierConfirmationServiceDeletes an existingSupplierConfirmationentity in the S/4HANA system.- Specified by:
deleteConfirmationin interfaceSupplierConfirmationService- Parameters:
supplierConfirmation-SupplierConfirmationentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplierConfirmationentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllConfirmationItem
Deprecated.Description copied from interface:SupplierConfirmationServiceFetch multipleSupplierConfirmationItementities.- Specified by:
getAllConfirmationItemin interfaceSupplierConfirmationService- Returns:
- A request builder to fetch multiple
SupplierConfirmationItementities. 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.
-
countConfirmationItem
Deprecated.Description copied from interface:SupplierConfirmationServiceFetch the number of entries from theSupplierConfirmationItementity collection matching the filter and search expressions.- Specified by:
countConfirmationItemin interfaceSupplierConfirmationService- Returns:
- A request builder to fetch the count of
SupplierConfirmationItementities. 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.
-
getConfirmationItemByKey
@Nonnull public GetByKeyRequestBuilder<SupplierConfirmationItem> getConfirmationItemByKey(String supplierConfirmation, String supplierConfirmationItem) Deprecated.Description copied from interface:SupplierConfirmationServiceFetch a singleSupplierConfirmationItementity using key fields.- Specified by:
getConfirmationItemByKeyin interfaceSupplierConfirmationService- Parameters:
supplierConfirmation- Supplier Confirmation NumberConstraints: Not nullable, Maximum length: 10
supplierConfirmationItem- Supplier Confirmation ItemConstraints: Not nullable, Maximum length: 5
- Returns:
- A request builder to fetch a single
SupplierConfirmationItementity 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.
-
createConfirmationItem
@Nonnull public CreateRequestBuilder<SupplierConfirmationItem> createConfirmationItem(@Nonnull SupplierConfirmationItem supplierConfirmationItem) Deprecated.Description copied from interface:SupplierConfirmationServiceCreate a newSupplierConfirmationItementity and save it to the S/4HANA system.- Specified by:
createConfirmationItemin interfaceSupplierConfirmationService- Parameters:
supplierConfirmationItem-SupplierConfirmationItementity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SupplierConfirmationItementity. To perform execution, call theexecutemethod on the request builder object.
-
updateConfirmationItem
@Nonnull public UpdateRequestBuilder<SupplierConfirmationItem> updateConfirmationItem(@Nonnull SupplierConfirmationItem supplierConfirmationItem) Deprecated.Description copied from interface:SupplierConfirmationServiceUpdate an existingSupplierConfirmationItementity and save it to the S/4HANA system.- Specified by:
updateConfirmationItemin interfaceSupplierConfirmationService- Parameters:
supplierConfirmationItem-SupplierConfirmationItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplierConfirmationItementity. To perform execution, call theexecutemethod on the request builder object.
-
deleteConfirmationItem
@Nonnull public DeleteRequestBuilder<SupplierConfirmationItem> deleteConfirmationItem(@Nonnull SupplierConfirmationItem supplierConfirmationItem) Deprecated.Description copied from interface:SupplierConfirmationServiceDeletes an existingSupplierConfirmationItementity in the S/4HANA system.- Specified by:
deleteConfirmationItemin interfaceSupplierConfirmationService- Parameters:
supplierConfirmationItem-SupplierConfirmationItementity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplierConfirmationItementity. To perform execution, call theexecutemethod on the request builder object.
-
getAllConfirmationLine
Deprecated.Description copied from interface:SupplierConfirmationServiceFetch multipleSupplierConfirmationLineentities.- Specified by:
getAllConfirmationLinein interfaceSupplierConfirmationService- Returns:
- A request builder to fetch multiple
SupplierConfirmationLineentities. 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.
-
countConfirmationLine
Deprecated.Description copied from interface:SupplierConfirmationServiceFetch the number of entries from theSupplierConfirmationLineentity collection matching the filter and search expressions.- Specified by:
countConfirmationLinein interfaceSupplierConfirmationService- Returns:
- A request builder to fetch the count of
SupplierConfirmationLineentities. 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.
-
getConfirmationLineByKey
@Nonnull public GetByKeyRequestBuilder<SupplierConfirmationLine> getConfirmationLineByKey(String supplierConfirmation, String supplierConfirmationItem, String supplierConfirmationLine) Deprecated.Description copied from interface:SupplierConfirmationServiceFetch a singleSupplierConfirmationLineentity using key fields.- Specified by:
getConfirmationLineByKeyin interfaceSupplierConfirmationService- Parameters:
supplierConfirmation- Supplier Confirmation NumberConstraints: Not nullable, Maximum length: 10
supplierConfirmationItem- Supplier Confirmation ItemConstraints: Not nullable, Maximum length: 5
supplierConfirmationLine- Supplier Confirmation LineConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
SupplierConfirmationLineentity 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.
-
updateConfirmationLine
@Nonnull public UpdateRequestBuilder<SupplierConfirmationLine> updateConfirmationLine(@Nonnull SupplierConfirmationLine supplierConfirmationLine) Deprecated.Description copied from interface:SupplierConfirmationServiceUpdate an existingSupplierConfirmationLineentity and save it to the S/4HANA system.- Specified by:
updateConfirmationLinein interfaceSupplierConfirmationService- Parameters:
supplierConfirmationLine-SupplierConfirmationLineentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplierConfirmationLineentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteConfirmationLine
@Nonnull public DeleteRequestBuilder<SupplierConfirmationLine> deleteConfirmationLine(@Nonnull SupplierConfirmationLine supplierConfirmationLine) Deprecated.Description copied from interface:SupplierConfirmationServiceDeletes an existingSupplierConfirmationLineentity in the S/4HANA system.- Specified by:
deleteConfirmationLinein interfaceSupplierConfirmationService- Parameters:
supplierConfirmationLine-SupplierConfirmationLineentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplierConfirmationLineentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-