public class DefaultFXOptionCreateFunction extends Object implements FXOptionCreateFunction
Constructor and Description |
---|
DefaultFXOptionCreateFunction(CreateAnFxOption forex,
FtrStructureForCreatingTransactions generalContractData) |
Modifier and Type | Method and Description |
---|---|
DefaultFXOptionCreateFunction |
activityCategory(TransactionActivityCategory activityCategory)
(Optional) Transaction Activity Category
|
boolean |
equals(Object o) |
FXOptionCreateFunctionResult |
execute()
Execute query on the default ERP configuration context.
|
FXOptionCreateFunctionResult |
execute(ErpConfigContext erpConfigContext)
Execute query on an ERP endpoint described by the provided ERP configuration context.
|
FXOptionCreateFunctionResult |
execute(ErpEndpoint erpEndpoint)
Execute query on the provided ERP endpoint.
|
int |
hashCode() |
DefaultFXOptionCreateFunction |
testRun(ErpBoolean testRun)
(Optional) Switch to Simulation Mode for Write BAPIs
|
BapiQuery |
toQuery()
Prepares a query object from the given query parameters.
|
String |
toString() |
@ConstructorProperties(value={"forex","generalContractData"}) @Generated(value="lombok") public DefaultFXOptionCreateFunction(CreateAnFxOption forex, FtrStructureForCreatingTransactions generalContractData)
public FXOptionCreateFunctionResult execute(ErpConfigContext erpConfigContext) throws QueryExecutionException
ErpDestination.getDefaultName()
SapClient
Locale
execute
in interface FXOptionCreateFunction
erpConfigContext
- Configuration context for ERP queryQueryExecutionException
public FXOptionCreateFunctionResult execute() throws QueryExecutionException
execute
in interface FXOptionCreateFunction
QueryExecutionException
ErpConfigContext.ErpConfigContext()
public BapiQuery toQuery()
toQuery
in interface FXOptionCreateFunction
public FXOptionCreateFunctionResult execute(ErpEndpoint erpEndpoint) throws QueryExecutionException
execute
in interface FXOptionCreateFunction
erpEndpoint
- Configured instance of ErpEndpoint
QueryExecutionException
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public DefaultFXOptionCreateFunction testRun(ErpBoolean testRun)
testRun
in interface FXOptionCreateFunction
testRun
- (Optional) Switch to Simulation Mode for Write BAPIs@Generated(value="lombok") public DefaultFXOptionCreateFunction activityCategory(TransactionActivityCategory activityCategory)
activityCategory
in interface FXOptionCreateFunction
activityCategory
- (Optional) Transaction Activity CategoryCopyright © 2018 SAP SE. All rights reserved.