com.sap.cloud.sdk.s4hana.datamodel.bapi.functions.AcctngManCostAllocCheckFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bapi-api Show documentation
Show all versions of bapi-api Show documentation
Generated classes of the SAP S/4HANA Virtual Data Model (VDM) for BAPIs.
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.s4hana.datamodel.bapi.functions;
import javax.annotation.Nonnull;
import com.sap.cloud.sdk.s4hana.connectivity.ErpConfigContext;
import com.sap.cloud.sdk.s4hana.connectivity.exception.QueryExecutionException;
import com.sap.cloud.sdk.s4hana.connectivity.rfc.BapiQuery;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.ContainerForCustomerExitParameter;
import com.sap.cloud.sdk.s4hana.serialization.ErpBoolean;
/**
* Check Manual Cost Allocation
*
* BAPI_ACC_MANUAL_ALLOC_CHECK
*
*
*/
public interface AcctngManCostAllocCheckFunction {
/**
* Execute query on an ERP endpoint described by the provided ERP configuration context.
*
* This method allows specifying a custom ERP configuration context, having configurable values for
*
* - Destination name, default: {@link com.sap.cloud.sdk.s4hana.connectivity.ErpDestination#getDefaultName() ErpDestination.getDefaultName()}
* - {@link com.sap.cloud.sdk.s4hana.serialization.SapClient SapClient}
* - {@link java.util.Locale Locale}
*
* The usage of this method is recommended, in particular when applying multitenancy.
*
* @param erpConfigContext
* Configuration context for ERP query
* @return
* Explorable query result for BAPI_ACC_MANUAL_ALLOC_CHECK
*/
@Nonnull
AcctngManCostAllocCheckFunctionResult execute(ErpConfigContext erpConfigContext)
throws QueryExecutionException
;
/**
* Execute query on the default ERP configuration context.
*
* This method is recommended when the application's ERP configuration context settings are unchanged from the defaults.
* @see ErpConfigContext#ErpConfigContext()
*
* @return
* Explorable query result for BAPI_ACC_MANUAL_ALLOC_CHECK
*/
@Nonnull
AcctngManCostAllocCheckFunctionResult execute()
throws QueryExecutionException
;
/**
* Prepares a query object from the given query parameters.
*
* @return
* Serializable BapiQuery for BAPI_ACC_MANUAL_ALLOC_CHECK
*/
@Nonnull
BapiQuery toQuery();
/**
* (Optional) Indicator: Ignore Warnings
* Field name: IGNWARN
*
* Type element: BAPIIGNWAR
* Domain name: SYCHAR01
* Internal type: CHAR
* Description: Ignore Warnings
* Max length: 1
*
*
* @param ignoreWarnings
* Indicator: Ignore Warnings
* @return
* self
*/
@Nonnull
AcctngManCostAllocCheckFunction ignoreWarnings(ErpBoolean ignoreWarnings);
/**
* (Optional) Customer Fields
*
* @param customerFields
* Customer Fields
* @return
* self
*/
@Nonnull
AcctngManCostAllocCheckFunction customerFields(Iterable customerFields);
/**
* (Optional) Customer Fields
*
* @param items
* Array of ContainerForCustomerExitParameter
* @return
* self
*/
@Nonnull
AcctngManCostAllocCheckFunction customerFields(ContainerForCustomerExitParameter... items);
}