Class DefaultPackingInstructionService
- All Implemented Interfaces:
BatchService<PackingInstructionServiceBatch>,PackingInstructionService
Packing instructions serve as templates for the creation of handling units. With this API, you can carry out the following operations: - Create a packing instruction comprising packaging material and material to be packed. - Create a packing instruction including packaging material and reference material. The reference material enables you to reuse one packing instruction for several materials. - Create a packing instruction including subordinated packing instructions (multi-level packing instructions). - Retrieve header information for a packing instruction. You can use filter criteria to retrieve information based on other selection criteria, for example, material numbers. - Retrieve component information for a packing instruction, which contains information about the packaging material and the material to be packed in the handling unit. - Retrieve texts in different languages for a packing instruction. Note The following operations are available on the ***API Reference*** tab but are not supported by the API: - <TT>POST /PackingInstructionHeader(guid'{PackingInstructionSystemUUID}')/to_PackingInstructionComponent</TT> - <TT>POST /PackingInstructionHeader(guid'{PackingInstructionSystemUUID}')/to_PackingInstructionText</TT> .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PACKINGINSTRUCTION |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Packing Instruction Integration(SAP_COM_0399) |
| Scope Items: | Handling Unit Management(4MM) |
| Authentication Methods: | x509 |
| Business Object: | Packing Instruction |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PackingInstructionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPackingInstructionService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createPackingInstructionHeader(PackingInstructionHeader packingInstructionHeader) Deprecated.Create a newPackingInstructionHeaderentity and save it to the S/4HANA system.Deprecated.Fetch multiplePackingInstructionComponententities.Deprecated.Fetch multiplePackingInstructionHeaderentities.Deprecated.Fetch multiplePackingInstructionTextentities.getPackingInstructionComponentByKey(UUID packingInstructionItemSystUUID) Deprecated.Fetch a singlePackingInstructionComponententity using key fields.getPackingInstructionHeaderByKey(UUID packingInstructionSystemUUID) Deprecated.Fetch a singlePackingInstructionHeaderentity using key fields.getPackingInstructionTextByKey(String language, UUID packingInstructionSystemUUID) Deprecated.Fetch a singlePackingInstructionTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultPackingInstructionService
public DefaultPackingInstructionService()Deprecated.Creates a service usingPackingInstructionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PackingInstructionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePackingInstructionService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<PackingInstructionServiceBatch>
-
getAllPackingInstructionComponent
Deprecated.Description copied from interface:PackingInstructionServiceFetch multiplePackingInstructionComponententities.- Specified by:
getAllPackingInstructionComponentin interfacePackingInstructionService- Returns:
- A fluent helper to fetch multiple
PackingInstructionComponententities. 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.
-
getPackingInstructionComponentByKey
@Nonnull public PackingInstructionComponentByKeyFluentHelper getPackingInstructionComponentByKey(UUID packingInstructionItemSystUUID) Deprecated.Description copied from interface:PackingInstructionServiceFetch a singlePackingInstructionComponententity using key fields.- Specified by:
getPackingInstructionComponentByKeyin interfacePackingInstructionService- Parameters:
packingInstructionItemSystUUID- Packing Instruction ComponentConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
PackingInstructionComponententity 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.
-
getAllPackingInstructionHeader
Deprecated.Description copied from interface:PackingInstructionServiceFetch multiplePackingInstructionHeaderentities.- Specified by:
getAllPackingInstructionHeaderin interfacePackingInstructionService- Returns:
- A fluent helper to fetch multiple
PackingInstructionHeaderentities. 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.
-
getPackingInstructionHeaderByKey
@Nonnull public PackingInstructionHeaderByKeyFluentHelper getPackingInstructionHeaderByKey(UUID packingInstructionSystemUUID) Deprecated.Description copied from interface:PackingInstructionServiceFetch a singlePackingInstructionHeaderentity using key fields.- Specified by:
getPackingInstructionHeaderByKeyin interfacePackingInstructionService- Parameters:
packingInstructionSystemUUID- Unique internal packing object numberConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
PackingInstructionHeaderentity 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.
-
createPackingInstructionHeader
@Nonnull public PackingInstructionHeaderCreateFluentHelper createPackingInstructionHeader(@Nonnull PackingInstructionHeader packingInstructionHeader) Deprecated.Description copied from interface:PackingInstructionServiceCreate a newPackingInstructionHeaderentity and save it to the S/4HANA system.- Specified by:
createPackingInstructionHeaderin interfacePackingInstructionService- Parameters:
packingInstructionHeader-PackingInstructionHeaderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PackingInstructionHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPackingInstructionText
Deprecated.Description copied from interface:PackingInstructionServiceFetch multiplePackingInstructionTextentities.- Specified by:
getAllPackingInstructionTextin interfacePackingInstructionService- Returns:
- A fluent helper to fetch multiple
PackingInstructionTextentities. 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.
-
getPackingInstructionTextByKey
@Nonnull public PackingInstructionTextByKeyFluentHelper getPackingInstructionTextByKey(String language, UUID packingInstructionSystemUUID) Deprecated.Description copied from interface:PackingInstructionServiceFetch a singlePackingInstructionTextentity using key fields.- Specified by:
getPackingInstructionTextByKeyin interfacePackingInstructionService- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
packingInstructionSystemUUID- Packing Instruction NumberConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
PackingInstructionTextentity 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.
-