public class CancelItemFluentHelper extends Object
Constructor and Description |
---|
CancelItemFluentHelper(String materialDocumentYear,
String materialDocument,
String materialDocumentItem,
Calendar postingDate)
Creates a fluent helper object that will execute the CancelItem OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
MaterialDocumentItem |
execute()
The default ERP configuration context will be used.
|
MaterialDocumentItem |
execute(ErpConfigContext erpConfigContext) |
MaterialDocumentItem |
execute(ErpEndpoint erpEndpoint) |
public CancelItemFluentHelper(String materialDocumentYear, String materialDocument, String materialDocumentItem, Calendar postingDate)
execute
method on the fluent helper object.materialDocument
- Material DocumentConstraints: Not nullable, Maximum length: 10
materialDocumentItem
- Material Doc.ItemConstraints: Not nullable, Maximum length: 4
materialDocumentYear
- Material Doc. YearConstraints: Not nullable, Maximum length: 4
postingDate
- Posting DateConstraints: Nullable, Precision: 0
public MaterialDocumentItem execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public MaterialDocumentItem execute(ErpConfigContext erpConfigContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpConfigContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public MaterialDocumentItem execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2017 SAP SE. All rights reserved.