cancel
Showing results for 
Search instead for 
Did you mean: 

How to access SYSTEM_CONSTANTS.LGL file in BPC?

Former Member
0 Kudos

How do we access SYSTEM_CONSTANTS.LGL file in BPC? Can anyone tell me the exact path to it.

I want step by step approach?

Accepted Solutions (1)

Accepted Solutions (1)

i045436
Advisor
Advisor
0 Kudos

Hi,

x:\BPC\Data\Webfolders\<your appset>\AdminApp\<your application>

Regards,

Mihaela

Former Member
0 Kudos

Hello Sumit,

Generally, In SYSTEM_CONSTANTS.LGL we will define Application and Dimensions so that the in built codes like Currency translation code etc, will refer application name & dimension names from

SYSTEM_CONSTANTS.LGL file.

SYSTEM_CONSTANTS.LGL file. look like:

// application constants

//----


*FUNCTION CATEGORYDIM=CATEGORY

*FUNCTION TIMEDIM=TIME

*FUNCTION CURRENCYDIM=RPTCURRENCY

*FUNCTION ENTITYDIM=ENTITY

*FUNCTION ACCOUNTDIM=ACCOUNT

*FUNCTION INTCODIM=INTCO

// This part is needed when a RATE cube

// is associated to the application

// (FX = single or multi currency)

//----


*FUNCTION THISAPP=FINANCE

*FUNCTION RATEAPP=RATE

*FUNCTION RATEENTITYDIM=RATESRC

*FUNCTION RATEACCOUNTDIM=RATE

*FUNCTION INPUTCURRENCYDIM=INPUTCURRENCY

*FUNCTION RATEENTITYMBR=RATEINPUT

*FUNCTION RATESRCCALCMBR=RATECALC

*FUNCTION AVGRATEID=AVG

*FUNCTION ENDRATEID=END

Hope its help you,

Satish

Former Member
0 Kudos

Hi Satish,

How do you invoke constants in a logic script? I tried to simply use:

*SELECT(%YEARBASMBR%,"[ID]","TIMEDIM","LEVEL='MONTH' AND YEAR='%YEAR%'")

*XDIM_MEMBERSET=%YEARBASMBR%

*XDIM_ADDMEMBERSET RATEDIM=ENDRATEID

But it doesn't recognize TIMEDIM, RATEDIM or ENDRATEID that are all defined in System_Constants.LGF

Thanks,

Regis

Former Member
0 Kudos

Hi,

You need to add *INCLUDE SYSTEM_Constants.LGF line at the start of your logic. System does not automatically detect the variable names. It is equivalent to placing the Code in SYSTEM_Constants.LGF file again in your logic file

Kranthi

Answers (0)