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

Similar Messages

  • 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.

  • Calc Previous YTD periods in SQL script logic

    Hi, experts!
    I need help in writing SQL script logic. I want to calculate such logic
    (Account = Acc3, TIME = 2009.FEB ) = (Account = Acc1, SUM(TIME = (2009.JAN; 2009.FEB))) - (Account = Acc2, SUM(TIME = (2009.JAN)))
    (Account = Acc3, TIME = 2009.MAR ) = (Account = Acc1, SUM(TIME = (2009.JAN; 2009.FEB; 2009.MAR))) - (Account = Acc2, SUM(TIME = (2009.JAN; 2009.FEB)))
    ..... and so on
    Thanks all for help.

    Hi Petar,
    Thanks for your advice.
    Legalapp in my Apshell do not have any account transformation rules. But looking at the account transformation table, I can see it requires dimension type datasrc and subtable for datasource and flow fields. But currently my application is similar to the Finance application from Apshell and do not have these dimension types.
    Still I created a rule in account transformation table by having these fields blank and the validation was successful. Then I used SPRUNCALCACCOUNT in default.LGL file to trigger this rule but I don't see this working.
    Can you help me on below questions:
    1. Is it necessary to have datasrc and subtable dimensions to create account transformation rule?
    2. Will SPRUNCALCACCOUNT write the values to WB table or should I use COMMIT or any other command along with his to have the values written?
    3. Is there any way/place where I can get the examples of Account Transformation rules ?
    Thanks
    Sharath

  • 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

  • Setting proper format for  the documents

    Hi,
    I want to set the proper format before saving the documents in Ifs. The Documents are uploaded to Ifs using the Java API.Can any one help me on this?
    Thanks,
    Prasanth

    Hi,
    Thanks rich. I am using the following code to set the proper format.
    // create the definition
    DocumentDefinition ddef = new DocumentDefinition(lsession);
    ddef.setName(docname);
    ifsSession.setAdministrationMode(true);
    FormatDefinition newFormatDef = new FormatDefinition(lsession); //create a new FormatDefinition
    Format format = (Format)ifsSession.createSystemObject(newFormatDef); //create a new Format using the FormatDefinition
    format.setMimeType(mimetype); // set Mime type for the Format
    newDocDef.setFormat(format); //set the format for the DocumentDefinition
    lsession.setAdministrationMode(false); //set the session back to normal mode;
    // create the document using the definition
    Document newdoc = (Document) lsession.createPublicObject(ddef);
    Is there anything wrong with this one? when i save the document with this code,its stored in non-indexed media.
    I tried the code you posted .its working for pdf documents (they are going to indexed Media ) but not for word documents.
    Thanks,
    Prasanth

  • Prompt for input from PL/SQL script.

    I have PL/SQL script running in SQL*Plus. I need to prompt for user initials (all users log-in with the same username) and make those initials part of the script.
    How do I do that?
    I know how to do it for SQL script:
    ACCEPT X PROMPT 'ENTER X: '
    select ....
    where column1 = '&X'
    But what about PL/SQL?
    Thanks a lot.
    -John

    PL/SQL is not interactive, so you can't prompt from it, but you can pass parameters :
    TEST@db102 SQL> set veri off
    TEST@db102 SQL> get inp
      1  declare
      2     p_inp   varchar2(100);
      3  begin
      4     p_inp := '&1';
      5     dbms_output.put_line(p_inp);
      6* end;
    TEST@db102 SQL> @inp PM
    PM
    PL/SQL procedure successfully completed.
    TEST@db102 SQL>                                                              

  • Dimension load through sql script generated by AWM

    Hi,
    I have taken the script which AWM has generated while loading a dimenson. I created it as a procedure in the schema where the AW having this dimension exists. The procedure works well when executed in this schema.
    Now I want to load the dimension through other schema by executing the procedure. I did following to achieve this:-
    1) Grant execute on the procedure is given to new schema
    2) Grant all on aw$<aw name>(dim exits in this AW) to the new schema
    When I try to run the procedure this give me following error:
    Successoracle.AWXML.AWException: Action BUILDDATABASE failed on object XPRO_OLAP_WH.XPRO_OLAP_WH
    Am I missing something?
    Thanks
    Brijesh

    Which version?
    If 11g, try the following too.
    a) use object security (available via awm, right click on dimension and select object security) to give access to dimension for other schema
    b) use keyword "AUTHID CURRENT_USER" in pl/sql package/procedure definition.
    c)
    grant OLAP_USER to <new_schema>;
    grant OLAP_XS_ADMIN to <new_schema>;
    Try a), b) first. Failing that, try a), b) and c).
    HTH
    Shankar

  • WS32 - proper location for log4j.properties?

    Greetings,
    I am running WS3.2 and I have a log4j.properties file located in /resources/* within the IDE.
    As long as I manually copy the file into the "java/classes" directory the file is picked up at runtime.
    Ideally, Workshop should be automagically grabbing the properties file and placing it on the classpath when I "run" the application.
    Is there a workaround for this (besides the manual copy)?
    Is this a defect or am I doing something quite stupid?
    much thks!

    Ok - I've figured this one out.
    The Log4j.properties file needs to reside at:
    web/WEB-INF/src/java.
    Workshop 3.2 DOES copy the file over to the classes director but since I had it in a subfolder called "resources" it wasn't being picked up.

  • I use photo stills in my iMovie. I want them to last longer than a minute, but when I input 01: 45: 00, to signify one min. and 45 seconds, it doesn't accept it. What is the proper format for inputting minutes?

    I use photo stills in my iMovie. I want them to last longer than a minute, but when I input 1:45:00, to signify one minute and 45 seconds, it doesn't accept it. What's the proper way to input it?

    There are 30 frames in one second of video. So you can specify down to the frame level, which is 1/30th of a second.
    Is the Duration box switching to some other time every time you type in 1:45:00?
    For instance this is a 5 second clip plus 3 frames. To get this set properly I would type in 1:45:00, then click done. I don't know if it is different under older versions of iMovie, as I'm using iMovie '11 for thisi example.

  • I'm trying to get a proper formatting for webpages in Firefox after I used a program to adjust settings

    I used a program called Slim Cleaner to erase some features such as cookies,web browsing for the sake of privacy. However, what the output now is from websites that I go to illustrates a listing of links rather than a pictorial which is what I had before. I tried using Internet Explorer when this happened and the webpage is as it should be. I tried a system restore to yesterday evening (120106) to see if that would fix the problem, but to no avail. I assume I changed a true statement to false when I did what I did. See Troubleshooting Information below. Also, I have an Epson Stylux NX-510 printer attached to the computer rather than the Lexmark 7600 which is what I had previously.

    You should be careful with using external programs to remove private data.<br />
    It is best to use build-in Firefox means via Clear Recent History
    *Tools > Options > Privacy : History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Bruning to proper format for film festival

    I am finally ready to submit my documetnary to the Berlin International Film Festival. Below are the specs they require.
    Can I do this easily in FC Studio 2?
    Would the DVD be easier then the ProRES?
    My timeline is 59.94 FPS and they require 29.97. Does that automaticall happen during the DVD production?
    I appreciate your help.

    OK, thanks, ProRes it is.
    So to convert my project, I can export right in FC Studio. Export> Quicktime movie conversion> Quicktime movie> Options> Apple ProRes422?
    This is being sent to Germany so the specs have to be correct for the hard drive.
    If I want to send it to other festivals, who accept only DVD, how would I export to DVD from FC Studio 2?

  • Excel *.xls or *.xlsx for dimension sheet format in Admin Console?

    Dear all:
    We are in the process of upgrading BPC 5.1 to 7.0, and I was prompted a message about the Excel format (2007 or 2003) when I first opened up a dimension in Admin Console, after BPC 7.0 was installed.
    My questions are:
    1. What are the pros and cons?
    2. Excel 2003 has the limitation of 65000 rows, so does that mean once I choose 2003 format, my dimension members can only have 65000 limitation? If not, what is the workaround?
    3. If I select Excel 2007 as my default format, and want to switch to Excel 2003, is there a way to do so?
    Thank you very much!
    Sincerely,
    Brian

    Hi Brian Hsu,
    Please refer to the SAP Note below:
    SAP Note 1265872 - Excel 2007 format template supported in Admin console.
    Summary
    Symptom
    Admin console does not support Excel 2007 format in previous versions.
    Other terms
    BPC 7.0 SP2 Microsoft, BPC 7M SP02, Excel 2007 format(xlsx), Admin console, dimension member sheet,
    Reason and Prerequisites
    The previous version of Admin console supported Excel 2003 file format only. Users could not use Excel 2007 file format ('xlsx').
    Solution
    Implemented in 7.0M SP2.
    BPC Administration console will support both Excel 2003 and Excel 2007
    file format for dimension member sheet. And the BPC Administration
    console uses the value of 'MEMBERSHEET_VERSION' in tblDefaults table
    internally to judge which file format is used for dimension member
    sheet. The value can be "2003" or "2007" and be set by selecting the
    value from popup window as below. Once the value is set via the popup
    window, the value cannot be changed, so we recommend reading the below
    explanation for each case first and then setting the value.
      KeyID and Value in tblDefaults;
        - [KeyID]: MEMBERSHEET_VERSION
        - [VALUE]: "2003" OR "2007"
    Below is the behavior of the Excel version when users try to save a
    dimension member sheet to server or process dimension with member sheet;
    1. No record having MEMBERSHEET_VERSION in tblDefaults after installing
    BPC 7M SP2 or later
       a)Excel 2003 users
         - Download 'xls' file and save to server without any message.
       b)Excel 2007 users
         - A popup window for selecting 2003 or 2007 will come up and if
           user selects 2007, a warning message that Excel 2003 users
           cannot usedimension member sheet file anymore will come up once
           again and then the file format will be changed to 'xlsx'
         - Create, Modify, Copy dimension: The file format of the member
           sheet will be 'xls'.
    2. MEMBERSHEET_VERSION=2003
       a)Excel 2003 users
         - Download 'xls' file and save to server as 'xls'
       b)Excel 2007 users
         - Dimension member sheet file will be saved as 2003 file format by
           'SaveAs'
    3. MEMBERSHEET_VERSION=2007
       a)Excel 2003 users
         - User cannot download dimension member sheet file so cannot use
           dimension member sheet any more.
       b)Excel 2007 users
         - Download 'xlsx' file from server and if there is only 'xls', the
           file will be downloaded from server and then it will be changed         to 'xlsx' when save to server.
         - Create dimension: The file format will be 'xlsx'
         - Modify, Copy dimension: The file format will be followed by the
           downloaded file format.
    [Limitation]
    If the value of MEMBERSHEET_VERSION is set to 2007, users who use Office 2003 cannot access and modify dimension member sheet file any more. Only users who use Office 2007 can access and modify dimension member sheet.

  • SQL functions in Script Logic

    I want to build a script logic but the dimensions that I am testing do not have the fields I want in the format I want. In my case I would like to test the "Start" property in the Employee dimension. The property represents the employee start date but is a var char in the format dd.mm.yyyy rather thna a date field. I want to test whether it is five years prior to the date being processed.
    My time dimension has a year property and a monthnum property. Each of these are varchar. I can write SQL that would convert these to a date and compare them with the start property on the employee dimension.
    Can I  do iinsert SQL functions in the When statement. An example would be
    *When convert(datetime, substring(employee.start,4,2) + '/' + substring(employee.start,1,2) + '/' + substring(employee.start,7,4))
    Can I use  SQL functions in the Is statement? An example would be
    *Is <DateAdd(YY,-5 , convert(datetime, Time.Monthnum + '/01/'' + time.year)
    Finally when I use such techniques and look at the log by using "show log" in the logic debugger I see no reference to the SQL I used. It is as if the generated SQL has not made use of my functions. Instead all I seee are the extract statements from the three fact tables. Is this normal? Is there a way to see what SQL is really being generated and run?
    At the moment it seems my only option is to make changes, try running it and hope I get an output. If no records are written I can't be sure whether it is because embedding SQL function is not supported or because I have made some other error.

    No, the "BPC SQL" script logic doesn't allow for this extensive use of real SQL within the scripting syntax. As a concept, it's best to think of "BPC SQL" script logic as, "this unique BPC logic syntax will generate real SQL code when it's executed."
    There's very little real SQL that you can use within the syntax itself, and definitely not within the WHEN or IF statements.  Nothing like cast, convert, substring, etc. (Except you CAN use these, a little bit, in a *SELECT statement. But I don't see how that will solve your current problem.)
    Plus, when you consider how the logic engine processes a set of data, it's helpful to think of it in terms of selects & reading through a recordset. So in that regard, a SQL background can be helpful, in understanding the concepts. (Sort of helpful, except when it confuses you, or frustrates you since you don't have all the power you want.)
    Anyway, to solve your problem, you might be able to restate the problem, and then use something like this code, which is valid syntax:
    *WHEN TIME.TIMEID
    *IS >= VERSION.FirstPlanMonthTimeID
    In this case, FirstPlanMonthTimeID is set up in the version dimension as, for example, 20090400 (representing 2009.APR). This timeID is set by BPC automatically when processing the time dimension, and I need to ensure that my Version property value is set to match it.
    A key point is that in BPC fact tables, the time dimension is stored as TIMEID (not ID, unlike all the other dimensions), and can be used for comparative evaluation in script logic WHEN/IF. The comparison property needs to be stored as an 8-digit integer value. If your time dimension has days in it (along with months), check the TIMEID after processing, and you should see the pattern for assigning values to TIMEID for days and months, etc.
    Normally, TIMEID is assigned pretty sensible and stable values. If it doesn't meet your logic requirements, you can create another property (be careful of USERTIMEID, since that has a specific purpose in the system which I've never fully understood) and assign that whatever (integer) values make sense.

  • Video podcast format for iPods

    I created a video podcast and the RSS feed was successfully accepted by iTunes.
    The first two episodes download through iTunes fine. The only problem is that the video file would not transfer to any video iPod. The first two episodes were 320x240 .mov files.
    So, I read some sites and found out that it needed to be a .m4v file. I edit the show in iMovie. After finishing the third episode, I used iMovie to "Share to iPod" which I figured would format the file into a proper format for an iPod.
    The 3rd episode is uploaded onto the RSS feed, but iTunes doesn't recognize this and make the file available for download. It still only has the first two episodes for download.
    Any suggestions? Do I need to use Quicktime Pro and use that to convert the files?
    If it helps, here is a link to the feed in iTunes.
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=214350353
    Thanks for the help in advance.

    I dont know about doing it the "easy" way with apps that do all the work for you. Here it is the "hard" manual way.
    You should create a graphic specifically for this purpose and upload that JPEG file to the pace where your podcast episodes are hosted. Then you can post the URL of the picture into your RSS feed, in the top part where all the main info about your podcast is. It should look like this:
    <itunes:image href="http://www.kutvfreshair.com/podcast/bloopersLogo.jpg" />
    where the "href" is the http of your picture.
    G5 dual 2.7   Mac OS X (10.4.2)  

  • Script Logic choice SQL or MDX in NW release?

    Hi experts,
    I have encountered some opposite arguments in forum. Please can you clarify NW release script logic choice should be as MS release?
    In [Script Logic BPC MS (SQL) vs. NW (ABAP); Tim Klem states
    - "Write the logic using BPC SQL script logic syntax (not MDX) for performance reasons" but this opinion based on MS version. How about NW release is it really smarter to select SQL Script rather than MDX.
    There is another statement in [Re: BPC 7 NW; Deppak mentions that:
    - "In BPC 5.1 the script formula approach suggests to use SQL based logic instead of MDX.
    Whereas in Teched,08, I learnt that MDX & ABAP (using BADIs) would be used for it. Thats why I am slightly confused...."
    But second statement is far beyond NW relase date and I am sure this is not true but I would like you to confirm that.
    If you were a project responsible and want that all scripts will be held in one language, what would you choose??
    Thanks in advance,
    ergin ozturk

    Hi Ergin,
    I can understand your approach not to use ABAP hence you miss the skills witin your project team.
    However, you (or you client) has chosen the NetWeaver version for whatever reason. I'm sure a thorough decisions process has lead to this decision. In choosing the NetWeaver version with SAP BI you will sooner or later come to the point that you will have to use ABAP if you like it or not. Especially when you start using further capabilities within NetWeaver and the BI solutions. So from my point of view ABAP knowledge is an essential skill you need in a project based on SAP NetWeaver anyway.
    Additionally I heared some statements that MDX is causing some performance issues on the NetWeaver version. This may have been fixed in the meantime with some SPs.
    As the SQL within the NetWeaver verison does not have the full functionality than it has in MS Version SQL is not an option for me.
    I do also not see the cost impact hence someone need to do the support anyway. In case of MDX you need an MDX developer, in case of ABAP and ABAP developer. Or a technical BPC consultant able to do the development (which I would recommend you should have in your project team anyway).
    So coming back to your original question, I would recommend to do as much as possible using ABAP BADIs.
    Cheers,
    Steffen

Maybe you are looking for

  • How can I make my form be a certified document?

    Hi all, In my form, I want to export xml by using the script "Reference_Syntax.exportData( [ STRING param1 [, BOOLEAN param2 ] ])", for example, xfa.host.exportData("filename.xml",0). However, it is invalid.  It says that "This parameter1 is only val

  • Remove blank cells in a table?

    I have a Pages 5.0.1 document that's one three-column, multi-row table set up to print address labels for our annual holiday card mailing. As people come and go from the mailing list, we have a number of blank cells I would like to delete from the ta

  • Multiple networks using single network adapter

    Hi, If I have only single network adapter in a OVM server (or  single bond interface bond0 created from two network adapters), is it possible to separate networks for VM management, live migrate and VM public networks using any mechanism, say by crea

  • DropDownList Bug?

    Is this a bug or am I missing something?  Use a dropdownlist in your an application. For the dataprovider use something like the following. sw0-clls.0.sjs-w80.slkfjsd.kfjs-343 sw0-clls.2220.sjs-w80slkfjssdfd-dkfjs sw0-clls.0s32333.sjs-w80slkfjsds-dfd

  • What websites need to be unblocked in order to use the Creative Cloud and Assets behind a firewall?

    The business I work for just installed a new firewall and now Creative Cloud and it's assets are not working.  What do I need to have them unblock