public interface ServiceQuotationService extends BatchService<ServiceQuotationServiceBatch>
You can use this service to integrate external applications with service quotation processing in Service in SAP S/4HANA Cloud. In each API call, you can use the following operations: - Retrieve service quotations. - Create service quotations. Note: You must use “deep insert” requests (a header plus the following entities: header person responsible, header pricing element, header reference object, header text, and item). - Create new items for existing service quotations. - Create an item reference object, item pricing element, and an item text for existing service quotations items. - Update the header, header person responsible, header pricing element, header text, item, item pricing element, and item text of existing service quotations. - Delete the header person responsible, header reference object, header pricing element, header text, item, item reference object, item pricing element, and item text of existing service quotations. .
Reference: SAP API Business Hub
OData Service: | API_SERVICE_QUOTATION_SRV |
API Version: | 1 |
Communication Scenario: | Service Quotation Integration (SAP_COM_0355) |
Scope Items: | Service Order Management and Monitoring (3D2) |
Authentication Methods: | Basic |
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. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ServiceQuotationService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ServiceQtanItemPriceElementFluentHelper getAllServiceQtanItemPriceElement()
ServiceQtanItemPriceElement
entities.ServiceQtanItemPriceElement
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 ServiceQtanItemPriceElementByKeyFluentHelper getServiceQtanItemPriceElementByKey(String serviceQuotation, String serviceQuotationItem, String pricingProcedureStep, String pricingProcedureCounter)
ServiceQtanItemPriceElement
entity using key fields.pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
serviceQuotationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
serviceQuotation
- 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
ServiceQtanItemPriceElement
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 ServiceQtanItemPriceElementCreateFluentHelper createServiceQtanItemPriceElement(@Nonnull ServiceQtanItemPriceElement serviceQtanItemPriceElement)
ServiceQtanItemPriceElement
entity and save it to the S/4HANA system.serviceQtanItemPriceElement
- ServiceQtanItemPriceElement
entity object that will be created in the S/4HANA system.ServiceQtanItemPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanItemPriceElementUpdateFluentHelper updateServiceQtanItemPriceElement(@Nonnull ServiceQtanItemPriceElement serviceQtanItemPriceElement)
ServiceQtanItemPriceElement
entity and save it to the S/4HANA system.serviceQtanItemPriceElement
- ServiceQtanItemPriceElement
entity object that will be updated in the S/4HANA system.ServiceQtanItemPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanItemPriceElementDeleteFluentHelper deleteServiceQtanItemPriceElement(@Nonnull ServiceQtanItemPriceElement serviceQtanItemPriceElement)
ServiceQtanItemPriceElement
entity in the S/4HANA system.serviceQtanItemPriceElement
- ServiceQtanItemPriceElement
entity object that will be deleted in the S/4HANA system.ServiceQtanItemPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanItemRefObjectFluentHelper getAllServiceQtanItemRefObject()
ServiceQtanItemRefObject
entities.ServiceQtanItemRefObject
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 ServiceQtanItemRefObjectByKeyFluentHelper getServiceQtanItemRefObjectByKey(String serviceQuotation, String serviceQuotationItem, String serviceReferenceEquipment, String serviceRefFunctionalLocation)
ServiceQtanItemRefObject
entity using key fields.serviceQuotationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
serviceRefFunctionalLocation
- Label that uniquely identifies a functional location.
Constraints: Not nullable, Maximum length: 40
serviceReferenceEquipment
- Number by which a piece of equipment can be clearly identified.
Constraints: Not nullable, Maximum length: 18
serviceQuotation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
ServiceQtanItemRefObject
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 ServiceQtanItemRefObjectCreateFluentHelper createServiceQtanItemRefObject(@Nonnull ServiceQtanItemRefObject serviceQtanItemRefObject)
ServiceQtanItemRefObject
entity and save it to the S/4HANA system.serviceQtanItemRefObject
- ServiceQtanItemRefObject
entity object that will be created in the S/4HANA system.ServiceQtanItemRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanItemRefObjectDeleteFluentHelper deleteServiceQtanItemRefObject(@Nonnull ServiceQtanItemRefObject serviceQtanItemRefObject)
ServiceQtanItemRefObject
entity in the S/4HANA system.serviceQtanItemRefObject
- ServiceQtanItemRefObject
entity object that will be deleted in the S/4HANA system.ServiceQtanItemRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanPersonRespFluentHelper getAllServiceQtanPersonResp()
ServiceQtanPersonResp
entities.ServiceQtanPersonResp
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 ServiceQtanPersonRespByKeyFluentHelper getServiceQtanPersonRespByKey(String serviceQuotation, String personResponsible)
ServiceQtanPersonResp
entity using key fields.personResponsible
- Key identifying a business partner in the SAP system. The key is unique within a client.
Constraints: Not nullable, Maximum length: 10
serviceQuotation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
ServiceQtanPersonResp
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 ServiceQtanPersonRespCreateFluentHelper createServiceQtanPersonResp(@Nonnull ServiceQtanPersonResp serviceQtanPersonResp)
ServiceQtanPersonResp
entity and save it to the S/4HANA system.serviceQtanPersonResp
- ServiceQtanPersonResp
entity object that will be created in the S/4HANA system.ServiceQtanPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanPersonRespUpdateFluentHelper updateServiceQtanPersonResp(@Nonnull ServiceQtanPersonResp serviceQtanPersonResp)
ServiceQtanPersonResp
entity and save it to the S/4HANA system.serviceQtanPersonResp
- ServiceQtanPersonResp
entity object that will be updated in the S/4HANA system.ServiceQtanPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanPersonRespDeleteFluentHelper deleteServiceQtanPersonResp(@Nonnull ServiceQtanPersonResp serviceQtanPersonResp)
ServiceQtanPersonResp
entity in the S/4HANA system.serviceQtanPersonResp
- ServiceQtanPersonResp
entity object that will be deleted in the S/4HANA system.ServiceQtanPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanPriceElementFluentHelper getAllServiceQtanPriceElement()
ServiceQtanPriceElement
entities.ServiceQtanPriceElement
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 ServiceQtanPriceElementByKeyFluentHelper getServiceQtanPriceElementByKey(String serviceQuotation, String pricingProcedureStep, String pricingProcedureCounter)
ServiceQtanPriceElement
entity using key fields.pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
serviceQuotation
- 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
ServiceQtanPriceElement
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 ServiceQtanPriceElementCreateFluentHelper createServiceQtanPriceElement(@Nonnull ServiceQtanPriceElement serviceQtanPriceElement)
ServiceQtanPriceElement
entity and save it to the S/4HANA system.serviceQtanPriceElement
- ServiceQtanPriceElement
entity object that will be created in the S/4HANA system.ServiceQtanPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanPriceElementUpdateFluentHelper updateServiceQtanPriceElement(@Nonnull ServiceQtanPriceElement serviceQtanPriceElement)
ServiceQtanPriceElement
entity and save it to the S/4HANA system.serviceQtanPriceElement
- ServiceQtanPriceElement
entity object that will be updated in the S/4HANA system.ServiceQtanPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanPriceElementDeleteFluentHelper deleteServiceQtanPriceElement(@Nonnull ServiceQtanPriceElement serviceQtanPriceElement)
ServiceQtanPriceElement
entity in the S/4HANA system.serviceQtanPriceElement
- ServiceQtanPriceElement
entity object that will be deleted in the S/4HANA system.ServiceQtanPriceElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanRefObjectFluentHelper getAllServiceQtanRefObject()
ServiceQtanRefObject
entities.ServiceQtanRefObject
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 ServiceQtanRefObjectByKeyFluentHelper getServiceQtanRefObjectByKey(String serviceQuotation, String serviceReferenceEquipment, String serviceRefFunctionalLocation)
ServiceQtanRefObject
entity using key fields.serviceRefFunctionalLocation
- Label that uniquely identifies a functional location.
Constraints: Not nullable, Maximum length: 40
serviceReferenceEquipment
- Number by which a piece of equipment can be clearly identified.
Constraints: Not nullable, Maximum length: 18
serviceQuotation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
ServiceQtanRefObject
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 ServiceQtanRefObjectCreateFluentHelper createServiceQtanRefObject(@Nonnull ServiceQtanRefObject serviceQtanRefObject)
ServiceQtanRefObject
entity and save it to the S/4HANA system.serviceQtanRefObject
- ServiceQtanRefObject
entity object that will be created in the S/4HANA system.ServiceQtanRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQtanRefObjectDeleteFluentHelper deleteServiceQtanRefObject(@Nonnull ServiceQtanRefObject serviceQtanRefObject)
ServiceQtanRefObject
entity in the S/4HANA system.serviceQtanRefObject
- ServiceQtanRefObject
entity object that will be deleted in the S/4HANA system.ServiceQtanRefObject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationFluentHelper getAllServiceQuotation()
ServiceQuotation
entities.ServiceQuotation
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 ServiceQuotationByKeyFluentHelper getServiceQuotationByKey(String serviceQuotation)
ServiceQuotation
entity using key fields.serviceQuotation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
ServiceQuotation
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 ServiceQuotationCreateFluentHelper createServiceQuotation(@Nonnull ServiceQuotation serviceQuotation)
ServiceQuotation
entity and save it to the S/4HANA system.serviceQuotation
- ServiceQuotation
entity object that will be created in the S/4HANA system.ServiceQuotation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationUpdateFluentHelper updateServiceQuotation(@Nonnull ServiceQuotation serviceQuotation)
ServiceQuotation
entity and save it to the S/4HANA system.serviceQuotation
- ServiceQuotation
entity object that will be updated in the S/4HANA system.ServiceQuotation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationItemFluentHelper getAllServiceQuotationItem()
ServiceQuotationItem
entities.ServiceQuotationItem
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 ServiceQuotationItemByKeyFluentHelper getServiceQuotationItemByKey(String serviceQuotation, String serviceQuotationItem)
ServiceQuotationItem
entity using key fields.serviceQuotationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
serviceQuotation
- Number that identifies the transaction document. It is unique for each business transaction category.
Constraints: Not nullable, Maximum length: 10
ServiceQuotationItem
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 ServiceQuotationItemCreateFluentHelper createServiceQuotationItem(@Nonnull ServiceQuotationItem serviceQuotationItem)
ServiceQuotationItem
entity and save it to the S/4HANA system.serviceQuotationItem
- ServiceQuotationItem
entity object that will be created in the S/4HANA system.ServiceQuotationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationItemUpdateFluentHelper updateServiceQuotationItem(@Nonnull ServiceQuotationItem serviceQuotationItem)
ServiceQuotationItem
entity and save it to the S/4HANA system.serviceQuotationItem
- ServiceQuotationItem
entity object that will be updated in the S/4HANA system.ServiceQuotationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationItemDeleteFluentHelper deleteServiceQuotationItem(@Nonnull ServiceQuotationItem serviceQuotationItem)
ServiceQuotationItem
entity in the S/4HANA system.serviceQuotationItem
- ServiceQuotationItem
entity object that will be deleted in the S/4HANA system.ServiceQuotationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationItemTextFluentHelper getAllServiceQuotationItemText()
ServiceQuotationItemText
entities.ServiceQuotationItemText
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 ServiceQuotationItemTextByKeyFluentHelper getServiceQuotationItemTextByKey(String serviceQuotation, String serviceQuotationItem, String language, String longTextID)
ServiceQuotationItemText
entity using key fields.serviceQuotationItem
- Shortened Item Number in Document
Constraints: Not nullable, Maximum length: 6
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
serviceQuotation
- Number which identifies the transaction document. It is unique for the respective business transaction
category.
Constraints: Not nullable, Maximum length: 10
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
ServiceQuotationItemText
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 ServiceQuotationItemTextCreateFluentHelper createServiceQuotationItemText(@Nonnull ServiceQuotationItemText serviceQuotationItemText)
ServiceQuotationItemText
entity and save it to the S/4HANA system.serviceQuotationItemText
- ServiceQuotationItemText
entity object that will be created in the S/4HANA system.ServiceQuotationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationItemTextUpdateFluentHelper updateServiceQuotationItemText(@Nonnull ServiceQuotationItemText serviceQuotationItemText)
ServiceQuotationItemText
entity and save it to the S/4HANA system.serviceQuotationItemText
- ServiceQuotationItemText
entity object that will be updated in the S/4HANA system.ServiceQuotationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationItemTextDeleteFluentHelper deleteServiceQuotationItemText(@Nonnull ServiceQuotationItemText serviceQuotationItemText)
ServiceQuotationItemText
entity in the S/4HANA system.serviceQuotationItemText
- ServiceQuotationItemText
entity object that will be deleted in the S/4HANA system.ServiceQuotationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationTextFluentHelper getAllServiceQuotationText()
ServiceQuotationText
entities.ServiceQuotationText
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 ServiceQuotationTextByKeyFluentHelper getServiceQuotationTextByKey(String serviceQuotation, String language, String longTextID)
ServiceQuotationText
entity using key fields.language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
serviceQuotation
- Number which identifies the transaction document. It is unique for the respective business transaction
category.
Constraints: Not nullable, Maximum length: 10
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
ServiceQuotationText
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 ServiceQuotationTextCreateFluentHelper createServiceQuotationText(@Nonnull ServiceQuotationText serviceQuotationText)
ServiceQuotationText
entity and save it to the S/4HANA system.serviceQuotationText
- ServiceQuotationText
entity object that will be created in the S/4HANA system.ServiceQuotationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationTextUpdateFluentHelper updateServiceQuotationText(@Nonnull ServiceQuotationText serviceQuotationText)
ServiceQuotationText
entity and save it to the S/4HANA system.serviceQuotationText
- ServiceQuotationText
entity object that will be updated in the S/4HANA system.ServiceQuotationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceQuotationTextDeleteFluentHelper deleteServiceQuotationText(@Nonnull ServiceQuotationText serviceQuotationText)
ServiceQuotationText
entity in the S/4HANA system.serviceQuotationText
- ServiceQuotationText
entity object that will be deleted in the S/4HANA system.ServiceQuotationText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.