@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultRawSubstanceService") public class DefaultRawSubstanceService extends Object implements RawSubstanceService
This service contains data belonging to the raw 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 raw substance's standard composition, as well as diet, religious, GMO information..
Reference: SAP API Business Hub
OData Service: | API_RAWSUBSTANCE |
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 |
Business Object: | RecipeRawSubstance |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultRawSubstanceService()
Creates a service using
RawSubstanceService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultRawSubstanceService()
RawSubstanceService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultRawSubstanceService withServicePath(@Nonnull String servicePath)
RawSubstanceService
withServicePath
in interface RawSubstanceService
servicePath
- Service path that will override the default.@Nonnull public DefaultRawSubstanceServiceBatch batch()
batch
in interface BatchService<RawSubstanceServiceBatch>
@Nonnull public ProductFluentHelper getAllProduct()
RawSubstanceService
Product
entities.getAllProduct
in interface RawSubstanceService
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)
RawSubstanceService
Product
entity
using key fields.getProductByKey
in interface RawSubstanceService
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)
RawSubstanceService
Product
entity and
save it to the S/4HANA system.createProduct
in interface RawSubstanceService
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)
RawSubstanceService
Product
entity and save it to the S/4HANA system.updateProduct
in interface RawSubstanceService
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()
RawSubstanceService
ProductDescription
entities.getAllProductDescription
in interface RawSubstanceService
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)
RawSubstanceService
ProductDescription
entity using key fields.getProductDescriptionByKey
in interface RawSubstanceService
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)
RawSubstanceService
ProductDescription
entity and save it to the S/4HANA system.createProductDescription
in interface RawSubstanceService
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)
RawSubstanceService
ProductDescription
entity and save it to the S/4HANA system.updateProductDescription
in interface RawSubstanceService
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)
RawSubstanceService
ProductDescription
entity in the S/4HANA system.deleteProductDescription
in interface RawSubstanceService
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()
RawSubstanceService
ProductPlant
entities.getAllProductPlant
in interface RawSubstanceService
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)
RawSubstanceService
ProductPlant
entity using key fields.getProductPlantByKey
in interface RawSubstanceService
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)
RawSubstanceService
ProductPlant
entity and save it to the S/4HANA system.createProductPlant
in interface RawSubstanceService
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)
RawSubstanceService
ProductPlant
entity and save it to the S/4HANA system.updateProductPlant
in interface RawSubstanceService
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()
RawSubstanceService
ProductSalesDelivery
entities.getAllProductSalesDelivery
in interface RawSubstanceService
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)
RawSubstanceService
ProductSalesDelivery
entity using key fields.getProductSalesDeliveryByKey
in interface RawSubstanceService
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)
RawSubstanceService
ProductSalesDelivery
entity and save it to the S/4HANA system.createProductSalesDelivery
in interface RawSubstanceService
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)
RawSubstanceService
ProductSalesDelivery
entity and save it to the S/4HANA system.updateProductSalesDelivery
in interface RawSubstanceService
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()
RawSubstanceService
ProductStorageLocation
entities.getAllProductStorageLocation
in interface RawSubstanceService
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)
RawSubstanceService
ProductStorageLocation
entity using key fields.getProductStorageLocationByKey
in interface RawSubstanceService
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)
RawSubstanceService
ProductStorageLocation
entity and save it to the S/4HANA system.createProductStorageLocation
in interface RawSubstanceService
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)
RawSubstanceService
ProductStorageLocation
entity and save it to the S/4HANA system.updateProductStorageLocation
in interface RawSubstanceService
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 RawSubstanceFluentHelper getAllRawSubstance()
RawSubstanceService
RawSubstance
entities.getAllRawSubstance
in interface RawSubstanceService
RawSubstance
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 RawSubstanceByKeyFluentHelper getRawSubstanceByKey(String rawSubstanceInternalID)
RawSubstanceService
RawSubstance
entity using key fields.getRawSubstanceByKey
in interface RawSubstanceService
rawSubstanceInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
RawSubstance
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()
RawSubstanceService
SpecAssignedMatlForKeyDate
entities.getAllSpecAssignedMatlForKeyDate
in interface RawSubstanceService
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)
RawSubstanceService
SpecAssignedMatlForKeyDate
entity using key fields.getSpecAssignedMatlForKeyDateByKey
in interface RawSubstanceService
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)
RawSubstanceService
SpecAssignedMatlForKeyDate
entity and save it to the S/4HANA system.createSpecAssignedMatlForKeyDate
in interface RawSubstanceService
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()
RawSubstanceService
SpecAuthorizationGroupText
entities.getAllSpecAuthorizationGroupText
in interface RawSubstanceService
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)
RawSubstanceService
SpecAuthorizationGroupText
entity using key fields.getSpecAuthorizationGroupTextByKey
in interface RawSubstanceService
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()
RawSubstanceService
SpecCharByValueAssgmtInst
entities.getAllSpecCharByValueAssgmtInst
in interface RawSubstanceService
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)
RawSubstanceService
SpecCharByValueAssgmtInst
entity using key fields.getSpecCharByValueAssgmtInstByKey
in interface RawSubstanceService
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()
RawSubstanceService
SpecIdentifier
entities.getAllSpecIdentifier
in interface RawSubstanceService
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)
RawSubstanceService
SpecIdentifier
entity using key fields.getSpecIdentifierByKey
in interface RawSubstanceService
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()
RawSubstanceService
SpecStatusAttributes
entities.getAllSpecStatusAttributes
in interface RawSubstanceService
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)
RawSubstanceService
SpecStatusAttributes
entity using key fields.getSpecStatusAttributesByKey
in interface RawSubstanceService
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()
RawSubstanceService
SpecStatusNextStatus
entities.getAllSpecStatusNextStatus
in interface RawSubstanceService
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)
RawSubstanceService
SpecStatusNextStatus
entity using key fields.getSpecStatusNextStatusByKey
in interface RawSubstanceService
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()
RawSubstanceService
SpecStatusSchema
entities.getAllSpecStatusSchema
in interface RawSubstanceService
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)
RawSubstanceService
SpecStatusSchema
entity using key fields.getSpecStatusSchemaByKey
in interface RawSubstanceService
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()
RawSubstanceService
SpecValAssgmtInstanceWthComp
entities.getAllSpecValAssgmtInstanceWthComp
in interface RawSubstanceService
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)
RawSubstanceService
SpecValAssgmtInstanceWthComp
entity using key fields.getSpecValAssgmtInstanceWthCompByKey
in interface RawSubstanceService
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 © 2021 SAP SE. All rights reserved.