How to check if a member is a base member

Hi,
I want to check in script logic if a member is a base member and only then create a record.
Does sb know how to check if a member is a basemember with the WHEN/IS statement?
Thanks!

Hi,
in the beginning, I once tried to write aggregated values using a script, just to find out what will happen. I modified the script and the dimension structure and managed to "destroy" the whole application by doing that somehow. The application worked normally until I decided to optimize it, then, I got an error saying sth. like "ID already exists..." (the ID from the aggraged value) and I couldnt use the cube any more - I guess combining data from the WB cube and the fact cube with both aggregated values and "fixed" values for the aggregated members was too much/created the inconsistencies... after that experience, I got heavily depressed and didnt test writing aggregated values any more... afterwards looking at it philosophically, the database can do several things to the children's values when their parent's value is changed to an arbitrary value and not in all scenarios, it is obvious for the machine how to keep everything consistent :P.
Edited by: HPC-Berater on May 12, 2009 3:31 PM

Similar Messages

  • How to check if the member exists in essbase cube using IF cond.

    Hello,
    I have a requirement to validate certain accounts and if they exist or not and use them in calc. We have certain list of percent accounts which have some driver amounts. If the user selects the parent account, it should automatically calc with percent accounts to generate the values for all its children.
    The issue is we have lots of accounts and lots of percent accounts, its not that all accounts have the percent accounts. thats the problem.
    When I Fix at a high level of accounts, am getting this error which says that member doesnt exists and return empty member set.
    Error executing formula for [Revcnt] (line 49): attempt to cross a null member in function [@X]
    Its the same even if I use Set Emptymembersets ON;
    The script is below,
    FIX(@Relative({SelectAccount},0),
    "Revcnt"(
    IF(@ISMBR(@MEMBER(@CONCATENATE(@NAME(@CURRMBR("Account")),"%"))
    Condition ;
    ENDIF);
    ENDFIX
    Is there a command to validate if the member exists in the cube or not???
    We are using 11.1.2.1 Essbase on Windows 64bit.

    The silly question first:
    Why not user dynamic calc for the members you need? When updating the structure, you create the formula. Your verification if a member exists will be done in, for example, a select statement that create the dimension.
    Now the complex idea:
    Is it possible in your application recreate the script every time you update the dimension?
    My example:
    Here we have a cube that change the account dimension very often. So the cube have an CalcScript that need to be updated every time the dimension changes.
    For that purpose, we have a process that read the database and recreate the calc with the correct members.
    I never tested that solution with calc manager, but i think it's less complex than recognize the member itself during calculation.

  • How to check up Integrity of basis on the server ?

    How to check up
    1. Integrity of basis on the server
    2. Presence of necessary fields in bases
    Why ask ?
    There is for a long time imported in ZCM station XP.
    In properties of agent ZCM at this station I see that all politicians are applied successfully.
    In the https://zcmserver | ws Xp_KAP| Relationships | Assigned Policies | Inherited
    for Dynamic Local User Policy "01UsersRightsDLU" Deployment Status = Unknown.
    If remove (unreg) from ZCM this WS and import Again - all properies will be OK...
    ( I have some such for a long time imported machines with similar problems. )
    Serg

    Originally Posted by AndersG
    Skoltogyan,
    > Thanks. I will look forward to hearing
    Sorry. I shuould have spotted that myself. The command you entered is wrong. You entered:
    /opt/zdc # ./zdc verify -b /var/opt/novell/zenworks/database/zenworks_AMI_COMPANY_ZONE.db
    Should have been:
    /opt/zdc # ./zdc verify -b /blabla/zcm_10.x.x.zdc
    Ie you enter the full path to the baseline file, not the database for -b
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms
    cd /opt/zdc
    ./zdc verify -b
    and in the log-file get 3 errors:
    1)
    + Initializing native libraries.
    [ERROR] [ZDCNative]
    [!] Could not load native library, native features will be disabled
    [DEBUG] [ZDCNative] /opt/zdc/lib/native/libzdcnative.so: librpm-4.4.so: cannot open shared object file: No such file or directory
    java.lang.UnsatisfiedLinkError: /opt/zdc/lib/native/libzdcnative.so: librpm-4.4.so: cannot open shared object file: No such file or director
    y
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at com.novell.zenworks.zdc.system.platform.ZDCNative. initialize(ZDCNative.java:20)
    at com.novell.zenworks.zdc.system.platform.ZDCNative. <clinit>(ZDCNative.java:33)
    at com.novell.zenworks.zdc.DiagnoseZen.startZDC(Diagn oseZen.java:105)
    at com.novell.zenworks.zdc.DiagnoseZen.start(Diagnose Zen.java:64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.novell.zenworks.zdc.boot.Bootstrap.main(Bootst rap.java:110)
    [INFO ] [DiagnoseZen]
    + Attempting to connect to database.
    [TRACE] [DatabaseConnector] Establising JDBC connection.
    [TRACE] [DatabaseConnector] JDBC connection established.
    [INFO ] [DiagnoseZen]
    2)
    [ERROR] [ZDCNative]
    [ERROR] [FileVerifier] File '/opt/novell/zenworks/share/tomcat/webapps/zenworks-reportadmin/WEB-INF/web.xml' is missing!!!
    [ERROR] [FileVerifier] File '/opt/novell/zenworks/share/tomcat/webapps/zenworks-reportadmin/WEB-INF/classes/com/novell/zenworks/webservice/reportadmin/ReportAdminImpl.class' is missing!!!
    [ERROR] [FileVerifier] File '/opt/novell/zenworks/share/tomcat/webapps/zenworks-reportadmin/WEB-INF/classes/com/novell/zenworks/webservice/reportadmin/ReportAdminTieSkeleton.class' is missing!!!
    [ERROR] [FileVerifier]
    3)
    [TRACE] [DBObjectComparer] Constraint 'fk_zDevice_ZUID' is okay.
    [TRACE] [DBObjectComparer] Comparing Triggers
    [ERROR] [DBObjectComparer] Mismatch in Trigger 'tg_IsRetired_Ins_Upd' structure!!!
    Expected: [Name: tg_IsRetired_Ins_Upd, Table: zDevice, Definition hash: 5e61ed8]
    Found : [Name: tg_IsRetired_Ins_Upd, Table: zDevice, Definition hash: d789549a]
    [DEBUG] [DBObjectComparer] Additional Information:
    create trigger -- when zDevice is retired or unretired let NC_Workstation know
    tg_IsRetired_Ins_Upd after update on
    zenadmin.zDevice
    referencing old as oldtable new as newtable
    for each row
    begin
    declare @Retired1 tinyint;
    declare @RetiredDate1 datetime;
    declare @ZUID1 binary(16);
    if(newtable.Retired <> oldtable.Retired) then
    set @Retired1=newtable.Retired;
    set @ZUID1=newtable.ZUID;
    if(@Retired1 = 1) then
    set @RetiredDate1=newtable.RetiredDate;
    update NC_WORKSTATION set
    NC_WORKSTATION.IsDeleted = @RetiredDate1
    where NC_WORKSTATION.ZenWorksAgentID = @ZUID1;
    update NC_COMPONENT set
    NC_COMPONENT.IsDeleted = @RetiredDate1
    where NC_COMPONENT.IsDeleted is null
    and WORKSTATIONOID = any(select WORKSTATIONOID from NC_WORKSTATION where ZENWORKSAGENTID = @ZUID1)
    else
    set @RetiredDate1=oldtable.RetiredDate;
    update NC_WORKSTATION set
    NC_WORKSTATION.IsDeleted = null
    where NC_WORKSTATION.ZenWorksAgentID = @ZUID1;
    update NC_COMPONENT set
    NC_COMPONENT.IsDeleted = null
    where NC_COMPONENT.IsDeleted >= @RetiredDate1
    and WORKSTATIONOID = any(select WORKSTATIONOID from NC_WORKSTATION where ZENWORKSAGENTID = @ZUID1)
    end if
    end if
    end
    [ERROR] [TableHelper]
    [!] 1 errors found while verifying Triggers of Table zDevice
    [DEBUG] [TableHelper] Verifying table 'zDeviceCreationInfo'
    [TRACE] [DBObjectComparer] Comparing Columns

  • Check our name in SAP data base

    Hi,
    Please tell me how to check our name in SAP data base and can we check our score as well as our sertification details also, if yes tell me proceedure.
    Thanks.
    Regards
    Samir.

    Hi
    I dont know if I understood your question but as far as I understood you are asking how to see your name in the SAP database. User names are maintained in the data base and you can see the details after logging into the system using menu option System> User Profile> Own data. Here you can see the user ID and and more details about the company address etc if it is maintained.
    Please let me know if this is what you are looking for
    Thanks

  • How do you dynamically check if all member children are missing?

    Hi All,
    How do you dynamically check if all member children are missing?
    e.g. the below line does not work because you cannot directly use member sets in an IF statement.
    IF ((@CHILDREN ("Profit")==#MISSING))
    If I explicitly list all children in the IF statement, it will work, but there is alot of hardcoding.
    Thanks in advance.
    Darren

    Hi All,
    We have a BSO app and we need to query the account without aggregating the data..
    We have 4 accounts sitting under Profit:
    Profit
         A001
         A002
         A003
         A004
    @SUM (@DESCENDANTS ("Profit")) works fine, but we also need to sum the accounts for the parent member of the current business that is evaluated, I have tried @SUM (@DESCENDANTS ("Profit")->@PARENT ("Business")) but this does not work.
    This however works...
    @SUM(
    @PARENTVAL("Business","A001"),
    @PARENTVAL("Business","A002"),
    @PARENTVAL("Business","A003"),
    @PARENTVAL("Business","A004"))
    Is there a dynamic method to add the parent values together?
    Cheers,

  • How does Check Names in the Target Audience picker work?

    Can anyone tell me how the Check Names button in the Target Audience picker works? We are having problem with a specific audience in one of our web applications. I don’t think the problem is the actual audience though:
    The Target Audience is a global target audience named ”XYZ”. It is compiled and contains member. When an article is tagged with this audience all works fine as long as we use the Audience Picker dialog. But, when using the Check Name button the audience
    is not saved. This happens when I edit properties on the article (not customized UI) and also when I edit the article in a customized UI. No ULS messages.
    I have read that the Target Audience Picker searches for matches in AD Distribution groups, SharePoint groups and Global Audiences. When we write “XYZ” in the audience field and presses the Check Names button one suggestion is displayed, named “XYZ”. When
    I write “XYZ N” and press the Check Names button several suggestions are displayed: 4 “XYZ” and a couple of other suggestions “XYZ xx…” etc. We have no SharePoint groups starting with “XYZ”, we have no AD Distribution Groups starting with “XYZ”, and we have
    only one Global Audience starting with “XYZ”. Where are all the “XYZ” suggestions coming from? Can anyone help, please?
    We are using SharePoint 2010.
    Best regards Heidi Lillebuen

    Hi Heidi,
    The target audience picker is similar to people picker, it searches the content of User Profile Service to find the matching users or groups.
    I did a test based on your description. In my testing, everything worked well.
    Please check whether there are some users whose display names are like ‘XYZ ***’.
    Please create a new global audience using a different name, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • The database structure has been modified - how to check if it happend?

    Hello,
    I have a question. How to check if the database structure has been modified? I know that there is shown a messagebox after creating table and adding some fields, but sometimes this message appear after some seconds. The problem is that I want to create table and UDO for this table, and until database structure is not modified I got an error message. If I wait and DB strucuture modifies then UDO is creating correctly.
    My question is - does anyone know how to check if database structure has been modified?
    Regards,
    Hmg

    Hi Szymon,
    I guess you are stuck up in a kinda scenario, where in, you will be populating a form with values, before the structure modifies, if this is going to be your problem, I can help you out with a work around.
    In the beginning of the process, before the creation of the UDO or tables, set a boolean value to false, and once all UDO's and Tables are created, only then, should you make it true and only after the boolean becomes true, you should proceed with populating the values from the screen.
    I really ament sure what your problem is, but one of my guys faced this problem, I then, thought even you might have a similar problem.
    Satish.

  • How to check connection from SAP to reservation system?

    Dear Experts,
    May I know how to check whether the connection between SAP and the reservation system has been set up and ready to use?
    Thanks.

    Hi
    You need to check the identification code issued to the enterprise by AMADEUS must be entered in the R/3 Customizing for Travel Planning under Master Data u2192 Control Parameters for Travel Planning u2192 Define sales offices and Define API access parameters.
    External reservation system In the Travel Planning subcomponent Travel Management accesses an external reservation system connected to R/3 to carry out the queries on available travel services and to book the selected services. The reservation system currently available is the AMADEUS Global Travel Distribution system.
    For more information, see Technical Prerequisites for Travel Planning--
    Technical Prerequisites for Travel Planning
    Before you can use Travel Planning fully, a number of internal R/3 and external prerequisites or settings must be fulfilled.
    Connection to an External Reservation System
    The online booking function in Travel Planning is based on the cooperation with external reservation systems that are used to communicate with the service providers. The R/3 user has access to the following functions via the connection to an external reservation system:
    u2022 Availability query of travel services
    u2022 Transfer of additional information about selected travel services
    u2022 Price information
    u2022 Processing of reservation by the respective provider
    u2022 Synchronization of the data in SAP Travel Planning if external booking changes have been made
    In the current release the external reservation system in use is AMADEUS Global Travel Distribution. AMADEUS is a subsidiary of Lufthansa, Air France, Continental Airlines and Iberia. The reservation system it provides is in worldwide use and 160,000 terminals in 37,000 travel agencies and ticket sales centers in over 130 countries are connected to it.
    In order to carry out online booking via AMADEUS the following must have been carried out:
    u2022 Your enterprise must have signed an agreement with AMADEUS for the use of the interface and be registered at AMADEUS with a user ID
    u2022 A network connection to the AMADEUS computer center must have been opened
    u2022 The identification code issued to the enterprise by AMADEUS must be entered in the R/3 Customizing for Travel Planning under Master Data u2192 Control Parameters for Travel Planning u2192 Define sales offices and Define API access parameters.
    For questions about registration, contact the SAP & AMADEUS Competence Center:
    SAP & AMADEUS Competence Center ACC 02 Neurottstrasse 16 69185 Walldorf Germany
    Cheers
    Mukta

  • How to check SSO user from database?

    Hi:
    I've posted this topic in Forms forum:
    How to check SSO user from database?
    then as I've been told, it's better to post it here, so ...... here is the question:
    I'm writing a "before delete trigger" to insert into log table before delete. Is there a way that I know from database the current SSO user when SSO users share one database user?
    Just like in Oracle Application Express there is v('APP_USER') to know the current user.
    Saad,

    End users are manipulating data through Oracle Forms(and SSO through portal) and the thing I need is to trace the SSO username from database without modifying forms, I mean purely from database taking into consideration that SSO users are sharing one database user. Is it possible?
    Saad,

  • How to check  if all values from a dataset  has come to  an internal table

    How to check  if all values from a dataset  has come to  an internal table ?

    Hi,
    After OPEN DATASET statement check if sy-subrc = 0 if its success then proceed with split statement and save the dataset values into a internal table and while debugging the internal table you will find that whether all values get into internal table.
    Checking sy-subrc after OPEN DATASET statement is must to fill up the values in the internal table.
    For e.g.
    OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        WRITE :/ 'No such input file' .
        EXIT.
      ELSE.
    READ DATASET p_inpfile INTO loc_string.
          IF sy-subrc NE 0.
            EXIT.
          ELSE.
            CLEAR loc2.
    *Spliting fields in the file-
            REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
           SPLIT wa_string AT const INTO loc2-pernr
                                           loc2-werks
                                           loc2-persk 
                                           loc2-vdsk1.
    Hope you get some idea.
    Thanks,
    Sakthi C

  • How to check vendor payment

    Hi gurus,
    how to check vendor payment is done are not in purchase order
    Regards
    murali

    Check through FBL1N vendor line item display, here you can check for the vendor libality generated during invoice (MIRO) posting once you get into the t-code FBL1N select the radio button open items only in line item selection give your vendor account, company code date (Key day at which the line items are open till now), and execute.
    In the report screen to help your self you can search using crtl + F and put reference as serach criteria.
    You will see the non cleared item the Status indicator tells you the line item is not yet cleared.
    BR

  • Open Slaes Order-How to check and close ?

    Hi,
    We have an open sales order which looks like the delivery is closed and 100% completed, but the sales order is still open!
    Now i know this is an ongoing issue which has several possible reasons for and i have used a script to see what is returned but nothing.
      Can you let me know how to check if there were any changes made in any particular Sales orders ?
    eg comparing open items list of sales orders with something ?
    Thank you in advance,

    Hi,
    Yes we ran the query in note 948670 and it came back zero for all?! See below for details.
    This is what has thrown us so what is the simplest way to check why a SO remains open i.e how to check if there were any changes made?
    Rdr u2013 0 Rows
    Dln - 0 Rows
    Rdn - 0 Rows
    Por - 0 Rows
    Pdn - 0 Rows
    Rpd - 0 Rows

  • How to check RG1 Opening and Closing balance

    Dear All,
    Kindly let me know how to check the opening balance and closing balance in RG1 register.
    Regards,
    Mullairaja

    Dear J Prakash,
    Do we need to check the balance based on Excise Transaction Type?
    I assumed that, we need to check as per the Registers.
    Similary, please clarify another doubt also.
    On what basis we need to check Excise balances?
    1. Based on Excise Registers
    2. Based on Excise Transaction Types
    3. Based on G/L accounts.
    Regards,
    Mullairaja

  • How to check Mobile Balance

    Hii
    how to check mobile credit  balance...?
    my ios version is 7.1.1
    my network in INDIA
    while enter the *123# ...it will going a call...
    no balance ll comeing
    so please find the solution for this

    Ask your carrier.

  • How to check for a function module with its description and functionality

    Hi all,
    How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .

    Hi,
    You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
    Say for example you need to search something regarding converstion.
    Search for * CONVERT * and press F4.
    If there is something specfic like converting date to something you can give
    DATE * CONVERT *
    OR
    CONVERT * DATE *  and press F4.
    Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
    Regards,
    Pramod

Maybe you are looking for

  • Passing parameters to a java portlet from pl/sql proc

    hi ! I try to build a link with a pl/sql procedure to a portal page which contains a java portlet. this link should pass a non qualified parameter to the page ... I try to get this parameter doing so : pr.getParameter("myparam") but nothing's work ..

  • Restrict issued quantity in process order

    Dears we are using process industry scenario, during confirmation COR6N backflush takes place and the material components are issued  mu customer wants that during confirmation change in material components quantities not to exceed 5% of the standard

  • Agent Inbox in WebIC always empty ?

    Hi All, We have an Account in CRM. It has been assigned as Sold-To-Party to 4 Sales Orders. But, when we search the Account in WebIC, the Agent Inbox and Field Worklist is always empty. Any idea why this must be happening ? Are we missing any customi

  • Search API payment update!

    I can't figure out how to change a credit card for the payment for Bing Search API, please help!

  • Getting path to application associated with file type

    Hello, I'm looking for a platform-independent way to get path to application associated with given file type. Desktop API introduced in JSE 1.6 seems to do this, but it only lanuches the app. Any suggestions will be apprecieted