All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.s4hana.datamodel.bapi.functions.DefaultFixedAssetChangeFunction Maven / Gradle / Ivy

/*
 * 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.google.common.collect.Lists;
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.connectivity.rfc.BapiQueryResult;
import com.sap.cloud.sdk.s4hana.connectivity.rfc.ParameterFields;
import com.sap.cloud.sdk.s4hana.connectivity.rfc.Table;
import com.sap.cloud.sdk.s4hana.connectivity.rfc.TableRow;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetAllocations;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeAllocations;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeDepreciationArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaIndiaTimeIndependentGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaJapanTimeDependentImpairmentData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaJapanTimeIndependentDataForAnnex16;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaJapanTimeIndependentDataForPropertyTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaKoreaTimeIndependentBusinessPlace;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaRussiaTimeDependentGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaRussiaTimeDependentPropertyTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaRussiaTimeDependentTransportTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaRussiaTimeIndependentGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaRussiaTimeIndependentPropertyTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaRussiaTimeIndependentTransportTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeFiAaTimeIndependentNationalClassificationCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeInsurance;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeInventory;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeInvestmentAccountAssignment;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeLeasing;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeNetWorthValuation;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeOrigin;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangePostingInformation;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeRealEstateAndSimilarRights;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetChangeTimeDependentData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetDepreciationArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaIndiaTimeIndependentGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaJapanTimeDependentImpairmentData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaJapanTimeIndependentDataForAnnex16;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaJapanTimeIndependentDataForPropertyTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaKoreaTimeIndependentBusinessPlace;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeDependentGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeDependentPropertyTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeDependentTransportTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeIndependentGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeIndependentPropertyTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaRussiaTimeIndependentTransportTax;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetFiAaTimeIndependentNationalClassificationCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetGeneralData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetGlobalizationFieldsDateIntervalOfTimeDependentData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetInsurance;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetInventory;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetInvestmentAccountAssignment;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetInvestmentSupportKey;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetLeasing;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetNetWorthValuation;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetOrigin;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetPostingInformation;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetRealEstateAndSimilarRights;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.FixedAssetTimeDependentData;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.RefStructureForParameterExtensioninExtensionout;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AssetSubnumber4;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CompanyCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.MainAssetNumber12;
import com.sap.cloud.sdk.s4hana.serialization.ErpBoolean;

import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import lombok.experimental.Tolerate;

/**
 * {@inheritDoc}
 * 
 */
@ToString
@EqualsAndHashCode
@Accessors(fluent = true)
@RequiredArgsConstructor(access = AccessLevel.PUBLIC)
public class DefaultFixedAssetChangeFunction
    implements FixedAssetChangeFunction
{

    /**
     * (Optional) General Data
     * 
     */
    @Setter
    private FixedAssetGeneralData generalData = null;
    /**
     * (Optional) Change Parameters for General Data
     * 
     */
    @Setter
    private FixedAssetChangeGeneralData generalDataX = null;
    /**
     * (Optional) Physical Inventory
     * 
     */
    @Setter
    private FixedAssetInventory inventory = null;
    /**
     * (Optional) Change Parameters for Inventory
     * 
     */
    @Setter
    private FixedAssetChangeInventory inventoryX = null;
    /**
     * (Optional) Posting information
     * 
     */
    @Setter
    private FixedAssetPostingInformation postingInformation = null;
    /**
     * (Optional) Change Parameters for Posting Information
     * 
     */
    @Setter
    private FixedAssetChangePostingInformation postingInformationX = null;
    /**
     * (Optional) Time-Dependent Data
     * 
     */
    @Setter
    private FixedAssetTimeDependentData timeDependentData = null;
    /**
     * (Optional) Change Parameters for Time-Dependent Data
     * 
     */
    @Setter
    private FixedAssetChangeTimeDependentData timeDependentDataX = null;
    /**
     * (Optional) Assignments
     * 
     */
    @Setter
    private FixedAssetAllocations allocations = null;
    /**
     * (Optional) Change Parameters for Allocations
     * 
     */
    @Setter
    private FixedAssetChangeAllocations allocationsX = null;
    /**
     * (Optional) Origin
     * 
     */
    @Setter
    private FixedAssetOrigin origin = null;
    /**
     * (Optional) Change Parameters for Origin
     * 
     */
    @Setter
    private FixedAssetChangeOrigin originX = null;
    /**
     * (Optional) Account assignment for investment
     * 
     */
    @Setter
    private FixedAssetInvestmentAccountAssignment investAcctAssignmnt = null;
    /**
     * (Optional) Change Parameters for Investment Account Assignments
     * 
     */
    @Setter
    private FixedAssetChangeInvestmentAccountAssignment investAcctAssignmntX = null;
    /**
     * (Optional) Net Worth Valuation
     * 
     */
    @Setter
    private FixedAssetNetWorthValuation netWorthValuation = null;
    /**
     * (Optional) Change Parameters for Net Worth Valuation
     * 
     */
    @Setter
    private FixedAssetChangeNetWorthValuation netWorthValuationX = null;
    /**
     * (Optional) Real Estate and Similar Rights
     * 
     */
    @Setter
    private FixedAssetRealEstateAndSimilarRights realEstate = null;
    /**
     * (Optional) Change Parameters for Real Estate
     * 
     */
    @Setter
    private FixedAssetChangeRealEstateAndSimilarRights realEstateX = null;
    /**
     * (Optional) Insurance
     * 
     */
    @Setter
    private FixedAssetInsurance insurance = null;
    /**
     * (Optional) Change Parameters for Insurance
     * 
     */
    @Setter
    private FixedAssetChangeInsurance insuranceX = null;
    /**
     * (Optional) Leasing
     * 
     */
    @Setter
    private FixedAssetLeasing leasing = null;
    /**
     * (Optional) Change Parameters for Leasing
     * 
     */
    @Setter
    private FixedAssetChangeLeasing leasingX = null;
    /**
     * (Optional) Indicator: Asset is a group asset
     * Field name: XANLGR
     * 
     *  Type element: XANLGR_1
     *  Domain name: XFELD
     *  Internal type: CHAR
     *  Description: Indicator: Asset is a Group Asset
     *  Max length: 1
     * 
* */ @Setter private ErpBoolean groupAsset = null; /** * (Optional) NationalClfnCodeX * */ @Setter private FixedAssetChangeFiAaTimeIndependentNationalClassificationCode nationalClassificationCodeX = null; /** * (Optional) NationalClfnCode * */ @Setter private FixedAssetFiAaTimeIndependentNationalClassificationCode nationalClassificationCode = null; /** * (Optional) KR:BusinessPlace * */ @Setter private FixedAssetChangeFiAaKoreaTimeIndependentBusinessPlace krBusinessPlaceX = null; /** * (Optional) KR:BusinessPlace * */ @Setter private FixedAssetFiAaKoreaTimeIndependentBusinessPlace krBusinessPlace = null; /** * (Optional) Russia:General Data * */ @Setter private FixedAssetFiAaRussiaTimeIndependentGeneralData russiaGeneral = null; /** * (Optional) Change Parameters: Russia:General Data * */ @Setter private FixedAssetChangeFiAaRussiaTimeIndependentGeneralData russiaGeneralX = null; /** * (Optional) Change parameters:Russia:Property Tax * */ @Setter private FixedAssetFiAaRussiaTimeIndependentPropertyTax russiaPropTax = null; /** * (Optional) Change Parameters: Russia:Property Tax * */ @Setter private FixedAssetChangeFiAaRussiaTimeIndependentPropertyTax russiaPropTaxX = null; /** * (Optional) Russia:Transport Tax * */ @Setter private FixedAssetFiAaRussiaTimeIndependentTransportTax russiaTranspTax = null; /** * (Optional) Change Parameters: Russia:Transport Tax * */ @Setter private FixedAssetChangeFiAaRussiaTimeIndependentTransportTax russiaTranspTaxX = null; /** * (Optional) India:General Data * */ @Setter private FixedAssetFiAaIndiaTimeIndependentGeneralData indiaGeneral = null; /** * (Optional) Change Parameters:India:General Data * */ @Setter private FixedAssetChangeFiAaIndiaTimeIndependentGeneralData indiaGeneralX = null; /** * (Optional) Japan: Annex 16 * */ @Setter private FixedAssetFiAaJapanTimeIndependentDataForAnnex16 japanAnnex16 = null; /** * (Optional) Change Parameters: Japan: Annex 16 * */ @Setter private FixedAssetChangeFiAaJapanTimeIndependentDataForAnnex16 japanAnnex16X = null; /** * (Optional) Japan:Property Tax * */ @Setter private FixedAssetFiAaJapanTimeIndependentDataForPropertyTax japanPropTax = null; /** * (Optional) Change Parameters: Japan:Property Tax * */ @Setter private FixedAssetChangeFiAaJapanTimeIndependentDataForPropertyTax japanPropTaxX = null; /** * (Optional) Date interval:Globalization Data * */ @Setter private FixedAssetGlobalizationFieldsDateIntervalOfTimeDependentData countrySpecDateInterval = null; /** * (Optional) Russia:General Time-dependent data * */ @Setter private FixedAssetFiAaRussiaTimeDependentGeneralData russiaGeneralTimeDep = null; /** * (Optional) Change Parameters: Russia:Gen.Time-Depend.Data * */ @Setter private FixedAssetChangeFiAaRussiaTimeDependentGeneralData russiaGeneralTimeDepX = null; /** * (Optional) Russia:PropertyTax Time-Dependent Data * */ @Setter private FixedAssetFiAaRussiaTimeDependentPropertyTax russiaPropTaxTimeDep = null; /** * (Optional) Change Parameters: Russia:PropertyTaxTD * */ @Setter private FixedAssetChangeFiAaRussiaTimeDependentPropertyTax russiaPropTaxTimeDepX = null; /** * (Optional) Russia:TransporTax Time-Dependent * */ @Setter private FixedAssetFiAaRussiaTimeDependentTransportTax russiaTranspTaxTimeDep = null; /** * (Optional) Change Parameters: Russia:TransporTaxTD * */ @Setter private FixedAssetChangeFiAaRussiaTimeDependentTransportTax russiaTranspTaxTimeDepX = null; /** * (Optional) Japan: Impairment (Time-Dependent) * */ @Setter private FixedAssetFiAaJapanTimeDependentImpairmentData japanImpairment = null; /** * (Optional) Change Parameters: Japan: Impairment * */ @Setter private FixedAssetChangeFiAaJapanTimeDependentImpairmentData japanImpairmentX = null; /** * Companycode * Field name: COMP_CODE *
     *  Type element: BUKRS
     *  Domain name: BUKRS
     *  Internal type: CHAR
     *  Description: Company Code
     *  Max length: 4
     * 
* */ private final CompanyCode companycode; /** * Asset * Field name: ASSETMAINO *
     *  Type element: BF_ANLN1
     *  Domain name: BF_ANLN1
     *  Internal type: CHAR
     *  Description: Main Asset Number
     *  Max length: 12
     * 
* */ private final MainAssetNumber12 asset; /** * Subnumber * Field name: ASSETSUBNO *
     *  Type element: BF_ANLN2
     *  Domain name: BF_ANLN2
     *  Internal type: CHAR
     *  Description: Asset Subnumber
     *  Max length: 4
     * 
* */ private final AssetSubnumber4 subnumber; /** * (Optional) Depreciation areas * */ @Setter @Nonnull private Iterable depreciationAreas = Lists.newArrayList(); /** * (Optional) Change Parameters for Depreciation Areas * */ @Setter @Nonnull private Iterable depreciationAreasX = Lists.newArrayList(); /** * (Optional) Customer Enhancements * */ @Setter @Nonnull private Iterable extensionIn = Lists.newArrayList(); /** * (Optional) Investment Support Key * */ @Setter @Nonnull private Iterable investmentSupport = Lists.newArrayList(); /** * {@inheritDoc} * */ @Override @Nonnull public FixedAssetChangeFunctionResult execute(final ErpConfigContext erpConfigContext) throws QueryExecutionException { final BapiQuery query = toQuery(); final BapiQueryResult queryResult = query.execute(erpConfigContext); return new DefaultFixedAssetChangeFunctionResult(queryResult); } /** * {@inheritDoc} * */ @Override @Nonnull public FixedAssetChangeFunctionResult execute() throws QueryExecutionException { return execute(new ErpConfigContext()); } /** * {@inheritDoc} * */ @Override @Nonnull public BapiQuery toQuery() { if (generalData!= null) { generalData.validate(); } if (generalDataX!= null) { generalDataX.validate(); } if (inventory!= null) { inventory.validate(); } if (inventoryX!= null) { inventoryX.validate(); } if (postingInformation!= null) { postingInformation.validate(); } if (postingInformationX!= null) { postingInformationX.validate(); } if (timeDependentData!= null) { timeDependentData.validate(); } if (timeDependentDataX!= null) { timeDependentDataX.validate(); } if (allocations!= null) { allocations.validate(); } if (allocationsX!= null) { allocationsX.validate(); } if (origin!= null) { origin.validate(); } if (originX!= null) { originX.validate(); } if (investAcctAssignmnt!= null) { investAcctAssignmnt.validate(); } if (investAcctAssignmntX!= null) { investAcctAssignmntX.validate(); } if (netWorthValuation!= null) { netWorthValuation.validate(); } if (netWorthValuationX!= null) { netWorthValuationX.validate(); } if (realEstate!= null) { realEstate.validate(); } if (realEstateX!= null) { realEstateX.validate(); } if (insurance!= null) { insurance.validate(); } if (insuranceX!= null) { insuranceX.validate(); } if (leasing!= null) { leasing.validate(); } if (leasingX!= null) { leasingX.validate(); } if (nationalClassificationCodeX!= null) { nationalClassificationCodeX.validate(); } if (nationalClassificationCode!= null) { nationalClassificationCode.validate(); } if (krBusinessPlaceX!= null) { krBusinessPlaceX.validate(); } if (krBusinessPlace!= null) { krBusinessPlace.validate(); } if (russiaGeneral!= null) { russiaGeneral.validate(); } if (russiaGeneralX!= null) { russiaGeneralX.validate(); } if (russiaPropTax!= null) { russiaPropTax.validate(); } if (russiaPropTaxX!= null) { russiaPropTaxX.validate(); } if (russiaTranspTax!= null) { russiaTranspTax.validate(); } if (russiaTranspTaxX!= null) { russiaTranspTaxX.validate(); } if (indiaGeneral!= null) { indiaGeneral.validate(); } if (indiaGeneralX!= null) { indiaGeneralX.validate(); } if (japanAnnex16 != null) { japanAnnex16 .validate(); } if (japanAnnex16X!= null) { japanAnnex16X.validate(); } if (japanPropTax!= null) { japanPropTax.validate(); } if (japanPropTaxX!= null) { japanPropTaxX.validate(); } if (countrySpecDateInterval!= null) { countrySpecDateInterval.validate(); } if (russiaGeneralTimeDep!= null) { russiaGeneralTimeDep.validate(); } if (russiaGeneralTimeDepX!= null) { russiaGeneralTimeDepX.validate(); } if (russiaPropTaxTimeDep!= null) { russiaPropTaxTimeDep.validate(); } if (russiaPropTaxTimeDepX!= null) { russiaPropTaxTimeDepX.validate(); } if (russiaTranspTaxTimeDep!= null) { russiaTranspTaxTimeDep.validate(); } if (russiaTranspTaxTimeDepX!= null) { russiaTranspTaxTimeDepX.validate(); } if (japanImpairment!= null) { japanImpairment.validate(); } if (japanImpairmentX!= null) { japanImpairmentX.validate(); } if (depreciationAreas!= null) { for (FixedAssetDepreciationArea item: depreciationAreas) { item.validate(); } } if (depreciationAreasX!= null) { for (FixedAssetChangeDepreciationArea item: depreciationAreasX) { item.validate(); } } if (extensionIn!= null) { for (RefStructureForParameterExtensioninExtensionout item: extensionIn) { item.validate(); } } if (investmentSupport!= null) { for (FixedAssetInvestmentSupportKey item: investmentSupport) { item.validate(); } } final BapiQuery query = new BapiQuery("BAPI_FIXEDASSET_CHANGE"); if (groupAsset!= null) { query.withExporting("GROUPASSET", "XANLGR_1", groupAsset); } query.withExporting("COMPANYCODE", "BUKRS", companycode); query.withExporting("ASSET", "BF_ANLN1", asset); query.withExporting("SUBNUMBER", "BF_ANLN2", subnumber); if (generalData!= null) { final ParameterFields row = query.withExportingFields("GENERALDATA", "BAPI1022_FEGLG001"); if (generalData.getAcctDetrm()!= null) { row.field("ACCT_DETRM", "BF_KTOGR", generalData.getAcctDetrm()); } if (generalData.getAssetclass()!= null) { row.field("ASSETCLASS", "BF_ANLKL", generalData.getAssetclass()); } if (generalData.getBaseUom()!= null) { row.field("BASE_UOM", "MEINS", generalData.getBaseUom()); } if (generalData.getBaseUomIso()!= null) { row.field("BASE_UOM_ISO", "MEINS_ISO", generalData.getBaseUomIso()); } if (generalData.getDescript()!= null) { row.field("DESCRIPT", "BF_TXA50", generalData.getDescript()); } if (generalData.getDescript2()!= null) { row.field("DESCRIPT2", "BAPI1022_TXA50_MORE", generalData.getDescript2()); } if (generalData.getHistory()!= null) { row.field("HISTORY", "XHIST_AM", generalData.getHistory()); } if (generalData.getInventNo()!= null) { row.field("INVENT_NO", "BF_INVNR_ANLA", generalData.getInventNo()); } if (generalData.getMainDescript()!= null) { row.field("MAIN_DESCRIPT", "ANLHTXT", generalData.getMainDescript()); } if (generalData.getQuantity()!= null) { row.field("QUANTITY", "MENGE_D", generalData.getQuantity()); } if (generalData.getSerialNo()!= null) { row.field("SERIAL_NO", "BF_AM_SERNR", generalData.getSerialNo()); } row.end(); } if (generalDataX!= null) { final ParameterFields row = query.withExportingFields("GENERALDATAX", "BAPI1022_FEGLG001X"); if (generalDataX.getAcctDetrm()!= null) { row.field("ACCT_DETRM", "BAPIUPDATE", generalDataX.getAcctDetrm()); } if (generalDataX.getAssetclass()!= null) { row.field("ASSETCLASS", "BAPIUPDATE", generalDataX.getAssetclass()); } if (generalDataX.getBaseUom()!= null) { row.field("BASE_UOM", "BAPIUPDATE", generalDataX.getBaseUom()); } if (generalDataX.getBaseUomIso()!= null) { row.field("BASE_UOM_ISO", "BAPIUPDATE", generalDataX.getBaseUomIso()); } if (generalDataX.getDescript()!= null) { row.field("DESCRIPT", "BAPIUPDATE", generalDataX.getDescript()); } if (generalDataX.getDescript2()!= null) { row.field("DESCRIPT2", "BAPIUPDATE", generalDataX.getDescript2()); } if (generalDataX.getHistory()!= null) { row.field("HISTORY", "BAPIUPDATE", generalDataX.getHistory()); } if (generalDataX.getInventNo()!= null) { row.field("INVENT_NO", "BAPIUPDATE", generalDataX.getInventNo()); } if (generalDataX.getMainDescript()!= null) { row.field("MAIN_DESCRIPT", "BAPIUPDATE", generalDataX.getMainDescript()); } if (generalDataX.getQuantity()!= null) { row.field("QUANTITY", "BAPIUPDATE", generalDataX.getQuantity()); } if (generalDataX.getSerialNo()!= null) { row.field("SERIAL_NO", "BAPIUPDATE", generalDataX.getSerialNo()); } row.end(); } if (inventory!= null) { final ParameterFields row = query.withExportingFields("INVENTORY", "BAPI1022_FEGLG011"); if (inventory.getDate()!= null) { row.field("DATE", "BF_IVDAT_ANLA", inventory.getDate()); } if (inventory.getIncludeInList()!= null) { row.field("INCLUDE_IN_LIST", "BF_INKEN", inventory.getIncludeInList()); } if (inventory.getNote()!= null) { row.field("NOTE", "BF_INVZU_ANLA", inventory.getNote()); } row.end(); } if (inventoryX!= null) { final ParameterFields row = query.withExportingFields("INVENTORYX", "BAPI1022_FEGLG011X"); if (inventoryX.getDate()!= null) { row.field("DATE", "BAPIUPDATE", inventoryX.getDate()); } if (inventoryX.getIncludeInList()!= null) { row.field("INCLUDE_IN_LIST", "BAPIUPDATE", inventoryX.getIncludeInList()); } if (inventoryX.getNote()!= null) { row.field("NOTE", "BAPIUPDATE", inventoryX.getNote()); } row.end(); } if (postingInformation!= null) { final ParameterFields row = query.withExportingFields("POSTINGINFORMATION", "BAPI1022_FEGLG002"); if (postingInformation.getCapDate()!= null) { row.field("CAP_DATE", "BF_AKTIVD", postingInformation.getCapDate()); } if (postingInformation.getCapKey()!= null) { row.field("CAP_KEY", "ABGR_SCHL", postingInformation.getCapKey()); } if (postingInformation.getDeactDate()!= null) { row.field("DEACT_DATE", "BF_DEAKT", postingInformation.getDeactDate()); } if (postingInformation.getInitialAcq()!= null) { row.field("INITIAL_ACQ", "BF_ZUGDAT", postingInformation.getInitialAcq()); } if (postingInformation.getInitialAcqPrd()!= null) { row.field("INITIAL_ACQ_PRD", "BF_ZUPER", postingInformation.getInitialAcqPrd()); } if (postingInformation.getInitialAcqYr()!= null) { row.field("INITIAL_ACQ_YR", "BF_ZUJAHR", postingInformation.getInitialAcqYr()); } if (postingInformation.getPlretDate()!= null) { row.field("PLRET_DATE", "BF_GPLAB", postingInformation.getPlretDate()); } if (postingInformation.getPoDate()!= null) { row.field("PO_DATE", "BF_BSTDT", postingInformation.getPoDate()); } row.end(); } if (postingInformationX!= null) { final ParameterFields row = query.withExportingFields("POSTINGINFORMATIONX", "BAPI1022_FEGLG002X"); if (postingInformationX.getCapDate()!= null) { row.field("CAP_DATE", "BAPIUPDATE", postingInformationX.getCapDate()); } if (postingInformationX.getCapKey()!= null) { row.field("CAP_KEY", "BAPIUPDATE", postingInformationX.getCapKey()); } if (postingInformationX.getDeactDate()!= null) { row.field("DEACT_DATE", "BAPIUPDATE", postingInformationX.getDeactDate()); } if (postingInformationX.getInitialAcq()!= null) { row.field("INITIAL_ACQ", "BAPIUPDATE", postingInformationX.getInitialAcq()); } if (postingInformationX.getInitialAcqPrd()!= null) { row.field("INITIAL_ACQ_PRD", "BAPIUPDATE", postingInformationX.getInitialAcqPrd()); } if (postingInformationX.getInitialAcqYr()!= null) { row.field("INITIAL_ACQ_YR", "BAPIUPDATE", postingInformationX.getInitialAcqYr()); } if (postingInformationX.getPlretDate()!= null) { row.field("PLRET_DATE", "BAPIUPDATE", postingInformationX.getPlretDate()); } if (postingInformationX.getPurchOrdDate()!= null) { row.field("PURCH_ORD_DATE", "BAPIUPDATE", postingInformationX.getPurchOrdDate()); } row.end(); } if (timeDependentData!= null) { final ParameterFields row = query.withExportingFields("TIMEDEPENDENTDATA", "BAPI1022_FEGLG003"); if (timeDependentData.getActtype()!= null) { row.field("ACTTYPE", "LSTAR", timeDependentData.getActtype()); } if (timeDependentData.getBudgetPeriod()!= null) { row.field("BUDGET_PERIOD", "FM_BUDGET_PERIOD", timeDependentData.getBudgetPeriod()); } if (timeDependentData.getBudgetPeriodApc()!= null) { row.field("BUDGET_PERIOD_APC", "FM_BUDGET_PERIOD2", timeDependentData.getBudgetPeriodApc()); } if (timeDependentData.getBusArea()!= null) { row.field("BUS_AREA", "GSBER", timeDependentData.getBusArea()); } if (timeDependentData.getCostcenter()!= null) { row.field("COSTCENTER", "KOSTL", timeDependentData.getCostcenter()); } if (timeDependentData.getFromDate()!= null) { row.field("FROM_DATE", "BF_ADATU", timeDependentData.getFromDate()); } if (timeDependentData.getFuncArea()!= null) { row.field("FUNC_AREA", "FKBER_SHORT", timeDependentData.getFuncArea()); } if (timeDependentData.getFuncAreaApc()!= null) { row.field("FUNC_AREA_APC", "FKBER2", timeDependentData.getFuncAreaApc()); } if (timeDependentData.getFuncAreaLong()!= null) { row.field("FUNC_AREA_LONG", "FKBER", timeDependentData.getFuncAreaLong()); } if (timeDependentData.getFund()!= null) { row.field("FUND", "BP_GEBER", timeDependentData.getFund()); } if (timeDependentData.getFundsCtr()!= null) { row.field("FUNDS_CTR", "FISTL", timeDependentData.getFundsCtr()); } if (timeDependentData.getFundsCtrApc()!= null) { row.field("FUNDS_CTR_APC", "FISTL2", timeDependentData.getFundsCtrApc()); } if (timeDependentData.getFundApc()!= null) { row.field("FUND_APC", "BP_GEBER2", timeDependentData.getFundApc()); } if (timeDependentData.getGrantNbr()!= null) { row.field("GRANT_NBR", "GM_GRANT_NBR", timeDependentData.getGrantNbr()); } if (timeDependentData.getGrantNbrApc()!= null) { row.field("GRANT_NBR_APC", "GM_GRANT_NBR2", timeDependentData.getGrantNbrApc()); } if (timeDependentData.getInternOrd()!= null) { row.field("INTERN_ORD", "AUFNR", timeDependentData.getInternOrd()); } if (timeDependentData.getLocation()!= null) { row.field("LOCATION", "STORT", timeDependentData.getLocation()); } if (timeDependentData.getMaintOrd()!= null) { row.field("MAINT_ORD", "IAUFN", timeDependentData.getMaintOrd()); } if (timeDependentData.getPersonNo()!= null) { row.field("PERSON_NO", "PERNR_D", timeDependentData.getPersonNo()); } if (timeDependentData.getPlant()!= null) { row.field("PLANT", "WERKS_D", timeDependentData.getPlant()); } if (timeDependentData.getPlateNo()!= null) { row.field("PLATE_NO", "BF_AM_KFZKZ", timeDependentData.getPlateNo()); } if (timeDependentData.getProfitCtr()!= null) { row.field("PROFIT_CTR", "PRCTR", timeDependentData.getProfitCtr()); } if (timeDependentData.getRespCctr()!= null) { row.field("RESP_CCTR", "BF_KOSTLV", timeDependentData.getRespCctr()); } if (timeDependentData.getRlEstKey()!= null) { row.field("RL_EST_KEY", "IMKEY", timeDependentData.getRlEstKey()); } if (timeDependentData.getRlEstKeyExt()!= null) { row.field("RL_EST_KEY_EXT", "BAPI1022_IMKEY_EXT", timeDependentData.getRlEstKeyExt()); } if (timeDependentData.getRoom()!= null) { row.field("ROOM", "BF_RAUMNR", timeDependentData.getRoom()); } if (timeDependentData.getSegment()!= null) { row.field("SEGMENT", "FB_SEGMENT", timeDependentData.getSegment()); } if (timeDependentData.getShiftFact()!= null) { row.field("SHIFT_FACT", "BF_MSFAK", timeDependentData.getShiftFact()); } if (timeDependentData.getShutdown()!= null) { row.field("SHUTDOWN", "BF_XSTIL", timeDependentData.getShutdown()); } if (timeDependentData.getTaxjurcode()!= null) { row.field("TAXJURCODE", "TXJCD", timeDependentData.getTaxjurcode()); } if (timeDependentData.getToDate()!= null) { row.field("TO_DATE", "BF_BDATU", timeDependentData.getToDate()); } if (timeDependentData.getWbsElementCost()!= null) { row.field("WBS_ELEMENT_COST", "BAPI1022_POSNR_EXT2", timeDependentData.getWbsElementCost()); } row.end(); } if (timeDependentDataX!= null) { final ParameterFields row = query.withExportingFields("TIMEDEPENDENTDATAX", "BAPI1022_FEGLG003X"); if (timeDependentDataX.getActtype()!= null) { row.field("ACTTYPE", "BAPIUPDATE", timeDependentDataX.getActtype()); } if (timeDependentDataX.getBudgetPeriod()!= null) { row.field("BUDGET_PERIOD", "BAPIUPDATE", timeDependentDataX.getBudgetPeriod()); } if (timeDependentDataX.getBudgetPeriodApc()!= null) { row.field("BUDGET_PERIOD_APC", "BAPIUPDATE", timeDependentDataX.getBudgetPeriodApc()); } if (timeDependentDataX.getBusArea()!= null) { row.field("BUS_AREA", "BAPIUPDATE", timeDependentDataX.getBusArea()); } if (timeDependentDataX.getCostcenter()!= null) { row.field("COSTCENTER", "BAPIUPDATE", timeDependentDataX.getCostcenter()); } if (timeDependentDataX.getFromDate()!= null) { row.field("FROM_DATE", "BAPIUPDATE", timeDependentDataX.getFromDate()); } if (timeDependentDataX.getFuncArea()!= null) { row.field("FUNC_AREA", "BAPIUPDATE", timeDependentDataX.getFuncArea()); } if (timeDependentDataX.getFuncAreaApc()!= null) { row.field("FUNC_AREA_APC", "BAPIUPDATE", timeDependentDataX.getFuncAreaApc()); } if (timeDependentDataX.getFuncAreaLong()!= null) { row.field("FUNC_AREA_LONG", "BAPIUPDATE", timeDependentDataX.getFuncAreaLong()); } if (timeDependentDataX.getFund()!= null) { row.field("FUND", "BAPIUPDATE", timeDependentDataX.getFund()); } if (timeDependentDataX.getFundsCtr()!= null) { row.field("FUNDS_CTR", "BAPIUPDATE", timeDependentDataX.getFundsCtr()); } if (timeDependentDataX.getFundsCtrApc()!= null) { row.field("FUNDS_CTR_APC", "BAPIUPDATE", timeDependentDataX.getFundsCtrApc()); } if (timeDependentDataX.getFundApc()!= null) { row.field("FUND_APC", "BAPIUPDATE", timeDependentDataX.getFundApc()); } if (timeDependentDataX.getGrantNbr()!= null) { row.field("GRANT_NBR", "BAPIUPDATE", timeDependentDataX.getGrantNbr()); } if (timeDependentDataX.getGrantNbrApc()!= null) { row.field("GRANT_NBR_APC", "BAPIUPDATE", timeDependentDataX.getGrantNbrApc()); } if (timeDependentDataX.getInternOrd()!= null) { row.field("INTERN_ORD", "BAPIUPDATE", timeDependentDataX.getInternOrd()); } if (timeDependentDataX.getLicensePlateNo()!= null) { row.field("LICENSE_PLATE_NO", "BAPIUPDATE", timeDependentDataX.getLicensePlateNo()); } if (timeDependentDataX.getLocation()!= null) { row.field("LOCATION", "BAPIUPDATE", timeDependentDataX.getLocation()); } if (timeDependentDataX.getMaintOrd()!= null) { row.field("MAINT_ORD", "BAPIUPDATE", timeDependentDataX.getMaintOrd()); } if (timeDependentDataX.getPersonNo()!= null) { row.field("PERSON_NO", "BAPIUPDATE", timeDependentDataX.getPersonNo()); } if (timeDependentDataX.getPlant()!= null) { row.field("PLANT", "BAPIUPDATE", timeDependentDataX.getPlant()); } if (timeDependentDataX.getProfitCtr()!= null) { row.field("PROFIT_CTR", "BAPIUPDATE", timeDependentDataX.getProfitCtr()); } if (timeDependentDataX.getRespCctr()!= null) { row.field("RESP_CCTR", "BAPIUPDATE", timeDependentDataX.getRespCctr()); } if (timeDependentDataX.getRlEstKey()!= null) { row.field("RL_EST_KEY", "BAPIUPDATE", timeDependentDataX.getRlEstKey()); } if (timeDependentDataX.getRlEstKeyExt()!= null) { row.field("RL_EST_KEY_EXT", "BAPIUPDATE", timeDependentDataX.getRlEstKeyExt()); } if (timeDependentDataX.getRoom()!= null) { row.field("ROOM", "BAPIUPDATE", timeDependentDataX.getRoom()); } if (timeDependentDataX.getSegment()!= null) { row.field("SEGMENT", "BAPIUPDATE", timeDependentDataX.getSegment()); } if (timeDependentDataX.getShiftFact()!= null) { row.field("SHIFT_FACT", "BAPIUPDATE", timeDependentDataX.getShiftFact()); } if (timeDependentDataX.getShutdown()!= null) { row.field("SHUTDOWN", "BAPIUPDATE", timeDependentDataX.getShutdown()); } if (timeDependentDataX.getTaxjurcode()!= null) { row.field("TAXJURCODE", "BAPIUPDATE", timeDependentDataX.getTaxjurcode()); } if (timeDependentDataX.getToDate()!= null) { row.field("TO_DATE", "BAPIUPDATE", timeDependentDataX.getToDate()); } if (timeDependentDataX.getWbsElementCost()!= null) { row.field("WBS_ELEMENT_COST", "BAPIUPDATE", timeDependentDataX.getWbsElementCost()); } row.end(); } if (allocations!= null) { final ParameterFields row = query.withExportingFields("ALLOCATIONS", "BAPI1022_FEGLG004"); if (allocations.getAssetsupno()!= null) { row.field("ASSETSUPNO", "BF_ANLUE", allocations.getAssetsupno()); } if (allocations.getEnvirInvest()!= null) { row.field("ENVIR_INVEST", "BF_AM_UMWKZ", allocations.getEnvirInvest()); } if (allocations.getEvalgroup1()!= null) { row.field("EVALGROUP1", "BF_ORD41", allocations.getEvalgroup1()); } if (allocations.getEvalgroup2()!= null) { row.field("EVALGROUP2", "BF_ORD42", allocations.getEvalgroup2()); } if (allocations.getEvalgroup3()!= null) { row.field("EVALGROUP3", "BF_ORD43", allocations.getEvalgroup3()); } if (allocations.getEvalgroup4()!= null) { row.field("EVALGROUP4", "BF_ORD44", allocations.getEvalgroup4()); } if (allocations.getEvalgroup5()!= null) { row.field("EVALGROUP5", "BF_GDLGRP", allocations.getEvalgroup5()); } if (allocations.getInvReason()!= null) { row.field("INV_REASON", "BF_IZWEK", allocations.getInvReason()); } row.end(); } if (allocationsX!= null) { final ParameterFields row = query.withExportingFields("ALLOCATIONSX", "BAPI1022_FEGLG004X"); if (allocationsX.getAssetsupno()!= null) { row.field("ASSETSUPNO", "BAPIUPDATE", allocationsX.getAssetsupno()); } if (allocationsX.getEnvirInvest()!= null) { row.field("ENVIR_INVEST", "BAPIUPDATE", allocationsX.getEnvirInvest()); } if (allocationsX.getEvalgroup1()!= null) { row.field("EVALGROUP1", "BAPIUPDATE", allocationsX.getEvalgroup1()); } if (allocationsX.getEvalgroup2()!= null) { row.field("EVALGROUP2", "BAPIUPDATE", allocationsX.getEvalgroup2()); } if (allocationsX.getEvalgroup3()!= null) { row.field("EVALGROUP3", "BAPIUPDATE", allocationsX.getEvalgroup3()); } if (allocationsX.getEvalgroup4()!= null) { row.field("EVALGROUP4", "BAPIUPDATE", allocationsX.getEvalgroup4()); } if (allocationsX.getEvalgroup5()!= null) { row.field("EVALGROUP5", "BAPIUPDATE", allocationsX.getEvalgroup5()); } if (allocationsX.getInvReason()!= null) { row.field("INV_REASON", "BAPIUPDATE", allocationsX.getInvReason()); } row.end(); } if (origin!= null) { final ParameterFields row = query.withExportingFields("ORIGIN", "BAPI1022_FEGLG009"); if (origin.getCountry()!= null) { row.field("COUNTRY", "BF_AM_LAND1", origin.getCountry()); } if (origin.getCountryIso()!= null) { row.field("COUNTRY_ISO", "LAND1_ISO", origin.getCountryIso()); } if (origin.getCurrency()!= null) { row.field("CURRENCY", "WAERS", origin.getCurrency()); } if (origin.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "WAERS_ISO", origin.getCurrencyIso()); } if (origin.getInhouseProdPercentage()!= null) { row.field("INHOUSE_PROD_PERCENTAGE", "BF_ANTEI", origin.getInhouseProdPercentage()); } if (origin.getManufacturer()!= null) { row.field("MANUFACTURER", "BF_HERST", origin.getManufacturer()); } if (origin.getOrigAcqDate()!= null) { row.field("ORIG_ACQ_DATE", "BF_AIBDT", origin.getOrigAcqDate()); } if (origin.getOrigAcqYr()!= null) { row.field("ORIG_ACQ_YR", "BF_URJHR", origin.getOrigAcqYr()); } if (origin.getOrigAsset()!= null) { row.field("ORIG_ASSET", "BF_AIBN1", origin.getOrigAsset()); } if (origin.getOrigAssetSubno()!= null) { row.field("ORIG_ASSET_SUBNO", "BF_AIBN2", origin.getOrigAssetSubno()); } if (origin.getOrigValue()!= null) { row.field("ORIG_VALUE", "BF_URWRT", origin.getOrigValue()); } if (origin.getPurchNew()!= null) { row.field("PURCH_NEW", "XNEU_AM", origin.getPurchNew()); } if (origin.getTradeId()!= null) { row.field("TRADE_ID", "BF_RASSC", origin.getTradeId()); } if (origin.getTypeName()!= null) { row.field("TYPE_NAME", "BF_TYPBZ_ANLA", origin.getTypeName()); } if (origin.getVendor()!= null) { row.field("VENDOR", "BF_LIEFE", origin.getVendor()); } if (origin.getVendorNo()!= null) { row.field("VENDOR_NO", "BF_AM_LIFNR", origin.getVendorNo()); } row.end(); } if (originX!= null) { final ParameterFields row = query.withExportingFields("ORIGINX", "BAPI1022_FEGLG009X"); if (originX.getCountry()!= null) { row.field("COUNTRY", "BAPIUPDATE", originX.getCountry()); } if (originX.getCurrency()!= null) { row.field("CURRENCY", "BAPIUPDATE", originX.getCurrency()); } if (originX.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "BAPIUPDATE", originX.getCurrencyIso()); } if (originX.getInhouseProdPercentage()!= null) { row.field("INHOUSE_PROD_PERCENTAGE", "BAPIUPDATE", originX.getInhouseProdPercentage()); } if (originX.getManufacturer()!= null) { row.field("MANUFACTURER", "BAPIUPDATE", originX.getManufacturer()); } if (originX.getOrigAcqDate()!= null) { row.field("ORIG_ACQ_DATE", "BAPIUPDATE", originX.getOrigAcqDate()); } if (originX.getOrigAcqYear()!= null) { row.field("ORIG_ACQ_YEAR", "BAPIUPDATE", originX.getOrigAcqYear()); } if (originX.getOrigAsset()!= null) { row.field("ORIG_ASSET", "BAPIUPDATE", originX.getOrigAsset()); } if (originX.getOrigAssetSubno()!= null) { row.field("ORIG_ASSET_SUBNO", "BAPIUPDATE", originX.getOrigAssetSubno()); } if (originX.getOrigValue()!= null) { row.field("ORIG_VALUE", "BAPIUPDATE", originX.getOrigValue()); } if (originX.getPurchNew()!= null) { row.field("PURCH_NEW", "BAPIUPDATE", originX.getPurchNew()); } if (originX.getTradeId()!= null) { row.field("TRADE_ID", "BAPIUPDATE", originX.getTradeId()); } if (originX.getTypeName()!= null) { row.field("TYPE_NAME", "BAPIUPDATE", originX.getTypeName()); } if (originX.getVendor()!= null) { row.field("VENDOR", "BAPIUPDATE", originX.getVendor()); } if (originX.getVendorNo()!= null) { row.field("VENDOR_NO", "BAPIUPDATE", originX.getVendorNo()); } row.end(); } if (investAcctAssignmnt!= null) { final ParameterFields row = query.withExportingFields("INVESTACCTASSIGNMNT", "BAPI1022_FEGLG010"); if (investAcctAssignmnt.getInvestOrd()!= null) { row.field("INVEST_ORD", "BF_AM_AUFNR", investAcctAssignmnt.getInvestOrd()); } if (investAcctAssignmnt.getWbsElem()!= null) { row.field("WBS_ELEM", "BAPI1022_POSNR", investAcctAssignmnt.getWbsElem()); } if (investAcctAssignmnt.getWbsElement()!= null) { row.field("WBS_ELEMENT", "BAPI1022_POSNR_EXT", investAcctAssignmnt.getWbsElement()); } row.end(); } if (investAcctAssignmntX!= null) { final ParameterFields row = query.withExportingFields("INVESTACCTASSIGNMNTX", "BAPI1022_FEGLG010X"); if (investAcctAssignmntX.getInvestOrd()!= null) { row.field("INVEST_ORD", "BAPIUPDATE", investAcctAssignmntX.getInvestOrd()); } if (investAcctAssignmntX.getWbsElem()!= null) { row.field("WBS_ELEM", "BAPIUPDATE", investAcctAssignmntX.getWbsElem()); } if (investAcctAssignmntX.getWbsElement()!= null) { row.field("WBS_ELEMENT", "BAPIUPDATE", investAcctAssignmntX.getWbsElement()); } row.end(); } if (netWorthValuation!= null) { final ParameterFields row = query.withExportingFields("NETWORTHVALUATION", "BAPI1022_FEGLG006"); if (netWorthValuation.getClassKey()!= null) { row.field("CLASS_KEY", "BF_VMGLI", netWorthValuation.getClassKey()); } if (netWorthValuation.getCurrency()!= null) { row.field("CURRENCY", "WAERS", netWorthValuation.getCurrency()); } if (netWorthValuation.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "WAERS_ISO", netWorthValuation.getCurrencyIso()); } if (netWorthValuation.getManPropVal()!= null) { row.field("MAN_PROP_VAL", "BF_WRTMA", netWorthValuation.getManPropVal()); } if (netWorthValuation.getManPropValInd()!= null) { row.field("MAN_PROP_VAL_IND", "BF_XVRMW", netWorthValuation.getManPropValInd()); } if (netWorthValuation.getManPropValReason()!= null) { row.field("MAN_PROP_VAL_REASON", "BF_GRUND", netWorthValuation.getManPropValReason()); } if (netWorthValuation.getPropInd()!= null) { row.field("PROP_IND", "BF_EIGKZ", netWorthValuation.getPropInd()); } row.end(); } if (netWorthValuationX!= null) { final ParameterFields row = query.withExportingFields("NETWORTHVALUATIONX", "BAPI1022_FEGLG006X"); if (netWorthValuationX.getClassKey()!= null) { row.field("CLASS_KEY", "BAPIUPDATE", netWorthValuationX.getClassKey()); } if (netWorthValuationX.getCurrency()!= null) { row.field("CURRENCY", "BAPIUPDATE", netWorthValuationX.getCurrency()); } if (netWorthValuationX.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "BAPIUPDATE", netWorthValuationX.getCurrencyIso()); } if (netWorthValuationX.getManPropVal()!= null) { row.field("MAN_PROP_VAL", "BAPIUPDATE", netWorthValuationX.getManPropVal()); } if (netWorthValuationX.getManPropValInd()!= null) { row.field("MAN_PROP_VAL_IND", "BAPIUPDATE", netWorthValuationX.getManPropValInd()); } if (netWorthValuationX.getManPropValReason()!= null) { row.field("MAN_PROP_VAL_REASON", "BAPIUPDATE", netWorthValuationX.getManPropValReason()); } if (netWorthValuationX.getPropInd()!= null) { row.field("PROP_IND", "BAPIUPDATE", netWorthValuationX.getPropInd()); } row.end(); } if (realEstate!= null) { final ParameterFields row = query.withExportingFields("REALESTATE", "BAPI1022_FEGLG007"); if (realEstate.getArea()!= null) { row.field("AREA", "BF_GRUFL", realEstate.getArea()); } if (realEstate.getAreaUom()!= null) { row.field("AREA_UOM", "BF_FEINS", realEstate.getAreaUom()); } if (realEstate.getAreaUomIso()!= null) { row.field("AREA_UOM_ISO", "MEINS_ISO", realEstate.getAreaUomIso()); } if (realEstate.getAssessmentNoticeDate()!= null) { row.field("ASSESSMENT_NOTICE_DATE", "BF_EHWZU_ANLA", realEstate.getAssessmentNoticeDate()); } if (realEstate.getConveyanceDate()!= null) { row.field("CONVEYANCE_DATE", "BF_AUFLA_ANLA", realEstate.getConveyanceDate()); } if (realEstate.getLndregDate()!= null) { row.field("LNDREG_DATE", "BF_GRUVO_ANLA", realEstate.getLndregDate()); } if (realEstate.getLndregEntryDate()!= null) { row.field("LNDREG_ENTRY_DATE", "BF_GREIN_ANLA", realEstate.getLndregEntryDate()); } if (realEstate.getLndregMapNo()!= null) { row.field("LNDREG_MAP_NO", "BF_FLURK_ANLA", realEstate.getLndregMapNo()); } if (realEstate.getLndregNo()!= null) { row.field("LNDREG_NO", "BF_GRLFD_ANLA", realEstate.getLndregNo()); } if (realEstate.getLndregPg()!= null) { row.field("LNDREG_PG", "BF_GRBLT_ANLA", realEstate.getLndregPg()); } if (realEstate.getLndregPlotNo()!= null) { row.field("LNDREG_PLOT_NO", "BF_FLURN_ANLA", realEstate.getLndregPlotNo()); } if (realEstate.getLndregVol()!= null) { row.field("LNDREG_VOL", "BF_GRBND_ANLA", realEstate.getLndregVol()); } if (realEstate.getMunicipality()!= null) { row.field("MUNICIPALITY", "BF_ORT01_ANLA", realEstate.getMunicipality()); } if (realEstate.getTaxNo()!= null) { row.field("TAX_NO", "BF_EHWNR_ANLA", realEstate.getTaxNo()); } if (realEstate.getTaxOffice()!= null) { row.field("TAX_OFFICE", "BF_FIAMT", realEstate.getTaxOffice()); } row.end(); } if (realEstateX!= null) { final ParameterFields row = query.withExportingFields("REALESTATEX", "BAPI1022_FEGLG007X"); if (realEstateX.getArea()!= null) { row.field("AREA", "BAPIUPDATE", realEstateX.getArea()); } if (realEstateX.getAreaUom()!= null) { row.field("AREA_UOM", "BAPIUPDATE", realEstateX.getAreaUom()); } if (realEstateX.getAreaUomIso()!= null) { row.field("AREA_UOM_ISO", "BAPIUPDATE", realEstateX.getAreaUomIso()); } if (realEstateX.getAssessmentNoticeDate()!= null) { row.field("ASSESSMENT_NOTICE_DATE", "BAPIUPDATE", realEstateX.getAssessmentNoticeDate()); } if (realEstateX.getConveyanceDate()!= null) { row.field("CONVEYANCE_DATE", "BAPIUPDATE", realEstateX.getConveyanceDate()); } if (realEstateX.getLndregDate()!= null) { row.field("LNDREG_DATE", "BAPIUPDATE", realEstateX.getLndregDate()); } if (realEstateX.getLndregEntryDate()!= null) { row.field("LNDREG_ENTRY_DATE", "BAPIUPDATE", realEstateX.getLndregEntryDate()); } if (realEstateX.getLndregMapNo()!= null) { row.field("LNDREG_MAP_NO", "BAPIUPDATE", realEstateX.getLndregMapNo()); } if (realEstateX.getLndregNo()!= null) { row.field("LNDREG_NO", "BAPIUPDATE", realEstateX.getLndregNo()); } if (realEstateX.getLndregPg()!= null) { row.field("LNDREG_PG", "BAPIUPDATE", realEstateX.getLndregPg()); } if (realEstateX.getLndregPlotNo()!= null) { row.field("LNDREG_PLOT_NO", "BAPIUPDATE", realEstateX.getLndregPlotNo()); } if (realEstateX.getLndregVol()!= null) { row.field("LNDREG_VOL", "BAPIUPDATE", realEstateX.getLndregVol()); } if (realEstateX.getMunicipality()!= null) { row.field("MUNICIPALITY", "BAPIUPDATE", realEstateX.getMunicipality()); } if (realEstateX.getTaxNo()!= null) { row.field("TAX_NO", "BAPIUPDATE", realEstateX.getTaxNo()); } if (realEstateX.getTaxOffice()!= null) { row.field("TAX_OFFICE", "BAPIUPDATE", realEstateX.getTaxOffice()); } row.end(); } if (insurance!= null) { final ParameterFields row = query.withExportingFields("INSURANCE", "BAPI1022_FEGLG008"); if (insurance.getBaseValue()!= null) { row.field("BASE_VALUE", "BF_VRSBA", insurance.getBaseValue()); } if (insurance.getBaseValManUpd()!= null) { row.field("BASE_VAL_MAN_UPD", "BF_VSMAN", insurance.getBaseValManUpd()); } if (insurance.getCompany()!= null) { row.field("COMPANY", "BF_AVGES", insurance.getCompany()); } if (insurance.getCurrency()!= null) { row.field("CURRENCY", "WAERS", insurance.getCurrency()); } if (insurance.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "WAERS_ISO", insurance.getCurrencyIso()); } if (insurance.getCurInsValue()!= null) { row.field("CUR_INS_VALUE", "BAPI1022_VSWRT", insurance.getCurInsValue()); } if (insurance.getCurInsValueMaintYr()!= null) { row.field("CUR_INS_VALUE_MAINT_YR", "VSJHR", insurance.getCurInsValueMaintYr()); } if (insurance.getIndex()!= null) { row.field("INDEX", "BF_VSIND", insurance.getIndex()); } if (insurance.getManInsVal()!= null) { row.field("MAN_INS_VAL", "BF_VRSMA", insurance.getManInsVal()); } if (insurance.getManInsValMaintYr()!= null) { row.field("MAN_INS_VAL_MAINT_YR", "BF_VRSJH", insurance.getManInsValMaintYr()); } if (insurance.getPolicyNo()!= null) { row.field("POLICY_NO", "BF_VSSTX", insurance.getPolicyNo()); } if (insurance.getPremium()!= null) { row.field("PREMIUM", "BF_AVTAR", insurance.getPremium()); } if (insurance.getStartDate()!= null) { row.field("START_DATE", "BF_VRSBG", insurance.getStartDate()); } if (insurance.getText()!= null) { row.field("TEXT", "BF_VSZTX", insurance.getText()); } if (insurance.getType()!= null) { row.field("TYPE", "BF_VSART_ANLA", insurance.getType()); } row.end(); } if (insuranceX!= null) { final ParameterFields row = query.withExportingFields("INSURANCEX", "BAPI1022_FEGLG008X"); if (insuranceX.getBaseValue()!= null) { row.field("BASE_VALUE", "BAPIUPDATE", insuranceX.getBaseValue()); } if (insuranceX.getBaseValManUpd()!= null) { row.field("BASE_VAL_MAN_UPD", "BAPIUPDATE", insuranceX.getBaseValManUpd()); } if (insuranceX.getCompany()!= null) { row.field("COMPANY", "BAPIUPDATE", insuranceX.getCompany()); } if (insuranceX.getCrntInsValue()!= null) { row.field("CRNT_INS_VALUE", "BAPIUPDATE", insuranceX.getCrntInsValue()); } if (insuranceX.getCrntInsValueMaintYr()!= null) { row.field("CRNT_INS_VALUE_MAINT_YR", "BAPIUPDATE", insuranceX.getCrntInsValueMaintYr()); } if (insuranceX.getCurrency()!= null) { row.field("CURRENCY", "BAPIUPDATE", insuranceX.getCurrency()); } if (insuranceX.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "BAPIUPDATE", insuranceX.getCurrencyIso()); } if (insuranceX.getIndex()!= null) { row.field("INDEX", "BAPIUPDATE", insuranceX.getIndex()); } if (insuranceX.getManInsVal()!= null) { row.field("MAN_INS_VAL", "BAPIUPDATE", insuranceX.getManInsVal()); } if (insuranceX.getManInsValMaintYr()!= null) { row.field("MAN_INS_VAL_MAINT_YR", "BAPIUPDATE", insuranceX.getManInsValMaintYr()); } if (insuranceX.getPolicyNo()!= null) { row.field("POLICY_NO", "BAPIUPDATE", insuranceX.getPolicyNo()); } if (insuranceX.getPremium()!= null) { row.field("PREMIUM", "BAPIUPDATE", insuranceX.getPremium()); } if (insuranceX.getStartDate()!= null) { row.field("START_DATE", "BAPIUPDATE", insuranceX.getStartDate()); } if (insuranceX.getText()!= null) { row.field("TEXT", "BAPIUPDATE", insuranceX.getText()); } if (insuranceX.getType()!= null) { row.field("TYPE", "BAPIUPDATE", insuranceX.getType()); } row.end(); } if (leasing!= null) { final ParameterFields row = query.withExportingFields("LEASING", "BAPI1022_FEGLG005"); if (leasing.getAgrmntdate()!= null) { row.field("AGRMNTDATE", "BF_LVDAT", leasing.getAgrmntdate()); } if (leasing.getAgrmntNo()!= null) { row.field("AGRMNT_NO", "BF_LVTNR", leasing.getAgrmntNo()); } if (leasing.getBaseValue()!= null) { row.field("BASE_VALUE", "BF_LBASW", leasing.getBaseValue()); } if (leasing.getCompany()!= null) { row.field("COMPANY", "BF_LEAFI", leasing.getCompany()); } if (leasing.getCurrency()!= null) { row.field("CURRENCY", "WAERS", leasing.getCurrency()); } if (leasing.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "WAERS_ISO", leasing.getCurrencyIso()); } if (leasing.getCycle()!= null) { row.field("CYCLE", "BF_LRYTH", leasing.getCycle()); } if (leasing.getInterest()!= null) { row.field("INTEREST", "BF_LZINS", leasing.getInterest()); } if (leasing.getInAdvance()!= null) { row.field("IN_ADVANCE", "BF_LVORS", leasing.getInAdvance()); } if (leasing.getLngthPrds()!= null) { row.field("LNGTH_PRDS", "BF_LEPER", leasing.getLngthPrds()); } if (leasing.getLngthYrs()!= null) { row.field("LNGTH_YRS", "BF_LEJAR", leasing.getLngthYrs()); } if (leasing.getNoticedate()!= null) { row.field("NOTICEDATE", "BF_LKDAT", leasing.getNoticedate()); } if (leasing.getNoPaymnts()!= null) { row.field("NO_PAYMNTS", "BF_LEANZ", leasing.getNoPaymnts()); } if (leasing.getPayment()!= null) { row.field("PAYMENT", "BF_LEGEB", leasing.getPayment()); } if (leasing.getPurchprice()!= null) { row.field("PURCHPRICE", "BF_LKAUF", leasing.getPurchprice()); } if (leasing.getStartDate()!= null) { row.field("START_DATE", "BF_LEABG", leasing.getStartDate()); } if (leasing.getText()!= null) { row.field("TEXT", "BF_LETXT", leasing.getText()); } if (leasing.getType()!= null) { row.field("TYPE", "BF_LEART", leasing.getType()); } if (leasing.getValue()!= null) { row.field("VALUE", "BAPI1022_LBARW", leasing.getValue()); } row.end(); } if (leasingX!= null) { final ParameterFields row = query.withExportingFields("LEASINGX", "BAPI1022_FEGLG005X"); if (leasingX.getAgrmntdate()!= null) { row.field("AGRMNTDATE", "BAPIUPDATE", leasingX.getAgrmntdate()); } if (leasingX.getAgrmntNo()!= null) { row.field("AGRMNT_NO", "BAPIUPDATE", leasingX.getAgrmntNo()); } if (leasingX.getBaseValue()!= null) { row.field("BASE_VALUE", "BAPIUPDATE", leasingX.getBaseValue()); } if (leasingX.getCompany()!= null) { row.field("COMPANY", "BAPIUPDATE", leasingX.getCompany()); } if (leasingX.getCurrency()!= null) { row.field("CURRENCY", "BAPIUPDATE", leasingX.getCurrency()); } if (leasingX.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "BAPIUPDATE", leasingX.getCurrencyIso()); } if (leasingX.getCycle()!= null) { row.field("CYCLE", "BAPIUPDATE", leasingX.getCycle()); } if (leasingX.getInterest()!= null) { row.field("INTEREST", "BAPIUPDATE", leasingX.getInterest()); } if (leasingX.getInAdvance()!= null) { row.field("IN_ADVANCE", "BAPIUPDATE", leasingX.getInAdvance()); } if (leasingX.getLngthPrds()!= null) { row.field("LNGTH_PRDS", "BAPIUPDATE", leasingX.getLngthPrds()); } if (leasingX.getLngthYrs()!= null) { row.field("LNGTH_YRS", "BAPIUPDATE", leasingX.getLngthYrs()); } if (leasingX.getNoticedate()!= null) { row.field("NOTICEDATE", "BAPIUPDATE", leasingX.getNoticedate()); } if (leasingX.getNoPaymnts()!= null) { row.field("NO_PAYMNTS", "BAPIUPDATE", leasingX.getNoPaymnts()); } if (leasingX.getPayment()!= null) { row.field("PAYMENT", "BAPIUPDATE", leasingX.getPayment()); } if (leasingX.getPurchprice()!= null) { row.field("PURCHPRICE", "BAPIUPDATE", leasingX.getPurchprice()); } if (leasingX.getStartDate()!= null) { row.field("START_DATE", "BAPIUPDATE", leasingX.getStartDate()); } if (leasingX.getText()!= null) { row.field("TEXT", "BAPIUPDATE", leasingX.getText()); } if (leasingX.getType()!= null) { row.field("TYPE", "BAPIUPDATE", leasingX.getType()); } if (leasingX.getValue()!= null) { row.field("VALUE", "BAPIUPDATE", leasingX.getValue()); } row.end(); } if (nationalClassificationCodeX!= null) { final ParameterFields row = query.withExportingFields("GLO_NATL_CLFN_CODEX", "BAPI1022_GLO_NATL_CLFN_CODEX"); if (nationalClassificationCodeX.getNatlClfnCode()!= null) { row.field("NATL_CLFN_CODE", "BAPIUPDATE", nationalClassificationCodeX.getNatlClfnCode()); } row.end(); } if (nationalClassificationCode!= null) { final ParameterFields row = query.withExportingFields("GLO_NATL_CLFN_CODE", "BAPI1022_GLO_NATL_CLFN_CODE"); if (nationalClassificationCode.getNatlClfnCode()!= null) { row.field("NATL_CLFN_CODE", "GLO_NATL_CLFN_CODE", nationalClassificationCode.getNatlClfnCode()); } row.end(); } if (krBusinessPlaceX!= null) { final ParameterFields row = query.withExportingFields("GLO_KR_BUS_PLACEX", "BAPI1022_GLO_KR_BUS_PLACEX"); if (krBusinessPlaceX.getBusPlace()!= null) { row.field("BUS_PLACE", "BAPIUPDATE", krBusinessPlaceX.getBusPlace()); } row.end(); } if (krBusinessPlace!= null) { final ParameterFields row = query.withExportingFields("GLO_KR_BUS_PLACE", "BAPI1022_GLO_KR_BUS_PLACE"); if (krBusinessPlace.getBusPlace()!= null) { row.field("BUS_PLACE", "BUPLA", krBusinessPlace.getBusPlace()); } row.end(); } if (russiaGeneral!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_GEN", "BAPI1022_GLO_RUS_GEN"); if (russiaGeneral.getDeprGroup()!= null) { row.field("DEPR_GROUP", "J_3RFAMORTGR", russiaGeneral.getDeprGroup()); } if (russiaGeneral.getMaterial()!= null) { row.field("MATERIAL", "MATNR", russiaGeneral.getMaterial()); } if (russiaGeneral.getOkofCode()!= null) { row.field("OKOF_CODE", "J_3RFOKOF", russiaGeneral.getOkofCode()); } if (russiaGeneral.getPrecMatCodes()!= null) { row.field("PREC_MAT_CODES", "J_3RPRECC", russiaGeneral.getPrecMatCodes()); } if (russiaGeneral.getPrecMatQuants()!= null) { row.field("PREC_MAT_QUANTS", "J_3RPRECQ", russiaGeneral.getPrecMatQuants()); } if (russiaGeneral.getPrecMatWeights()!= null) { row.field("PREC_MAT_WEIGHTS", "J_3RPRECW", russiaGeneral.getPrecMatWeights()); } if (russiaGeneral.getSerialNumLong()!= null) { row.field("SERIAL_NUM_LONG", "J_3RFSERNR", russiaGeneral.getSerialNumLong()); } row.end(); } if (russiaGeneralX!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_GENX", "BAPI1022_GLO_RUS_GENX"); if (russiaGeneralX.getDeprGroup()!= null) { row.field("DEPR_GROUP", "BAPIUPDATE", russiaGeneralX.getDeprGroup()); } if (russiaGeneralX.getMaterial()!= null) { row.field("MATERIAL", "BAPIUPDATE", russiaGeneralX.getMaterial()); } if (russiaGeneralX.getOkofCode()!= null) { row.field("OKOF_CODE", "BAPIUPDATE", russiaGeneralX.getOkofCode()); } if (russiaGeneralX.getPrecMatCodes()!= null) { row.field("PREC_MAT_CODES", "BAPIUPDATE", russiaGeneralX.getPrecMatCodes()); } if (russiaGeneralX.getPrecMatQuants()!= null) { row.field("PREC_MAT_QUANTS", "BAPIUPDATE", russiaGeneralX.getPrecMatQuants()); } if (russiaGeneralX.getPrecMatWeights()!= null) { row.field("PREC_MAT_WEIGHTS", "BAPIUPDATE", russiaGeneralX.getPrecMatWeights()); } if (russiaGeneralX.getSerialNumLong()!= null) { row.field("SERIAL_NUM_LONG", "BAPIUPDATE", russiaGeneralX.getSerialNumLong()); } row.end(); } if (russiaPropTax!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_PTX", "BAPI1022_GLO_RUS_PTX"); if (russiaPropTax.getPropertyType()!= null) { row.field("PROPERTY_TYPE", "J_3RFPROPTYPE", russiaPropTax.getPropertyType()); } row.end(); } if (russiaPropTaxX!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_PTXX", "BAPI1022_GLO_RUS_PTXX"); if (russiaPropTaxX.getPropertyType()!= null) { row.field("PROPERTY_TYPE", "BAPIUPDATE", russiaPropTaxX.getPropertyType()); } row.end(); } if (russiaTranspTax!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_TTX", "BAPI1022_GLO_RUS_TTX"); if (russiaTranspTax.getEcoClass()!= null) { row.field("ECO_CLASS", "J_3R_ECOCLASS", russiaTranspTax.getEcoClass()); } if (russiaTranspTax.getManufactDate()!= null) { row.field("MANUFACT_DATE", "J_3RTBAUJJ", russiaTranspTax.getManufactDate()); } if (russiaTranspTax.getTranspType()!= null) { row.field("TRANSP_TYPE", "J_3RTYPV", russiaTranspTax.getTranspType()); } if (russiaTranspTax.getVinNumber()!= null) { row.field("VIN_NUMBER", "J_3R_VIN", russiaTranspTax.getVinNumber()); } row.end(); } if (russiaTranspTaxX!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_TTXX", "BAPI1022_GLO_RUS_TTXX"); if (russiaTranspTaxX.getEcoClass()!= null) { row.field("ECO_CLASS", "BAPIUPDATE", russiaTranspTaxX.getEcoClass()); } if (russiaTranspTaxX.getManufactDate()!= null) { row.field("MANUFACT_DATE", "BAPIUPDATE", russiaTranspTaxX.getManufactDate()); } if (russiaTranspTaxX.getTranspType()!= null) { row.field("TRANSP_TYPE", "BAPIUPDATE", russiaTranspTaxX.getTranspType()); } if (russiaTranspTaxX.getVinNumber()!= null) { row.field("VIN_NUMBER", "BAPIUPDATE", russiaTranspTaxX.getVinNumber()); } row.end(); } if (indiaGeneral!= null) { final ParameterFields row = query.withExportingFields("GLO_IN_GEN", "BAPI1022_GLO_IN_GEN"); if (indiaGeneral.getAddnlBlockKey()!= null) { row.field("ADDNL_BLOCK_KEY", "GLO_IN_ADNL_BLK_KEY", indiaGeneral.getAddnlBlockKey()); } if (indiaGeneral.getAddDepr()!= null) { row.field("ADD_DEPR", "GLO_IN_ADDNL_DEP", indiaGeneral.getAddDepr()); } if (indiaGeneral.getBlockKey()!= null) { row.field("BLOCK_KEY", "GLO_IN_BLK_KEY", indiaGeneral.getBlockKey()); } if (indiaGeneral.getBlKeyAddDepr()!= null) { row.field("BL_KEY_ADD_DEPR", "GLO_IN_ADDNL_BLK", indiaGeneral.getBlKeyAddDepr()); } if (indiaGeneral.getPriorYearTran()!= null) { row.field("PRIOR_YEAR_TRAN", "GLO_IN_PRIOR_YR", indiaGeneral.getPriorYearTran()); } if (indiaGeneral.getPutToUseDate()!= null) { row.field("PUT_TO_USE_DATE", "GLO_IN_AST_PUT_USE", indiaGeneral.getPutToUseDate()); } if (indiaGeneral.getResDevAsset()!= null) { row.field("RES_DEV_ASSET", "GLO_IN_R_AND_D_ASSET", indiaGeneral.getResDevAsset()); } if (indiaGeneral.getSubBlockKey()!= null) { row.field("SUB_BLOCK_KEY", "GLO_IN_SUB_BLKKEY", indiaGeneral.getSubBlockKey()); } row.end(); } if (indiaGeneralX!= null) { final ParameterFields row = query.withExportingFields("GLO_IN_GENX", "BAPI1022_GLO_IN_GENX"); if (indiaGeneralX.getAddnlBlockKey()!= null) { row.field("ADDNL_BLOCK_KEY", "BAPIUPDATE", indiaGeneralX.getAddnlBlockKey()); } if (indiaGeneralX.getAddDepr()!= null) { row.field("ADD_DEPR", "BAPIUPDATE", indiaGeneralX.getAddDepr()); } if (indiaGeneralX.getBlockKey()!= null) { row.field("BLOCK_KEY", "BAPIUPDATE", indiaGeneralX.getBlockKey()); } if (indiaGeneralX.getBlKeyAddDepr()!= null) { row.field("BL_KEY_ADD_DEPR", "BAPIUPDATE", indiaGeneralX.getBlKeyAddDepr()); } if (indiaGeneralX.getPriorYearTran()!= null) { row.field("PRIOR_YEAR_TRAN", "BAPIUPDATE", indiaGeneralX.getPriorYearTran()); } if (indiaGeneralX.getPutToUseDate()!= null) { row.field("PUT_TO_USE_DATE", "BAPIUPDATE", indiaGeneralX.getPutToUseDate()); } if (indiaGeneralX.getResDevAsset()!= null) { row.field("RES_DEV_ASSET", "BAPIUPDATE", indiaGeneralX.getResDevAsset()); } if (indiaGeneralX.getSubBlockKey()!= null) { row.field("SUB_BLOCK_KEY", "BAPIUPDATE", indiaGeneralX.getSubBlockKey()); } row.end(); } if (japanAnnex16 != null) { final ParameterFields row = query.withExportingFields("GLO_JP_ANN16", "BAPI1022_GLO_JP_ANN16"); if (japanAnnex16 .getAssetItem()!= null) { row.field("ASSET_ITEM", "GLO_ANX16_ITEM", japanAnnex16 .getAssetItem()); } if (japanAnnex16 .getAssetStructure()!= null) { row.field("ASSET_STRUCTURE", "GLO_ANX16_STRC", japanAnnex16 .getAssetStructure()); } row.end(); } if (japanAnnex16X!= null) { final ParameterFields row = query.withExportingFields("GLO_JP_ANN16X", "BAPI1022_GLO_JP_ANN16X"); if (japanAnnex16X.getAssetItem()!= null) { row.field("ASSET_ITEM", "BAPIUPDATE", japanAnnex16X.getAssetItem()); } if (japanAnnex16X.getAssetStructure()!= null) { row.field("ASSET_STRUCTURE", "BAPIUPDATE", japanAnnex16X.getAssetStructure()); } row.end(); } if (japanPropTax!= null) { final ParameterFields row = query.withExportingFields("GLO_JP_PTX", "BAPI1022_GLO_JP_PTX"); if (japanPropTax.getAddDeprCode()!= null) { row.field("ADD_DEPR_CODE", "GLO_JP_PROPT_PRDCD", japanPropTax.getAddDeprCode()); } row.end(); } if (japanPropTaxX!= null) { final ParameterFields row = query.withExportingFields("GLO_JP_PTXX", "BAPI1022_GLO_JP_PTXX"); if (japanPropTaxX.getAddDeprCode()!= null) { row.field("ADD_DEPR_CODE", "BAPIUPDATE", japanPropTaxX.getAddDeprCode()); } row.end(); } if (countrySpecDateInterval!= null) { final ParameterFields row = query.withExportingFields("GLO_TIME_DEP", "BAPI1022_GLO_TIME_DEP"); if (countrySpecDateInterval.getFromDate()!= null) { row.field("FROM_DATE", "BF_ADATU", countrySpecDateInterval.getFromDate()); } if (countrySpecDateInterval.getToDate()!= null) { row.field("TO_DATE", "BF_BDATU", countrySpecDateInterval.getToDate()); } row.end(); } if (russiaGeneralTimeDep!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_GENTD", "BAPI1022_GLO_RUS_GENTD"); if (russiaGeneralTimeDep.getDeprGroupNew()!= null) { row.field("DEPR_GROUP_NEW", "J_3RDEPRGRN", russiaGeneralTimeDep.getDeprGroupNew()); } if (russiaGeneralTimeDep.getInvCardNumber()!= null) { row.field("INV_CARD_NUMBER", "J_3RFICNMB", russiaGeneralTimeDep.getInvCardNumber()); } if (russiaGeneralTimeDep.getOkofCodeNew()!= null) { row.field("OKOF_CODE_NEW", "J_3ROKOFN", russiaGeneralTimeDep.getOkofCodeNew()); } if (russiaGeneralTimeDep.getPledgedAsset()!= null) { row.field("PLEDGED_ASSET", "J_3RFPLDCHCK", russiaGeneralTimeDep.getPledgedAsset()); } if (russiaGeneralTimeDep.getPledgee()!= null) { row.field("PLEDGEE", "J_3RFPLDRCPN", russiaGeneralTimeDep.getPledgee()); } if (russiaGeneralTimeDep.getPledgeAmount()!= null) { row.field("PLEDGE_AMOUNT", "J_3RFPLDAMNT_13_2", russiaGeneralTimeDep.getPledgeAmount()); } if (russiaGeneralTimeDep.getPledgeDocNum()!= null) { row.field("PLEDGE_DOC_NUM", "J_3RFDOCNUM", russiaGeneralTimeDep.getPledgeDocNum()); } if (russiaGeneralTimeDep.getShutdownDocum()!= null) { row.field("SHUTDOWN_DOCUM", "J_3RFSHDDOCN", russiaGeneralTimeDep.getShutdownDocum()); } if (russiaGeneralTimeDep.getShutdownReason()!= null) { row.field("SHUTDOWN_REASON", "J_3RSTOPREASON", russiaGeneralTimeDep.getShutdownReason()); } row.end(); } if (russiaGeneralTimeDepX!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_GENTDX", "BAPI1022_GLO_RUS_GENTDX"); if (russiaGeneralTimeDepX.getDeprGroupNew()!= null) { row.field("DEPR_GROUP_NEW", "BAPIUPDATE", russiaGeneralTimeDepX.getDeprGroupNew()); } if (russiaGeneralTimeDepX.getInvCardNumber()!= null) { row.field("INV_CARD_NUMBER", "BAPIUPDATE", russiaGeneralTimeDepX.getInvCardNumber()); } if (russiaGeneralTimeDepX.getOkofCodeNew()!= null) { row.field("OKOF_CODE_NEW", "BAPIUPDATE", russiaGeneralTimeDepX.getOkofCodeNew()); } if (russiaGeneralTimeDepX.getPledgedAsset()!= null) { row.field("PLEDGED_ASSET", "BAPIUPDATE", russiaGeneralTimeDepX.getPledgedAsset()); } if (russiaGeneralTimeDepX.getPledgee()!= null) { row.field("PLEDGEE", "BAPIUPDATE", russiaGeneralTimeDepX.getPledgee()); } if (russiaGeneralTimeDepX.getPledgeAmount()!= null) { row.field("PLEDGE_AMOUNT", "BAPIUPDATE", russiaGeneralTimeDepX.getPledgeAmount()); } if (russiaGeneralTimeDepX.getPledgeDocNum()!= null) { row.field("PLEDGE_DOC_NUM", "BAPIUPDATE", russiaGeneralTimeDepX.getPledgeDocNum()); } if (russiaGeneralTimeDepX.getShutdownDocum()!= null) { row.field("SHUTDOWN_DOCUM", "BAPIUPDATE", russiaGeneralTimeDepX.getShutdownDocum()); } if (russiaGeneralTimeDepX.getShutdownReason()!= null) { row.field("SHUTDOWN_REASON", "BAPIUPDATE", russiaGeneralTimeDepX.getShutdownReason()); } row.end(); } if (russiaPropTaxTimeDep!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_PTXTD", "BAPI1022_GLO_RUS_PTXTD"); if (russiaPropTaxTimeDep.getPrtAmredCode()!= null) { row.field("PRT_AMRED_CODE", "J_3RFAMOUNTRED", russiaPropTaxTimeDep.getPrtAmredCode()); } if (russiaPropTaxTimeDep.getPrtExCode()!= null) { row.field("PRT_EX_CODE", "J_3RFEXEMPTION", russiaPropTaxTimeDep.getPrtExCode()); } if (russiaPropTaxTimeDep.getPrtExReason()!= null) { row.field("PRT_EX_REASON", "J_3RF_EXEMPTION_REASON", russiaPropTaxTimeDep.getPrtExReason()); } if (russiaPropTaxTimeDep.getPrtPropTypen()!= null) { row.field("PRT_PROP_TYPEN", "J_3RFPROPTYPEN", russiaPropTaxTimeDep.getPrtPropTypen()); } if (russiaPropTaxTimeDep.getPrtRedCode()!= null) { row.field("PRT_RED_CODE", "J_3RFPRIVILEGE", russiaPropTaxTimeDep.getPrtRedCode()); } if (russiaPropTaxTimeDep.getPrtSpecCat()!= null) { row.field("PRT_SPEC_CAT", "J_3RF_PRTX_SPEC_CAT", russiaPropTaxTimeDep.getPrtSpecCat()); } if (russiaPropTaxTimeDep.getPrtTerrCode1()!= null) { row.field("PRT_TERR_CODE1", "J_3R_PRT_TERR_CODE1", russiaPropTaxTimeDep.getPrtTerrCode1()); } if (russiaPropTaxTimeDep.getPrtTerrCode2()!= null) { row.field("PRT_TERR_CODE2", "J_3R_PRT_TERR_CODE2", russiaPropTaxTimeDep.getPrtTerrCode2()); } if (russiaPropTaxTimeDep.getPrtTerrCode3()!= null) { row.field("PRT_TERR_CODE3", "J_3R_PRT_TERR_CODE3", russiaPropTaxTimeDep.getPrtTerrCode3()); } if (russiaPropTaxTimeDep.getPrtTerrCode4()!= null) { row.field("PRT_TERR_CODE4", "J_3R_PRT_TERR_CODE4", russiaPropTaxTimeDep.getPrtTerrCode4()); } row.end(); } if (russiaPropTaxTimeDepX!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_PTXTDX", "BAPI1022_GLO_RUS_PTXTDX"); if (russiaPropTaxTimeDepX.getPrtAmredCode()!= null) { row.field("PRT_AMRED_CODE", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtAmredCode()); } if (russiaPropTaxTimeDepX.getPrtExCode()!= null) { row.field("PRT_EX_CODE", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtExCode()); } if (russiaPropTaxTimeDepX.getPrtExReason()!= null) { row.field("PRT_EX_REASON", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtExReason()); } if (russiaPropTaxTimeDepX.getPrtPropTypen()!= null) { row.field("PRT_PROP_TYPEN", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtPropTypen()); } if (russiaPropTaxTimeDepX.getPrtRedCode()!= null) { row.field("PRT_RED_CODE", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtRedCode()); } if (russiaPropTaxTimeDepX.getPrtSpecCat()!= null) { row.field("PRT_SPEC_CAT", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtSpecCat()); } if (russiaPropTaxTimeDepX.getPrtTerrCode1()!= null) { row.field("PRT_TERR_CODE1", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtTerrCode1()); } if (russiaPropTaxTimeDepX.getPrtTerrCode2()!= null) { row.field("PRT_TERR_CODE2", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtTerrCode2()); } if (russiaPropTaxTimeDepX.getPrtTerrCode3()!= null) { row.field("PRT_TERR_CODE3", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtTerrCode3()); } if (russiaPropTaxTimeDepX.getPrtTerrCode4()!= null) { row.field("PRT_TERR_CODE4", "BAPIUPDATE", russiaPropTaxTimeDepX.getPrtTerrCode4()); } row.end(); } if (russiaTranspTaxTimeDep!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_TTXTD", "BAPI1022_GLO_RUS_TTXTD"); if (russiaTranspTaxTimeDep.getCancelDate()!= null) { row.field("CANCEL_DATE", "J_3RTREM", russiaTranspTaxTimeDep.getCancelDate()); } if (russiaTranspTaxTimeDep.getLicenseNum()!= null) { row.field("LICENSE_NUM", "LICENSE_NUM", russiaTranspTaxTimeDep.getLicenseNum()); } if (russiaTranspTaxTimeDep.getPowerUnit()!= null) { row.field("POWER_UNIT", "J_3R_POWER_UNIT", russiaTranspTaxTimeDep.getPowerUnit()); } if (russiaTranspTaxTimeDep.getPowerUnitIso()!= null) { row.field("POWER_UNIT_ISO", "J_3R_POWER_UN_ISO", russiaTranspTaxTimeDep.getPowerUnitIso()); } if (russiaTranspTaxTimeDep.getRegDate()!= null) { row.field("REG_DATE", "J_3RTREG", russiaTranspTaxTimeDep.getRegDate()); } if (russiaTranspTaxTimeDep.getReturnDate()!= null) { row.field("RETURN_DATE", "J_3RTDTBRB", russiaTranspTaxTimeDep.getReturnDate()); } if (russiaTranspTaxTimeDep.getTheftDate()!= null) { row.field("THEFT_DATE", "J_3RTDTBRA", russiaTranspTaxTimeDep.getTheftDate()); } if (russiaTranspTaxTimeDep.getTrtaxExemCode()!= null) { row.field("TRTAX_EXEM_CODE", "J_3RTNOTX", russiaTranspTaxTimeDep.getTrtaxExemCode()); } if (russiaTranspTaxTimeDep.getTrtaxRedCode()!= null) { row.field("TRTAX_RED_CODE", "J_3RTPREF", russiaTranspTaxTimeDep.getTrtaxRedCode()); } if (russiaTranspTaxTimeDep.getTrtAmredCode()!= null) { row.field("TRT_AMRED_CODE", "J_3R_AMTREDUCTION", russiaTranspTaxTimeDep.getTrtAmredCode()); } if (russiaTranspTaxTimeDep.getTrtPlatonReg()!= null) { row.field("TRT_PLATON_REG", "J_3R_TTAX_IN_PLATON_REGISTER", russiaTranspTaxTimeDep.getTrtPlatonReg()); } if (russiaTranspTaxTimeDep.getTrtTerrCode1()!= null) { row.field("TRT_TERR_CODE1", "J_3R_TRT_TERR_CODE1", russiaTranspTaxTimeDep.getTrtTerrCode1()); } if (russiaTranspTaxTimeDep.getTrtTerrCode2()!= null) { row.field("TRT_TERR_CODE2", "J_3R_TRT_TERR_CODE2", russiaTranspTaxTimeDep.getTrtTerrCode2()); } if (russiaTranspTaxTimeDep.getTrtTerrCode3()!= null) { row.field("TRT_TERR_CODE3", "J_3R_TRT_TERR_CODE3", russiaTranspTaxTimeDep.getTrtTerrCode3()); } if (russiaTranspTaxTimeDep.getTrtTerrCode4()!= null) { row.field("TRT_TERR_CODE4", "J_3R_TRT_TERR_CODE4", russiaTranspTaxTimeDep.getTrtTerrCode4()); } if (russiaTranspTaxTimeDep.getTrTaxBaseUnit()!= null) { row.field("TR_TAX_BASE_UNIT", "J_3RTXBUNIT", russiaTranspTaxTimeDep.getTrTaxBaseUnit()); } if (russiaTranspTaxTimeDep.getVehPriceCateg()!= null) { row.field("VEH_PRICE_CATEG", "J_3R_VPCATEGORY", russiaTranspTaxTimeDep.getVehPriceCateg()); } row.end(); } if (russiaTranspTaxTimeDepX!= null) { final ParameterFields row = query.withExportingFields("GLO_RUS_TTXTDX", "BAPI1022_GLO_RUS_TTXTDX"); if (russiaTranspTaxTimeDepX.getCancelDate()!= null) { row.field("CANCEL_DATE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getCancelDate()); } if (russiaTranspTaxTimeDepX.getLicenseNum()!= null) { row.field("LICENSE_NUM", "BAPIUPDATE", russiaTranspTaxTimeDepX.getLicenseNum()); } if (russiaTranspTaxTimeDepX.getPowerUnit()!= null) { row.field("POWER_UNIT", "BAPIUPDATE", russiaTranspTaxTimeDepX.getPowerUnit()); } if (russiaTranspTaxTimeDepX.getPowerUnitIso()!= null) { row.field("POWER_UNIT_ISO", "BAPIUPDATE", russiaTranspTaxTimeDepX.getPowerUnitIso()); } if (russiaTranspTaxTimeDepX.getRegDate()!= null) { row.field("REG_DATE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getRegDate()); } if (russiaTranspTaxTimeDepX.getReturnDate()!= null) { row.field("RETURN_DATE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getReturnDate()); } if (russiaTranspTaxTimeDepX.getTheftDate()!= null) { row.field("THEFT_DATE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTheftDate()); } if (russiaTranspTaxTimeDepX.getTrtaxExemCode()!= null) { row.field("TRTAX_EXEM_CODE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtaxExemCode()); } if (russiaTranspTaxTimeDepX.getTrtaxRedCode()!= null) { row.field("TRTAX_RED_CODE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtaxRedCode()); } if (russiaTranspTaxTimeDepX.getTrtAmredCode()!= null) { row.field("TRT_AMRED_CODE", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtAmredCode()); } if (russiaTranspTaxTimeDepX.getTrtPlatonReg()!= null) { row.field("TRT_PLATON_REG", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtPlatonReg()); } if (russiaTranspTaxTimeDepX.getTrtTerrCode1()!= null) { row.field("TRT_TERR_CODE1", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtTerrCode1()); } if (russiaTranspTaxTimeDepX.getTrtTerrCode2()!= null) { row.field("TRT_TERR_CODE2", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtTerrCode2()); } if (russiaTranspTaxTimeDepX.getTrtTerrCode3()!= null) { row.field("TRT_TERR_CODE3", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtTerrCode3()); } if (russiaTranspTaxTimeDepX.getTrtTerrCode4()!= null) { row.field("TRT_TERR_CODE4", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrtTerrCode4()); } if (russiaTranspTaxTimeDepX.getTrTaxBaseUnit()!= null) { row.field("TR_TAX_BASE_UNIT", "BAPIUPDATE", russiaTranspTaxTimeDepX.getTrTaxBaseUnit()); } if (russiaTranspTaxTimeDepX.getVehPriceCateg()!= null) { row.field("VEH_PRICE_CATEG", "BAPIUPDATE", russiaTranspTaxTimeDepX.getVehPriceCateg()); } row.end(); } if (japanImpairment!= null) { final ParameterFields row = query.withExportingFields("GLO_JP_IMPTD", "BAPI1022_GLO_JP_IMPTD"); if (japanImpairment.getImpairApc()!= null) { row.field("IMPAIR_APC", "GLO_JP_APC_13_2", japanImpairment.getImpairApc()); } if (japanImpairment.getImpairApc2()!= null) { row.field("IMPAIR_APC2", "GLO_JP_APC2_13_2", japanImpairment.getImpairApc2()); } if (japanImpairment.getImpairApc3()!= null) { row.field("IMPAIR_APC3", "GLO_JP_APC3_13_2", japanImpairment.getImpairApc3()); } if (japanImpairment.getImpairApc4()!= null) { row.field("IMPAIR_APC4", "GLO_JP_APC4_13_2", japanImpairment.getImpairApc4()); } if (japanImpairment.getImpairApc5()!= null) { row.field("IMPAIR_APC5", "GLO_JP_APC5_13_2", japanImpairment.getImpairApc5()); } if (japanImpairment.getImpairApc6()!= null) { row.field("IMPAIR_APC6", "GLO_JP_APC6_13_2", japanImpairment.getImpairApc6()); } if (japanImpairment.getImpairApc7()!= null) { row.field("IMPAIR_APC7", "GLO_JP_APC7_13_2", japanImpairment.getImpairApc7()); } if (japanImpairment.getImpairApc8()!= null) { row.field("IMPAIR_APC8", "GLO_JP_APC8_13_2", japanImpairment.getImpairApc8()); } if (japanImpairment.getImpairApc9()!= null) { row.field("IMPAIR_APC9", "GLO_JP_APC9_13_2", japanImpairment.getImpairApc9()); } if (japanImpairment.getImpairBookVal()!= null) { row.field("IMPAIR_BOOK_VAL", "GLO_JP_BAI_13_2", japanImpairment.getImpairBookVal()); } if (japanImpairment.getImpairBookVal2()!= null) { row.field("IMPAIR_BOOK_VAL2", "GLO_JP_BAI2_13_2", japanImpairment.getImpairBookVal2()); } if (japanImpairment.getImpairBookVal3()!= null) { row.field("IMPAIR_BOOK_VAL3", "GLO_JP_BAI3_13_2", japanImpairment.getImpairBookVal3()); } if (japanImpairment.getImpairBookVal4()!= null) { row.field("IMPAIR_BOOK_VAL4", "GLO_JP_BAI4_13_2", japanImpairment.getImpairBookVal4()); } if (japanImpairment.getImpairBookVal5()!= null) { row.field("IMPAIR_BOOK_VAL5", "GLO_JP_BAI5_13_2", japanImpairment.getImpairBookVal5()); } if (japanImpairment.getImpairBookVal6()!= null) { row.field("IMPAIR_BOOK_VAL6", "GLO_JP_BAI6_13_2", japanImpairment.getImpairBookVal6()); } if (japanImpairment.getImpairBookVal7()!= null) { row.field("IMPAIR_BOOK_VAL7", "GLO_JP_BAI7_13_2", japanImpairment.getImpairBookVal7()); } if (japanImpairment.getImpairBookVal8()!= null) { row.field("IMPAIR_BOOK_VAL8", "GLO_JP_BAI8_13_2", japanImpairment.getImpairBookVal8()); } if (japanImpairment.getImpairBookVal9()!= null) { row.field("IMPAIR_BOOK_VAL9", "GLO_JP_BAI9_13_2", japanImpairment.getImpairBookVal9()); } if (japanImpairment.getImpairPostDate()!= null) { row.field("IMPAIR_POST_DATE", "GLO_JP_DI", japanImpairment.getImpairPostDate()); } row.end(); } if (japanImpairmentX!= null) { final ParameterFields row = query.withExportingFields("GLO_JP_IMPTDX", "BAPI1022_GLO_JP_IMPTDX"); if (japanImpairmentX.getImpairApc()!= null) { row.field("IMPAIR_APC", "BAPIUPDATE", japanImpairmentX.getImpairApc()); } if (japanImpairmentX.getImpairApc2()!= null) { row.field("IMPAIR_APC2", "BAPIUPDATE", japanImpairmentX.getImpairApc2()); } if (japanImpairmentX.getImpairApc3()!= null) { row.field("IMPAIR_APC3", "BAPIUPDATE", japanImpairmentX.getImpairApc3()); } if (japanImpairmentX.getImpairApc4()!= null) { row.field("IMPAIR_APC4", "BAPIUPDATE", japanImpairmentX.getImpairApc4()); } if (japanImpairmentX.getImpairApc5()!= null) { row.field("IMPAIR_APC5", "BAPIUPDATE", japanImpairmentX.getImpairApc5()); } if (japanImpairmentX.getImpairApc6()!= null) { row.field("IMPAIR_APC6", "BAPIUPDATE", japanImpairmentX.getImpairApc6()); } if (japanImpairmentX.getImpairApc7()!= null) { row.field("IMPAIR_APC7", "BAPIUPDATE", japanImpairmentX.getImpairApc7()); } if (japanImpairmentX.getImpairApc8()!= null) { row.field("IMPAIR_APC8", "BAPIUPDATE", japanImpairmentX.getImpairApc8()); } if (japanImpairmentX.getImpairApc9()!= null) { row.field("IMPAIR_APC9", "BAPIUPDATE", japanImpairmentX.getImpairApc9()); } if (japanImpairmentX.getImpairBookVal()!= null) { row.field("IMPAIR_BOOK_VAL", "BAPIUPDATE", japanImpairmentX.getImpairBookVal()); } if (japanImpairmentX.getImpairBookVal2()!= null) { row.field("IMPAIR_BOOK_VAL2", "BAPIUPDATE", japanImpairmentX.getImpairBookVal2()); } if (japanImpairmentX.getImpairBookVal3()!= null) { row.field("IMPAIR_BOOK_VAL3", "BAPIUPDATE", japanImpairmentX.getImpairBookVal3()); } if (japanImpairmentX.getImpairBookVal4()!= null) { row.field("IMPAIR_BOOK_VAL4", "BAPIUPDATE", japanImpairmentX.getImpairBookVal4()); } if (japanImpairmentX.getImpairBookVal5()!= null) { row.field("IMPAIR_BOOK_VAL5", "BAPIUPDATE", japanImpairmentX.getImpairBookVal5()); } if (japanImpairmentX.getImpairBookVal6()!= null) { row.field("IMPAIR_BOOK_VAL6", "BAPIUPDATE", japanImpairmentX.getImpairBookVal6()); } if (japanImpairmentX.getImpairBookVal7()!= null) { row.field("IMPAIR_BOOK_VAL7", "BAPIUPDATE", japanImpairmentX.getImpairBookVal7()); } if (japanImpairmentX.getImpairBookVal8()!= null) { row.field("IMPAIR_BOOK_VAL8", "BAPIUPDATE", japanImpairmentX.getImpairBookVal8()); } if (japanImpairmentX.getImpairBookVal9()!= null) { row.field("IMPAIR_BOOK_VAL9", "BAPIUPDATE", japanImpairmentX.getImpairBookVal9()); } if (japanImpairmentX.getImpairPostDate()!= null) { row.field("IMPAIR_POST_DATE", "BAPIUPDATE", japanImpairmentX.getImpairPostDate()); } row.end(); } if ((depreciationAreas!= null)&&depreciationAreas.iterator().hasNext()) { final Table table = query.withTable("DEPRECIATIONAREAS", "BAPI1022_DEP_AREAS"); for (FixedAssetDepreciationArea item: depreciationAreas) { final TableRow row = table.row(); if (item.getAcqPrd()!= null) { row.field("ACQ_PRD", "BF_VMNTH", item.getAcqPrd()); } if (item.getAcqYr()!= null) { row.field("ACQ_YR", "BF_VYEAR", item.getAcqYr()); } if (item.getAgeIndex()!= null) { row.field("AGE_INDEX", "BF_ALIND", item.getAgeIndex()); } if (item.getArea()!= null) { row.field("AREA", "BF_AFABE_D", item.getArea()); } if (item.getChangeYr()!= null) { row.field("CHANGE_YR", "BF_UMJAR", item.getChangeYr()); } if (item.getCurrency()!= null) { row.field("CURRENCY", "WAERS", item.getCurrency()); } if (item.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "WAERS_ISO", item.getCurrencyIso()); } if (item.getDeactivate()!= null) { row.field("DEACTIVATE", "BF_XAFBE", item.getDeactivate()); } if (item.getDepKey()!= null) { row.field("DEP_KEY", "BF_AFASL", item.getDepKey()); } if (item.getDepUnits()!= null) { row.field("DEP_UNITS", "RSTCK", item.getDepUnits()); } if (item.getDescript()!= null) { row.field("DESCRIPT", "AFBKTX", item.getDescript()); } if (item.getExpUlifePrds()!= null) { row.field("EXP_ULIFE_PRDS", "BF_NDABP", item.getExpUlifePrds()); } if (item.getExpUlifeSdepPrds()!= null) { row.field("EXP_ULIFE_SDEP_PRDS", "BF_ANDSP", item.getExpUlifeSdepPrds()); } if (item.getExpUlifeSdepYrs()!= null) { row.field("EXP_ULIFE_SDEP_YRS", "BF_ANDSJ", item.getExpUlifeSdepYrs()); } if (item.getExpUlifeYrs()!= null) { row.field("EXP_ULIFE_YRS", "BF_NDABJ", item.getExpUlifeYrs()); } if (item.getFromDate()!= null) { row.field("FROM_DATE", "BF_ADATU", item.getFromDate()); } if (item.getGrpAsset()!= null) { row.field("GRP_ASSET", "BF_ANLGR", item.getGrpAsset()); } if (item.getGrpAssetSubno()!= null) { row.field("GRP_ASSET_SUBNO", "BF_ANLGR2", item.getGrpAssetSubno()); } if (item.getIndex()!= null) { row.field("INDEX", "BF_WBIND", item.getIndex()); } if (item.getInterestStartDate()!= null) { row.field("INTEREST_START_DATE", "BF_ZINBG", item.getInterestStartDate()); } if (item.getNegValues()!= null) { row.field("NEG_VALUES", "BF_XNEGA", item.getNegValues()); } if (item.getOdepStartDate()!= null) { row.field("ODEP_START_DATE", "BF_AFABG", item.getOdepStartDate()); } if (item.getOrigUlifePrds()!= null) { row.field("ORIG_ULIFE_PRDS", "BF_NDURP", item.getOrigUlifePrds()); } if (item.getOrigUlifeYrs()!= null) { row.field("ORIG_ULIFE_YRS", "BF_NDURJ", item.getOrigUlifeYrs()); } if (item.getReadiness()!= null) { row.field("READINESS", "BF_INBDA", item.getReadiness()); } if (item.getScrapvalue()!= null) { row.field("SCRAPVALUE", "BF_SCHRW", item.getScrapvalue()); } if (item.getScrapvaluePrctg()!= null) { row.field("SCRAPVALUE_PRCTG", "SCHRW_PROZ", item.getScrapvaluePrctg()); } if (item.getSdepStartDate()!= null) { row.field("SDEP_START_DATE", "BF_SAFBG", item.getSdepStartDate()); } if (item.getToDate()!= null) { row.field("TO_DATE", "BF_BDATU", item.getToDate()); } if (item.getUlifePrds()!= null) { row.field("ULIFE_PRDS", "BF_NDPER", item.getUlifePrds()); } if (item.getUlifeYrs()!= null) { row.field("ULIFE_YRS", "BF_NDJAR", item.getUlifeYrs()); } if (item.getVarDepPortion()!= null) { row.field("VAR_DEP_PORTION", "BF_APROP", item.getVarDepPortion()); } } table.end(); } if ((depreciationAreasX!= null)&&depreciationAreasX.iterator().hasNext()) { final Table table = query.withTable("DEPRECIATIONAREASX", "BAPI1022_DEP_AREASX"); for (FixedAssetChangeDepreciationArea item: depreciationAreasX) { final TableRow row = table.row(); if (item.getAcqPrd()!= null) { row.field("ACQ_PRD", "BAPIUPDATE", item.getAcqPrd()); } if (item.getAcqYr()!= null) { row.field("ACQ_YR", "BAPIUPDATE", item.getAcqYr()); } if (item.getAgeIndex()!= null) { row.field("AGE_INDEX", "BAPIUPDATE", item.getAgeIndex()); } if (item.getArea()!= null) { row.field("AREA", "BF_AFABE_D", item.getArea()); } if (item.getChangeYr()!= null) { row.field("CHANGE_YR", "BAPIUPDATE", item.getChangeYr()); } if (item.getCurrency()!= null) { row.field("CURRENCY", "BAPIUPDATE", item.getCurrency()); } if (item.getCurrencyIso()!= null) { row.field("CURRENCY_ISO", "BAPIUPDATE", item.getCurrencyIso()); } if (item.getDeactivate()!= null) { row.field("DEACTIVATE", "BAPIUPDATE", item.getDeactivate()); } if (item.getDepKey()!= null) { row.field("DEP_KEY", "BAPIUPDATE", item.getDepKey()); } if (item.getDepUnits()!= null) { row.field("DEP_UNITS", "BAPIUPDATE", item.getDepUnits()); } if (item.getDescript()!= null) { row.field("DESCRIPT", "BAPIUPDATE", item.getDescript()); } if (item.getExpUlifePrds()!= null) { row.field("EXP_ULIFE_PRDS", "BAPIUPDATE", item.getExpUlifePrds()); } if (item.getExpUlifeSdepPrds()!= null) { row.field("EXP_ULIFE_SDEP_PRDS", "BAPIUPDATE", item.getExpUlifeSdepPrds()); } if (item.getExpUlifeSdepYrs()!= null) { row.field("EXP_ULIFE_SDEP_YRS", "BAPIUPDATE", item.getExpUlifeSdepYrs()); } if (item.getExpUlifeYrs()!= null) { row.field("EXP_ULIFE_YRS", "BAPIUPDATE", item.getExpUlifeYrs()); } if (item.getFromDate()!= null) { row.field("FROM_DATE", "BAPIUPDATE", item.getFromDate()); } if (item.getGrpAsset()!= null) { row.field("GRP_ASSET", "BAPIUPDATE", item.getGrpAsset()); } if (item.getGrpAssetSubno()!= null) { row.field("GRP_ASSET_SUBNO", "BAPIUPDATE", item.getGrpAssetSubno()); } if (item.getIndex()!= null) { row.field("INDEX", "BAPIUPDATE", item.getIndex()); } if (item.getInterestStartDate()!= null) { row.field("INTEREST_START_DATE", "BAPIUPDATE", item.getInterestStartDate()); } if (item.getNegValues()!= null) { row.field("NEG_VALUES", "BAPIUPDATE", item.getNegValues()); } if (item.getOdepStartDate()!= null) { row.field("ODEP_START_DATE", "BAPIUPDATE", item.getOdepStartDate()); } if (item.getOrigUlifePrds()!= null) { row.field("ORIG_ULIFE_PRDS", "BAPIUPDATE", item.getOrigUlifePrds()); } if (item.getOrigUlifeYrs()!= null) { row.field("ORIG_ULIFE_YRS", "BAPIUPDATE", item.getOrigUlifeYrs()); } if (item.getReadiness()!= null) { row.field("READINESS", "BAPIUPDATE", item.getReadiness()); } if (item.getScrapvalue()!= null) { row.field("SCRAPVALUE", "BAPIUPDATE", item.getScrapvalue()); } if (item.getScrapvaluePrctg()!= null) { row.field("SCRAPVALUE_PRCTG", "BAPIUPDATE", item.getScrapvaluePrctg()); } if (item.getSdepStartDate()!= null) { row.field("SDEP_START_DATE", "BAPIUPDATE", item.getSdepStartDate()); } if (item.getToDate()!= null) { row.field("TO_DATE", "BAPIUPDATE", item.getToDate()); } if (item.getUlifePrds()!= null) { row.field("ULIFE_PRDS", "BAPIUPDATE", item.getUlifePrds()); } if (item.getUlifeYrs()!= null) { row.field("ULIFE_YRS", "BAPIUPDATE", item.getUlifeYrs()); } if (item.getVarDepPortion()!= null) { row.field("VAR_DEP_PORTION", "BAPIUPDATE", item.getVarDepPortion()); } } table.end(); } if ((extensionIn!= null)&&extensionIn.iterator().hasNext()) { final Table table = query.withTable("EXTENSIONIN", "BAPIPAREX"); for (RefStructureForParameterExtensioninExtensionout item: extensionIn) { final TableRow row = table.row(); if (item.getStructure()!= null) { row.field("STRUCTURE", "TE_STRUC", item.getStructure()); } if (item.getValuepart1()!= null) { row.field("VALUEPART1", "VALUEPART", item.getValuepart1()); } if (item.getValuepart2()!= null) { row.field("VALUEPART2", "VALUEPART", item.getValuepart2()); } if (item.getValuepart3()!= null) { row.field("VALUEPART3", "VALUEPART", item.getValuepart3()); } if (item.getValuepart4()!= null) { row.field("VALUEPART4", "VALUEPART", item.getValuepart4()); } } table.end(); } if ((investmentSupport!= null)&&investmentSupport.iterator().hasNext()) { final Table table = query.withTable("INVESTMENT_SUPPORT", "BAPI1022_INV_SUPPORT"); for (FixedAssetInvestmentSupportKey item: investmentSupport) { final TableRow row = table.row(); if (item.getChangeInd()!= null) { row.field("CHANGE_IND", "CDCHNGIND", item.getChangeInd()); } if (item.getInvSupportKey()!= null) { row.field("INV_SUPPORT_KEY", "INVSL", item.getInvSupportKey()); } } table.end(); } query.withImportingAsReturn("RETURN", "BAPIRET2"); return query; } /** * {@inheritDoc} * */ @Override @Nonnull @Tolerate public FixedAssetChangeFunction depreciationAreas(FixedAssetDepreciationArea... items) { depreciationAreas = Lists.newArrayList(items); return this; } /** * {@inheritDoc} * */ @Override @Nonnull @Tolerate public FixedAssetChangeFunction depreciationAreasX(FixedAssetChangeDepreciationArea... items) { depreciationAreasX = Lists.newArrayList(items); return this; } /** * {@inheritDoc} * */ @Override @Nonnull @Tolerate public FixedAssetChangeFunction extensionIn(RefStructureForParameterExtensioninExtensionout... items) { extensionIn = Lists.newArrayList(items); return this; } /** * {@inheritDoc} * */ @Override @Nonnull @Tolerate public FixedAssetChangeFunction investmentSupport(FixedAssetInvestmentSupportKey... items) { investmentSupport = Lists.newArrayList(items); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy