Interface MerchandiseCategoryService
- All Known Implementing Classes:
DefaultMerchandiseCategoryService
This service enables you to create, read, update, and delete merchandise category data. It includes merchandise category description, assignment of characteristic to merchandise category, assignment of merchandise category to merchandise category hierarchy node, and characteristic value restriction.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_MERCHANDISECATEGORY_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | RFM - Merchandise Category and Merchandise Category Hierarchy Node Integration(SAP_COM_0799) |
| Scope Items: | Product Taxonomies for Retail(5FJ) |
| Authentication Methods: | x509 |
| Service Group Name: | API_MERCHANDISECATEGORY |
| Business Object: | MerchandiseCategory |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theMerchandiseCategoryentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMerchandiseCategoryTextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMrchdsCatCharacteristicentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMrchdsCatCharcValRstrcnentity collection matching the filter and search expressions.createMerchandiseCategory(MerchandiseCategory merchandiseCategory) Deprecated.Create a newMerchandiseCategoryentity and save it to the S/4HANA system.deleteMerchandiseCategory(MerchandiseCategory merchandiseCategory) Deprecated.Deletes an existingMerchandiseCategoryentity in the S/4HANA system.deleteMerchandiseCategoryText(MerchandiseCategoryText merchandiseCategoryText) Deprecated.Deletes an existingMerchandiseCategoryTextentity in the S/4HANA system.deleteMrchdsCatCharacteristic(MrchdsCatCharacteristic mrchdsCatCharacteristic) Deprecated.Deletes an existingMrchdsCatCharacteristicentity in the S/4HANA system.deleteMrchdsCatCharcValRstrcn(MrchdsCatCharcValRstrcn mrchdsCatCharcValRstrcn) Deprecated.Deletes an existingMrchdsCatCharcValRstrcnentity in the S/4HANA system.Deprecated.Fetch multipleMerchandiseCategoryentities.Deprecated.Fetch multipleMerchandiseCategoryTextentities.Deprecated.Fetch multipleMrchdsCatCharacteristicentities.Deprecated.Fetch multipleMrchdsCatCharcValRstrcnentities.getMerchandiseCategoryByKey(String merchandiseCategory) Deprecated.Fetch a singleMerchandiseCategoryentity using key fields.getMerchandiseCategoryTextByKey(String merchandiseCategory, String language) Deprecated.Fetch a singleMerchandiseCategoryTextentity using key fields.getMrchdsCatCharacteristicByKey(String merchandiseCategory, String characteristic) Deprecated.Fetch a singleMrchdsCatCharacteristicentity using key fields.getMrchdsCatCharcValRstrcnByKey(String merchandiseCategory, String characteristic, String clfnCharcValuePositionNumber) Deprecated.Fetch a singleMrchdsCatCharcValRstrcnentity using key fields.updateMerchandiseCategory(MerchandiseCategory merchandiseCategory) Deprecated.Update an existingMerchandiseCategoryentity and save it to the S/4HANA system.updateMerchandiseCategoryText(MerchandiseCategoryText merchandiseCategoryText) Deprecated.Update an existingMerchandiseCategoryTextentity 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.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllMerchandiseCategory
Deprecated.Fetch multipleMerchandiseCategoryentities.- Returns:
- A request builder to fetch multiple
MerchandiseCategoryentities. 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.
-
countMerchandiseCategory
Deprecated.Fetch the number of entries from theMerchandiseCategoryentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
MerchandiseCategoryentities. 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.
-
getMerchandiseCategoryByKey
@Nonnull GetByKeyRequestBuilder<MerchandiseCategory> getMerchandiseCategoryByKey(String merchandiseCategory) Deprecated.Fetch a singleMerchandiseCategoryentity using key fields.- Parameters:
merchandiseCategory- Merchandise CategoryConstraints: Not nullable, Maximum length: 9
- Returns:
- A request builder to fetch a single
MerchandiseCategoryentity 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.
-
createMerchandiseCategory
@Nonnull CreateRequestBuilder<MerchandiseCategory> createMerchandiseCategory(@Nonnull MerchandiseCategory merchandiseCategory) Deprecated.Create a newMerchandiseCategoryentity and save it to the S/4HANA system.- Parameters:
merchandiseCategory-MerchandiseCategoryentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
MerchandiseCategoryentity. To perform execution, call theexecutemethod on the request builder object.
-
updateMerchandiseCategory
@Nonnull UpdateRequestBuilder<MerchandiseCategory> updateMerchandiseCategory(@Nonnull MerchandiseCategory merchandiseCategory) Deprecated.Update an existingMerchandiseCategoryentity and save it to the S/4HANA system.- Parameters:
merchandiseCategory-MerchandiseCategoryentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MerchandiseCategoryentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteMerchandiseCategory
@Nonnull DeleteRequestBuilder<MerchandiseCategory> deleteMerchandiseCategory(@Nonnull MerchandiseCategory merchandiseCategory) Deprecated.Deletes an existingMerchandiseCategoryentity in the S/4HANA system.- Parameters:
merchandiseCategory-MerchandiseCategoryentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MerchandiseCategoryentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMerchandiseCategoryText
Deprecated.Fetch multipleMerchandiseCategoryTextentities.- Returns:
- A request builder to fetch multiple
MerchandiseCategoryTextentities. 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.
-
countMerchandiseCategoryText
Deprecated.Fetch the number of entries from theMerchandiseCategoryTextentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
MerchandiseCategoryTextentities. 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.
-
getMerchandiseCategoryTextByKey
@Nonnull GetByKeyRequestBuilder<MerchandiseCategoryText> getMerchandiseCategoryTextByKey(String merchandiseCategory, String language) Deprecated.Fetch a singleMerchandiseCategoryTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
merchandiseCategory- Material GroupConstraints: Not nullable, Maximum length: 9
- Returns:
- A request builder to fetch a single
MerchandiseCategoryTextentity 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.
-
updateMerchandiseCategoryText
@Nonnull UpdateRequestBuilder<MerchandiseCategoryText> updateMerchandiseCategoryText(@Nonnull MerchandiseCategoryText merchandiseCategoryText) Deprecated.Update an existingMerchandiseCategoryTextentity and save it to the S/4HANA system.- Parameters:
merchandiseCategoryText-MerchandiseCategoryTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MerchandiseCategoryTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteMerchandiseCategoryText
@Nonnull DeleteRequestBuilder<MerchandiseCategoryText> deleteMerchandiseCategoryText(@Nonnull MerchandiseCategoryText merchandiseCategoryText) Deprecated.Deletes an existingMerchandiseCategoryTextentity in the S/4HANA system.- Parameters:
merchandiseCategoryText-MerchandiseCategoryTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MerchandiseCategoryTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMrchdsCatCharacteristic
Deprecated.Fetch multipleMrchdsCatCharacteristicentities.- Returns:
- A request builder to fetch multiple
MrchdsCatCharacteristicentities. 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.
-
countMrchdsCatCharacteristic
Deprecated.Fetch the number of entries from theMrchdsCatCharacteristicentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
MrchdsCatCharacteristicentities. 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.
-
getMrchdsCatCharacteristicByKey
@Nonnull GetByKeyRequestBuilder<MrchdsCatCharacteristic> getMrchdsCatCharacteristicByKey(String merchandiseCategory, String characteristic) Deprecated.Fetch a singleMrchdsCatCharacteristicentity using key fields.- Parameters:
merchandiseCategory- Merchandise CategoryConstraints: Not nullable, Maximum length: 9
characteristic- Characteristic NameConstraints: Not nullable, Maximum length: 30
- Returns:
- A request builder to fetch a single
MrchdsCatCharacteristicentity 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.
-
deleteMrchdsCatCharacteristic
@Nonnull DeleteRequestBuilder<MrchdsCatCharacteristic> deleteMrchdsCatCharacteristic(@Nonnull MrchdsCatCharacteristic mrchdsCatCharacteristic) Deprecated.Deletes an existingMrchdsCatCharacteristicentity in the S/4HANA system.- Parameters:
mrchdsCatCharacteristic-MrchdsCatCharacteristicentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MrchdsCatCharacteristicentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMrchdsCatCharcValRstrcn
Deprecated.Fetch multipleMrchdsCatCharcValRstrcnentities.- Returns:
- A request builder to fetch multiple
MrchdsCatCharcValRstrcnentities. 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.
-
countMrchdsCatCharcValRstrcn
Deprecated.Fetch the number of entries from theMrchdsCatCharcValRstrcnentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
MrchdsCatCharcValRstrcnentities. 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.
-
getMrchdsCatCharcValRstrcnByKey
@Nonnull GetByKeyRequestBuilder<MrchdsCatCharcValRstrcn> getMrchdsCatCharcValRstrcnByKey(String merchandiseCategory, String characteristic, String clfnCharcValuePositionNumber) Deprecated.Fetch a singleMrchdsCatCharcValRstrcnentity using key fields.- Parameters:
clfnCharcValuePositionNumber- Characteristic value counterConstraints: Not nullable, Maximum length: 3
merchandiseCategory- Merchandise CategoryConstraints: Not nullable, Maximum length: 9
characteristic- Characteristic NameConstraints: Not nullable, Maximum length: 30
- Returns:
- A request builder to fetch a single
MrchdsCatCharcValRstrcnentity 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.
-
deleteMrchdsCatCharcValRstrcn
@Nonnull DeleteRequestBuilder<MrchdsCatCharcValRstrcn> deleteMrchdsCatCharcValRstrcn(@Nonnull MrchdsCatCharcValRstrcn mrchdsCatCharcValRstrcn) Deprecated.Deletes an existingMrchdsCatCharcValRstrcnentity in the S/4HANA system.- Parameters:
mrchdsCatCharcValRstrcn-MrchdsCatCharcValRstrcnentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MrchdsCatCharcValRstrcnentity. To perform execution, call theexecutemethod on the request builder object.
-