@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultRealSubstanceService") public class DefaultRealSubstanceService extends Object implements RealSubstanceService
This service contains data belonging to the real substance header, such as creation date and header status, as well as other important information, for example material assignments, language-dependent and independent descriptions, estimated price, total solids, and density. You can also read a real substance's standard composition, as well as diet, religious, GMO information..
Reference: SAP API Business Hub
OData Service: | API_REALSUBSTANCE |
API Version: | 1 |
Communication Scenario: | Product Lifecycle Management - Recipe Development Integration (SAP_COM_0136) |
Scope Items: | Specification Management for Recipes (1QA), Formulation - Recipe Development (1QC) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultRealSubstanceService()
Creates a service using
RealSubstanceService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultRealSubstanceService()
RealSubstanceService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultRealSubstanceService withServicePath(@Nonnull String servicePath)
RealSubstanceService
withServicePath
in interface RealSubstanceService
servicePath
- Service path that will override the default.@Nonnull public DefaultRealSubstanceServiceBatch batch()
batch
in interface BatchService<RealSubstanceServiceBatch>
@Nonnull public ProductFluentHelper getAllProduct()
RealSubstanceService
Product
entities.getAllProduct
in interface RealSubstanceService
Product
entities. This
fluent helper allows methods which modify the underlying query to be called before executing the query
itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductByKeyFluentHelper getProductByKey(String product)
RealSubstanceService
Product
entity
using key fields.getProductByKey
in interface RealSubstanceService
product
- Alphanumeric key uniquely identifying the product.
Constraints: Not nullable, Maximum length: 40
Product
entity using
key fields. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductCreateFluentHelper createProduct(@Nonnull Product product)
RealSubstanceService
Product
entity and
save it to the S/4HANA system.createProduct
in interface RealSubstanceService
product
- Product
entity
object that will be created in the S/4HANA system.Product
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductUpdateFluentHelper updateProduct(@Nonnull Product product)
RealSubstanceService
Product
entity and save it to the S/4HANA system.updateProduct
in interface RealSubstanceService
product
- Product
entity
object that will be updated in the S/4HANA system.Product
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductDescriptionFluentHelper getAllProductDescription()
RealSubstanceService
ProductDescription
entities.getAllProductDescription
in interface RealSubstanceService
ProductDescription
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductDescriptionByKeyFluentHelper getProductDescriptionByKey(String product, String language)
RealSubstanceService
ProductDescription
entity using key fields.getProductDescriptionByKey
in interface RealSubstanceService
product
- Alphanumeric key uniquely identifying the product.
Constraints: Not nullable, Maximum length: 40
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
ProductDescription
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductDescriptionCreateFluentHelper createProductDescription(@Nonnull ProductDescription productDescription)
RealSubstanceService
ProductDescription
entity and save it to the S/4HANA system.createProductDescription
in interface RealSubstanceService
productDescription
- ProductDescription
entity object that will be created in the S/4HANA system.ProductDescription
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductDescriptionUpdateFluentHelper updateProductDescription(@Nonnull ProductDescription productDescription)
RealSubstanceService
ProductDescription
entity and save it to the S/4HANA system.updateProductDescription
in interface RealSubstanceService
productDescription
- ProductDescription
entity object that will be updated in the S/4HANA system.ProductDescription
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductDescriptionDeleteFluentHelper deleteProductDescription(@Nonnull ProductDescription productDescription)
RealSubstanceService
ProductDescription
entity in the S/4HANA system.deleteProductDescription
in interface RealSubstanceService
productDescription
- ProductDescription
entity object that will be deleted in the S/4HANA system.ProductDescription
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductPlantFluentHelper getAllProductPlant()
RealSubstanceService
ProductPlant
entities.getAllProductPlant
in interface RealSubstanceService
ProductPlant
entities. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductPlantByKeyFluentHelper getProductPlantByKey(String product, String plant)
RealSubstanceService
ProductPlant
entity using key fields.getProductPlantByKey
in interface RealSubstanceService
product
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
ProductPlant
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductPlantCreateFluentHelper createProductPlant(@Nonnull ProductPlant productPlant)
RealSubstanceService
ProductPlant
entity and save it to the S/4HANA system.createProductPlant
in interface RealSubstanceService
productPlant
- ProductPlant
entity object that will be created in the S/4HANA system.ProductPlant
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductPlantUpdateFluentHelper updateProductPlant(@Nonnull ProductPlant productPlant)
RealSubstanceService
ProductPlant
entity and save it to the S/4HANA system.updateProductPlant
in interface RealSubstanceService
productPlant
- ProductPlant
entity object that will be updated in the S/4HANA system.ProductPlant
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductSalesDeliveryFluentHelper getAllProductSalesDelivery()
RealSubstanceService
ProductSalesDelivery
entities.getAllProductSalesDelivery
in interface RealSubstanceService
ProductSalesDelivery
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductSalesDeliveryByKeyFluentHelper getProductSalesDeliveryByKey(String product, String productSalesOrg, String productDistributionChnl)
RealSubstanceService
ProductSalesDelivery
entity using key fields.getProductSalesDeliveryByKey
in interface RealSubstanceService
product
- Alphanumeric key uniquely identifying the product.
Constraints: Not nullable, Maximum length: 40
productSalesOrg
- An organizational unit responsible for the sale of certain products or services. The responsibility of
a sales organization may include legal liability for products and customer claims.
Constraints: Not nullable, Maximum length: 4
productDistributionChnl
- The way in which products or services reach the customer. Typical examples of distribution channels
are wholesale, retail, or direct sales.
Constraints: Not nullable, Maximum length: 2
ProductSalesDelivery
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductSalesDeliveryCreateFluentHelper createProductSalesDelivery(@Nonnull ProductSalesDelivery productSalesDelivery)
RealSubstanceService
ProductSalesDelivery
entity and save it to the S/4HANA system.createProductSalesDelivery
in interface RealSubstanceService
productSalesDelivery
- ProductSalesDelivery
entity object that will be created in the S/4HANA system.ProductSalesDelivery
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductSalesDeliveryUpdateFluentHelper updateProductSalesDelivery(@Nonnull ProductSalesDelivery productSalesDelivery)
RealSubstanceService
ProductSalesDelivery
entity and save it to the S/4HANA system.updateProductSalesDelivery
in interface RealSubstanceService
productSalesDelivery
- ProductSalesDelivery
entity object that will be updated in the S/4HANA system.ProductSalesDelivery
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductStorageLocationFluentHelper getAllProductStorageLocation()
RealSubstanceService
ProductStorageLocation
entities.getAllProductStorageLocation
in interface RealSubstanceService
ProductStorageLocation
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductStorageLocationByKeyFluentHelper getProductStorageLocationByKey(String product, String plant, String storageLocation)
RealSubstanceService
ProductStorageLocation
entity using key fields.getProductStorageLocationByKey
in interface RealSubstanceService
product
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
storageLocation
- Number of the storage location in which the material is stored. A plant may contain one or more
storage locations.
Constraints: Not nullable, Maximum length: 4
ProductStorageLocation
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductStorageLocationCreateFluentHelper createProductStorageLocation(@Nonnull ProductStorageLocation productStorageLocation)
RealSubstanceService
ProductStorageLocation
entity and save it to the S/4HANA system.createProductStorageLocation
in interface RealSubstanceService
productStorageLocation
- ProductStorageLocation
entity object that will be created in the S/4HANA system.ProductStorageLocation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductStorageLocationUpdateFluentHelper updateProductStorageLocation(@Nonnull ProductStorageLocation productStorageLocation)
RealSubstanceService
ProductStorageLocation
entity and save it to the S/4HANA system.updateProductStorageLocation
in interface RealSubstanceService
productStorageLocation
- ProductStorageLocation
entity object that will be updated in the S/4HANA system.ProductStorageLocation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public RealSubstanceFluentHelper getAllRealSubstance()
RealSubstanceService
RealSubstance
entities.getAllRealSubstance
in interface RealSubstanceService
RealSubstance
entities. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public RealSubstanceByKeyFluentHelper getRealSubstanceByKey(String realSubstanceInternalID)
RealSubstanceService
RealSubstance
entity using key fields.getRealSubstanceByKey
in interface RealSubstanceService
realSubstanceInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
RealSubstance
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecAssignedMatlForKeyDateFluentHelper getAllSpecAssignedMatlForKeyDate()
RealSubstanceService
SpecAssignedMatlForKeyDate
entities.getAllSpecAssignedMatlForKeyDate
in interface RealSubstanceService
SpecAssignedMatlForKeyDate
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecAssignedMatlForKeyDateByKeyFluentHelper getSpecAssignedMatlForKeyDateByKey(String specMaterialAssgmtInternalID, String specMaterialAssgmtChangeState)
RealSubstanceService
SpecAssignedMatlForKeyDate
entity using key fields.getSpecAssignedMatlForKeyDateByKey
in interface RealSubstanceService
specMaterialAssgmtInternalID
- Specifies the numeric variable that identifies a data record internally in the system.
Constraints: Not nullable, Maximum length: 20
specMaterialAssgmtChangeState
- Specifies the numerical variable that sets the time in the key relative to the data record.
Constraints: Not nullable, Maximum length: 20
SpecAssignedMatlForKeyDate
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecAssignedMatlForKeyDateCreateFluentHelper createSpecAssignedMatlForKeyDate(@Nonnull SpecAssignedMatlForKeyDate specAssignedMatlForKeyDate)
RealSubstanceService
SpecAssignedMatlForKeyDate
entity and save it to the S/4HANA system.createSpecAssignedMatlForKeyDate
in interface RealSubstanceService
specAssignedMatlForKeyDate
- SpecAssignedMatlForKeyDate
entity object that will be created in the S/4HANA system.SpecAssignedMatlForKeyDate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecAuthorizationGroupTextFluentHelper getAllSpecAuthorizationGroupText()
RealSubstanceService
SpecAuthorizationGroupText
entities.getAllSpecAuthorizationGroupText
in interface RealSubstanceService
SpecAuthorizationGroupText
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecAuthorizationGroupTextByKeyFluentHelper getSpecAuthorizationGroupTextByKey(String specificationAuthznGroup, String language)
RealSubstanceService
SpecAuthorizationGroupText
entity using key fields.getSpecAuthorizationGroupTextByKey
in interface RealSubstanceService
specificationAuthznGroup
- Recipe Authorization Group
Constraints: Not nullable, Maximum length: 10
language
- The Language key field contains an alphanumeric code that identifies the language an entry is written
in.
Constraints: Not nullable, Maximum length: 2
SpecAuthorizationGroupText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecCharByValueAssgmtInstFluentHelper getAllSpecCharByValueAssgmtInst()
RealSubstanceService
SpecCharByValueAssgmtInst
entities.getAllSpecCharByValueAssgmtInst
in interface RealSubstanceService
SpecCharByValueAssgmtInst
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecCharByValueAssgmtInstByKeyFluentHelper getSpecCharByValueAssgmtInstByKey(String specificationInternalID, String specValAssgmtType, String specificationRating, String specificationValidityArea)
RealSubstanceService
SpecCharByValueAssgmtInst
entity using key fields.getSpecCharByValueAssgmtInstByKey
in interface RealSubstanceService
specificationInternalID
- Specifies the numeric variable that identifies a data record internally in the system.
Constraints: Not nullable, Maximum length: 20
specValAssgmtType
- Identifies the value assignment type.
Constraints: Not nullable, Maximum length: 30
specificationRating
- Key identifying a value assignment rating.
Constraints: Not nullable, Maximum length: 10
specificationValidityArea
- Specifies the validity area.
Constraints: Not nullable, Maximum length: 10
SpecCharByValueAssgmtInst
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecIdentifierFluentHelper getAllSpecIdentifier()
RealSubstanceService
SpecIdentifier
entities.getAllSpecIdentifier
in interface RealSubstanceService
SpecIdentifier
entities. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecIdentifierByKeyFluentHelper getSpecIdentifierByKey(String specIdfgDescInternalID, String specIdfgDescChangeState)
RealSubstanceService
SpecIdentifier
entity using key fields.getSpecIdentifierByKey
in interface RealSubstanceService
specIdfgDescInternalID
- Specifies the numeric variable that identifies a data record internally in the system.
Constraints: Not nullable, Maximum length: 20
specIdfgDescChangeState
- Specifies the numerical variable that sets the time in the key relative to the data record.
Constraints: Not nullable, Maximum length: 20
SpecIdentifier
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecStatusAttributesFluentHelper getAllSpecStatusAttributes()
RealSubstanceService
SpecStatusAttributes
entities.getAllSpecStatusAttributes
in interface RealSubstanceService
SpecStatusAttributes
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecStatusAttributesByKeyFluentHelper getSpecStatusAttributesByKey(String specificationHeaderStatus, String specificationHdrStsAttribute)
RealSubstanceService
SpecStatusAttributes
entity using key fields.getSpecStatusAttributesByKey
in interface RealSubstanceService
specificationHeaderStatus
- Indicates the current status of the document.
Constraints: Not nullable, Maximum length: 20
specificationHdrStsAttribute
- You can specify an own implementation class to trigger user-defined actions. The implementation class
must use the interface /PLMB/IF_BA_SAM_A_STATUS_CHG. The interface uses the method AFTER_STATUS_CHANGE
to implement the logic to trigger actions on a specified attribute.
Constraints: Not nullable, Maximum length: 20
SpecStatusAttributes
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecStatusNextStatusFluentHelper getAllSpecStatusNextStatus()
RealSubstanceService
SpecStatusNextStatus
entities.getAllSpecStatusNextStatus
in interface RealSubstanceService
SpecStatusNextStatus
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecStatusNextStatusByKeyFluentHelper getSpecStatusNextStatusByKey(String specificationHdrStsSchema, String specificationHdrStsSchemaFrSts, String specificationHdrStsSchemaToSts)
RealSubstanceService
SpecStatusNextStatus
entity using key fields.getSpecStatusNextStatusByKey
in interface RealSubstanceService
specificationHdrStsSchema
- The status scheme defines the initial status and the possible transitions from one status to another.
Constraints: Not nullable, Maximum length: 20
specificationHdrStsSchemaFrSts
- Status Identification
Constraints: Not nullable, Maximum length: 20
specificationHdrStsSchemaToSts
- Status To
Constraints: Not nullable, Maximum length: 20
SpecStatusNextStatus
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecStatusSchemaFluentHelper getAllSpecStatusSchema()
RealSubstanceService
SpecStatusSchema
entities.getAllSpecStatusSchema
in interface RealSubstanceService
SpecStatusSchema
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecStatusSchemaByKeyFluentHelper getSpecStatusSchemaByKey(String specificationType, String specificationHdrStsSchema)
RealSubstanceService
SpecStatusSchema
entity using key fields.getSpecStatusSchemaByKey
in interface RealSubstanceService
specificationType
- Specifies the subobject type. You can define the default status scheme at subobject type level. In PLM
Web UI, if you select a subobject type and then select the Status tab, the system automatically
displays this default status scheme. This applies only for objects that have subobject types. If an
object does not have a subobject type, you leave this field empty.
Constraints: Not nullable, Maximum length: 20
specificationHdrStsSchema
- The status scheme defines the initial status and the possible transitions from one status to another.
Constraints: Not nullable, Maximum length: 20
SpecStatusSchema
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecValAssgmtInstanceWthCompFluentHelper getAllSpecValAssgmtInstanceWthComp()
RealSubstanceService
SpecValAssgmtInstanceWthComp
entities.getAllSpecValAssgmtInstanceWthComp
in interface RealSubstanceService
SpecValAssgmtInstanceWthComp
entities. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SpecValAssgmtInstanceWthCompByKeyFluentHelper getSpecValAssgmtInstanceWthCompByKey(String specificationInternalID, String specValAssgmtType, String specificationRating, String specificationValidityArea, String componentSpecificationIntID)
RealSubstanceService
SpecValAssgmtInstanceWthComp
entity using key fields.getSpecValAssgmtInstanceWthCompByKey
in interface RealSubstanceService
specificationInternalID
- Specifies the numeric variable that identifies a data record internally in the system.
Constraints: Not nullable, Maximum length: 20
specValAssgmtType
- Identifies the value assignment type.
Constraints: Not nullable, Maximum length: 30
specificationRating
- Key identifying a value assignment rating.
Constraints: Not nullable, Maximum length: 10
specificationValidityArea
- Specifies the validity area.
Constraints: Not nullable, Maximum length: 10
componentSpecificationIntID
- Reference to Specification Header of a Component
Constraints: Not nullable, Maximum length: 20
SpecValAssgmtInstanceWthComp
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.