Class DefaultVariantTableContentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,VariantTableContentService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.VariantTableContentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingVariantTableContentService.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 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.Deprecated.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.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
-
DefaultVariantTableContentService
public DefaultVariantTableContentService()Deprecated.Creates a service usingVariantTableContentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:VariantTableContentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceVariantTableContentService- 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:VariantTableContentServiceCreates a batch request builder object.- Specified by:
batchin interfaceVariantTableContentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllVarConfigurationTableContent
@Nonnull public GetAllRequestBuilder<VarConfigurationTableContent> getAllVarConfigurationTableContent()Deprecated.Description copied from interface:VariantTableContentServiceFetch multipleVarConfigurationTableContententities.- Specified by:
getAllVarConfigurationTableContentin interfaceVariantTableContentService- 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
@Nonnull public CountRequestBuilder<VarConfigurationTableContent> countVarConfigurationTableContent()Deprecated.Description copied from interface:VariantTableContentServiceFetch the number of entries from theVarConfigurationTableContententity collection matching the filter and search expressions.- Specified by:
countVarConfigurationTableContentin interfaceVariantTableContentService- 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 public GetByKeyRequestBuilder<VarConfigurationTableContent> getVarConfigurationTableContentByKey(String varConfignTblName) Deprecated.Description copied from interface:VariantTableContentServiceFetch a singleVarConfigurationTableContententity using key fields.- Specified by:
getVarConfigurationTableContentByKeyin interfaceVariantTableContentService- 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 public CreateRequestBuilder<VarConfigurationTableContent> createVarConfigurationTableContent(@Nonnull VarConfigurationTableContent varConfigurationTableContent) Deprecated.Description copied from interface:VariantTableContentServiceCreate a newVarConfigurationTableContententity and save it to the S/4HANA system.- Specified by:
createVarConfigurationTableContentin interfaceVariantTableContentService- 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
@Nonnull public GetAllRequestBuilder<VariantConfigurationTableLine> getAllVariantConfigurationTableLine()Deprecated.Description copied from interface:VariantTableContentServiceFetch multipleVariantConfigurationTableLineentities.- Specified by:
getAllVariantConfigurationTableLinein interfaceVariantTableContentService- 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
@Nonnull public CountRequestBuilder<VariantConfigurationTableLine> countVariantConfigurationTableLine()Deprecated.Description copied from interface:VariantTableContentServiceFetch the number of entries from theVariantConfigurationTableLineentity collection matching the filter and search expressions.- Specified by:
countVariantConfigurationTableLinein interfaceVariantTableContentService- 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 public GetByKeyRequestBuilder<VariantConfigurationTableLine> getVariantConfigurationTableLineByKey(String varConfignTblName, String varConfignTblLineNumber, String changeNumber) Deprecated.Description copied from interface:VariantTableContentServiceFetch a singleVariantConfigurationTableLineentity using key fields.- Specified by:
getVariantConfigurationTableLineByKeyin interfaceVariantTableContentService- Parameters:
varConfignTblName- Name of variant tableConstraints: Not nullable, Maximum length: 18
varConfignTblLineNumber- Row Number of Variant Table - ExternalConstraints: Not nullable, Maximum length: 5
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 public GetAllRequestBuilder<VariantConfigurationTableValue> getAllVariantConfigurationTableValue()Deprecated.Description copied from interface:VariantTableContentServiceFetch multipleVariantConfigurationTableValueentities.- Specified by:
getAllVariantConfigurationTableValuein interfaceVariantTableContentService- 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
@Nonnull public CountRequestBuilder<VariantConfigurationTableValue> countVariantConfigurationTableValue()Deprecated.Description copied from interface:VariantTableContentServiceFetch the number of entries from theVariantConfigurationTableValueentity collection matching the filter and search expressions.- Specified by:
countVariantConfigurationTableValuein interfaceVariantTableContentService- 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 public GetByKeyRequestBuilder<VariantConfigurationTableValue> getVariantConfigurationTableValueByKey(String varConfignTblName, String varConfignTblLineNumber, String changeNumber, String characteristic, String varConfignTblValueNumber) Deprecated.Description copied from interface:VariantTableContentServiceFetch a singleVariantConfigurationTableValueentity using key fields.- Specified by:
getVariantConfigurationTableValueByKeyin interfaceVariantTableContentService- Parameters:
varConfignTblName- Name of variant tableConstraints: Not nullable, Maximum length: 18
varConfignTblLineNumber- Row Number of Variant Table - ExternalConstraints: Not nullable, Maximum length: 5
changeNumber- Change NumberConstraints: Not nullable, Maximum length: 12
characteristic- Characteristic NameConstraints: Not nullable, Maximum length: 30
varConfignTblValueNumber- Characteristic value counterConstraints: Not nullable, Maximum length: 3
- 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-