public interface SalesContractService
You can use this service to integrate external applications with sales contract processing in SAP S/4HANA Cloud. In every API call, you can make use of the following operations: - You can retrieve sales contracts. Apply any of the filters provided or retrieve all existing data. - You can create sales contracts. Note that you must use “deep insert” requests (a header plus the following entities: header partner, header pricing element, item, item partner, and item pricing element). You cannot create entities without including any related entities. - For existing sales contracts, you can create new items. Note that you must use “deep insert” requests (with the following entities: item partner and item pricing element). You cannot create entities without including any related entities. - For existing sales contracts, you can update the header, header partner, header pricing element, item, item partner, and item pricing element. - For existing sales contracts, you can delete the header, header partner, header pricing element, item, item partner, and item pricing element..
Reference: SAP API Business Hub
OData Service: | API_SALES_CONTRACT_SRV |
API Version: | 1 |
Communication Scenario: | Sales Contract Integration (SAP_COM_0119) |
Scope Items: | Sales Contract Management (I9I) |
Business Object: | SalesContract |
SalesContractFluentHelper getAllSalesContract()
SalesContract
entities.SalesContract
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.SalesContractByKeyFluentHelper getSalesContractByKey(String salesContract)
SalesContract
entity using key fields.salesContract
- Sales ContractConstraints: Not nullable, Maximum length: 10
SalesContract
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.SalesContractCreateFluentHelper createSalesContract(SalesContract salesContract)
SalesContract
entity and save it to the S/4HANA system.salesContract
- SalesContract
entity object that will be created in the S/4HANA system.SalesContract
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractUpdateFluentHelper updateSalesContract(SalesContract salesContract)
SalesContract
entity and save it to the S/4HANA system.salesContract
- SalesContract
entity object that will be updated in the S/4HANA system.SalesContract
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractDeleteFluentHelper deleteSalesContract(SalesContract salesContract)
SalesContract
entity in the S/4HANA system.salesContract
- SalesContract
entity object that will be deleted in the S/4HANA system.SalesContract
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemFluentHelper getAllSalesContractItem()
SalesContractItem
entities.SalesContractItem
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.SalesContractItemByKeyFluentHelper getSalesContractItemByKey(String salesContract, String salesContractItem)
SalesContractItem
entity using key fields.salesContractItem
- Sales Contract ItemConstraints: Not nullable, Maximum length: 6
salesContract
- Sales ContractConstraints: Not nullable, Maximum length: 10
SalesContractItem
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.SalesContractItemCreateFluentHelper createSalesContractItem(SalesContractItem salesContractItem)
SalesContractItem
entity and save it to the S/4HANA system.salesContractItem
- SalesContractItem
entity object that will be created in the S/4HANA system.SalesContractItem
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemUpdateFluentHelper updateSalesContractItem(SalesContractItem salesContractItem)
SalesContractItem
entity and save it to the S/4HANA system.salesContractItem
- SalesContractItem
entity object that will be updated in the S/4HANA system.SalesContractItem
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemDeleteFluentHelper deleteSalesContractItem(SalesContractItem salesContractItem)
SalesContractItem
entity in the S/4HANA system.salesContractItem
- SalesContractItem
entity object that will be deleted in the S/4HANA system.SalesContractItem
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemPartnerFluentHelper getAllSalesContractItemPartner()
SalesContractItemPartner
entities.SalesContractItemPartner
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.SalesContractItemPartnerByKeyFluentHelper getSalesContractItemPartnerByKey(String salesContract, String salesContractItem, String partnerFunction)
SalesContractItemPartner
entity using key fields.salesContractItem
- The number that uniquely identifies the item in the sales, shipping, or billing document.Constraints: Not nullable, Maximum length: 6
partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
salesContract
- The number that uniquely identifies the sales, delivery, or billing document.Constraints: Not nullable, Maximum length: 10
SalesContractItemPartner
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.SalesContractItemPartnerUpdateFluentHelper updateSalesContractItemPartner(SalesContractItemPartner salesContractItemPartner)
SalesContractItemPartner
entity and save it to the S/4HANA system.salesContractItemPartner
- SalesContractItemPartner
entity object that will be updated in the S/4HANA system.SalesContractItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemPartnerDeleteFluentHelper deleteSalesContractItemPartner(SalesContractItemPartner salesContractItemPartner)
SalesContractItemPartner
entity in the S/4HANA system.salesContractItemPartner
- SalesContractItemPartner
entity object that will be deleted in the S/4HANA system.SalesContractItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemPrcgElmntFluentHelper getAllSalesContractItemPrcgElmnt()
SalesContractItemPrcgElmnt
entities.SalesContractItemPrcgElmnt
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.SalesContractItemPrcgElmntByKeyFluentHelper getSalesContractItemPrcgElmntByKey(String salesContract, String salesContractItem, String pricingProcedureStep, String pricingProcedureCounter)
SalesContractItemPrcgElmnt
entity using key fields.salesContractItem
- The number that uniquely identifies the condition item.Constraints: Not nullable, Maximum length: 6
salesContract
- The number that uniquely identifies the sales document.Constraints: Not nullable, Maximum length: 10
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.Constraints: Not nullable, Maximum length: 3
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.Constraints: Not nullable, Maximum length: 3
SalesContractItemPrcgElmnt
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.SalesContractItemPrcgElmntUpdateFluentHelper updateSalesContractItemPrcgElmnt(SalesContractItemPrcgElmnt salesContractItemPrcgElmnt)
SalesContractItemPrcgElmnt
entity and save it to the S/4HANA system.salesContractItemPrcgElmnt
- SalesContractItemPrcgElmnt
entity object that will be updated in the S/4HANA system.SalesContractItemPrcgElmnt
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractItemPrcgElmntDeleteFluentHelper deleteSalesContractItemPrcgElmnt(SalesContractItemPrcgElmnt salesContractItemPrcgElmnt)
SalesContractItemPrcgElmnt
entity in the S/4HANA system.salesContractItemPrcgElmnt
- SalesContractItemPrcgElmnt
entity object that will be deleted in the S/4HANA system.SalesContractItemPrcgElmnt
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractPartnerFluentHelper getAllSalesContractPartner()
SalesContractPartner
entities.SalesContractPartner
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.SalesContractPartnerByKeyFluentHelper getSalesContractPartnerByKey(String salesContract, String partnerFunction)
SalesContractPartner
entity using key fields.partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
salesContract
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesContractPartner
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.SalesContractPartnerUpdateFluentHelper updateSalesContractPartner(SalesContractPartner salesContractPartner)
SalesContractPartner
entity and save it to the S/4HANA system.salesContractPartner
- SalesContractPartner
entity object that will be updated in the S/4HANA system.SalesContractPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractPartnerDeleteFluentHelper deleteSalesContractPartner(SalesContractPartner salesContractPartner)
SalesContractPartner
entity in the S/4HANA system.salesContractPartner
- SalesContractPartner
entity object that will be deleted in the S/4HANA system.SalesContractPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractPrcgElmntFluentHelper getAllSalesContractPrcgElmnt()
SalesContractPrcgElmnt
entities.SalesContractPrcgElmnt
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.SalesContractPrcgElmntByKeyFluentHelper getSalesContractPrcgElmntByKey(String salesContract, String pricingProcedureStep, String pricingProcedureCounter)
SalesContractPrcgElmnt
entity using key fields.salesContract
- The number that uniquely identifies the sales document.Constraints: Not nullable, Maximum length: 10
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.Constraints: Not nullable, Maximum length: 3
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.Constraints: Not nullable, Maximum length: 3
SalesContractPrcgElmnt
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.SalesContractPrcgElmntUpdateFluentHelper updateSalesContractPrcgElmnt(SalesContractPrcgElmnt salesContractPrcgElmnt)
SalesContractPrcgElmnt
entity and save it to the S/4HANA system.salesContractPrcgElmnt
- SalesContractPrcgElmnt
entity object that will be updated in the S/4HANA system.SalesContractPrcgElmnt
entity. To perform execution, call the execute
method on the fluent helper object.SalesContractPrcgElmntDeleteFluentHelper deleteSalesContractPrcgElmnt(SalesContractPrcgElmnt salesContractPrcgElmnt)
SalesContractPrcgElmnt
entity in the S/4HANA system.salesContractPrcgElmnt
- SalesContractPrcgElmnt
entity object that will be deleted in the S/4HANA system.SalesContractPrcgElmnt
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.