Class DefaultPreferredSupplierListV2Service
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PreferredSupplierListV2Service
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_0002 |
| API Version: | 2.0.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.PreferredSupplierListV2Service
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPreferredSupplierListV2Service.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.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
-
DefaultPreferredSupplierListV2Service
public DefaultPreferredSupplierListV2Service()Deprecated.Creates a service usingPreferredSupplierListV2Service.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PreferredSupplierListV2ServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceCreates a batch request builder object.- Specified by:
batchin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch multipleSuplrListPrpsdCompanyCodeentities.- Specified by:
getAllSuplrListProposedCompanyCodein interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch the number of entries from theSuplrListPrpsdCompanyCodeentity collection matching the filter and search expressions.- Specified by:
countSuplrListProposedCompanyCodein interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch a singleSuplrListPrpsdCompanyCodeentity using key fields.- Specified by:
getSuplrListProposedCompanyCodeByKeyin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceCreate a newSuplrListPrpsdCompanyCodeentity and save it to the S/4HANA system.- Specified by:
createSuplrListProposedCompanyCodein interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch multipleSuplrListPrpsdBusinessPartnerentities.- Specified by:
getAllSuplrListPrpsdBusinessPartnerin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch the number of entries from theSuplrListPrpsdBusinessPartnerentity collection matching the filter and search expressions.- Specified by:
countSuplrListPrpsdBusinessPartnerin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch a singleSuplrListPrpsdBusinessPartnerentity using key fields.- Specified by:
getSuplrListPrpsdBusinessPartnerByKeyin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceCreate a newSuplrListPrpsdBusinessPartnerentity and save it to the S/4HANA system.- Specified by:
createSuplrListPrpsdBusinessPartnerin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch multipleSupplierListentities.- Specified by:
getAllSupplierListin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch the number of entries from theSupplierListentity collection matching the filter and search expressions.- Specified by:
countSupplierListin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch a singleSupplierListentity using key fields.- Specified by:
getSupplierListByKeyin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceCreate a newSupplierListentity and save it to the S/4HANA system.- Specified by:
createSupplierListin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceUpdate an existingSupplierListentity and save it to the S/4HANA system.- Specified by:
updateSupplierListin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch multipleSupplierListBusinessPartnerentities.- Specified by:
getAllSupplierListBusinessPartnerin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch the number of entries from theSupplierListBusinessPartnerentity collection matching the filter and search expressions.- Specified by:
countSupplierListBusinessPartnerin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch a singleSupplierListBusinessPartnerentity using key fields.- Specified by:
getSupplierListBusinessPartnerByKeyin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceCreate a newSupplierListBusinessPartnerentity and save it to the S/4HANA system.- Specified by:
createSupplierListBusinessPartnerin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceUpdate an existingSupplierListBusinessPartnerentity and save it to the S/4HANA system.- Specified by:
updateSupplierListBusinessPartnerin interfacePreferredSupplierListV2Service- 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.
-
getAllSupplierListCompanyCode
Deprecated.Description copied from interface:PreferredSupplierListV2ServiceFetch multipleSupplierListCompanyCodeentities.- Specified by:
getAllSupplierListCompanyCodein interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch the number of entries from theSupplierListCompanyCodeentity collection matching the filter and search expressions.- Specified by:
countSupplierListCompanyCodein interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch a singleSupplierListCompanyCodeentity using key fields.- Specified by:
getSupplierListCompanyCodeByKeyin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceDeletes an existingSupplierListCompanyCodeentity in the S/4HANA system.- Specified by:
deleteSupplierListCompanyCodein interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch multipleSupplierListMaterialGroupentities.- Specified by:
getAllSupplierListMaterialGroupin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch the number of entries from theSupplierListMaterialGroupentity collection matching the filter and search expressions.- Specified by:
countSupplierListMaterialGroupin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceFetch a singleSupplierListMaterialGroupentity using key fields.- Specified by:
getSupplierListMaterialGroupByKeyin interfacePreferredSupplierListV2Service- 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:PreferredSupplierListV2ServiceDeletes an existingSupplierListMaterialGroupentity in the S/4HANA system.- Specified by:
deleteSupplierListMaterialGroupin interfacePreferredSupplierListV2Service- 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
-