public class CancelFluentHelper extends FluentHelperFunction<CancelFluentHelper,MaterialDocumentHeader,MaterialDocumentHeader>
Constructor and Description |
---|
CancelFluentHelper(String materialDocumentYear,
String materialDocument,
Calendar postingDate)
Creates a fluent helper object that will execute the Cancel OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
MaterialDocumentHeader |
execute(ErpEndpoint erpEndpoint)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
execute, execute
public CancelFluentHelper(String materialDocumentYear, String materialDocument, Calendar postingDate)
execute
method on the fluent helper object.materialDocument
- Material DocumentConstraints: Not nullable, Maximum length: 10
materialDocumentYear
- Material Doc. YearConstraints: Not nullable, Maximum length: 4
postingDate
- Posting DateConstraints: Nullable, Precision: 0
public MaterialDocumentHeader execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<CancelFluentHelper,MaterialDocumentHeader,MaterialDocumentHeader>
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2018 SAP SE. All rights reserved.