Script calculation for dimension properties

Dear Experts,
I am using BPC 7.0NW,
My code in Default.lgf:
*BEGIN
[P_ACCT].[#B] = [P_ACCT].[A]* [P_ACCT].[C]
*END
Now, I want to run this calculation for dimension property wise.
LIke i want to add dimension properties in above calculations.
And how do i put "IF" conditions?
Please help me ...
Thanks alot in advance.....!

Kumar,
follow next steps:
1. Create new logic file and name it "TEST" for example
2. Use next coding in it:
*XDIM_MEMBERSET P_ACCT = YOUR_P_ACCT_MEMBER
*IS "YOUR_PROPERTY_VALUE"
*REC(EXPRESSION=%VALUE%,TIME="2010.MAR")
*ENDWHEN
*COMMIT
3. Validate and save your TEST.LGF
4. Insert next coding into DEFAULT.LGF
*INCLUDE ADD.LGF
5. Validate and save DEFAULT.LGF
Put your values insted of "YOUR_P_ACCT_MEMBER", "YOUR_PROPERTY_VALUE"
This coding works for sure.
U can use ABAP in script logic. The mechanism is described here:
http://help.sap.com/saphelp_bpc70sp02/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
Hope that was helpful,
Dzmitry

Similar Messages

  • Proper formatting for dimension properties in SQL script logic

    Hi all,
    I'm trying to pass the time member from a property in account dimension. (Post recognized revenue by looking at deferred revenue accounts.)  The dimension ACCTREV has a property called DATENAME.  DATENAME refers to a valid TIME member.  In 4.2 this logic worked fine.  In 5.1sp3 it's not passing the correct time period (formula log indicates null value for time member).
    For example:  ACCTREV = 4101Billing_2008.JUN    DATENAME = 2008.JUN     (DATENAME is a property of ACCTREV)
    Here's the logic:  *REC(EXPRESSION=%VALUE%,TIME=ACCTREV.DATENAME,ACCTREV=ACCTREV.ACCT)     
    I've read the other post indicating brackets are required by SQL when passing parameters that contain delimiters like "." but it doesn't say how to do it!
    I've tried TIME=ACCTREV.DATENAME  resulting in null time members.
    I've tried TIME=ACCTREV.DATENAME  resulting in null time members. 
    I've updated the property value to 2008.JUN with TIME=ACCTREV.DATENAME resulting in null time members.
    Also how do you post a thread using a bracket without turning it into a hyperlink? 
    Any help would be greatly appreciated.
    Edited by: Ara Toroyan on Aug 5, 2008 2:24 AM

    Thanks Kranthi,
    It's still not working.
    I believe the problem is SQL 2005 related and the DATENAME "2008.JUN." 
    ACCT is a property of ACCTREV and the properties refer to valid ACCTREV members.
    DATENAME is a property of ACCTREV and refers to valid TIME members-- not TimeID or UserTimeID
    The formula log reveals the correct ACCTs but no TIME (null values). The problem is with DATENAME.  Closer inspection of the formula log below shows that Query1 doesn't load DATENAME.  (Not sure why but this could be because of improper formatting.)
    I've validated the existence of all property values with =EVPRO.  The values are part of the dimension tables.
    Here's the forumula log:  (I've deleted some of the product and time members in the log for brevity.)
    Number of logic calls:1
    Call no. 1, logic:D:\BPC\Data\WebFolders\SecondTry\REVENUE
    ..\AdminApp\REVENUE\RevRec.LGX
    Building sub-query 1
    Query Type:0
    Max members:
    Region:
    DIMENSION:ACCTREV
    4101BILLING_2008.JUN,4201BILLING_2008.JUN,4206BILLING_2008.JUN,4207BILLING_2008.JUN,4208BILLING_2008.JUN
    DIMENSION:CATEGORY
    ACTUAL
    DIMENSION:PRODUCT
    0000,0001,0005,0010,0011,0012,0013,0020,0024,0030,0031,0040,0050,0059,0065,0066,0067,0070,0071,0075,0078,0079,0080,0099,0140,0145
    DIMENSION:REVDATA
    REV_AMOUNT
    DIMENSION:TIME
    2001.JAN,2001.FEB,2001.MAR,2001.APR,2001.MAY,2001.JUN,2001.JUL,2001.AUG,2001.SEP,2001.OCT,2001.NOV,2001.DEC,2002.JAN,2002.FEB,2002.MAR,2002.APR,2002.MAY,2002.JUN,2002.JUL,2002.AUG,2002.SEP,2002.OCT,2002.NOV,2002.DEC,2003.JAN,2003.FEB,2003.MAR,2003.APR,2003.MAY,2003.JUN,2003.JUL,2003.AUG,2003.SEP,2003.OCT,2003.NOV,2003.DEC,2004.JAN,2004.FEB,2004.MAR,2004.APR,2004.MAY,2004.JUN,2004.JUL,2004.AUG,2004.SEP,2004.OCT,2004.NOV,2004.DEC,2005.JAN,2005.FEB,2005.MAR,2005.APR,2005.MAY,2005.JUN,2005.JUL,2005.AUG,2005.SEP,2005.OCT,2005.NOV,2005.DEC,2006.JAN,2006.FEB,2006.MAR,2006.APR,2006.MAY,2006.JUN,2006.JUL,2006.AUG,2006.SEP,2006.OCT,2006.NOV,2006.DEC,2007.JAN,2007.FEB,2007.MAR,2007.APR,2007.MAY,2007.JUN,2007.JUL,2007.AUG,2007.SEP,2007.OCT,2007.NOV,2007.DEC,2008.JAN,2008.FEB,2008.MAR,2008.APR,2008.MAY,2008.JUN,2008.JUL,2008.AUG,2008.SEP,2008.OCT,2008.NOV,2008.DEC,2009.JAN,2009.FEB,2009.MAR,2009.APR,2009.MAY,2009.JUN,2009.JUL,2009.AUG,2009.SEP,2009.OCT,2009.NOV,2009.DEC
    Loading ACCTREV.DATEID,ACCT
    Loading TIME.TIMEID
    Time to load properties:0.0 sec.
    select ACCTREV,PRODUCT,TIMEID,COMPANY,CUSTOMER,DATASRC,LOCATION,MEDIAID,PRODTYPE,TRANSID,SIGNEDDATA
    into #tblTempLogic_349866
    from tblFactREVENUE
    WHERE  ACCTREV in (N'4101BILLING_2008.JUN',N'4201BILLING_2008.JUN',N'4206BILLING_2008.JUN',N'4207BILLING_2008.JUN',N'4208BILLING_2008.JUN') AND  CATEGORY=N'ACTUAL' AND  PRODUCT in (N'0000',N'0001',N'0005',N'0010',N'0011',N'0012',N'0013',N'0020',N'0024',N'0030',N'0031',N'0040',N'0050',N'0059',N'0065',N'0066',N'0067',N'0070',N'0071',N'0075',N'0078',N'0079',N'0080',N'0099',N'0140',N'0145',N'0154',N'0155',N'0156',N'0157',N'0161',N'0162',N'0163',N'0164',N'0165',N'0171',N'0175') AND  TIMEID in (N'20010100',N'20010200',N'20010300',N'20010400',N'20010500',N'20010600',N'20010700',N'20010800',N'20010900',N'20011000',N'20011100',N'20011200',N'20020100',N'20020200',N'20020300',N'20020400',N'20020500',N'20020600',N'20020700',N'20020800',N'20020900',N'20021000',N'20021100',N'20021200',N'20030100',N'20030200',N'20030300',N'20030400',N'20030500',N'20030600',N'20030700',N'20030800',N'20030900',N'20031000',N'20031100',N'20031200',N'20040100',N'20040200',N'20040300',N'20040400',N'20040500',N'20040600',N'20040700',N'20040800',N'20040900',N'20041000') AND  REVDATA=N'REV_AMOUNT'
    insert into #tblTempLogic_349866 (ACCTREV,PRODUCT,TIMEID,COMPANY,CUSTOMER,DATASRC,LOCATION,MEDIAID,PRODTYPE,TRANSID,SIGNEDDATA)
    select ACCTREV,PRODUCT,TIMEID,COMPANY,CUSTOMER,DATASRC,LOCATION,MEDIAID,PRODTYPE,TRANSID,SIGNEDDATA
    from tblFactWBREVENUE
    WHERE  ACCTREV in (N'4101BILLING_2008.JUN',N'4201BILLING_2008.JUN',N'4206BILLING_2008.JUN',N'4207BILLING_2008.JUN',N'4208BILLING_2008.JUN') AND  CATEGORY=N'ACTUAL' AND  PRODUCT in (N'0000',N'0001',N'0005',N'0010',N'0011',N'0012',N'0013',N'0020',N'0024',N'0030',N'0031',N'0040',N'0050',N'0059',N'0065',N'0066',N'0067',N'0070',N'0071',N'0075',N'0078',N'0079',N'0080',N'0099',N'0140',N'0145',N'0154',N'0155',N'0156',N'0157',N'0161',N'0162',N'0163',N'0164',N'0165',N'0171',N'0175',N'0181',N'0182',N'0183',N'0185',N'0190',N'0200',N'0201',N'0210',N'0251',N'0275',N'0302',N'0305',N'0310',N'0802',N'1000',N'1002',N'1012',N'1016',N'1017',N'1026',N'1030',N'1033',N'1035',N'1041',N'1042',N'1054',N'1055',N'1059',N'1061',N'1062',N'1063',N'1065',N'1069',N'1073',N'1080',N'1082',N'1093',N'1100',N'1111',N'1120',N'1172',N'1210',N'1300',N'1700',N'1701',N'1800',N'1900',N'2082',N'2092',N'2110',N'2115',N'2118',N'2120',N'2121',N'2123',N'2124',N'2126',N'2136',N'2140',N'2150',N'2160',N'2170',N'2200',N'2201',N'2220',N'2225',N'2300',N'2500',N'2600',N'2611',N'2700',N'2701',N'2712',N'2715') AND  TIMEID in (N'20010100',N'20010200',N'20010300',N'20010400',N'20010500',N'20010600',N'20010700',N'20010800',N'20010900',N'20011000',N'20011100',N'20011200',N'20020100',N'20020200',N'20020300',N'20020400',N'20020500',N'20020600',N'20020700',N'20020800',N'20020900',N'20021000',N'20021100',N'20021200',N'20030100',N'20030200',N'20030300',N'20030400',N'20030500',N'20030600',N'20030700',N'20030800',N'20030900',N'20031000',N'20031100',N'20031200',N'20040100',N'20040200',N'20040300',N'20040400',N'20040500',N'20040600',N'20040700',N'20040800',N'20040900',N'20041000',N'20041100',N'20041200',N'20050100',N'20050200',N'20050300',N'20050400',N'20050500',N'20050600',N'20050700',N'20050800',N'20050900',N'20051000',N'20051100',N'20051200',N'20060100',) AND  REVDATA=N'REV_AMOUNT'
    and SOURCE = 0
    insert into #tblTempLogic_349866 (ACCTREV,PRODUCT,TIMEID,COMPANY,CUSTOMER,DATASRC,LOCATION,MEDIAID,PRODTYPE,TRANSID,SIGNEDDATA)
    select ACCTREV,PRODUCT,TIMEID,COMPANY,CUSTOMER,DATASRC,LOCATION,MEDIAID,PRODTYPE,TRANSID,SIGNEDDATA
    from tblFAC2REVENUE
    WHERE  ACCTREV in (N'4101BILLING_2008.JUN',N'4201BILLING_2008.JUN',N'4206BILLING_2008.JUN',N'4207BILLING_2008.JUN',N'4208BILLING_2008.JUN') AND  CATEGORY=N'ACTUAL' AND  PRODUCT in (N'0000',N'0001',N'0005',N'0010',N'0011',N'0012',N'0013',N'0020',N'0024',N'0030',N'0031',N'0040',N'0050',N'0059',N'0065',N'0066',N'0067',N'0070',N'0071',N'0075',N'0078',N'0079',N'0080',N'0099',N'0140',N'0145',N'0154',N'0155',N'0156',N'0157',N'0161',N'0162',N'0163',N'0164',N'0165',N'0171',N'0175',N'0181',N'0182',N'0183',N'0185',N'0190',N'0200',N'0201',N'0210',N'0251',N'0275',N'0302',N'0305',N'0310',N'0802',N'1000',N'1002',N'1012',N'1016',N'1017',N'1026',N'1030',N'1033',N'1035',N'1041',N'1042',N'1054',N'1055',N'1059',N'1061',N'1062',N'1063',N'1065',N'1069',N'1073',N'1080',N'1082',N'1093') AND  TIMEID in (N'20010100',N'20010200',N'20010300',N'20010400',N'20010500',N'20010600',N'20010700',N'20010800',N'20010900',N'20011000',N'20011100',N'20011200',N'20020100',N'20020200',N'20020300',N'20020400',N'20020500',N'20020600',N'20020700',N'20020800',N'20020900',N'20021000',N'20021100',N'20021200',N'20030100',N'20030200',N'20030300',N'20030400',N'20030500',N'20030600',N'20030700',N'20030800',N'20030900',N'20031000',N'20031100',N'20031200',N'20040100',N'20040200',N'20040300',N'20040400',N'20040500',N'20040600',N'20040700',N'20040800',N'20040900',N'20041000',N'20041100',N'20041200',N'20050100',N'20050200',N'20050300',N'20050400',N'20050500',N'20050600',N'20050700',N'20050800',N'20050900',N'20051000',N'20051100',N'20051200',N'20060100') AND  REVDATA=N'REV_AMOUNT'
    select tmpTable.ACCTREV,tmpTable.PRODUCT,tmpTable.TIMEID,tmpTable.COMPANY,tmpTable.CUSTOMER,tmpTable.DATASRC,tmpTable.LOCATION,tmpTable.MEDIAID,tmpTable.PRODTYPE,tmpTable.TRANSID,sum(SIGNEDDATA) as SIGNEDDATA
    from #tblTempLogic_349866 as tmpTable
    group by tmpTable.ACCTREV,tmpTable.PRODUCT,tmpTable.TIMEID,tmpTable.COMPANY,tmpTable.CUSTOMER,tmpTable.DATASRC,tmpTable.LOCATION,tmpTable.MEDIAID,tmpTable.PRODTYPE,tmpTable.TRANSID
    drop table #tblTempLogic_349866
    Time to load Source data:2.6 sec.
    29123 records to process
    Time to Prepare data process:0.0 sec.
    Time to initialize destination:0.0 sec.
    Time to get source data:0.0 sec.
    29123 scanned records
    0 skipped records
    29123 processed records
    29123 records generated
    Time to Scan data:5.5 sec.
    Time to get output data:0.1 sec.
    Time to prepare final strings:0.3
    Total processing time:5.9
    App: REVENUE - Records to be posted are 29119  (calc diff = 0)
    CATEGORY,REVDATA,ACCTREV,PRODUCT,TIME,COMPANY,CUSTOMER,DATASRC,LOCATION,MEDIAID,PRODTYPE,TRANSID,SIGNEDDATA
    ACTUAL,REV_AMOUNT,4101,0001,,03,2282436,INPUT,00,ZZ,NONE,MANUAL_TRANSBASED,-208.5
    ACTUAL,REV_AMOUNT,4101,0010,,03,1000105,INPUT,00,20,CURR,TRANSACTION_BASED,-88
    ACTUAL,REV_AMOUNT,4101,0010,,03,1000105,INPUT,00,20,HIST,TRANSACTION_BASED,-60

  • Scripting calculations for subtotal and taxes = grandtotal

    I have a work form that lists cost of work preformed. 4 amount fields, a subtotal field, tax, and grand total. I am having an issue collaborating the subtotal, taxes and grandtotal. I have googled everywhere just for basic FormCalc help but to no avail. Any help you can give me will be very much appreciated.
    this is the script I foolishly 'thought' would work.
    Subtotal - Sum(AMOUNT, AMOUNT, AMOUNT, AMOUNT)
    Tax - Sum(TOTAL * .0825)
    Grandtotal - SUM(TOTAL, TAX)
    I have ran the syntax check on all fields no errors, but I get some extremely weird output when integers are place in the amount fields.
    layout --------------
    amount
    amount
    amount
    amount
    subtotal
    taxes
    grand total
    they are all numeric fields (i don't know if all this is relevant but I'm trying to make this as easy as possible for you to troubleshoot)
    thanks in advance
    skyler

    Sklyer,
    The attached is a sample using FormCalc for what you are trying to achieve. In the future you should post requests in the LiveCycle Designer ES forum if the request does not include Barcoded Forms ES. The Designer forum is monitored more closely.
    Steve

  • Can we calculate difference of  dimension properties values in script logic

    HI
    I have 3 products, whose manufacturing process starting perod and end periods are different for three products. Now I want
    to distribute total  manufactuing cost to those periods only for each product.  how will write script logic  for this senario.
    My system is BPC nw7.5
    Mahi

    Hi,
    So, you want to find the difference between the dates and distribute the cost among them. I dont think this will be feasible using script logic. My suggestion would be use BADI. Script logic cannot do manipulation on the properties. BADI will be much easier. In addition to this, you need to think what should be the destination of the result. Every record is going to generate few records (depending on the number of months).
    Hope this helps.

  • Help with Properties for Dimensions- Cells are all Invalid (orange)

    I am working on a new application created by a flat file in EPMA. However, all cells are orange regardless of the POV. I have checked my Account Dimension properties and the Custom 1,2,3 Top Members are all set to the top member of that specific custom dimension. I am not sure what we are doing wrong. Please help so we can move on with the project.
    !FILE_FORMAT = ADS
    !Version = 1.0
    !Section=Dimensions
    'Name;DimensionClass;DimensionAlias;AllowDuplicatesInDimension;CommentDuplicate;ConsolidationDuplicate;DataStorageDuplicate;DimDataStorage;DimensionHierarchyType;DimensionSolveOrder;DimValidForCapex;DimValidForPlan1;DimValidForPlan2;DimValidForPlan3;DimValidForWorkforce;EnumOrder1;EnumOrder2;EnumOrder3;EnumOrderCapex;EnumOrderWF;MemberFormulaDuplicate;MemberSolveOrderDuplicate;SkipValueDuplicate;TimeBalanceDuplicate;TwoPassCalcDuplicate;UDADuplicate;VarianceReportingDuplicate;CapexDensity;Plan1Density;Plan2Density;Plan3Density;WorkforceDensity;CapexPerfOrder;Plan1PerfOrder;Plan2PerfOrder;Plan3PerfOrder;WorkforcePerfOrder;MissingLabel;DimTwoPassCalc;AttributeDataType;AutoGenId;CurrencyNameDuplicate;ApplySecurity;customDimensionId;DisplayOrder;GridMissingLabelType;Increment;SmartListLabel;StartValue;UseForMapping;BSODimensionDataStorage;DimensionStorageType;ASODimensionDataStorage;MinAllowedPerApp;MaxAllowedPerApp;HierarchyTypeDuplicate;IsPOVDimension;POVDisplayOrder;BSODimensionFormula;ASODimensionFormula
    Account;Account;Account;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1;;;;;;;;;;;;;;;;
    Alias;Alias;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    Department;Generic;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1;;;;;;;;;;;;;;;;
    Total_Adjustments;Generic;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3;;;;;;;;;;;;;;;;
    Total_Operations;Generic;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2;;;;;;;;;;;;;;;;
    !Section = DimensionAssociations
    'BaseDimension;Property;TargetDimension
    !Hierarchies=Account
    'Parent;Child;Description;ConsolidationAccountType;Custom1TopMember;Custom2TopMember;Custom3TopMember;EnableCustom1Aggr;EnableCustom2Aggr;EnableCustom3Aggr;EnableDataAudit;ICPTopMember;IsCalculated;IsConsolidated;IsICP;NumDecimalPlaces;SubmissionGroup;UserDefined1
    #root;FINANCIAL_ACCOUNTS;FINANCIAL ACCOUNTS;GROUPLABEL;;;;;;;;;;;;2;;
    FINANCIAL_ACCOUNTS;BALANCE_SHEET;BALANCE SHEET;ASSET;Department;Total_Operations;Total_Adjustments;Y;Y;Y;N;;N;Y;N;2;;
    BALANCE_SHEET;TOT_ASSETS;TOTAL ASSETS;ASSET;Department;Total_Operations;Total_Adjustments;Y;Y;Y;N;;N;Y;N;2;;
    TOT_ASSETS;TOT_CURR_ASSETS;TOTAL CURRENTS ASSETS;ASSET;Department;Total_Operations;Total_Adjustments;Y;Y;Y;N;;N;Y;N;2;;
    TOT_CURR_ASSETS;CASH_CASH EQUIV;CASH AND CASH EQIVALENTS;ASSET;Department;Total_Operations;Total_Adjustments;Y;Y;Y;N;;N;Y;N;2;;
    CASH_CASH EQUIV;100101;CASH;ASSET;Department;Total_Operations;Total_Adjustments;Y;Y;Y;N;;N;Y;N;2;;

    This is not the best forum for this question. This forum focuses on FDM & DRM.
    Based on your file, it looks like you are using too many fields in your Dimensions section. Looks like you are specifying all of the available EPMA fields but you only need the HFM ones.
    Please flag this response as correct or helpful if you found it to be.

  • No UDA Found for Dimension XYZ

    We are loading metadata into Planning using outline load utility. The command we are using is as follows:
    C:\Hyperion\products\Planning\bin\OutlineLoad -f:%scripthome%\EncPassword.txt /A:NFR /U:%Essid% /M /C /-F /I:C:\Data\NFR_Customer_Dim.csv /D:Entity /L:%scripthome%\Logs\Cust_Dim_OTL_Load.Log /X:c:/outlineLoad.exc
    The outline load log throws a *"NO UDA defined for dimension xyz" error.* but seems to load the records fine, without rejecting any. Any idea why this is ?
    The first part of the log is :
    Successfully logged into "NFR" application, Release 11.113, Adapter Interface Version 5, Workforce supported and not enabled, CapEx not supported and not enabled, CSS Version 3
    +"Account" dimension properties and information:+
    Account, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Account Type, Time Balance, Skip Value, Exchange Rate Type, Variance Reporting, Source Plan Type, Plan Type (Sales), Aggregation (Sales), Plan Type (Plan2), Aggregation (Plan2), Plan Type (Plan3), Aggregation (Plan3)
    No UDA's defined on "Account"+
    +"Periods" dimension properties and information:+
    Periods, Parent, Alias: Default, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Type, Start Period, End Period, Aggregation (Sales), Aggregation (Plan2), Aggregation (Plan3)
    No UDA's defined on "Periods"+
    ......... So on and so forth for EACH dimension and then ....
    +"Product" dimension properties and information:+
    Product, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Aggregation (Sales), Aggregation (Plan2), Aggregation (Plan3), InputType
    UDA's bound to "Product" dimension: Product_Type
    +"InputType" attribute dimension (on base dimension "Product"). Attributes defined on the "InputType" dimension: ProductLine; ProductNumber;+
    InputType, Parent, Alias: Default, Operation
    Exchange Rates properties:
    Table, Description, To Currency, From Currency, Operation, Method, Historical, Beg Balance, Year, Period, Average, Ending
    UDA properties:
    Dimension, UDA, Operation
    Translation input file fields:
    Value, Driver Member, Point-of-View, Data Load Cube Name
    +[Tue Feb 01 01:30:12 EST 2011]Successfully located and opened input file "C:\Data\NFR_Customer_Dim.csv".+
    +[Tue Feb 01 01:30:12 EST 2011]Header record fields: Entity, Parent, Alias: Default, Data Storage+
    +[Tue Feb 01 01:30:12 EST 2011]Located and using "Entity" dimension for loading data in "NFR" application.+
    +[Tue Feb 01 01:30:14 EST 2011]Load dimension "Entity" has been unlocked successfully.+
    +[Tue Feb 01 01:30:14 EST 2011]Performing cube refresh[Tue Feb 01 01:30:36 EST 2011]Cube refresh operation has completed. Please check the Essbase log for status.+
    +[Tue Feb 01 01:30:36 EST 2011]Create security filters operation will not be performed.+
    +[Tue Feb 01 01:30:36 EST 2011]Examine the Essbase log files for status if Essbase data was loaded.+
    +[Tue Feb 01 01:30:36 EST 2011]Planning Outline data store load process finished. *1599 data records were read, 1599 data records were processed, 1599 were successfully loaded, 0 were rejected.*+
    \

    Do you get the same errors if you load just the first record from the file, if you don't keep increasing the number of records until you find the record that is causing the problem.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Missing calculate option for field properties

    Just downloaded Forms Central yesterday on Mac, can't get text field properties to show option for calculation. There's just a small menu for label justification, text/number/etc, and a few other choices but nothing for calculations as shown on tutorial. I really need help finding the access to include calculations for fields.

    In this case you can also use the simplified field notation, though it would be much easier if you were to change your field names. For example, the first row you want to sum the following two fields:
    "REG. HRS" and "O.T. HRS"
    Since the field names include the period and space characters these need to be escaped, so you'd have to enter the following:
    REG\.\ HRS + O\.T\.\ HRS
    If you were to change the names to:
    "REG_HRS" and "OT_HRS"
    The simplified field notation entry would be simply:
    REG_HRS + OT_HRS
    If you were to further refine the field naming scheme to something like:
    Row 1:  R1.REG_HRS, R1.OT_HRS
    Row 2:  R2.REG_HRS, R2.OT_HRS
    A single script could be used for all of the rows, and called in the calculate event of each "DAILY TOTAL" field. I realize this may sound like jibberish at the moment, but if you want to pursue it, post again. In the mean time, the simplified field notation option will work.

  • Can you give a document link for script logic for NW version7??

    Hi all,
        who can give a document link for script logic for nw version7??
        thanks in advance!!

    Hi Sheldon,
    I read through your "HOW to...Custom BADI for replicating Destination_App...." and it was great. However, Can this call also be used with WHEN/ENDWHEN statements? In the MS version, when using Destination_App, I was also able to map source accounts into the correct destination accounts as well as source E type dim to desination E type dim with the following script (the mapping to destination ID was stored as properties within the source dimensions).
    *INCLUDE SYSTEM_CONSTANTS.LGL     
    *SELECT(%OPACCT%, "[ID]", "OPACCOUNT", " [TRF_FPA] = 'Y'")
    *SKIP_DIM = COSTCTR
    *ADD_DIM = BRANDS
    *RENAME_DIM OPAccount = Account_F
    *RENAME_DIM CATEGORY = CATEGORY_F
    *RENAME_DIM ENTITY = MARKET
    *RENAME_DIM DATASRC = DATATYPE
    *XDIM_MEMBERSET ENTITY = %ENTITY_SET%
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET TIME = %TIME_SET%     
    *XDIM_MEMBERSET OPACCOUNT = %OPACCT%
    *DESTINATION_APP = FPA
    *CLEAR_DESTINATION
    *DESTINATION OPACCOUNT = %OPACCT%
    *DESTINATION TIME = %TIME_SET%
    *DESTINATION CATEGORY = %CATEGORY_SET%
    *DESTINATION CURRENCY = LC,USD
    *WHEN ENTITY
    *IS %ENTITY_SET%
    *REC(ENTITY=COSTCTR.FPA_MKT,OPAccount=OPAccount.Consol_FPA)     
    *ENDWHEN     
    *COMMIT
    I have tried the following code in the NW version, and it won't validate. Do you know if there's a way to achieve this?
    *XDIM_MEMBERSET CATEGORY<>ACTUAL
    *XDIM_MEMBERSET ACCOUNTHR =BASE_ANNL_SAL,BONUS,BENEFITS_TAX
    *XDIM_MEMBERSET CURRENCY=LC
    *START_BADI DAPP
    DESTINATION_APP=CC_PLAN
    RENAME_DIM="ACCOUNTHR=ACCOUNTCC"
    WRITE=OFF
    *END_BADI
    *WHEN ACCOUNTHR
    *IS "BASE_ANNL_SAL","BONUS","BENEFITS_TAX"
    *REC(ACCOUNTCC=ACCOUNTHR.CCPLANACCT)     
    *ENDWHEN
    Regards,
    Karen

  • Using dimension properties in LOOKUP

    Hi,
    I'm trying to use dimension properties in a LOOKUP, but when I execute the script the log tells me that COMPANY, SALESORG, PRODUCT and TRANSCURRENCY is not defined and therefore create a lookup on all members.
    THe usage of properties in LOOKUP is described in the documentation, but somehow it doesn't seem to work for me. Can anyone help me?
    *LOOKUP ACTIVITYPLAN
    *DIM FCIC:ACCOUNT= "FULLCOST"
    *DIM FCIC:PARTNER="I_NONE"
    *DIM FCIC:COMPANY=PARTNER.ENTITY
    *DIM FCIC:SALESORG=PARTNER.ENTITY
    *DIM FCIC:PRODUCT=PRODUCT.PRODREF
    *DIM FCIC:TRANSCURRENCY=PARTNER.CURRENCY
    *DIM COUNTRY = "CO_NONE"
    *DIM DATASOURCE = "INPUT"
    *DIM PROFITCENTER = "YB99"
    *DIM RPTCURRENCY = "LC"
    *ENDLOOKUP
    Regards,
    Lars
    Edited by: Lars Johansen on Nov 4, 2011 10:41 AM
    Edited by: Lars Johansen on Nov 4, 2011 10:41 AM

    Hi Gersh,
    I'm getting closer. I have now tried to use the FOR/NEXT logic on 1 property and it works. I know want to include another. In this case it seems as if the LOOKUP works fine, but the WHEN/REC/ENDWHEN is not. It doesn't recognize my LOOKUP(%LOOP_CU%%LOOP_CO%).
    Any suggestions have to solve this problem?
    *LOOKUP ACTIVITYPLAN
    *FOR %LOOP_CO% = %P_COMP%
        *FOR %LOOP_CU% = %P_CURR%
            *DIM %LOOP_CU%%LOOP_CO%:TRANSCURRENCY=%LOOP_CU%
            *DIM %LOOP_CU%%LOOP_CO%:ACCOUNT= "FULLCOST"
            *DIM %LOOP_CU%%LOOP_CO%:PARTNER="I_NONE"
            *DIM %LOOP_CU%%LOOP_CO%:COMPANY=%LOOP_CO%
            *DIM %LOOP_CU%%LOOP_CO%:SALESORG=%LOOP_CO%
            *DIM %LOOP_CU%%LOOP_CO%:PRODUCT=PRODUCT.PRODREF
        *NEXT
    *NEXT
    *ENDLOOKUP
    *WHEN ACCOUNT
       *IS "QPURC"
                   *FOR %LOOP_CU%=%P_CURR%
                       *REC(EXPRESSION=(%VALUE%*LOOKUP(%LOOP_CU%%LOOP_CO%)),ACCOUNT="529996")
                       *END
                   *NEXT
    *ENDWHEN

  • Errow with IF statement in Scripted Calculation view

    Hi Team,
    I am trying to use IF statement in Scripted Calculation view.
    My scenario is:-
    I need to create a restricted Key figure based on input date from user.
    While i am activating my view system gives "Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: transaction rolled back by an internal error: Syntax Error for calculated Attribute: line 29 col 9 (at pos 1501)" error.
    Below is the code i have used in my CV.
    CE_CALC('IF((to_int("BUDAT") >= to_int(2013-01-01),"AMOUNT",'''')', DECIMAL(13,2)) AS "DTR"
    Here, "AMOUNT" is another calculated field created using CE_CALC.
    Without above IF statement my CV runs perfectly fine. The moment i include IF statement it does not activate.
    Kindly provide your inputs.
    Thanks & Regards,
    Anup

    Hi Lars,
    I am extremely sorry about the confusion.
    There was an extra parenthesis in the IF statement which was not allowing the CV to be activated. CV is now successfully activated.
    But my data is not getting restricted correctly.
    It is showing 0 against all the records.
    Below is the sql used for calling the CV.
    SELECT * FROM "_SYS_BIC"."A_123/CV_SCR_BSID_BSAD_ITEMS" ('PLACEHOLDER' = ('$$Currency$$', '''Local'''),'PLACEHOLDER' = ('$$Date_From$$','2014-01-01' ), 'PLACEHOLDER' = ('$$Date_To$$','2014-06-30' ));
    Below is my updated CE_CALC function :-
    CE_CALC('IF(date("BUDAT") >= date(:Date_From) and date("BUDAT") <= date(:Date_To),"AMOUNT",0)', DECIMAL(13,2)) AS "DTR"
    Is there any issue while passing values here?
    Regards,
    Anup

  • How to prevent BPC from automated calculating for hierarchies / nodes?

    Hi experts,
    I am looking for a practicable way to prevent the system from automated calculating for hierarchies, and especially for nodes within hierarchies?
    Let's say, I have ENTITIES (AS A HIERACHY) in rows and ACCOUNTS in COLUMNS. Now I want the system to block adding up the values for one specific account on node XY. Instead of the sum of all base member entities, the cell for account XY should be left empty.
    Is there a practicable way to deal with this?

    Hi Stefan,
    you can prevent the system to calculate a node by editing the Formula Property  in the Dimension.
    You can insert 0 or null to the Formula field for the specific element.
    But in this case the values from your leaf elements lying under your node wont be calculated  even in higher hierarchy nodes.
    For ex.: with the following structure
    -A
    ---A1
    A11
    A12
    ---B1
    B11
    B12
    If you set A1 to 0, the top node A will only be calculated by values of B1
    Regards
    Jörg

  • SSRS MDX Query Dimension Properties Missing

    I have been stumped on this for a few days thought I'd throw this out here. I've read every related article in the forum regarding MDX Queries and Dimension Properties in SSRS Report Developer and haven't found a case exactly like this with a solution that
    works.
    Environment is SQL 2012 SP1 Cum update 5
    I am doing a rather generic query out of MS Project Servers OLAP cube and I can't get the dimension properties to show up in the flattened output for my dataset. See below.
    SELECT
    NON EMPTY { [Measures].[FTE est] } ON COLUMNS,
    NON EMPTY {
    [Value_Stream_Project].[Value_Stream_Project].ALLMEMBERS *
    [Project Status_Project].[Project Status_Project].ALLMEMBERS *
    DESCENDANTS([Project List].[Project List Level 02].ALLMEMBERS)*
    DESCENDANTS([ProjectManager_Project].[ProjectManager_Project Level 02].ALLMEMBERS) *
    [Planner_Project].[Planner_Project].ALLMEMBERS *
    [Time].[Month].ALLMEMBERS
    DIMENSION PROPERTIES
    MEMBER_CAPTION,
    MEMBER_UNIQUE_NAME,
    PARENT_UNIQUE_NAME,
    LEVEL_NUMBER ,
    [Project List].[Project List Level 02].[Start Date],
    [Project List].[Project List Level 02].[Finish Date]
    ON ROWS
    FROM (
    SELECT ( STRTOMEMBER(@FromTime, CONSTRAINED) : STRTOMEMBER(@ToTime, CONSTRAINED) ) ON COLUMNS
    FROM (
    SELECT ( STRTOSET(@RBSResource, CONSTRAINED) ) ON COLUMNS
    FROM (
    SELECT ( STRTOSET(@ProjectStatusProject, CONSTRAINED) ) ON COLUMNS
    FROM (
    SELECT ( STRTOSET(@ValueStreamProject, CONSTRAINED) ) ON COLUMNS
    FROM [MSP_Portfolio_Analyzer]))))
    My issue is the [Project List Level 02] dimension Properties  (below) are not showing up in the Query designer output, aren't being generated as fields in the dataset and can't be referenced as a property in an expression (i.e. Fields!Project_List("Start
    Date") )
    [Project List].[Project List Level 02].[Start Date],
    [Project List].[Project List Level 02].[Finish Date]
    The odd part is if I change the above two rows in my query to this :
    [Project List].[Start Date],
    [Project List].[Finish Date]
    The Query designer shows the properties in the output but leads to  2 other issues,
    1) I have to modify the generated Dataset field values to remove the [Project list Level 02] in the Level unique name like this
    Before<?xml version="1.0" encoding="utf-8"?><Field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="MemberProperty" PropertyName="Project List - Start Date" LevelUniqueName="[Project List].[Project List Level 02]" />
    After
    <?xml version="1.0" encoding="utf-8"?><Field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="MemberProperty" PropertyName="Project List - Start Date" LevelUniqueName="[Project List]" />
    2) I have to restrict my cross join to only the current level (Level 02) or it expands the results to the parent hierarchy of the Project List dimension and skews my measure summaries.
    I've tested the query in SSMS directly and the properties are showing up just fine for those dimensions using the original syntax.
    Any help would be appreciated.

    Hi there,
    Which data source provider are you using?  Are the connection strings used in SSMS the same as SSRS? Doing a profiler trace against Analysis Services might point to differences in how the connection is made or query is parsed.
    This may help.
    http://www.sqlchick.com/entries/2011/10/23/pros-cons-of-using-the-ole-db-provider-for-ssas-100-when-rep.html
    Did you try using With clause to make a friendly name for the member properties?
    http://melick-rajee.blogspot.ca/2012/04/how-to-get-member-properties-in-mdx.html
    cheers,
    Andrew
    Andrew Sears, T4G Limited, http://www.performancepointing.com

  • Dynamic script - User defined dimension

    Hi
    I have the following problem.
    When i create a task in the data manager, and i want the user to select some menbers of the dimensions to be used in the script logic, for example, if i want him to select the time all i do is a PROMPT tag with the %TIME_DIM% variable.
    What if i want a user defined dimention, lets say product for instance.
    If i use the variable %DIMS% i get the product dimension and all others, but i want only the PRODUCT dimension.
    Any ideas?
    Thanks

    Hi Leandro,
    You can try something like below:
    PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",%DIMS%)
    You can replace the above statement by
    PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",CATEGORY)
    In the above statement, CATEGORY is just the name of the dimension. You can try similarly with other dimensions too.
    Hope this helps.

  • BPC7.5NW: How to increase default Dimension Properties length

    Hi Experts,
    May I know if it is possible to increase the maximum length of default dimension properties, such as ID and EvDescription? I know we can set the property length in "Modify Dimension Property". However, I don't see those default dimension properties under this functionality, in my case, the ID.
    Please advice.
    Regards,
    Kenneth

    Hi,
    No! you can not change Ienghts of all properties. If the dimension is standard then you can not change any of the standard properties. If the dimension is user defined then you can not change ID,Description and Scaling.
    Default length for ID is 20 chars and  Description is 60 chars.
    Regards,
    Raju

  • Account Dimension Properties

    Hi,
    I have some questions concerning Account dimension properties:
    1. "EnableCustom1Aggr"--->Whether aggregation is enabled for intersections of the Account and Custom dimensions This attribute is used for special totals, not summing. Specify Y if the account can aggregate with Custom dimensions or N if it cannot. does this mean that by default summing is working?
    2."EnableDataAudit"---> what does it mean to have an audited account or scenario?
    3. did anyone try member name that have space character on oracle database.
    4.what is the use of plug accounts.
    Thanks,
    foksh

    does this mean that by default summing is working?
    The account rollup is summing by default, but if you do not have the EnableCustomAggr checked, the Custom dimension members will show nothing.
    "EnableDataAudit"---> what does it mean to have an audited account or scenario? will allow you to see changes made to that account from the Tasks Folder -> Data Audit option.
    what is the use of plug accounts. R/= This are were you usually store the difference between your Intercompanies.
    Using spaces in member names is not recommended, try undercores _

Maybe you are looking for

  • How to retrieve various file names from a filepath of application server

    Hi All, I am using a FILEPATH  of application server which can have multiple file names i want to retrieve data from all the existing files. i am using FM "GET_NAME_FILE" but it is applicable only for file name. so my question is how to fetch various

  • How to make user defined packages visible in Web Applications

    Hello, I am not new to JSP and I develop a web based geographical information system. I use MapViewer Application Server (Oracle) as run time environment. I do not encounter any problems in running JSP files. However, I have my own package under WEB-

  • IPad Air/iOS8.1 - Text to speech issue with multiple languages.

    Hi, I'm facing troubles while letting my iPad Air (iOS 8.1) to read a text (pdf book in English) loud as it reads one page correctly in English (text is in English)while some other pages it tries to read in Czech (text in English), which sounds stran

  • How to tell what java version classes where compiled?

    Is it possible to get the version of the Java SDK the classes were compiled with from within a Java application? I think about something like: System.out.println("Application classes compiled/compatible with "+getClassCompilationVersion());

  • Mastering directly to XDCAM Discs in Pr CS6

    Hi all, Apologies if this is covering old ground, I did a cursory search but couldn't see a solution..... We are in the process of switching from FCP 7 to Premiere Pro CS6 and are looking for a little help refining our workflow. Historically, we have