Interface BatchService
- All Superinterfaces:
BatchService<BatchServiceBatch>
- All Known Implementing Classes:
DefaultBatchService
This synchronous inbound API enables you to read, create and change batches. Additionally, it is possible to retrieve and to edit the related classification data. The service is based on the OData protocol, and can be consumed by external systems and user interfaces. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BATCH_SRV |
| API Version: | 1.1.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Batch Management OData Integration(SAP_COM_0337), Excise Tax Integration(SAP_COM_0568) |
| Scope Items: | Batch Management(BLF), Enablement of SAP Excise Tax Management(4LO) |
| Authentication Methods: | x509 |
| Business Object: | Batch |
-
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 TypeMethodDescriptioncreateBatch(Batch batch) Deprecated.Create a newBatchentity and save it to the S/4HANA system.createBatchCharc(BatchCharc batchCharc) Deprecated.Create a newBatchCharcentity and save it to the S/4HANA system.createBatchCharcValue(BatchCharcValue batchCharcValue) Deprecated.Create a newBatchCharcValueentity and save it to the S/4HANA system.createBatchClass(BatchClass batchClass) Deprecated.Create a newBatchClassentity and save it to the S/4HANA system.deleteBatchCharcValue(BatchCharcValue batchCharcValue) Deprecated.Deletes an existingBatchCharcValueentity in the S/4HANA system.deleteBatchClass(BatchClass batchClass) Deprecated.Deletes an existingBatchClassentity in the S/4HANA system.deleteBatchText(BatchText batchText) Deprecated.Deletes an existingBatchTextentity in the S/4HANA system.Deprecated.Fetch multipleBatchentities.Deprecated.Fetch multipleBatchCharcentities.Deprecated.Fetch multipleBatchCharcValueentities.Deprecated.Fetch multipleBatchClassentities.Deprecated.Fetch multipleBatchPlantentities.Deprecated.Fetch multipleBatchTextentities.getBatchByKey(String material, String batchIdentifyingPlant, String batch) Deprecated.Fetch a singleBatchentity using key fields.getBatchCharcByKey(String material, String batchIdentifyingPlant, String batch, String charcInternalID) Deprecated.Fetch a singleBatchCharcentity using key fields.getBatchCharcValueByKey(String material, String batchIdentifyingPlant, String batch, String charcInternalID, String charcValuePositionNumber) Deprecated.Fetch a singleBatchCharcValueentity using key fields.getBatchClassByKey(String material, String batchIdentifyingPlant, String batch) Deprecated.Fetch a singleBatchClassentity using key fields.getBatchPlantByKey(String material, String batch, String plant) Deprecated.Fetch a singleBatchPlantentity using key fields.getBatchTextByKey(String material, String batchIdentifyingPlant, String batch, String language) Deprecated.Fetch a singleBatchTextentity using key fields.updateBatch(Batch batch) Deprecated.Update an existingBatchentity and save it to the S/4HANA system.updateBatchCharcValue(BatchCharcValue batchCharcValue) Deprecated.Update an existingBatchCharcValueentity and save it to the S/4HANA system.updateBatchPlant(BatchPlant batchPlant) Deprecated.Update an existingBatchPlantentity and save it to the S/4HANA system.updateBatchText(BatchText batchText) Deprecated.Update an existingBatchTextentity 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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
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.
-
getAllBatch
Deprecated.Fetch multipleBatchentities.- Returns:
- A fluent helper to fetch multiple
Batchentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBatchByKey
@Nonnull BatchByKeyFluentHelper getBatchByKey(String material, String batchIdentifyingPlant, String batch) Deprecated.Fetch a singleBatchentity using key fields.- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 18
batchIdentifyingPlant- PlantConstraints: Not nullable, Maximum length: 4
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
Batchentity 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 theexecutemethod on the fluent helper object.
-
createBatch
Deprecated.Create a newBatchentity and save it to the S/4HANA system. -
updateBatch
Deprecated.Update an existingBatchentity and save it to the S/4HANA system. -
getAllBatchCharc
Deprecated.Fetch multipleBatchCharcentities.- Returns:
- A fluent helper to fetch multiple
BatchCharcentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBatchCharcByKey
@Nonnull BatchCharcByKeyFluentHelper getBatchCharcByKey(String material, String batchIdentifyingPlant, String batch, String charcInternalID) Deprecated.Fetch a singleBatchCharcentity using key fields.- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 18
charcInternalID- Characteristic Internal IDConstraints: Not nullable, Maximum length: 10
batchIdentifyingPlant- PlantConstraints: Not nullable, Maximum length: 4
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BatchCharcentity 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 theexecutemethod on the fluent helper object.
-
createBatchCharc
Deprecated.Create a newBatchCharcentity and save it to the S/4HANA system.- Parameters:
batchCharc-BatchCharcentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
BatchCharcentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBatchCharcValue
Deprecated.Fetch multipleBatchCharcValueentities.- Returns:
- A fluent helper to fetch multiple
BatchCharcValueentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBatchCharcValueByKey
@Nonnull BatchCharcValueByKeyFluentHelper getBatchCharcValueByKey(String material, String batchIdentifyingPlant, String batch, String charcInternalID, String charcValuePositionNumber) Deprecated.Fetch a singleBatchCharcValueentity using key fields.- Parameters:
charcValuePositionNumber- Characteristic value counterConstraints: Not nullable, Maximum length: 3
material- Material NumberConstraints: Not nullable, Maximum length: 18
charcInternalID- Characteristic Internal IDConstraints: Not nullable, Maximum length: 10
batchIdentifyingPlant- PlantConstraints: Not nullable, Maximum length: 4
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BatchCharcValueentity 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 theexecutemethod on the fluent helper object.
-
createBatchCharcValue
@Nonnull BatchCharcValueCreateFluentHelper createBatchCharcValue(@Nonnull BatchCharcValue batchCharcValue) Deprecated.Create a newBatchCharcValueentity and save it to the S/4HANA system.- Parameters:
batchCharcValue-BatchCharcValueentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
BatchCharcValueentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateBatchCharcValue
@Nonnull BatchCharcValueUpdateFluentHelper updateBatchCharcValue(@Nonnull BatchCharcValue batchCharcValue) Deprecated.Update an existingBatchCharcValueentity and save it to the S/4HANA system.- Parameters:
batchCharcValue-BatchCharcValueentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
BatchCharcValueentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteBatchCharcValue
@Nonnull BatchCharcValueDeleteFluentHelper deleteBatchCharcValue(@Nonnull BatchCharcValue batchCharcValue) Deprecated.Deletes an existingBatchCharcValueentity in the S/4HANA system.- Parameters:
batchCharcValue-BatchCharcValueentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
BatchCharcValueentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBatchClass
Deprecated.Fetch multipleBatchClassentities.- Returns:
- A fluent helper to fetch multiple
BatchClassentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBatchClassByKey
@Nonnull BatchClassByKeyFluentHelper getBatchClassByKey(String material, String batchIdentifyingPlant, String batch) Deprecated.Fetch a singleBatchClassentity using key fields.- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 18
batchIdentifyingPlant- PlantConstraints: Not nullable, Maximum length: 4
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BatchClassentity 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 theexecutemethod on the fluent helper object.
-
createBatchClass
Deprecated.Create a newBatchClassentity and save it to the S/4HANA system.- Parameters:
batchClass-BatchClassentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
BatchClassentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteBatchClass
Deprecated.Deletes an existingBatchClassentity in the S/4HANA system.- Parameters:
batchClass-BatchClassentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
BatchClassentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBatchPlant
Deprecated.Fetch multipleBatchPlantentities.- Returns:
- A fluent helper to fetch multiple
BatchPlantentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBatchPlantByKey
@Nonnull BatchPlantByKeyFluentHelper getBatchPlantByKey(String material, String batch, String plant) Deprecated.Fetch a singleBatchPlantentity using key fields.- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BatchPlantentity 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 theexecutemethod on the fluent helper object.
-
updateBatchPlant
Deprecated.Update an existingBatchPlantentity and save it to the S/4HANA system.- Parameters:
batchPlant-BatchPlantentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
BatchPlantentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBatchText
Deprecated.Fetch multipleBatchTextentities.- Returns:
- A fluent helper to fetch multiple
BatchTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBatchTextByKey
@Nonnull BatchTextByKeyFluentHelper getBatchTextByKey(String material, String batchIdentifyingPlant, String batch, String language) Deprecated.Fetch a singleBatchTextentity using key fields.- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 18
batchIdentifyingPlant- PlantConstraints: Not nullable, Maximum length: 4
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
BatchTextentity 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 theexecutemethod on the fluent helper object.
-
updateBatchText
Deprecated.Update an existingBatchTextentity and save it to the S/4HANA system. -
deleteBatchText
Deprecated.Deletes an existingBatchTextentity in the S/4HANA system.
-