com.sap.cloud.sdk.s4hana.datamodel.bapi.functions.AcctngRepstPrimCostsCheckFunction 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.datamodel.bapi.structures.PostingInAccountingCoPaAcctAssignmentCharacteristic;
import com.sap.cloud.sdk.s4hana.serialization.ErpBoolean;
/**
* FI/CO: Check primary cost document
*
* BAPI_ACC_PRIMARY_COSTS_CHECK
*
*
*/
public interface AcctngRepstPrimCostsCheckFunction {
/**
* 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_PRIMARY_COSTS_CHECK
*/
@Nonnull
AcctngRepstPrimCostsCheckFunctionResult 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_PRIMARY_COSTS_CHECK
*/
@Nonnull
AcctngRepstPrimCostsCheckFunctionResult execute()
throws QueryExecutionException
;
/**
* Prepares a query object from the given query parameters.
*
* @return
* Serializable BapiQuery for BAPI_ACC_PRIMARY_COSTS_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
AcctngRepstPrimCostsCheckFunction ignoreWarnings(ErpBoolean ignoreWarnings);
/**
* (Optional) Object Attributes for Sender Profitability Segments
*
* @param sendCriteria
* Object Attributes for Sender Profitability Segments
* @return
* self
*/
@Nonnull
AcctngRepstPrimCostsCheckFunction sendCriteria(Iterable sendCriteria);
/**
* (Optional) Object Attributes for Sender Profitability Segments
*
* @param items
* Array of PostingInAccountingCoPaAcctAssignmentCharacteristic
* @return
* self
*/
@Nonnull
AcctngRepstPrimCostsCheckFunction sendCriteria(PostingInAccountingCoPaAcctAssignmentCharacteristic... items);
/**
* (Optional) Object Attributes for Recipient Profitability Segments
*
* @param recCriteria
* Object Attributes for Recipient Profitability Segments
* @return
* self
*/
@Nonnull
AcctngRepstPrimCostsCheckFunction recCriteria(Iterable recCriteria);
/**
* (Optional) Object Attributes for Recipient Profitability Segments
*
* @param items
* Array of PostingInAccountingCoPaAcctAssignmentCharacteristic
* @return
* self
*/
@Nonnull
AcctngRepstPrimCostsCheckFunction recCriteria(PostingInAccountingCoPaAcctAssignmentCharacteristic... items);
/**
* (Optional) Customer Fields
*
* @param customerFields
* Customer Fields
* @return
* self
*/
@Nonnull
AcctngRepstPrimCostsCheckFunction customerFields(Iterable customerFields);
/**
* (Optional) Customer Fields
*
* @param items
* Array of ContainerForCustomerExitParameter
* @return
* self
*/
@Nonnull
AcctngRepstPrimCostsCheckFunction customerFields(ContainerForCustomerExitParameter... items);
}