I_LEDGERCOMPANYCODECRCYROLES
Currency Roles for Ledger
I_LEDGERCOMPANYCODECRCYROLES is a CDS View in S/4HANA. Currency Roles for Ledger. It contains 17 fields. 145 CDS views read from this table.
CDS Views using this table (145)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_LedgerCompanyCodeCrcyRoles | view | from | CONSUMPTION | Currency role info on Ledger and Company Code |
| FAA_CalctDrvdAreaValnVws | view | inner | Calculate Derived Area Valuation Views | |
| FAA_UPA_MIG_BAL_DOC | view_entity | inner | Asset documents | |
| FAA_UPA_MIG_BAL_ODOC | view_entity | inner | Old asset documents | |
| FAA_UPA_MIG_BAL_PLAN | view_entity | inner | Asset plan values | |
| FAA_UPA_MIG_DA_MATH_FMLA | view_entity | inner | Mathematical formula | |
| FAC_AUDIT_Z3_ASSET_CHGDOC | view | left_outer | Asset Master change document | |
| FAC_AUDIT_Z3_ASSET_MASTER | view | inner | Asset Master | |
| FAC_AUDIT_Z3_BANK_REC_MASTER | view | inner | Bank Account Master Data | |
| FAC_AUDIT_Z3_BILLHDRITEM | view | inner | Billing Document Header & Item | |
| FAC_AUDIT_Z3_Customer_change | view | left_outer | Customer Change Document | |
| FAC_AUDIT_Z3_MATERIAL_CHGDOC | view | left_outer | Material Change Document | |
| FAC_AUDIT_Z3_MATERIAL_ITEM | view | inner | Material items | |
| FAC_AUDIT_Z3_MATERIAL_MASTER | view | inner | Material master | |
| FAC_AUDIT_Z3_PRICEELEMENT | view | inner | Pricing Element | |
| FAC_AUDIT_Z3_PROPOSE_TAX_VIEW | view | inner | Tax Proposal Posting View Based | |
| FAC_AUDIT_Z3_PURCHASEORDERITEM | view | inner | Purchase Order Item | |
| FAC_AUDIT_Z3_SALESHDRITM | view | inner | Sales Document Header & Items | |
| FAC_DART_Z3_AP_LINEITEM | view | inner | Account Payable - Line Items | |
| FAC_DART_Z3_AP_OPENITEM | view | inner | DART Z3 Account Payable - Open Items | |
| FAC_DART_Z3_AR_LINEITEM | view | inner | Account Receivable - Line Items | |
| FAC_DART_Z3_AR_OPENITEM | view | inner | Audit Z3 Account Receivable - Open Items | |
| FAC_DART_Z3_COSTCENTER | view | inner | Cost Center Master Data | |
| FAC_DART_Z3_FISCALVARIANT | view | inner | Fiscal period for variant | |
| FAC_DART_Z3_GL_LEDGER_ITEM | view | inner | Audit Z3 G/L Accounts-Line Items | |
| FAC_DART_Z3_GLACCOUNT_CHGDOC | view | left_outer | G/L account change document | |
| FAC_DART_Z3_JournalEnty_CHGDOC | view | left_outer | Journal Entry Change Document | |
| FAC_DART_Z3_MATLINVTRY_LINEITM | view | inner | Material Inventory Line Item | |
| FAC_DART_Z3_PROFITCENTER | view | inner | Profit Center | |
| FAC_DART_Z3_SALES_LINEITEM | view | inner | Sales Documents - Line Items | |
| FAC_DART_Z3_TAX_LINEITEM | view | inner | Tax - Line Items | |
| FAC_DART_Z3_VNDRCHGDOC | view | inner | Vendor change Document | |
| FAC_DART_Z3_WIP_LINEITEM | view | inner | DART Z3 WIP Line Item | |
| FAC_DART_Z3_WIP_LINEITEM_FP0 | view | inner | DART Z3 WIP Line Item | |
| fiscds_rldnr_vh | view | from | Currencies for company Code and ledger | |
| I_ActualAssetBalWithTmpPlanVal | view_entity | left_outer | COMPOSITE | Actual asset balance with temp. plan values |
| I_CoCodeLedgerSourceLedger | view_entity | from | BASIC | Company Code Assignment of Ledgers |
| I_CurrencyTypesCorrespnc | view | from | COMPOSITE | Currency Types for Correspondence |
| I_DeprAreaByCoCodeWithCrcyRole | view | left_outer | COMPOSITE | Depreciation Areas of Company Code with Currency Role |
| I_FiscalCalendarDateForLedger | view | inner | COMPOSITE | Fiscal Calendar Dates for Ledger |
| I_FixedAssetPlanValue | view | inner | BASIC | Fixed Asset Plan Values |
| I_FixedAssetTmpPlanVal | view | inner | BASIC | Fixed Asset Temporary Plan Values |
| I_FixedAssetValue | view | inner | COMPOSITE | I_FixedAssetValue |
| I_FixedAssetValueForToFsclPerd | view | inner | COMPOSITE | Fixed Asset Values |
| I_FixedAssetValWithTmpPlanVal | view | left_outer | COMPOSITE | Fixed Asset values with temp. plan values |
| I_FsclDateFuncRangeFiscalValue | view | inner | COMPOSITE | Fiscal Time Ranges for Range of Fiscal Date Function |
| I_FsclDateFuncRangeForLedger | view | inner | COMPOSITE | Fiscal Date Function for Ledger |
| I_FxdAstLineItemWithCrcyRole | view | inner | COMPOSITE | Fixed Asset Line Items with currency role |
| I_JVADefaultFundCrcy | view | inner | COMPOSITE | JVA Default Funding Currencies |
| I_JVAFundCrcyByLoclCrcy | view | inner | COMPOSITE | JVA Funding Currencies by local currency |
| I_LdgrCoCodeCrcyRolesStdVH | view | from | COMPOSITE | Currency Roles for Ledger |
| I_LdgrCompanyCodeCurrencyRole | view_entity | from | COMPOSITE | Currency Role in Ledger and Company Code |
| I_LdgrCompanyCodeCurrencyRole | view_entity | union_all | COMPOSITE | Currency Role in Ledger and Company Code |
| I_LedgerCoCode | view | from | COMPOSITE | Company Code Settings for Ledger |
| I_LedgerCompanyCodeCrcyRoleVH | view | from | COMPOSITE | Currency Roles for Ledger |
| I_LedgerCompanyCodeVH | view | from | COMPOSITE | Company Codes for Ledger |
| I_RAJournalEntryItem | view_entity | inner | COMPOSITE | Revenue Accounting VDM Extending ACDOCA |
| I_StatementOfChanges | view | inner | COMPOSITE | Statement of Changes line items |
| P_AcctgPrncpGLAccountLineItem | view | inner | BASIC | |
| P_AnalyticalAgingIncrement | view | from | COMPOSITE | |
| P_AssetBalanceCube2 | view_entity | from | COMPOSITE | |
| P_AssetBalanceCube2 | view_entity | union_all | COMPOSITE | |
| P_AssetHistorySheetCube3 | view_entity | union_all | COMPOSITE | |
| P_AssetHistorySheetCube4 | view_entity | from | COMPOSITE | |
| P_AssetLdgrCoCodeCrcyRoles2 | view | from | COMPOSITE | |
| P_AssetLdgrCoCodeCrcyRoles2 | view | union_all | COMPOSITE | |
| P_AstNetBookBalWthAllAreas1 | view | inner | CONSUMPTION | |
| P_BalanceSheetCurrencyRole | view | from | COMPOSITE | |
| P_BalanceSheetCurrencyRole | view | union_all | COMPOSITE | |
| P_CCLdgrShiftedPeriods | view | inner | BASIC | |
| P_CCLdgrShiftedPrevYearPer | view | inner | BASIC | |
| P_CCLdngLdgrPerDates | view | inner | BASIC | |
| P_CCLdngLdgrPeriodDates | view | inner | BASIC | |
| P_CrcyRoleForLedgerCompanyCode | view_entity | from | COMPOSITE | Currency Role for Ledger Company Code |
| P_CrcyRoleForLedgerCompanyCode | view_entity | union_all | COMPOSITE | Currency Role for Ledger Company Code |
| P_CurrencyRoleForCompanyCode | view | from | BASIC | |
| P_CurrencyRoleForCompanyCode | view | union_all | BASIC | |
| P_DrctCarryFwdDeltaPostgByQ | view | inner | COMPOSITE | |
| P_EBCostEstimate | view | inner | COMPOSITE | |
| P_EBOC_ActualCost2 | view | inner | COMPOSITE | |
| P_EBOC_EventBasedVariance2 | view | inner | COMPOSITE | |
| P_EBOC_MaterialCostEstimate2 | view | inner | COMPOSITE | |
| P_EBOC_OrderPlanCost2 | view | inner | COMPOSITE | |
| P_EBOC_PlanCostEstimate2 | view | inner | COMPOSITE | |
| P_EBOC_Variance2 | view | inner | COMPOSITE | |
| P_EBOC_WIP2 | view | inner | COMPOSITE | |
| P_EBOrderActualCost2 | view | inner | COMPOSITE | |
| P_EBOrderPlanCost2 | view | inner | COMPOSITE | |
| P_EBOrderSplitVarianceCost2 | view | inner | COMPOSITE | |
| P_EBOrderVarianceCost2 | view | inner | COMPOSITE | |
| P_EBOrderWIPCost2 | view | inner | COMPOSITE | |
| P_EBPAO_ActualCost | view | inner | COMPOSITE | |
| P_EBPAO_ActualCostDebitKPI2 | view | inner | COMPOSITE | |
| P_EBPAO_ActualCostDebitWC | view | inner | COMPOSITE | |
| P_EBPAO_ActualCostTrend | view | inner | COMPOSITE | |
| P_EBPAO_ActualDebitByCrcyRole | view | inner | COMPOSITE | |
| P_EBPAO_NonJointProdnActlCost | view | inner | COMPOSITE | |
| P_EBPAO_OrdPlanCostByCrcyRole | view | inner | COMPOSITE | |
| P_EBPAO_PCCActlCost | view | inner | COMPOSITE | |
| P_EBPAO_PCCActualCost2 | view | inner | COMPOSITE | |
| P_EBPAO_PCCActualCostDebitKPI2 | view | inner | COMPOSITE | |
| P_EBPAO_PCCActualCostDebitWC2 | view | inner | COMPOSITE | |
| P_EBPAO_PCCActualCostTrend | view | inner | COMPOSITE | |
| P_EBPAO_PCCProductionCost | view | inner | COMPOSITE | |
| P_EBPAO_PlanCost | view | inner | COMPOSITE | |
| P_EBPAO_PlanCostDebitWC | view | inner | COMPOSITE | |
| P_EBPAO_TR_PlanCostDebit | view | inner | COMPOSITE | |
| P_EBPAO_TR_TotalVariance2 | view | inner | COMPOSITE | |
| P_EBPAO_TR_VarianceByType2 | view | inner | COMPOSITE | |
| P_EBPAO_VarianceOverview2 | view | inner | COMPOSITE | |
| P_EBPAO_VarianceTrend2 | view | inner | COMPOSITE | |
| P_EBPAO_WIPOverview2 | view | inner | COMPOSITE | |
| P_EBPAO_WIPTrend2 | view | inner | COMPOSITE | |
| P_EBPC_COGM_ActualCost | view | inner | COMPOSITE | |
| P_EBPCC_ActualCost2 | view | inner | COMPOSITE | |
| P_EBPCC_ActualCost4Info | view | inner | COMPOSITE | |
| P_EBWIP_MaterialCostEstimate2 | view | inner | COMPOSITE | |
| P_EBWIP_ProductionCost2 | view | inner | COMPOSITE | |
| P_EBWIP_WIP2 | view | inner | COMPOSITE | |
| P_FixedAssetDepreciationList2 | view_entity | from | COMPOSITE | |
| P_FixedAssetDepreciationList2 | view_entity | union_all | COMPOSITE | |
| P_FixedAssetTransaction2 | view_entity | from | COMPOSITE | |
| P_GLAcctBalance01 | view | inner | COMPOSITE | |
| P_GLAcctBalbyPeriod01 | view_entity | inner | COMPOSITE | |
| P_IT_StRpFxdAstRegDeprArea | view | left_outer | CONSUMPTION | IT FxdAst Reg. - Depr.area at FY per.end |
| P_LdngLdgrGlobCrcyTranslation | view_entity | from | BASIC | |
| P_LedgerCompanyCode | view | from | BASIC | |
| P_LedgerCompanyCodeCrcyRoles2 | view | from | COMPOSITE | |
| P_LedgerCompanyCodeCrcyRoles2 | view | union_all | COMPOSITE | |
| P_LedgerCompanyCurrencyBranch | view | from | COMPOSITE | |
| P_LedgerCompanyCurrencyBranch | view | union_all | COMPOSITE | |
| P_MfgOrderEvtBsdVariance2 | view | inner | COMPOSITE | |
| P_MfgOrderEvtBsdWIP2 | view | inner | COMPOSITE | |
| P_MfgOrdPlanCost1 | view | left_outer | COMPOSITE | |
| P_MfgOrdPlanCost1V2 | view | inner | COMPOSITE | |
| P_MfgOrdPlanCostByLdgr1V2 | view | inner | COMPOSITE | |
| P_MfgOrdPlanCostByLdgr2V2 | view | inner | COMPOSITE | |
| P_ML_CoCode_Ledger_BCF | view_entity | from | COMPOSITE | |
| P_PCCCostEstimateItem1V2 | view | inner | COMPOSITE | |
| P_ProcessedImpairmentLineItem | view | inner | COMPOSITE | |
| P_RealTimeMfgOrderPostedKPI | view | inner | COMPOSITE | |
| P_RealTimeMfgOrderToBePostKPI1 | view | inner | COMPOSITE | |
| P_RTPC_REM_OrderPostedKPI | view | inner | COMPOSITE | |
| R_JrnlEntrLdgrCoCodeCrcyRole | view_entity | from | COMPOSITE | Ledger Company Code Currency Role for MJE |
| R_JrnlEntrLdgrCoCodeCrcyRole | view_entity | union_all | COMPOSITE | Ledger Company Code Currency Role for MJE |
Fields (17)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AccountingPrinciple | AccountingPrinciple | 11 |
| KEY | CompanyCode | bukrs,CompanyCode | 12 |
| KEY | Ledger | Ledger,rldnr | 12 |
| _CompanyCode | _CompanyCode | 1 | |
| _Ledger | _Ledger | 1 | |
| CompanyCodeCurrencyRole | CompanyCodeCurrencyRole | 17 | |
| FiscalYearVariant | FiscalYearVariant | 36 | |
| FreeDefinedCurrency1Role | FreeDefinedCurrency1Role | 17 | |
| FreeDefinedCurrency2Role | FreeDefinedCurrency2Role | 17 | |
| FreeDefinedCurrency3Role | FreeDefinedCurrency3Role | 17 | |
| FreeDefinedCurrency4Role | FreeDefinedCurrency4Role | 15 | |
| FreeDefinedCurrency5Role | FreeDefinedCurrency5Role | 15 | |
| FreeDefinedCurrency6Role | FreeDefinedCurrency6Role | 15 | |
| FreeDefinedCurrency7Role | FreeDefinedCurrency7Role | 15 | |
| FreeDefinedCurrency8Role | FreeDefinedCurrency8Role | 15 | |
| FunctionalCurrencyRole | FunctionalCurrencyRole | 8 | |
| GlobalCurrencyRole | GlobalCurrencyRole | 19 |
@AbapCatalog: { sqlViewName: 'ILDGRCOMPCOCR',
compiler.compareFilter: true,
preserveKey: true,
buffering.status: #NOT_ALLOWED }
@AccessControl.authorizationCheck: #CHECK
@Analytics: {dataCategory: #DIMENSION, dataExtraction.enabled: true}
@VDM.viewType: #BASIC
@ObjectModel: {usageType.sizeCategory: #S,
usageType.dataClass: #MASTER,
usageType.serviceQuality: #A,
representativeKey: 'CompanyCode',
supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE],
modelingPattern: #ANALYTICAL_DIMENSION }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Currency Roles for Ledger'
@Metadata.allowExtensions:true
define view I_LedgerCompanyCodeCrcyRoles as select from finsc_ld_cmp
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..1] to I_Ledger as _Ledger on $projection.Ledger = _Ledger.Ledger
association [0..1] to I_CurrencyRole as _CompanyCodeCurrencyRole on $projection.CompanyCodeCurrencyRole = _CompanyCodeCurrencyRole.CurrencyRole
association [0..1] to I_CurrencyRole as _GlobalCurrencyRole on $projection.GlobalCurrencyRole = _GlobalCurrencyRole.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency1Role on $projection.FreeDefinedCurrency1Role = _FreeDefinedCurrency1Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency2Role on $projection.FreeDefinedCurrency2Role = _FreeDefinedCurrency2Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency3Role on $projection.FreeDefinedCurrency3Role = _FreeDefinedCurrency3Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency4Role on $projection.FreeDefinedCurrency4Role = _FreeDefinedCurrency4Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency5Role on $projection.FreeDefinedCurrency5Role = _FreeDefinedCurrency5Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency6Role on $projection.FreeDefinedCurrency6Role = _FreeDefinedCurrency6Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency7Role on $projection.FreeDefinedCurrency7Role = _FreeDefinedCurrency7Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FreeDefinedCurrency8Role on $projection.FreeDefinedCurrency8Role = _FreeDefinedCurrency8Role.CurrencyRole
association [0..1] to I_CurrencyRole as _FunctionalCurrencyRole on $projection.FunctionalCurrencyRole = _FunctionalCurrencyRole.CurrencyRole
association [0..1] to I_FiscalYearVariant as _FiscalYearVariant on $projection.FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant
association [0..1] to I_AccountingPrinciple as _AccountingPrinciple on $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple
association [0..1] to I_Companycodecurrencyrole as _CoCodeCurrencyRoleCurrency on $projection.CompanyCodeCurrencyRole = _CoCodeCurrencyRoleCurrency.CurrencyRole
and $projection.CompanyCode = _CoCodeCurrencyRoleCurrency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _GlobalCurrencyRoleCurrency on $projection.GlobalCurrencyRole = _GlobalCurrencyRoleCurrency.CurrencyRole
and $projection.CompanyCode = _GlobalCurrencyRoleCurrency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole1Currency on $projection.FreeDefinedCurrency1Role = _FreeDfndCrcyRole1Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole1Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole2Currency on $projection.FreeDefinedCurrency2Role = _FreeDfndCrcyRole2Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole2Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole3Currency on $projection.FreeDefinedCurrency3Role = _FreeDfndCrcyRole3Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole3Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole4Currency on $projection.FreeDefinedCurrency4Role = _FreeDfndCrcyRole4Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole4Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole5Currency on $projection.FreeDefinedCurrency5Role = _FreeDfndCrcyRole5Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole5Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole6Currency on $projection.FreeDefinedCurrency6Role = _FreeDfndCrcyRole6Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole6Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole7Currency on $projection.FreeDefinedCurrency7Role = _FreeDfndCrcyRole7Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole7Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FreeDfndCrcyRole8Currency on $projection.FreeDefinedCurrency8Role = _FreeDfndCrcyRole8Currency.CurrencyRole
and $projection.CompanyCode = _FreeDfndCrcyRole8Currency.CompanyCode
association [0..1] to I_Companycodecurrencyrole as _FunctionalCrcyRoleCurrency on $projection.FunctionalCurrencyRole = _FunctionalCrcyRoleCurrency.CurrencyRole
and $projection.CompanyCode = _FunctionalCrcyRoleCurrency.CompanyCode
{
@ObjectModel.foreignKey.association: '_Ledger'
key finsc_ld_cmp.rldnr as Ledger,
@ObjectModel.foreignKey.association: '_CompanyCode'
key finsc_ld_cmp.bukrs as CompanyCode,
periv as FiscalYearVariant,
cast(finsc_ld_cmp.curtph as fis_cc_currole preserving type ) as CompanyCodeCurrencyRole,
cast(finsc_ld_cmp.curtpk as fis_gc_currole preserving type ) as GlobalCurrencyRole,
// Free Defined Currency 1
cast(finsc_ld_cmp.curtpo as fis_fdc1_currole preserving type ) as FreeDefinedCurrency1Role,
// Free Defined Currency 2
cast(finsc_ld_cmp.curtpv as fis_fdc2_currole preserving type ) as FreeDefinedCurrency2Role,
// Free Defined Currency 3
cast(finsc_ld_cmp.curtpb as fis_fdc3_currole preserving type ) as FreeDefinedCurrency3Role,
// Free Defined Currency 4
cast(finsc_ld_cmp.curtpc as fis_fdc4_currole preserving type ) as FreeDefinedCurrency4Role,
// Free Defined Currency 5
cast(finsc_ld_cmp.curtpd as fis_fdc5_currole preserving type ) as FreeDefinedCurrency5Role,
// Free Defined Currency 6
cast(finsc_ld_cmp.curtpe as fis_fdc6_currole preserving type ) as FreeDefinedCurrency6Role,
// Free Defined Currency 7
cast(finsc_ld_cmp.curtpf as fis_fdc7_currole preserving type ) as FreeDefinedCurrency7Role,
// Free Defined Currency 8
cast(finsc_ld_cmp.curtpg as fis_fdc8_currole preserving type ) as FreeDefinedCurrency8Role,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_AccountingPrinciple'
cast(finsc_ld_cmp.acc_principle as accounting_principle preserving type) as AccountingPrinciple,
// cast(finsc_ld_cmp.functional_currency as fis_functional_currole preserving type ) as FunctionalCurrencyRole,
cast( case when finsc_ld_cmp.functional_currency <> ' ' then finsc_ld_cmp.functional_currency
else finsc_ld_cmp.curtph
end
as fis_functional_currole
) as FunctionalCurrencyRole,
cast ( case when finsc_ld_cmp.curposk = '2' then 'GC'
when finsc_ld_cmp.curposo = '2' then 'FDC1'
when finsc_ld_cmp.curposv = '2' then 'FDC2'
when finsc_ld_cmp.curposb = '2' then 'FDC3'
when finsc_ld_cmp.curposc = '2' then 'FDC4'
when finsc_ld_cmp.curposd = '2' then 'FDC5'
when finsc_ld_cmp.curpose = '2' then 'FDC6'
when finsc_ld_cmp.curposf = '2' then 'FDC7'
when finsc_ld_cmp.curposg = '2' then 'FDC8'
else '' end
as fis_addl1_crcy_field ) as AdditionalCurrency1Field,
cast ( case when finsc_ld_cmp.curposk = '3' then 'GC'
when finsc_ld_cmp.curposo = '3' then 'FDC1'
when finsc_ld_cmp.curposv = '3' then 'FDC2'
when finsc_ld_cmp.curposb = '3' then 'FDC3'
when finsc_ld_cmp.curposc = '3' then 'FDC4'
when finsc_ld_cmp.curposd = '3' then 'FDC5'
when finsc_ld_cmp.curpose = '3' then 'FDC6'
when finsc_ld_cmp.curposf = '3' then 'FDC7'
when finsc_ld_cmp.curposg = '3' then 'FDC8'
else '' end
as fis_addl2_crcy_field ) as AdditionalCurrency2Field,
_Ledger,
_CompanyCode,
_FiscalYearVariant,
_CompanyCodeCurrencyRole,
_GlobalCurrencyRole,
_FreeDefinedCurrency1Role,
_FreeDefinedCurrency2Role,
_FreeDefinedCurrency3Role,
_FreeDefinedCurrency4Role,
_FreeDefinedCurrency5Role,
_FreeDefinedCurrency6Role,
_FreeDefinedCurrency7Role,
_FreeDefinedCurrency8Role,
_FunctionalCurrencyRole,
_AccountingPrinciple,
_CoCodeCurrencyRoleCurrency,
_GlobalCurrencyRoleCurrency,
_FreeDfndCrcyRole1Currency,
_FreeDfndCrcyRole2Currency,
_FreeDfndCrcyRole3Currency,
_FreeDfndCrcyRole4Currency,
_FreeDfndCrcyRole5Currency,
_FreeDfndCrcyRole6Currency,
_FreeDfndCrcyRole7Currency,
_FreeDfndCrcyRole8Currency,
_FunctionalCrcyRoleCurrency
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FINSC_LD_CMP"
],
"ASSOCIATED":
[
"I_ACCOUNTINGPRINCIPLE",
"I_COMPANYCODE",
"I_COMPANYCODECURRENCYROLE",
"I_CURRENCYROLE",
"I_FISCALYEARVARIANT",
"I_LEDGER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/