Fox code: unable to access infocube data

Hi Friends,
Multi planning area consists of 2 basic areas. One infocube based on key figure model and other infocube based on account model.
Now unable to access infocube(keyfigure model) data in multi area. Here my taget cube is based on account model.
Operand display format is
{Key Figure Name,Calendar Year/Month,Key Figure Type,Plng Area}.
I haven't used any fields for condition. Below is excerpt of code.
calmon is global varible with range 04.2006 to 03.2007
DATA BPER TYPE 0CALMONTH.  'begin period
DATA SPER TYPE 0CALMONTH.  'starting period
DATA DPER TYPE 0CALMONTH.  'previous period
DATA COUNTER TYPE I.
SPER = VARI('CALMON',1).
DO.
BPER = TMVL(SPER,COUNTER).
DPER = TMVL(BPER,-1).
IF COUNTER > 0.
Assign previous period closing stock to opening stock
{ZQTY,BPER,000074,CASHFLOW} = {ZQTY,DPER,000079,CASHFLOW}.
ENDIF.
COUNTER = COUNTER + 1.
Production from crushing(28.5%)
{ZQTY,BPER,000076,CASHFLOW} =
{ZCRUSHING,BPER,#,SPROPLAN} * (28.5 / 100).
Raw Closing stock
{ZQTY,BPER,000085,CASHFLOW} =
{ZQTY,BPER,000084,CASHFLOW} -
{ZRAWSUGAR,BPER,#,SPROPLAN}.
IF COUNTER = 12.
EXIT.
ENDIF.
ENDDO.
Could any one of you help me out in this regard..appreciate ur help with points..
thanks,
RP
I also tried by incorporating versions too..
{Key Figure Name,Calendar Year/Month,Key Figure Type,Version,Plng Area}
Plan version
DATA NVER TYPE 0VERSION.
NVER = VARV(PVER).              " returns globle variable value
{ZQTY,BPER,000074,NVER,CASHFLOW} =
{ZQTY,DPER,000079,NVER,CASHFLOW}.
{ZQTY,BPER,000076,NVER,CASHFLOW} =
{ZCRUSHING,BPER,#,FPV,SPROPLAN} * (28.5 / 100).
FPV is final version of SPROPLAN(planning application)
{ZQTY,BPER,000085,NVER,CASHFLOW} =
{ZQTY,BPER,000084,NVER,CASHFLOW} -
{ZRAWSUGAR,BPER,#,FPV,SPROPLAN}.
thanks, ...RP
I tried by inserting two fields  Fiscal yr & value type in "fields for condition" , still i'm not getting..what might be the reason?
Is there any other way to achieve this?
thanks...RP
I'm already using standard area SPROPLAN in another multi-area, in that multi-area consists of 2 cubes both are based on key figure model only and correctly able to access the data for that application requirement, but here i'm not able to access SPROPLAN cube's data. I checked with different combinations. Any suggestions....
thanks,..RP  
Keyfigure ZCRUSHING of SPROPLAN plannning area is already accessed in just above mentioned mulit-area, is because of this, am i getting the problem? Is there any refresing setting i have to mention?...thanks
Edited by: Kumar RP on Mar 27, 2008 1:51 PM
Edited by: Kumar RP on Mar 28, 2008 7:42 AM
Edited by: Kumar RP on Apr 1, 2008 6:53 AM
Edited by: Kumar RP on Apr 2, 2008 11:20 AM

Myself corrected code by using operand format as
{Key Figure Name,Key Figure Type,Plng Area}.
regards,
RP

Similar Messages

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

  • Ora:12705 unable to access NLS data files or  invalid environment specified

    Hi All,
    In our BW production SAP standard job DBA:update_stats is failing  . In Job log we found that  the info like
    Ora:12705 unable to access NLS data files or  invalid environment specified.
    Connect to DB instance failed.
    Brconnect terminated with exit code 3.
    We are on Oracle 10.2 BW 3.5  Sunsolaris 5.10
    The Env is as below:
    HOME=/home/bwpadm
    PATH=/oracle/BWP/102_64/bin:/usr/jdk/j2sdk1.4.2_13/bin:/home/bwpadm:/usr/sap/BWP/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin
    LOGNAME=bwpadm
    HZ=
    TERM=vt100
    SHELL=/bin/csh
    MAIL=/var/mail/bwpadm
    TZ=US/Pacific
    PWD=/home/bwpadm
    USER=bwpadm
    SAPSYSTEMNAME=BWP
    DIR_LIBRARY=/usr/sap/BWP/SYS/exe/run
    LD_LIBRARY_PATH=/usr/sap/BWP/SYS/exe/run:/opt/j2sdk1.4.2_08/bin
    JAVA_HOME=/usr/jdk/j2sdk1.4.2_13
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=BWP
    dbs_ora_schema=SAPBWP
    ORACLE_PSRV=BWP
    ORACLE_SID=BWP
    DB_SID=BWP
    ORACLE_HOME=/oracle/BWP/102_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/client/92x_64/ocommon/nls/admin/data
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    SAPDATA_HOME=/oracle/BWP
    Plz suggest what we have to change to fix the problem.
    Thanks,
    Subhash.G

    Thanks for the reply,
    The below is the orasid env:
    As you suggest  we  found ld_library_path  is not set to  oracle client .
    we still using 9.x client shall we add that path to the above varaible.
    Please suggest..
    HOME=/oracle/RSS
    PATH=/oracle/RSS/102_64/bin:/oracle/RSS:/usr/sap/RSS/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb
    LOGNAME=orarss
    HZ=
    TERM=vt100
    SHELL=/bin/csh
    MAIL=/var/mail/orarss
    TZ=US/Pacific
    PWD=/oracle/RSS/102_64/dbs
    USER=orarss
    SAPSYSTEMNAME=RSS
    DIR_LIBRARY=/usr/sap/RSS/SYS/exe/run
    LD_LIBRARY_PATH=/usr/sap/RSS/SYS/exe/run:/oracle/RSS/102_64/lib
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=RSS
    dbs_ora_schema=SAPRSS
    ORACLE_SID=RSS
    DB_SID=RSS
    ORACLE_BASE=/oracle
    ORACLE_HOME=/oracle/RSS/102_64
    NLS_LANG=AMERICAN_AMERICA.UTF8
    SAPDATA_HOME=/oracle/RSS.
    Thanks,
    Subhash.G

  • I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data.

    I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data and it does not show on the desktop when connected.

    Ok if disk utility was able to verify the drive I doubt there is any problem.. are you trying to open a TM backup??
    You need to mount the sparsebundle then check the actual info inside the bundle.
    Don't use disk warrior.. if the disk has verified then unless you deliberately deleted files there is nothing that is going to do.
    Pondini has a lot of stuff about getting access to the sparsebundle.
    http://pondini.org/TM/17.html
    But if you have copied info to the TC that is now gone.. and the disk is ok.. I am not sure.. the TC will not have deleted the files itself.

  • Users are unable to access Essbase data-corrupt group

    Someone moved a hyperion user to an ldap directory group that hyperion couldn't access which seems to have corrupted the group to which the ID belongs. I got rid of the ID but the users are still experiencing problems accessing essbase data. We have 9.3.1 and I have refreshed security filters and recycled many times. Does anyone have any suggestions? Should I reimport the secfile.txt?

    Where I need to check the logs in tbl Logs under Appserver?
    Well, I am unable to see complete input schedule. I have unprotected the sheet still there is data N38 but able to see before row 58. unable to expand.
    Kindly suggest.

  • Unable to access the data and table fields from handheld

    Hi,
    I've created a Testing.sdf file on the local pc using SQL Server Management Studio, creating table, fields and insert some data. in local pc i can access the the data as normal. the problem is after i moved the file to handheld device i
    cannot access the data within the table, it shown error 'Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)' . I tried to google it, but still got no solution.
    Thanks,

    'Name Space
    Imports System.Data.SqlServerCe
    'String Connection
    'Data Source = D:\SKUDWN3 .sdf'
    Public Sub CreateDB(ByVal StrConn As String)
            'Declaration
            Dim cn As SqlCeConnection = Nothing
            Dim cm As SqlCeCommand = Nothing
            Dim SQLEngine As SqlCeEngine = Nothing
            Dim rs As SqlCeResultSet = Nothing
            Dim rec As SqlServerCe.SqlCeUpdatableRecord = Nothing
            'Tables -
            Const TB_SKUDWN3 As String = "SKUDWN3"
            'Fields TB_SKUDWN3
            Const FL_SKUDWN3_UPC As String = "UPC"
            Const FL_SKUDWN3_SKU As String = "SKU"
            Const FL_SKUDWN3_LD As String = "LD"
            Const FL_SKUDWN3_SD As String = "SD"
            Const FL_SKUDWN3_AN As String = "AN"
            Const FL_SKUDWN3_Price As String = "Price"
            Const FL_SKUDWN3_GST_FLAG As String = "GSTFLAG"
            'Create Database
            SQLEngine = New SqlCeEngine(StrConn)
            SQLEngine.CreateDatabase()
            SQLEngine.Dispose()
            'Open Connection
            If IsNothing(cn) Then cn = New SqlCeConnection(StrConn)
            If cn.State = Data.ConnectionState.Closed Then cn.Open()
            cm = cn.CreateCommand
            'Create Table, Fields
            cm.CommandText = "CREATE TABLE " & TB_SKUDWN3 & " (" & FL_SKUDWN3_UPC & " NVARCHAR (13)," & _
                " " & FL_SKUDWN3_SKU & " NVARCHAR (9), " & FL_SKUDWN3_LD & " NVARCHAR(30)," & _
                " " & FL_SKUDWN3_SD & " NVARCHAR (18), " & FL_SKUDWN3_AN & " NVARCHAR(15), " & _
                " " & FL_SKUDWN3_Price & " NVARCHAR (10), " & FL_SKUDWN3_GST_FLAG & " BIT)"
            cm.ExecuteNonQuery()
            'Close Connection
            cm = Nothing
            If Not IsNothing(cn) Then
                If cn.State = ConnectionState.Open Then cn.Close()
                cn.Close()
                cn.Dispose()
            End If
        End Sub
    'The DB was successfully created, but after moving to Handheld the fields of table can't be accessed

  • Unable to access Archived data with an ABAP Query

    I have an ABAP Query that uses Logical Database KDF (Vendor) for reporting.
    KDF is Archive Enabled and I can access archived document via SAP standard programs that used the KDF Logical Database.
    the query appears accessing the data but nothing shows on the report.
    Has anyone successfully written and ABAP query and included access to the Archived data?
    Any help is appreciated.

    Hi Gena,
    I'm facing exactly the same problem as you...
    Since this post is an old one, I imagine that you may not remember, but I have to try...
    Have you solved it? If yes, could you please tell me how?
    I've tried to use CL_ABAP_GZIP and CL_ABAP_UNGZIP_BINARY_STREAM and I'm getting the same error 30 at the  IctDecompressStream function.
    Tks in advance,
    Flavio.

  • After update 4.2.1 unable to access mobile data network

    Hello,
    yesterday, i have updated to 4.2.1
    Today, i have activated the flight modus for a while...
    Then go back into the normal modus (flight modus off). Now, the access to the mobile data network is never possible. Access via WIFI is allways ok.
    Now, i have made the same with a second 3GS with 4.2.1 and the problem is reproducible. Message > " mobile data network could not be activated "
    thanks in advance for help...
    Th

    Settings>General>Reset>Reset Network Settings...see if that helps.

  • Dashboard - Unable to access external data (BW connection)

    Hello everyone
    I have observed below error when dashboard is opened.
    We are using SAP Dashboard 4.0 SP5 (patch 2) and it uses BW connection for its data source (SAP NW connection). Dashboard is run on SAP portal and we are not using BO enterprise.
    We noticed this error recently after doing an BW SPS upgrade to BW 7.3 SP11.
    I tried opening the query via Business Explorer and Query designer and it succeeded but via dashboard. We used 9 query connection for the dashboard and all of them provide the same result.
    I presume that it might be due this but do we have any SAP notes or any solution already for this problem? I looked around SCN forums and couldn't find it. Can anyone help me on this please ?
    Regards
    Kishore Balachandran

    It sounds like your problem is caused by the subnet created by the AirPort Express (AX) for wireless clients. To eliminate this problem, configure the AX so that the option to distribute IP addresses is DISABLED.

  • HT5622 I am unable to access cellular data on my iPad.

    Cellular data not working for me

    Have you subscribed to a cellular service data plan?
    Can you go to settings / cellular data / view account?

  • Unable to access Cellular data..

    Hi guyz I am un able to access my cellular network on my iPhone 4 .... Please help me out ...

    contact your network carrier.

  • I had to create a new profile in Firefox and now, I can't access important data such as bookmarks which I desperately need.

    After two days of not being able to open Firefox, I found an article on this website which suggested that I create a new profile. I followed the instructions (which never stated that I should first backup Firefox or my old profile) After creating the new profile, Firefox is once again working fine but, I am unable to access important data such as bookmarks and history.
    I have followed several suggestion on this website but, I am still unable to find my old profile content.

    As long as you did not uninstall Firefox and remove personal data, your old profile still should be in the same location. Depending on how messed up it was, here are two options:
    '''(1) Use the profile manager to start Firefox up in your old profile and create a fresh bookmarks backup.''' If it didn't run, this won't be useful.
    To start in a different profile, Exit out of Firefox and start it up from the Start menu, search box, using
    firefox.exe -P
    Your old profile may have a name like default.
    Then you can create a fresh backup or export of your bookmarks (or both) to a neutral location (e.g., the Documents folder). These articles have the steps for creating these files:
    * [[Restore bookmarks from backup or move them to another computer]]
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]] (note: does not preserve tags you have assigned to bookmarks, if any)
    Exit Firefox, use the profile manager to return to your new profile, then you can either restore the bookmark backup or import the HTML file. The difference is that a restore completely replaces whatever exists now, while an import adds to what you have now.
    * [[Restore bookmarks from backup or move them to another computer]]
    * [[Import Bookmarks from an HTML file]]
    Success?
    '''(2) Restore an old bookmark backup.''' Firefox creates these files regularly, but it might not be perfectly complete.
    To access the old files, I suggest starting from your current (new) profile folder. You can open that from within Firefox using either:
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This should launch a new window showing your ''current'' settings files. Using the address bar of that window, click up to the Profiles folder level and then double-click into your old profile folder, then into its bookmarkbackups folder. Copy the latest backup file to a neutral location (such as your Documents folder).
    Back in Firefox, try to restore the older backup. Note: this will completely replace your bookmarks in this profile, so if you have saved new bookmarks you want to save, please perform the optional steps in the following list:
    * Optional (preserve new bookmarks): [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    * [[Restore bookmarks from backup or move them to another computer]] - use Choose File to go to your Documents folder to get the old backup
    * Optional (add new bookmarks to the restored set): [[Import Bookmarks from an HTML file]]
    Success?

  • Unable to access or view data with no authorization error

    Hi Experts,
    Appreciate your guys help. I am ID administrator where by some of our user ID unable to view data/ display report for the some of data even the appropriate authorization already assigned to the user. However when we check in the transaction SU53 - authorization checking no error shown!
    There is a case whereby user report that his ID (e.g. SAP ID = ABC) unable to access a transaction or infotype data for example HR infotype masterdata,upon checking there is no authorazition error (checked insu53), when copy the ID (ABC) to another new ID (ABC1) with no changes on the roles, the ABC1 ID able to access the said transaction.However, when copy back ABC1 to the ABC (naming conversion only), the ABC ID still unable to access the transaction with no authorization error. the
    main problem here is the original ID is not working, but works fine if it is copied to another ID name.
    Kindly advice.

    Hi Manikya Raju,
    Can you explain details?

  • Unable to Access Data Form with Users Provisioned as 'Planner'

    Hello,
    I am currently experiencing an issue that I can't seem to resolve. I was hoping someone else might have some insight and/or have come across this issue.
    I created two data forms. Users have been assigned permissions to the dimensions included in the data form. I have also assigned users access to the data form. The model is a single currency model.
    Upon logging into the application, the user is unable to open the data form unless he/she is provisioned as an 'Administrator'. Provisioning the user as a 'Planner' or 'Interactive User' does not allow the user to open the data form. The following message appears:
    *"Security and/or filtering has resulted in a required dimension not being represented on this data form."*
    My data form uses the following dimensions:
    POV: ELEMENT
    PAGE: SCENARIO, YEAR, VERSION, ENTITY
    ROWS: ACCOUNT
    COLUMNS: PERIOD
    We are currently implementing Hyperion Planning 11.1.2.0. The operating system is Windows Server 2008 64-bit R2.
    Any advice/suggestions on how to resolve this would be greatly appreciated. Thank you.
    Corey

    I went ahead a created a data form that just used level 0 members and confirmed that the user had access to the members defined in the form. Still no luck.
    I also checked to make sure the filters existed in Essbase. Here is what I found in Essbase:
    Access: None
    Member Specification: @IDES("Account"),@IDES("Scenario"),@IDES("Version"),@IDES("Entity"),@IDES("NTTA_ELEMENT")
    I have no issues accessing the data through the Essbase Add-in.
    I did notice some additional items in my Planning setup:
    1. Task>Manage Process - Sub-Status states 'Failed' when I attempt to validate
    2. Task>Manage Process - Status changes from 'Not Started' to 'Under Review' when I start the cycle.
    3. Dimension Security - Users are attached to a group that has write access at the Descendent(Inclusive) level.
    4. In the Account, Department, Scenario and Version dimensions I also setup the user to have write access at the member level.
    As for my earlier post with the data forms, that was just my way of showing the dimensions used. I do have two data forms, 1) with top level and descendants/children and 2) with level 0 members only.
    I checked the logs and there isn't really much info there. I have a case open with Oracle and a webex scheduled for tomorrow.
    Thoughts?
    Thanks
    Corey

  • Im getting the following Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support

    I'M GETTING THE FOLLOWING ERROR
    Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support

    Error downloading Creative Cloud applications

Maybe you are looking for

  • Movement types in PO

    Hi All, where can we see the movement types in the PO.if there is no possibility to see the same then how the movement types are automatically determined in MIGO transaction and can we chage that manually. Regards, Sri.......

  • Calling Function in  SQL

    Hi, I wrote a function like below: create or replace function test_ref_cur return sys_refcursor is l_ref_cur sys_refcursor; begin open l_ref_cur for select 'Tom' ename from dual union select 'John' from dual union select 'Jim' from dual; return l_ref

  • Icons not staying put in folder windows

    Just recently if I rearrange the icons in a folder window after I do a restart the icons reaarange themselves and the folder window resizes back to a previous size and arrangement - it's driving me mad! Do I need to dump some preference file or clear

  • Java.rmi.MarshalException

    Following error is thrown if more than 50 users tries to login our page. The page contains some ejb calls also. help plzzzzzzzzzzzz. <Complete failure to send exception class java.rmi.MarshalException: java.rmi.MarshalException: IOException while sen

  • Converting to PAL from 1080p

    I'm about to start on a short, somewhat animated sequence in HD. The final output will be NTSC dvd, PAL dvd, and HD 1080 24p or 30p for download. I don't care what frame rate the original sequence is at whether it's 24p or 30p, I just want it to be i