@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultServiceConfirmationService") public class DefaultServiceConfirmationService extends Object implements ServiceConfirmationService
You can use this service to integrate external applications with service confirmation processing in SAP S/4HANA Cloud. In each API call, you can use the following operations: - Retrieve service confirmations. - Create service confirmations. Note: You must use “deep insert” requests (a header plus the following entities: header person responsible, header reference object, header pricing element, header text, and item). - Create new items for existing service confirmations. - Create an item reference object, item pricing element, and an item text for existing service confirmation items. - Update the header, header person responsible, header reference object, header pricing element, header text, item, item reference object, item pricing element, and item text for existing service confirmations. - Delete the header person responsible, header reference object, header text, item, item reference object, and item text for existing service confirmations. This service enables you to add attachments to service confirmation items by making an API call to the service Attachments (API_CV_ATTACHMENT_SRV). You can also use the service Attachments to download and delete attachments from service confirmation items..
Reference: SAP API Business Hub
OData Service: | API_SERVICE_CONFIRMATION_SRV |
API Version: | 1 |
Communication Scenario: | Service Confirmation Integration (SAP_COM_0352) |
Scope Items: | Service Order Management and Monitoring (3D2) |
Authentication Methods: | Basic |
Business Object: | ServiceConfirmation |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultServiceConfirmationService()
Creates a service using
ServiceConfirmationService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultServiceConfirmationService()
ServiceConfirmationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultServiceConfirmationService withServicePath(@Nonnull String servicePath)
ServiceConfirmationService
withServicePath
in interface ServiceConfirmationService
servicePath
- Service path that will override the default.@Nonnull public DefaultServiceConfirmationServiceBatch batch()
batch
in interface BatchService<ServiceConfirmationServiceBatch>
@Nonnull public ServiceConfirmationFluentHelper getAllServiceConfirmation()
ServiceConfirmationService
ServiceConfirmation
entities.getAllServiceConfirmation
in interface ServiceConfirmationService
ServiceConfirmation
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationByKeyFluentHelper getServiceConfirmationByKey(String serviceConfirmation)
ServiceConfirmationService
ServiceConfirmation
entity using key fields.getServiceConfirmationByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
ServiceConfirmation
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationCreateFluentHelper createServiceConfirmation(@Nonnull ServiceConfirmation serviceConfirmation)
ServiceConfirmationService
ServiceConfirmation
entity and save it to the S/4HANA system.createServiceConfirmation
in interface ServiceConfirmationService
serviceConfirmation
- ServiceConfirmation
entity object that will be created in the S/4HANA system.ServiceConfirmation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationUpdateFluentHelper updateServiceConfirmation(@Nonnull ServiceConfirmation serviceConfirmation)
ServiceConfirmationService
ServiceConfirmation
entity and save it to the S/4HANA system.updateServiceConfirmation
in interface ServiceConfirmationService
serviceConfirmation
- ServiceConfirmation
entity object that will be updated in the S/4HANA system.ServiceConfirmation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemFluentHelper getAllServiceConfirmationItem()
ServiceConfirmationService
ServiceConfirmationItem
entities.getAllServiceConfirmationItem
in interface ServiceConfirmationService
ServiceConfirmationItem
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemByKeyFluentHelper getServiceConfirmationItemByKey(String serviceConfirmation, String serviceConfirmationItem)
ServiceConfirmationService
ServiceConfirmationItem
entity using key fields.getServiceConfirmationItemByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
serviceConfirmationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
ServiceConfirmationItem
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemCreateFluentHelper createServiceConfirmationItem(@Nonnull ServiceConfirmationItem serviceConfirmationItem)
ServiceConfirmationService
ServiceConfirmationItem
entity and save it to the S/4HANA system.createServiceConfirmationItem
in interface ServiceConfirmationService
serviceConfirmationItem
- ServiceConfirmationItem
entity object that will be created in the S/4HANA system.ServiceConfirmationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemUpdateFluentHelper updateServiceConfirmationItem(@Nonnull ServiceConfirmationItem serviceConfirmationItem)
ServiceConfirmationService
ServiceConfirmationItem
entity and save it to the S/4HANA system.updateServiceConfirmationItem
in interface ServiceConfirmationService
serviceConfirmationItem
- ServiceConfirmationItem
entity object that will be updated in the S/4HANA system.ServiceConfirmationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemDeleteFluentHelper deleteServiceConfirmationItem(@Nonnull ServiceConfirmationItem serviceConfirmationItem)
ServiceConfirmationService
ServiceConfirmationItem
entity in the S/4HANA system.deleteServiceConfirmationItem
in interface ServiceConfirmationService
serviceConfirmationItem
- ServiceConfirmationItem
entity object that will be deleted in the S/4HANA system.ServiceConfirmationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemTextFluentHelper getAllServiceConfirmationItemText()
ServiceConfirmationService
ServiceConfirmationItemText
entities.getAllServiceConfirmationItemText
in interface ServiceConfirmationService
ServiceConfirmationItemText
entities. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemTextByKeyFluentHelper getServiceConfirmationItemTextByKey(String serviceConfirmation, String serviceConfirmationItem, String language, String longTextID)
ServiceConfirmationService
ServiceConfirmationItemText
entity using key fields.getServiceConfirmationItemTextByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number which identifies the transaction document. It is unique for the respective business transaction
category.
Constraints: Not nullable, Maximum length: 10
serviceConfirmationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
longTextID
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
Constraints: Not nullable, Maximum length: 4
ServiceConfirmationItemText
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemTextCreateFluentHelper createServiceConfirmationItemText(@Nonnull ServiceConfirmationItemText serviceConfirmationItemText)
ServiceConfirmationService
ServiceConfirmationItemText
entity and save it to the S/4HANA system.createServiceConfirmationItemText
in interface ServiceConfirmationService
serviceConfirmationItemText
- ServiceConfirmationItemText
entity object that will be created in the S/4HANA system.ServiceConfirmationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemTextUpdateFluentHelper updateServiceConfirmationItemText(@Nonnull ServiceConfirmationItemText serviceConfirmationItemText)
ServiceConfirmationService
ServiceConfirmationItemText
entity and save it to the S/4HANA system.updateServiceConfirmationItemText
in interface ServiceConfirmationService
serviceConfirmationItemText
- ServiceConfirmationItemText
entity object that will be updated in the S/4HANA system.ServiceConfirmationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationItemTextDeleteFluentHelper deleteServiceConfirmationItemText(@Nonnull ServiceConfirmationItemText serviceConfirmationItemText)
ServiceConfirmationService
ServiceConfirmationItemText
entity in the S/4HANA system.deleteServiceConfirmationItemText
in interface ServiceConfirmationService
serviceConfirmationItemText
- ServiceConfirmationItemText
entity object that will be deleted in the S/4HANA system.ServiceConfirmationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationTextFluentHelper getAllServiceConfirmationText()
ServiceConfirmationService
ServiceConfirmationText
entities.getAllServiceConfirmationText
in interface ServiceConfirmationService
ServiceConfirmationText
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationTextByKeyFluentHelper getServiceConfirmationTextByKey(String serviceConfirmation, String language, String longTextID)
ServiceConfirmationService
ServiceConfirmationText
entity using key fields.getServiceConfirmationTextByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number which identifies the transaction document. It is unique for the respective business transaction
category.
Constraints: Not nullable, Maximum length: 10
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
longTextID
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
Constraints: Not nullable, Maximum length: 4
ServiceConfirmationText
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationTextCreateFluentHelper createServiceConfirmationText(@Nonnull ServiceConfirmationText serviceConfirmationText)
ServiceConfirmationService
ServiceConfirmationText
entity and save it to the S/4HANA system.createServiceConfirmationText
in interface ServiceConfirmationService
serviceConfirmationText
- ServiceConfirmationText
entity object that will be created in the S/4HANA system.ServiceConfirmationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationTextUpdateFluentHelper updateServiceConfirmationText(@Nonnull ServiceConfirmationText serviceConfirmationText)
ServiceConfirmationService
ServiceConfirmationText
entity and save it to the S/4HANA system.updateServiceConfirmationText
in interface ServiceConfirmationService
serviceConfirmationText
- ServiceConfirmationText
entity object that will be updated in the S/4HANA system.ServiceConfirmationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfirmationTextDeleteFluentHelper deleteServiceConfirmationText(@Nonnull ServiceConfirmationText serviceConfirmationText)
ServiceConfirmationService
ServiceConfirmationText
entity in the S/4HANA system.deleteServiceConfirmationText
in interface ServiceConfirmationService
serviceConfirmationText
- ServiceConfirmationText
entity object that will be deleted in the S/4HANA system.ServiceConfirmationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfItemPriceElementFluentHelper getAllServiceConfItemPriceElement()
ServiceConfirmationService
ServiceConfItemPriceElement
entities.getAllServiceConfItemPriceElement
in interface ServiceConfirmationService
ServiceConfItemPriceElement
entities. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfItemPriceElementByKeyFluentHelper getServiceConfItemPriceElementByKey(String serviceConfirmation, String serviceConfirmationItem, String pricingProcedureStep, String pricingProcedureCounter)
ServiceConfirmationService
ServiceConfItemPriceElement
entity using key fields.getServiceConfItemPriceElementByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
serviceConfirmationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
ServiceConfItemPriceElement
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfItemPriceElementCreateFluentHelper createServiceConfItemPriceElement(@Nonnull ServiceConfItemPriceElement serviceConfItemPriceElement)
ServiceConfirmationService
ServiceConfItemPriceElement
entity and save it to the S/4HANA system.createServiceConfItemPriceElement
in interface ServiceConfirmationService
serviceConfItemPriceElement
- ServiceConfItemPriceElement
entity object that will be created in the S/4HANA system.ServiceConfItemPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfItemPriceElementUpdateFluentHelper updateServiceConfItemPriceElement(@Nonnull ServiceConfItemPriceElement serviceConfItemPriceElement)
ServiceConfirmationService
ServiceConfItemPriceElement
entity and save it to the S/4HANA system.updateServiceConfItemPriceElement
in interface ServiceConfirmationService
serviceConfItemPriceElement
- ServiceConfItemPriceElement
entity object that will be updated in the S/4HANA system.ServiceConfItemPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfItmRefObjectFluentHelper getAllServiceConfItmRefObject()
ServiceConfirmationService
ServiceConfItmRefObject
entities.getAllServiceConfItmRefObject
in interface ServiceConfirmationService
ServiceConfItmRefObject
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfItmRefObjectByKeyFluentHelper getServiceConfItmRefObjectByKey(String serviceConfirmation, String serviceConfirmationItem, String serviceReferenceEquipment, String serviceRefFunctionalLocation)
ServiceConfirmationService
ServiceConfItmRefObject
entity using key fields.getServiceConfItmRefObjectByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
serviceConfirmationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
serviceReferenceEquipment
- Number by which a piece of equipment can be clearly identified.
Constraints: Not nullable, Maximum length: 18
serviceRefFunctionalLocation
- Label that uniquely identifies a functional location.
Constraints: Not nullable, Maximum length: 40
ServiceConfItmRefObject
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfItmRefObjectCreateFluentHelper createServiceConfItmRefObject(@Nonnull ServiceConfItmRefObject serviceConfItmRefObject)
ServiceConfirmationService
ServiceConfItmRefObject
entity and save it to the S/4HANA system.createServiceConfItmRefObject
in interface ServiceConfirmationService
serviceConfItmRefObject
- ServiceConfItmRefObject
entity object that will be created in the S/4HANA system.ServiceConfItmRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfItmRefObjectDeleteFluentHelper deleteServiceConfItmRefObject(@Nonnull ServiceConfItmRefObject serviceConfItmRefObject)
ServiceConfirmationService
ServiceConfItmRefObject
entity in the S/4HANA system.deleteServiceConfItmRefObject
in interface ServiceConfirmationService
serviceConfItmRefObject
- ServiceConfItmRefObject
entity object that will be deleted in the S/4HANA system.ServiceConfItmRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPersonRespFluentHelper getAllServiceConfPersonResp()
ServiceConfirmationService
ServiceConfPersonResp
entities.getAllServiceConfPersonResp
in interface ServiceConfirmationService
ServiceConfPersonResp
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPersonRespByKeyFluentHelper getServiceConfPersonRespByKey(String serviceConfirmation, String personResponsible)
ServiceConfirmationService
ServiceConfPersonResp
entity using key fields.getServiceConfPersonRespByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
personResponsible
- Key identifying a business partner in the SAP system. The key is unique within a client.
Constraints: Not nullable, Maximum length: 10
ServiceConfPersonResp
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfPersonRespCreateFluentHelper createServiceConfPersonResp(@Nonnull ServiceConfPersonResp serviceConfPersonResp)
ServiceConfirmationService
ServiceConfPersonResp
entity and save it to the S/4HANA system.createServiceConfPersonResp
in interface ServiceConfirmationService
serviceConfPersonResp
- ServiceConfPersonResp
entity object that will be created in the S/4HANA system.ServiceConfPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPersonRespUpdateFluentHelper updateServiceConfPersonResp(@Nonnull ServiceConfPersonResp serviceConfPersonResp)
ServiceConfirmationService
ServiceConfPersonResp
entity and save it to the S/4HANA system.updateServiceConfPersonResp
in interface ServiceConfirmationService
serviceConfPersonResp
- ServiceConfPersonResp
entity object that will be updated in the S/4HANA system.ServiceConfPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPersonRespDeleteFluentHelper deleteServiceConfPersonResp(@Nonnull ServiceConfPersonResp serviceConfPersonResp)
ServiceConfirmationService
ServiceConfPersonResp
entity in the S/4HANA system.deleteServiceConfPersonResp
in interface ServiceConfirmationService
serviceConfPersonResp
- ServiceConfPersonResp
entity object that will be deleted in the S/4HANA system.ServiceConfPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPriceElementFluentHelper getAllServiceConfPriceElement()
ServiceConfirmationService
ServiceConfPriceElement
entities.getAllServiceConfPriceElement
in interface ServiceConfirmationService
ServiceConfPriceElement
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPriceElementByKeyFluentHelper getServiceConfPriceElementByKey(String serviceConfirmation, String pricingProcedureStep, String pricingProcedureCounter)
ServiceConfirmationService
ServiceConfPriceElement
entity using key fields.getServiceConfPriceElementByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
ServiceConfPriceElement
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfPriceElementCreateFluentHelper createServiceConfPriceElement(@Nonnull ServiceConfPriceElement serviceConfPriceElement)
ServiceConfirmationService
ServiceConfPriceElement
entity and save it to the S/4HANA system.createServiceConfPriceElement
in interface ServiceConfirmationService
serviceConfPriceElement
- ServiceConfPriceElement
entity object that will be created in the S/4HANA system.ServiceConfPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfPriceElementUpdateFluentHelper updateServiceConfPriceElement(@Nonnull ServiceConfPriceElement serviceConfPriceElement)
ServiceConfirmationService
ServiceConfPriceElement
entity and save it to the S/4HANA system.updateServiceConfPriceElement
in interface ServiceConfirmationService
serviceConfPriceElement
- ServiceConfPriceElement
entity object that will be updated in the S/4HANA system.ServiceConfPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfRefObjectFluentHelper getAllServiceConfRefObject()
ServiceConfirmationService
ServiceConfRefObject
entities.getAllServiceConfRefObject
in interface ServiceConfirmationService
ServiceConfRefObject
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfRefObjectByKeyFluentHelper getServiceConfRefObjectByKey(String serviceConfirmation, String serviceReferenceEquipment, String serviceRefFunctionalLocation)
ServiceConfirmationService
ServiceConfRefObject
entity using key fields.getServiceConfRefObjectByKey
in interface ServiceConfirmationService
serviceConfirmation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
serviceReferenceEquipment
- Number by which a piece of equipment can be clearly identified.
Constraints: Not nullable, Maximum length: 18
serviceRefFunctionalLocation
- Label that uniquely identifies a functional location.
Constraints: Not nullable, Maximum length: 40
ServiceConfRefObject
entity 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 the
execute
method on the fluent helper object.@Nonnull public ServiceConfRefObjectCreateFluentHelper createServiceConfRefObject(@Nonnull ServiceConfRefObject serviceConfRefObject)
ServiceConfirmationService
ServiceConfRefObject
entity and save it to the S/4HANA system.createServiceConfRefObject
in interface ServiceConfirmationService
serviceConfRefObject
- ServiceConfRefObject
entity object that will be created in the S/4HANA system.ServiceConfRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceConfRefObjectDeleteFluentHelper deleteServiceConfRefObject(@Nonnull ServiceConfRefObject serviceConfRefObject)
ServiceConfirmationService
ServiceConfRefObject
entity in the S/4HANA system.deleteServiceConfRefObject
in interface ServiceConfirmationService
serviceConfRefObject
- ServiceConfRefObject
entity object that will be deleted in the S/4HANA system.ServiceConfRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.