Class DefaultPreferredSupplierListService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PreferredSupplierListService
This service enables you to create, read, update and delete preferred supplier list from an external system in the SAP S/4HANA Cloud system. The service contains a header, business partners or suppliers, material groups, and company codes. The information is sent in the request as a payload. All information is utilized when creating a supplier list for sourcing with appropriate checks for restricted values and authorizations. You can also create a user-specified supplier list, activate, deactivate or copy an existing supplier list. The creation of a new version of the existing standard supplier list is also possible. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_SUPPLIERLIST_0001 |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Preferred Supplier List Integration(SAP_COM_0911) |
| Scope Items: | Preferred Supplier List(4RI) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SUPPLIERLIST |
| Business Object: | SupplierList |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PreferredSupplierListService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPreferredSupplierListService.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 theSuplrListPrpsdCompanyCodeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSuplrListPrpsdBusinessPartnerentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplierListentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplierListBusinessPartnerentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplierListCompanyCodeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSupplierListMaterialGroupentity collection matching the filter and search expressions.createSuplrListProposedCompanyCode(SuplrListPrpsdCompanyCode suplrListPrpsdCompanyCode) Deprecated.Create a newSuplrListPrpsdCompanyCodeentity and save it to the S/4HANA system.createSuplrListPrpsdBusinessPartner(SuplrListPrpsdBusinessPartner suplrListPrpsdBusinessPartner) Deprecated.Create a newSuplrListPrpsdBusinessPartnerentity and save it to the S/4HANA system.createSupplierList(SupplierList supplierList) Deprecated.Create a newSupplierListentity and save it to the S/4HANA system.createSupplierListBusinessPartner(SupplierListBusinessPartner supplierListBusinessPartner) Deprecated.Create a newSupplierListBusinessPartnerentity and save it to the S/4HANA system.deleteSupplierListBusinessPartner(SupplierListBusinessPartner supplierListBusinessPartner) Deprecated.Deletes an existingSupplierListBusinessPartnerentity in the S/4HANA system.deleteSupplierListCompanyCode(SupplierListCompanyCode supplierListCompanyCode) Deprecated.Deletes an existingSupplierListCompanyCodeentity in the S/4HANA system.deleteSupplierListMaterialGroup(SupplierListMaterialGroup supplierListMaterialGroup) Deprecated.Deletes an existingSupplierListMaterialGroupentity in the S/4HANA system.Deprecated.Fetch multipleSuplrListPrpsdCompanyCodeentities.Deprecated.Fetch multipleSuplrListPrpsdBusinessPartnerentities.Deprecated.Fetch multipleSupplierListentities.Deprecated.Fetch multipleSupplierListBusinessPartnerentities.Deprecated.Fetch multipleSupplierListCompanyCodeentities.Deprecated.Fetch multipleSupplierListMaterialGroupentities.Deprecated.getSuplrListProposedCompanyCodeByKey(UUID suplrListPrpsdCompanyCodeUUID) Deprecated.Fetch a singleSuplrListPrpsdCompanyCodeentity using key fields.getSuplrListPrpsdBusinessPartnerByKey(UUID suplrListProposedSupplierUUID) Deprecated.Fetch a singleSuplrListPrpsdBusinessPartnerentity using key fields.getSupplierListBusinessPartnerByKey(UUID suplrListBusinessPartnerUUID) Deprecated.Fetch a singleSupplierListBusinessPartnerentity using key fields.getSupplierListByKey(UUID supplierListUUID) Deprecated.Fetch a singleSupplierListentity using key fields.getSupplierListCompanyCodeByKey(UUID companyCodeUUID) Deprecated.Fetch a singleSupplierListCompanyCodeentity using key fields.getSupplierListMaterialGroupByKey(UUID materialGroupUUID) Deprecated.Fetch a singleSupplierListMaterialGroupentity using key fields.updateSupplierList(SupplierList supplierList) Deprecated.Update an existingSupplierListentity and save it to the S/4HANA system.updateSupplierListBusinessPartner(SupplierListBusinessPartner supplierListBusinessPartner) Deprecated.Update an existingSupplierListBusinessPartnerentity 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
-
DefaultPreferredSupplierListService
public DefaultPreferredSupplierListService()Deprecated.Creates a service usingPreferredSupplierListService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PreferredSupplierListServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePreferredSupplierListService- 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:PreferredSupplierListServiceCreates a batch request builder object.- Specified by:
batchin interfacePreferredSupplierListService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllSuplrListProposedCompanyCode
@Nonnull public GetAllRequestBuilder<SuplrListPrpsdCompanyCode> getAllSuplrListProposedCompanyCode()Deprecated.Description copied from interface:PreferredSupplierListServiceFetch multipleSuplrListPrpsdCompanyCodeentities.- Specified by:
getAllSuplrListProposedCompanyCodein interfacePreferredSupplierListService- Returns:
- A request builder to fetch multiple
SuplrListPrpsdCompanyCodeentities. 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.
-
countSuplrListProposedCompanyCode
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch the number of entries from theSuplrListPrpsdCompanyCodeentity collection matching the filter and search expressions.- Specified by:
countSuplrListProposedCompanyCodein interfacePreferredSupplierListService- Returns:
- A request builder to fetch the count of
SuplrListPrpsdCompanyCodeentities. 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.
-
getSuplrListProposedCompanyCodeByKey
@Nonnull public GetByKeyRequestBuilder<SuplrListPrpsdCompanyCode> getSuplrListProposedCompanyCodeByKey(UUID suplrListPrpsdCompanyCodeUUID) Deprecated.Description copied from interface:PreferredSupplierListServiceFetch a singleSuplrListPrpsdCompanyCodeentity using key fields.- Specified by:
getSuplrListProposedCompanyCodeByKeyin interfacePreferredSupplierListService- Parameters:
suplrListPrpsdCompanyCodeUUID- Proposed Company Code UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SuplrListPrpsdCompanyCodeentity 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.
-
createSuplrListProposedCompanyCode
@Nonnull public CreateRequestBuilder<SuplrListPrpsdCompanyCode> createSuplrListProposedCompanyCode(@Nonnull SuplrListPrpsdCompanyCode suplrListPrpsdCompanyCode) Deprecated.Description copied from interface:PreferredSupplierListServiceCreate a newSuplrListPrpsdCompanyCodeentity and save it to the S/4HANA system.- Specified by:
createSuplrListProposedCompanyCodein interfacePreferredSupplierListService- Parameters:
suplrListPrpsdCompanyCode-SuplrListPrpsdCompanyCodeentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SuplrListPrpsdCompanyCodeentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSuplrListPrpsdBusinessPartner
@Nonnull public GetAllRequestBuilder<SuplrListPrpsdBusinessPartner> getAllSuplrListPrpsdBusinessPartner()Deprecated.Description copied from interface:PreferredSupplierListServiceFetch multipleSuplrListPrpsdBusinessPartnerentities.- Specified by:
getAllSuplrListPrpsdBusinessPartnerin interfacePreferredSupplierListService- Returns:
- A request builder to fetch multiple
SuplrListPrpsdBusinessPartnerentities. 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.
-
countSuplrListPrpsdBusinessPartner
@Nonnull public CountRequestBuilder<SuplrListPrpsdBusinessPartner> countSuplrListPrpsdBusinessPartner()Deprecated.Description copied from interface:PreferredSupplierListServiceFetch the number of entries from theSuplrListPrpsdBusinessPartnerentity collection matching the filter and search expressions.- Specified by:
countSuplrListPrpsdBusinessPartnerin interfacePreferredSupplierListService- Returns:
- A request builder to fetch the count of
SuplrListPrpsdBusinessPartnerentities. 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.
-
getSuplrListPrpsdBusinessPartnerByKey
@Nonnull public GetByKeyRequestBuilder<SuplrListPrpsdBusinessPartner> getSuplrListPrpsdBusinessPartnerByKey(UUID suplrListProposedSupplierUUID) Deprecated.Description copied from interface:PreferredSupplierListServiceFetch a singleSuplrListPrpsdBusinessPartnerentity using key fields.- Specified by:
getSuplrListPrpsdBusinessPartnerByKeyin interfacePreferredSupplierListService- Parameters:
suplrListProposedSupplierUUID- Proposed Supplier UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SuplrListPrpsdBusinessPartnerentity 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.
-
createSuplrListPrpsdBusinessPartner
@Nonnull public CreateRequestBuilder<SuplrListPrpsdBusinessPartner> createSuplrListPrpsdBusinessPartner(@Nonnull SuplrListPrpsdBusinessPartner suplrListPrpsdBusinessPartner) Deprecated.Description copied from interface:PreferredSupplierListServiceCreate a newSuplrListPrpsdBusinessPartnerentity and save it to the S/4HANA system.- Specified by:
createSuplrListPrpsdBusinessPartnerin interfacePreferredSupplierListService- Parameters:
suplrListPrpsdBusinessPartner-SuplrListPrpsdBusinessPartnerentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SuplrListPrpsdBusinessPartnerentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupplierList
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch multipleSupplierListentities.- Specified by:
getAllSupplierListin interfacePreferredSupplierListService- Returns:
- A request builder to fetch multiple
SupplierListentities. 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.
-
countSupplierList
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch the number of entries from theSupplierListentity collection matching the filter and search expressions.- Specified by:
countSupplierListin interfacePreferredSupplierListService- Returns:
- A request builder to fetch the count of
SupplierListentities. 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.
-
getSupplierListByKey
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch a singleSupplierListentity using key fields.- Specified by:
getSupplierListByKeyin interfacePreferredSupplierListService- Parameters:
supplierListUUID- Supplier List UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplierListentity 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.
-
createSupplierList
@Nonnull public CreateRequestBuilder<SupplierList> createSupplierList(@Nonnull SupplierList supplierList) Deprecated.Description copied from interface:PreferredSupplierListServiceCreate a newSupplierListentity and save it to the S/4HANA system.- Specified by:
createSupplierListin interfacePreferredSupplierListService- Parameters:
supplierList-SupplierListentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SupplierListentity. To perform execution, call theexecutemethod on the request builder object.
-
updateSupplierList
@Nonnull public UpdateRequestBuilder<SupplierList> updateSupplierList(@Nonnull SupplierList supplierList) Deprecated.Description copied from interface:PreferredSupplierListServiceUpdate an existingSupplierListentity and save it to the S/4HANA system.- Specified by:
updateSupplierListin interfacePreferredSupplierListService- Parameters:
supplierList-SupplierListentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplierListentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupplierListBusinessPartner
@Nonnull public GetAllRequestBuilder<SupplierListBusinessPartner> getAllSupplierListBusinessPartner()Deprecated.Description copied from interface:PreferredSupplierListServiceFetch multipleSupplierListBusinessPartnerentities.- Specified by:
getAllSupplierListBusinessPartnerin interfacePreferredSupplierListService- Returns:
- A request builder to fetch multiple
SupplierListBusinessPartnerentities. 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.
-
countSupplierListBusinessPartner
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch the number of entries from theSupplierListBusinessPartnerentity collection matching the filter and search expressions.- Specified by:
countSupplierListBusinessPartnerin interfacePreferredSupplierListService- Returns:
- A request builder to fetch the count of
SupplierListBusinessPartnerentities. 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.
-
getSupplierListBusinessPartnerByKey
@Nonnull public GetByKeyRequestBuilder<SupplierListBusinessPartner> getSupplierListBusinessPartnerByKey(UUID suplrListBusinessPartnerUUID) Deprecated.Description copied from interface:PreferredSupplierListServiceFetch a singleSupplierListBusinessPartnerentity using key fields.- Specified by:
getSupplierListBusinessPartnerByKeyin interfacePreferredSupplierListService- Parameters:
suplrListBusinessPartnerUUID- Supplier Business Partner UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplierListBusinessPartnerentity 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.
-
createSupplierListBusinessPartner
@Nonnull public CreateRequestBuilder<SupplierListBusinessPartner> createSupplierListBusinessPartner(@Nonnull SupplierListBusinessPartner supplierListBusinessPartner) Deprecated.Description copied from interface:PreferredSupplierListServiceCreate a newSupplierListBusinessPartnerentity and save it to the S/4HANA system.- Specified by:
createSupplierListBusinessPartnerin interfacePreferredSupplierListService- Parameters:
supplierListBusinessPartner-SupplierListBusinessPartnerentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
SupplierListBusinessPartnerentity. To perform execution, call theexecutemethod on the request builder object.
-
updateSupplierListBusinessPartner
@Nonnull public UpdateRequestBuilder<SupplierListBusinessPartner> updateSupplierListBusinessPartner(@Nonnull SupplierListBusinessPartner supplierListBusinessPartner) Deprecated.Description copied from interface:PreferredSupplierListServiceUpdate an existingSupplierListBusinessPartnerentity and save it to the S/4HANA system.- Specified by:
updateSupplierListBusinessPartnerin interfacePreferredSupplierListService- Parameters:
supplierListBusinessPartner-SupplierListBusinessPartnerentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
SupplierListBusinessPartnerentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteSupplierListBusinessPartner
@Nonnull public DeleteRequestBuilder<SupplierListBusinessPartner> deleteSupplierListBusinessPartner(@Nonnull SupplierListBusinessPartner supplierListBusinessPartner) Deprecated.Description copied from interface:PreferredSupplierListServiceDeletes an existingSupplierListBusinessPartnerentity in the S/4HANA system.- Specified by:
deleteSupplierListBusinessPartnerin interfacePreferredSupplierListService- Parameters:
supplierListBusinessPartner-SupplierListBusinessPartnerentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplierListBusinessPartnerentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupplierListCompanyCode
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch multipleSupplierListCompanyCodeentities.- Specified by:
getAllSupplierListCompanyCodein interfacePreferredSupplierListService- Returns:
- A request builder to fetch multiple
SupplierListCompanyCodeentities. 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.
-
countSupplierListCompanyCode
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch the number of entries from theSupplierListCompanyCodeentity collection matching the filter and search expressions.- Specified by:
countSupplierListCompanyCodein interfacePreferredSupplierListService- Returns:
- A request builder to fetch the count of
SupplierListCompanyCodeentities. 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.
-
getSupplierListCompanyCodeByKey
@Nonnull public GetByKeyRequestBuilder<SupplierListCompanyCode> getSupplierListCompanyCodeByKey(UUID companyCodeUUID) Deprecated.Description copied from interface:PreferredSupplierListServiceFetch a singleSupplierListCompanyCodeentity using key fields.- Specified by:
getSupplierListCompanyCodeByKeyin interfacePreferredSupplierListService- Parameters:
companyCodeUUID- Company Code UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplierListCompanyCodeentity 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.
-
deleteSupplierListCompanyCode
@Nonnull public DeleteRequestBuilder<SupplierListCompanyCode> deleteSupplierListCompanyCode(@Nonnull SupplierListCompanyCode supplierListCompanyCode) Deprecated.Description copied from interface:PreferredSupplierListServiceDeletes an existingSupplierListCompanyCodeentity in the S/4HANA system.- Specified by:
deleteSupplierListCompanyCodein interfacePreferredSupplierListService- Parameters:
supplierListCompanyCode-SupplierListCompanyCodeentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplierListCompanyCodeentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllSupplierListMaterialGroup
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch multipleSupplierListMaterialGroupentities.- Specified by:
getAllSupplierListMaterialGroupin interfacePreferredSupplierListService- Returns:
- A request builder to fetch multiple
SupplierListMaterialGroupentities. 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.
-
countSupplierListMaterialGroup
Deprecated.Description copied from interface:PreferredSupplierListServiceFetch the number of entries from theSupplierListMaterialGroupentity collection matching the filter and search expressions.- Specified by:
countSupplierListMaterialGroupin interfacePreferredSupplierListService- Returns:
- A request builder to fetch the count of
SupplierListMaterialGroupentities. 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.
-
getSupplierListMaterialGroupByKey
@Nonnull public GetByKeyRequestBuilder<SupplierListMaterialGroup> getSupplierListMaterialGroupByKey(UUID materialGroupUUID) Deprecated.Description copied from interface:PreferredSupplierListServiceFetch a singleSupplierListMaterialGroupentity using key fields.- Specified by:
getSupplierListMaterialGroupByKeyin interfacePreferredSupplierListService- Parameters:
materialGroupUUID- Material Group UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
SupplierListMaterialGroupentity 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.
-
deleteSupplierListMaterialGroup
@Nonnull public DeleteRequestBuilder<SupplierListMaterialGroup> deleteSupplierListMaterialGroup(@Nonnull SupplierListMaterialGroup supplierListMaterialGroup) Deprecated.Description copied from interface:PreferredSupplierListServiceDeletes an existingSupplierListMaterialGroupentity in the S/4HANA system.- Specified by:
deleteSupplierListMaterialGroupin interfacePreferredSupplierListService- Parameters:
supplierListMaterialGroup-SupplierListMaterialGroupentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
SupplierListMaterialGroupentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-