Interface VariantTableContentService
- All Known Implementing Classes:
DefaultVariantTableContentService
Variant tables are used to store combinations of values for different characteristics. You can use them in selection conditions, procedures, and constraints. You can query each entity to retrieve the corresponding business data. This service provides functions and actions to retrieve values from a cell of the variant table on a specific key date and to create and delete lines in arbitrary positions. All actions support change numbers. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | VARCONFIGNTABLECONTENT_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Product Lifecycle Management - Variant Configuration Integration(SAP_COM_0751) |
| Scope Items: | Set Up Configurable Model using Variant Configuration(22T) |
| Authentication Methods: | x509 |
| Service Group Name: | API_VARCONFIGNTABLECONTENT |
| Business Object: | Variant Configuration Table Content |
-
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 theVarConfigurationTableContententity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theVariantConfigurationTableLineentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theVariantConfigurationTableValueentity collection matching the filter and search expressions.createVarConfigurationTableContent(VarConfigurationTableContent varConfigurationTableContent) Deprecated.Create a newVarConfigurationTableContententity and save it to the S/4HANA system.Deprecated.Fetch multipleVarConfigurationTableContententities.Deprecated.Fetch multipleVariantConfigurationTableLineentities.Deprecated.Fetch multipleVariantConfigurationTableValueentities.getVarConfigurationTableContentByKey(String varConfignTblName) Deprecated.Fetch a singleVarConfigurationTableContententity using key fields.getVariantConfigurationTableLineByKey(String varConfignTblName, String varConfignTblLineNumber, String changeNumber) Deprecated.Fetch a singleVariantConfigurationTableLineentity using key fields.getVariantConfigurationTableValueByKey(String varConfignTblName, String varConfignTblLineNumber, String changeNumber, String characteristic, String varConfignTblValueNumber) Deprecated.Fetch a singleVariantConfigurationTableValueentity using key fields.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.
-
getAllVarConfigurationTableContent
Deprecated.Fetch multipleVarConfigurationTableContententities.- Returns:
- A request builder to fetch multiple
VarConfigurationTableContententities. 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.
-
countVarConfigurationTableContent
Deprecated.Fetch the number of entries from theVarConfigurationTableContententity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
VarConfigurationTableContententities. 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.
-
getVarConfigurationTableContentByKey
@Nonnull GetByKeyRequestBuilder<VarConfigurationTableContent> getVarConfigurationTableContentByKey(String varConfignTblName) Deprecated.Fetch a singleVarConfigurationTableContententity using key fields.- Parameters:
varConfignTblName- Name of variant tableConstraints: Not nullable, Maximum length: 18
- Returns:
- A request builder to fetch a single
VarConfigurationTableContententity 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.
-
createVarConfigurationTableContent
@Nonnull CreateRequestBuilder<VarConfigurationTableContent> createVarConfigurationTableContent(@Nonnull VarConfigurationTableContent varConfigurationTableContent) Deprecated.Create a newVarConfigurationTableContententity and save it to the S/4HANA system.- Parameters:
varConfigurationTableContent-VarConfigurationTableContententity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
VarConfigurationTableContententity. To perform execution, call theexecutemethod on the request builder object.
-
getAllVariantConfigurationTableLine
Deprecated.Fetch multipleVariantConfigurationTableLineentities.- Returns:
- A request builder to fetch multiple
VariantConfigurationTableLineentities. 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.
-
countVariantConfigurationTableLine
Deprecated.Fetch the number of entries from theVariantConfigurationTableLineentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
VariantConfigurationTableLineentities. 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.
-
getVariantConfigurationTableLineByKey
@Nonnull GetByKeyRequestBuilder<VariantConfigurationTableLine> getVariantConfigurationTableLineByKey(String varConfignTblName, String varConfignTblLineNumber, String changeNumber) Deprecated.Fetch a singleVariantConfigurationTableLineentity using key fields.- Parameters:
varConfignTblLineNumber- Row Number of Variant Table - ExternalConstraints: Not nullable, Maximum length: 5
varConfignTblName- Name of variant tableConstraints: Not nullable, Maximum length: 18
changeNumber- Change NumberConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
VariantConfigurationTableLineentity 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.
-
getAllVariantConfigurationTableValue
@Nonnull GetAllRequestBuilder<VariantConfigurationTableValue> getAllVariantConfigurationTableValue()Deprecated.Fetch multipleVariantConfigurationTableValueentities.- Returns:
- A request builder to fetch multiple
VariantConfigurationTableValueentities. 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.
-
countVariantConfigurationTableValue
Deprecated.Fetch the number of entries from theVariantConfigurationTableValueentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
VariantConfigurationTableValueentities. 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.
-
getVariantConfigurationTableValueByKey
@Nonnull GetByKeyRequestBuilder<VariantConfigurationTableValue> getVariantConfigurationTableValueByKey(String varConfignTblName, String varConfignTblLineNumber, String changeNumber, String characteristic, String varConfignTblValueNumber) Deprecated.Fetch a singleVariantConfigurationTableValueentity using key fields.- Parameters:
varConfignTblLineNumber- Row Number of Variant Table - ExternalConstraints: Not nullable, Maximum length: 5
varConfignTblValueNumber- Characteristic value counterConstraints: Not nullable, Maximum length: 3
varConfignTblName- Name of variant tableConstraints: Not nullable, Maximum length: 18
changeNumber- Change NumberConstraints: Not nullable, Maximum length: 12
characteristic- Characteristic NameConstraints: Not nullable, Maximum length: 30
- Returns:
- A request builder to fetch a single
VariantConfigurationTableValueentity 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.
-