Problem in developping Multi Planning area

Hi, experts,
I have a question regarding as the multi planning area ->
I have created a mullti planning area which include two basis area:
A for plan data (transactional cube)---> Charateristic: Material, 0CALYEAR/ KF: Price
B for actual data (non-trans cube)---> Charateristic: Material, Fiscal year/period/ KF: Quantity
My requirement is:
I would like to display the the quantity for a certain material for  Fiscal year/period= [001.2009,012.2009] from Cube B, at the same line, i should be able to input the Price for 0CALYEAR 2010 into Cube A.
My question is:
how should I define  the value of these two characteristics which restrict these two KF respectively ?
Thanks in advance.

Hi,
As per my experience,you get  this error message "Characteristic combinations cannot be assigned to any basic area",only when you have any characteristic present in one cube and not in another and then you try to post some values for it in the cube where it doesn't exist.With your example I guess there could be an issue with 0CALYEAR and Fiscal year/period.
Secondly you cann't post data to non transactional cubes which I guess you are trying to do so ,when you say post in same line mean the granularity of the record which you want to write can be like:-
FrmCubeA/BFrmCubeBFrmCubeAFrmCubeBFrmCubeA
Material1Fiscal year/period0CALYEARQuantityPrice   
The above scenario where u are trying to get the data from both the cubes and post value to Cube A for price is not possible,as cube is non-transactional cube.
You can Include the Fiscal year/period and quantity in your real time cube CubeA ,copy the data using multiprovider into CubeA from CubeB for material and then u can plan price.
FrmCube AFrmCube AFrmCubeAFrmCubeAFrmCubeA
Material1Fiscal year/period0CALYEARQuantityPrice   
Hope it may be helpful.
Edited by: Indu Sharma on Nov 18, 2010 5:36 AM

Similar Messages

  • STS Limitation for Multi Planning Areas

    Is there a problem when using multi planning area based applications in the STS?
    Thanks
    Tim

    Hi
    in SAP-libary under Customizing the Status and Tracking System /Prerequisites you have the following text:
    The planning area of the characteristics and key figures that you access in the Status and Tracking System must be a basic planning area. You cannot use multi-planning areas in the Status and Tracking System.
    Hope this helps
    Maryon

  • Multi-planning area when updating an infocube

    Hi,
    I work on a multi-planning area based on a transactionnal cube (C1) and a standard cube (C2). I have to add a characteristic in the standard cube.
    Since this change, a planning level has problems : it is only used by calling a function module : API_SEMPS_GETDATA. This function returns no data whereas the cube contains data for the selection filters of the level.
    It's all the more surprising as I have another multi-planning area based on another transactionnal cube (C3) and the same standard cube (C2), and for the level of this multi-planning area, the data are returned from the API_SEMBPS_GETDATA function.
    The multi-planning area has not changed. I can't understand where the problem comes from.
    Has anyone had already dealt with a problem like that?

    Hi Agnes,
    double check your selection criteria when you define the planning level or package. If you call API_SEMBPS_ADHOCPACKAGE_SET then selection needs to be passed in external representation which might be different in your case.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Reading data form multi planning area

    Hi Guys,
    I bulit planning function type Exit on the multi planning area. I need to get the data from two planning areas(Underlying infocubes)
    but my exit functions is not reading data from second Infocube(Planning area),  my requirment is i need to get the one Keyfigure value from the second infocube .
    My formula is
      If fistcube-charactric(Marketing spend) = secondcube -charcsterstic ( marketing spend)
         firstcube -keyfigure(CRM cost)  = Firstcube-Keyfigure(CRMCIRC) * Secondcube -keyfigure(marketing spend rate).
    the value for marekting spend rate is not getting populated , but i can see the keyfigure markeig spend in the structure.
    Is there any other way i can get marketing spend keyfigure from the second infocube.
    This part is not getting populated.
    *Handling rate
       ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486250'.
       tmp_z_mksrate = <xdata>-s_kyfs-z_mksrate.
    <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_z_mksrate.
    i tried to debug but i couldn't find out anything.
    if anybody has experinced please share your ideas.
    How to get value from second infocbue.
    Here i am adding my code.
    Data: lr_xdata type ref to cl_sem_planarea_attributes.
    FIELD-SYMBOLS:
       <xdata>   TYPE  /1sem/_ys_data_100ZCNA0001,
       <t_xdata> type  Hashed table.
    Data: tmp_zcrm_circ type /BIC/OIZCRM_CIRC,
          tmp_zcrmfacev type /BIC/OIZCRMFACEV,
          tmp_z_mksrate1 type /BIC/OIZ_MKSRATE,
          tmp_ZMKTSPED  type /BIC/OIZMKTSPED.
    **Get an instance of the planning area
    call method cl_sem_planarea_attributes=>get_instance
    EXPORTING
    i_area = i_area
    RECEIVING
    er_instance = lr_xdata.
    **create a table like xth_data
    Data :lt_xdata type ref to data.
    create data lt_xdata type (lr_xdata->typename_th_data).
    assign lt_xdata->* to <t_xdata>.
    clear: <t_xdata>.
    SORT Xth_data.
    Loop at Xth_data assigning <xdata>.
    *Net Estimated Circulation
    IF <xdata>-s_chas-ZMKTSPED = ''.
        tmp_zcrm_circ = <xdata>-s_kyfs-zcrm_circ * ( <xdata>-s_kyfs-zcrmredr ) / 100.
        tmp_zcrmfacev = <xdata>-s_kyfs-zcrmfacev.
    Endif.
    *Redemption
        If  <xdata>-s_chas-ZMKTSPED = '0000486213'.
            <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_zcrmfacev.
    *Postage rate
        ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486201'.
               <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * <xdata>-s_kyfs-z_mksrate.
    *Processing rate
       ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486230'.
               <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_zcrmfacev.
    *Handling rate
       ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486250'.
       tmp_z_mksrate = <xdata>-s_kyfs-z_mksrate.
    <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_z_mksrate.
    ENDIF.
    collect <xdata> into <t_xdata>.
    ENDLOOP.
    Refresh Xth_data.
    INSERT LINES OF <t_xdata>  INTO TABLE xth_data.
    Endfunction.
    Thanks in advance.
    Best regards
    SG

    Hello SG,
    first you can simplify your code by just defining <t_xdata> TYPE /1sem/_yth_data_100ZCNA0001. (No need for the dynamic type assignment).
    The data of your second InfoCube needs to be a subset of the selection in your planning package. Check that the second area is also selected for example. Use the criteria in LISTCUBE (on the corresponding MultiProvider) to check that the selection works. Execute the planning function with trace. This shows you what data was selected.
    Regards,
    Marc
    SAP CSA - Technology

  • How to use a non cumulative key figure in a multi planning area

    Hi
    I'm new to bps, my problem is
    I need to read the last stock quantity and value at plant and material level to do further calculations in a fox formula, so i made a planning area for the cube 0rt_c36 and another for my tc cube where the results should go, then i combine these areas in a multiplanning area.
    problems arise when selecting the key figure in the ratios tab of the multi area, the ratios 0CPTOTSTOBU (last stock) and 0CPTOTSTOPV (last stock purchase value) are not available, only the inflow and outflow ratios are 0CPTOTREBU and 0CPTOTREPV.
    I know when reporting, the actual value for stock is calculated by  bex, namely, there is no data store at database level, so the question is:
    How to obtain last stock for using in bps??
    thank you for any help
    regards
    A. Garduñ

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • Multi planning area

    Hi Gurus,
    I have no access to the system at the moment.
    Can I create a new multiplanning area using an existing cube used in another multiplanning area already ?
    Please advise.
    Thanks
    Sanjay

    Dear sanjay,
    as above mentioned, you can go for what you want exactly.
    actually, for one cube you can have only one planning area.
    with help of multiplanning area you can use the same cube multiple times.
    hope this will help you.
    Regards
    Vinay

  • Regenearate Planning area

    Hi Friends,
    Please calrify the following issue.
    Let me explain my problem.
    When we exucute the planning folder in the developement system we are getting short dump in the SAP generated program. It is running fine in the Quality and Production system.
    I contacted SAP they suggested me follow the OSS note: 781371
    SAP suggested me:
    You regenerate the planning area which you are using in the planning
    folder for which you are getting this dump.
    OSS note: 781371 Steps:
    1. Execute the UPC_DELETE_CLASSES function module in transaction SE37. The function module has the I_AREA parameter, which you must enter. Here you must enter the technical key of the planning area.
    2. Execute the UPC_GENERATE_AREA function module in transaction SE37. The function module has the I_AREA parameter, which you must enter. Here you must enter the technical key of the planning area.
    So my question is:
    If  i execute the both above function modules i need to give the plannin area.
    So my planning folder is using the Multi planning area which includes 7 basic planning areas.
    shall i proceed with thses steps or not.
    My main concern is it is multi planning area . If i regenerate the multiplanning area does it any impact on others in other objects.
    Please suggest me whether i can regenerate the multi planning area?
    I f regenerate what are the things i need to take care before regenerating the multiplanning area?
    Please suggest me how to handle this issue.
    Please provide me your valuable suggestions.
    It would be great help for me.
    Will assign the points.
    Thanks
    SAP

    If i execute the both above function modules i need to give the plannin area.
    So my planning folder is using the Multi planning area which includes 7 basic planning areas.
    shall i proceed with thses steps or not.
    I suggest you execute this for the areas on which your objects in the folders are developed from; if they are from the multi areas, then run this is for multi area.
    My main concern is it is multi planning area . If i regenerate the multiplanning area does it any impact on others in other objects.
    It may.
    I suggest you send a message back to SAP seeking whether to run the FM for the basic area or for multi area.
    Ravi Thothadri

  • Problem in getting data in SNP Planning Area Data Source

    Hi All,
    Problem Statement: To fetch data from SNP Planning Area for reporting in SAP BW.
    Approach: Followed the standard SAP Help Document. Link:http://help.sap.com/saphelp_scm40/helpdata/en/e0/9088392b385f6be10000000a11402f/content.htm
    First Step: To create a DataSource on the Planning Area (Z9ASNP02) and Aggregate(9AMALO).
    For that
    Go to SAP Easy Access>Click on /SAPAPO/MSDP_ADMIN/ you are on S&DP Administration>Select the planning Area Z9ASNP02 double click on it
    You are on Change Planning Area Screen>Go to Extras left click>DP/SNP Data Extraction Tool-->Click on Generate Data Source, Provide the
    Data Source Name & Select the Aggregate 9AMALO and click on continue. Data Source is generated.
    But now when i go for Test Data Source-->Extractor Checker Screen and then providing the version 000 and then when i click on extraction Button
    It gives a Message "0 data records selected".
    Thanks in Advance,
    rahul

    Hi Somnath,
    Please correct me if my understanding is wrong; you are saying that, we cannot extract data from order series keyfigures. In that case how many key figures you maintain for time series, performance miight come down for planning area if you maintain huge no of keyfigures.
    Is there any way to extract data from Order series Planning area?
    Thanks & Regards,
    Jagadeesh.

  • Problem in creating time series objects for a planning area

    Hi Friends,
    I am working on SCM 4.0 APO. I am trying to create the time  series objects for a  'Z'planning area which i have created. This Planning area is linked to a planning object structure which contains only three characteristics 9amatnr,9alocno & zplnpart. But the creation of time series objects is taking a long time. the screen just remains the same.
    Can anybody encountered such a problem any time?
    request you all to put some light as what could be wrong or causing the delay in creating them???
    All helpfull answers will be suitably rewarded.
    Thanks
    mvd

    Hi mv d,
    I have a couple of questions:
    1) how many Key Figures does your planning area have?
    2) what is the length of your time series horizon?
    3) how many characteristic combinations are currently in the Planning Object Structure? and how many newly character
    I am asking because these aspects might affect the running time of the time series creation. Have you also tried creating the time series in the background? How long did it take there?

  • Planning area problem while running  URGENT Please

    Hi Gurus,
    We are near by golive and today our users found that they are not able to see the history data to some of the products.
    1,I had gone and checked the LISTCUBE and found the data is available in history cube for that product.Can anyone help me to solve this problem ?
    2.Another User is seeing double records in the order history data in planning book.Can any one help me with this issues?
    Is there any OSS note to see my planning area or any chances forming duplicates in planning area?
    I will be very thankfull to you guys if you please give me your kind suggestions
    Thanks a Lot
    Regards,
    Raj

    Hi Raj,
    you have to bring the history data from the BW-Cube to the LiveCache first. There is a standard report to do this. (sapapo/rtsinput_cube)
    If you have double values, then you have more than one request for the characteristic combinations in the cube. Make sure, that only one request is there.
    regards,
    kelpat

  • Datasource on APO Planning Area - Transportation Error

    Hi All,
                 I have created the Datasource on APO Planning Area. Datasource working fine check in RSA3 and also in BW side. when transporting the data source from APO Dev to APO QA i am getting following error and transport fails. Please suggest.
    Thanks
    Christopher
       Execution of programs after import (XPRA)
       Transport request   : AD1K909333
       System              : AQ3
       tp path             : tp
       Version and release: 372.04.10 700
       Post-import methods for change/transport request: AD1K909333
          on the application server: hllsap112
       Post-import method RSA2_DSOURCE_AFTER_IMPORT started for OSOA L, date and time: 20080725125524
       Execution of "applications after import" method for DataSource '9ADS_PP_APO'
       Import paramter of AI method: 'I_DSOURCE:' = '9ADS_PP_APO'
       Import paramter of AI method: 'I_OBJVERS:' = 'A'
       Import paramter of AI method: 'I_CLNT:' = ' '
       Import paramter of AI method: 'LV_CLNT:' = '100'
       DataSource '9ADS_PP_APO': No valid entry in table /SAPAPO/TSAREAEX
       Planning area for DataSource '9ADS_PP_APO' does not exist in target system
       Extract structure /1APO/EXT_STRU100002737 is not active
       The extract structure /1APO/EXT_STRU100002737 of the DataSource 9ADS_PP_APO is invalid
       Errors occurred during post-handling RSA2_DSOURCE_AFTER_IMPORT for OSOA L
       RSA2_DSOURCE_AFTER_IMPORT belongs to package RSUM
       The errors affect the following components:
          BC-BW (BW Service API)
       Post-import method RSA2_DSOURCE_AFTER_IMPORT completed for OSOA L, date and time: 20080725125532
       Post-import methods of change/transport request AD1K909333 completed
            Start of subsequent processing ... 20080725125524
            End of subsequent processing... 20080725125532
       Execute reports for change/transport request: AD1K909333
       Reports for change/transport request AD1K909333 have been executed
            Start of................ 20080725125532
            End of.................. 20080725125532
       Execution of programs after import (XPRA)
       End date and time : 20080725125532   Ended with return code:  ===> 8 <===

    Christopher,
    There seems to be no extract strucutre available for this data source in quality. This is creating the problem in quality. The extract strucutre which is created in your scenario would be available in temp folder and that will not be availbale for transport, so you need to have the datasource generated in quality and then you transport the active version to quality so that it will be available with the changes as that of development.
    Regards
    Vijay

  • Transfer variable values via ABAP betweenn planning areas

    Hello,
    I'm using an ABAP-coding (BPS How-To 'variables type user-exit) for transferring variable values between planning areas. It works fine for single-, multi- and interval-selection, but not for single hierarchie nodes.
    I don't want to transfer the values beneath the nodes but the node itself. Has anyone experience with that or changed the ABAP-Coding.
    Note, I'm using a variable type hierarchie as destination and get always a dump, when the ABAP is executed.
    Appreciate your help, thanks in advance...

    Hello,
    I am having the same problem. Can the function module Z_VARIABLE_GET_DETAIL from the "How to...BPS Variables of Type Exit" be modified to get the node value of a hierarchy node variable so it can be used as a global variable?
    Thanks, Linda

  • Formula on multi planning layer not working

    Hi all,
    I am facing a problem with a formula based on an complex multi planning layer.
    Aggr. Level is based on a multi provider covering 2 basic cubes, 1 DSO and on planning cube.
    The formula is supposed to retrieve data out of the planning cube and the DSO and then calculate and write back calculated results to the planning cube.
    Tracing the sequence with the planning function it shows that data form each source (Cube, DSO) are retrieved in seperate blocks.
    Allthough the values get lost with start of each new block. Therfore the calculation is allways producing a "0".
    How can I leave all values available through all blocks the system goes through?
    what do I have to change coding or data model ?
    I would be very happy if someone can drop some help.
    Dirk
    Code Exerpt..........................
    DATA WVO TYPE F.
    DATA WVO_PCT TYPE F.
    DATA SALES_IST TYPE F.
    DATA SALES_PLAN TYPE F.
    DATA POC TYPE F.
    DATA POC_SALES_PLAN TYPE F.
    DATA OVHP1 TYPE F.
    DATA OVHP2 TYPE F.
    DATA OVHP3 TYPE F.
    DATA OVHP4 TYPE F.
    DATA OVHV1 TYPE F.
    DATA OVHV2 TYPE F.
    DATA OVHV3 TYPE F.
    DATA OVHV4 TYPE F.
    DATA PLANR TYPE PT_PLANNR.
    DATA WBS TYPE PT_SUBWBS.
    DATA WBS1 TYPE STRING.
    DATA WBS2 TYPE STRING.
    DATA WBS2A TYPE STRING.
    DATA WBS3 TYPE STRING.
    DATA WBS4 TYPE STRING.
    DATA WBS5 TYPE PT_SUBWBS.
    DATA PRJ TYPE 0PROJECT.
    DATA KOA TYPE  0COSTELMNT.
    Data from Planning Cube
    SALES_PLAN = {0AMOUNT, #, PT_PC01, 003055,  300, 020, #, PLANR, WBS}.
    SALES_IST = {0AMOUNT, #, PT_PC01, 003055,  300, 010, #, PLANR, WBS}.
    WVO = {0AMOUNT, #, PT_PC01, 003050,  300, 020, #, PLANR, WBS}.
    POC = (SALES_IST/SALES_PLAN).
    POC_SALES_PLAN = ((SALES_PLAN + WVO) * POC).
    WVO_PCT = (WVO * POC).
    Data from DSO -- that are in a different block
    OVHP1=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, ADM, #, #}.
    OVHP2=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, CMF, #, #}.
    OVHP3=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, SAL, #, #}.
    OVHP4=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, DEV, #, #}.
    This calculation allway results in "0" since OVHPx and WVO only can be calculated in different blocks
    either one or the other is "0" and 0 multiplied by somthing = 0
    OVHV1 =  OVHP1 *  WVO_PCT.
    OVHV2 =  OVHP2 *  WVO_PCT.
    OVHV3 =  OVHP3 *  WVO_PCT.
    OVHV4 =  OVHP4 *  WVO_PCT.
    ****Final result to be written back to laning cube
    {0AMOUNT, 0000930300, PT_PC01, 001000,  000, 020, #, PLANR, WBS5} = OVHV1.

    Hi There,
    thanks for response.
    I ended up and splitted the whole thing into separate steps with own aggregation levels and saved interims results in the cube.
    I tried to incorporate the DSO data into the planning cube and to cover the character differences that resulted in teh differnet blocks. But since the keyfigueres are different types (amount, integer) the currency remained.
    So i made a FM for getting the numbers directly form teh DSO table.
    what still bugs me that there is not way of taking values from one block to the next via variable.
    Cheers
    Dirk

  • Performance problem - mutexes with multi-cpu machine

    Hi!
    My company is developing multi-threaded server program for
    multi-cpu machine which communicates with Oracle database on separate
    machine. We use Solaris 7, Workshop 5 CC and pthreads API.
    We tested our program on 4 CPU E4500 with 2 CPU E420 Oracle server.
    We upgraded E4500 from 4 to 8 CPU and to our surprise instead of
    performance improvement we got performance degradation ( 8 CPU runs
    about 5% slower than 4 CPU ).
    After a long investigation we found out that under stress load most of the
    time our performs lwpmutex related operation.
    With truss -c statistics was 160 secs in mutex operations and
    about 2 secs was read/write in oracle client side library.
    Here is output of truss for example:
    19989 29075/5: 374.0468 0.0080 lwp_mutex_lock(0x7F2F3F60 = 0
    19990 29075/31: 374.0466 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19991 29075/5: 374.0474 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19992 29075/30: 374.0474 0.0071 lwp_mutex_lock(0x7F2F3F60) = 0
    19993 29075/30: 374.0484 0.0010 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19994 29075/31: 374.0483 0.0017 lwp_mutex_lock(0x7F2F3F60) = 0
    19995 29075/5: 374.0492 0.0018 lwp_mutex_lock(0x7F2F3F60) = 0
    19996 29075/31: 374.0491 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19997 29075/5: 374.0499 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19998 29075/30: 374.0499 0.0015 lwp_mutex_lock(0x7F2F3F60) = 0
    19999 29075/5: 374.0507 0.0008 lwp_mutex_lock(0x7F2F3F60) = 0
    20000 29075/30: 374.0507 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20001 29075/5: 374.0535 0.0028 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20002 29075/30: 374.0537 0.0030 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20003 29075/31: 374.0537 0.0046 lwp_mutex_lock(0x7F2F3F60) = 0
    20004 29075/5: 374.0547 0.0012 lwp_mutex_lock(0x7F2F3F60) = 0
    20005 29075/31: 374.0546 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20006 29075/5: 374.0554 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20007 29075/30: 374.0557 0.0020 lwp_mutex_lock(0x7F2F3F60) = 0
    20008 29075/31: 374.0555 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20009 29075/5: 374.0564 0.0010 lwp_mutex_lock(0x7F2F3F60) = 0
    20010 29075/30: 374.0564 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20011 29075/5: 374.0572 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20012 29075/28: 374.0574 0.0170 lwp_mutex_lock(0x7F2F3F60) = 0
    20013 29075/31: 374.0575 0.0020 lwp_mutex_wake(0x7F2F3F60) = 0
    We have a several question:
    1. We always get the same mutex address : 0x7F2F3F60 even with different
    binaries. It looks that all threads wait on one and magic
    mutex. Why?
    2. We read in article on unixinsider.com that on Solaris when mutex is
    unlocked all the threads waiting on this mutex are waked up. It also looks so
    from truss output. What is solution for this problem? unixinsider.com
    recommends native Solaris read-write lock with all threads as writers?
    Is there any other solution? Should in improve performance?
    3. We heard that Solaris 8 has better pthreads implementation using a
    one-level threading model, where threads are one-to-one with
    lwp, rather than the two-level model that is used in the
    standard libthread implementation, where user-level threads are
    multiplexed over possibly fewer lwps. Are mutexes in this library
    behave in "Solaris 7" way or do it put thread to sleep when it unlocks
    the mutex? Is it possible to use this library on Solaris 7?
    4. Is there plug - in solution like mtmalloc or hoard for new/delete that change
    pthread mutexes?
    Thank you in advance for your help,
    Alexander Indenbaum

    <pre>
    Hi!
    My company is developing multi-threaded server program for
    multi-cpu machine which communicates with Oracle database on separate
    machine. We use Solaris 7, Workshop 5 CC and pthreads API.
    We tested our program on 4 CPU E4500 with 2 CPU E420 Oracle server.
    We upgraded E4500 from 4 to 8 CPU and to our surprise instead of
    performance improvement we got performance degradation ( 8 CPU runs
    about 5% slower than 4 CPU ).
    After a long investigation we found out that under stress load most of the
    time our performs lwpmutex related operation.
    With truss -c statistics was 160 secs in mutex operations and
    about 2 secs was read/write in oracle client side library.
    Here is output of truss for example:
    19989 29075/5: 374.0468 0.0080 lwp_mutex_lock(0x7F2F3F60) = 0
    19990 29075/31: 374.0466 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19991 29075/5: 374.0474 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19992 29075/30: 374.0474 0.0071 lwp_mutex_lock(0x7F2F3F60) = 0
    19993 29075/30: 374.0484 0.0010 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19994 29075/31: 374.0483 0.0017 lwp_mutex_lock(0x7F2F3F60) = 0
    19995 29075/5: 374.0492 0.0018 lwp_mutex_lock(0x7F2F3F60) = 0
    19996 29075/31: 374.0491 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19997 29075/5: 374.0499 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
    19998 29075/30: 374.0499 0.0015 lwp_mutex_lock(0x7F2F3F60) = 0
    19999 29075/5: 374.0507 0.0008 lwp_mutex_lock(0x7F2F3F60) = 0
    20000 29075/30: 374.0507 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20001 29075/5: 374.0535 0.0028 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20002 29075/30: 374.0537 0.0030 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20003 29075/31: 374.0537 0.0046 lwp_mutex_lock(0x7F2F3F60) = 0
    20004 29075/5: 374.0547 0.0012 lwp_mutex_lock(0x7F2F3F60) = 0
    20005 29075/31: 374.0546 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20006 29075/5: 374.0554 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20007 29075/30: 374.0557 0.0020 lwp_mutex_lock(0x7F2F3F60) = 0
    20008 29075/31: 374.0555 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20009 29075/5: 374.0564 0.0010 lwp_mutex_lock(0x7F2F3F60) = 0
    20010 29075/30: 374.0564 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20011 29075/5: 374.0572 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
    20012 29075/28: 374.0574 0.0170 lwp_mutex_lock(0x7F2F3F60) = 0
    20013 29075/31: 374.0575 0.0020 lwp_mutex_wakeup(0x7F2F3F60) = 0
    We have a several question:
    1. We always get the same mutex address : 0x7F2F3F60 even with different
    binaries. It looks that all threads wait on one and magic
    mutex. Why?
    2. We read in article on unixinsider.com that on Solaris when mutex is
    unlocked all the threads waiting on this mutex are waked up. It also looks so
    from truss output. What is solution for this problem? unixinsider.com
    recommends native Solaris read-write lock with all threads as writers?
    Is there any other solution? Should in improve performance?
    3. We heard that Solaris 8 has better pthreads implementation using a
    one-level threading model, where threads are one-to-one with
    lwp, rather than the two-level model that is used in the
    standard libthread implementation, where user-level threads are
    multiplexed over possibly fewer lwps. Are mutexes in this library
    behave in "Solaris 7" way or do it put thread to sleep when it unlocks
    the mutex? Is it possible to use this library on Solaris 7?
    4. Is there plug - in solution like mtmalloc or hoard for new/delete that change
    pthread mutexes?
    Thank you in advance for your help,
    Alexander Indenbaum
    </pre>

  • Load from cube to planning area

    Hi,
    We are facing a problem in loading data from Cube to planning area, we need to distinguish between the Zero and the blank values in planning area when loading data from cube to planning area.
    Scenario is like this.
    For a CVC u2013A on day D I am having key figure value as blank and on D1 is Zero and on D2 is 2, I want the same to appear as my planning area data If I load this data to cube my day D value will appear as Zero  (but it was blank) and on D1 Zero and on D2 as 2 in cube.
    I am using Std T-code /SAPAPAO/TSCUBE to load data from cube to planning area, in std T-code we are having option of ignore Zero, if I use this it will also stops the actual zero value(which I need) on day D+1 to come in to planning area which I donu2019t want.
    I want my planning area data to be as blank on day D and Zero on D1 and 2 on D2 after loading data from cube to planning area..
    Can any one put some light and help me out from this issue.
    With regards,
    Sreerama

    Hi Seerama,
    I am not sure to understand completely the issue: do you have an issue in the cube or in the planning area?
    In order to differentiate a blank for a zero in the planning area, you need to set the flag "zero allowed" in the planning area settings. (in the tab keyfigure, click details, then for each key figure you can select or not the flag "zero allowed")
    When you load the data, you should indeed not flag "ignore zero value"
    If the issue you have is in your cube (between the file and the cube) then it is another matter...
    Kind Regards,
    Julien

Maybe you are looking for

  • How can I renew my match subscription?

    I recently received a notice from Apple saying that my Match subscription could not be automatically renewed due to a problem with my payment option. I checked and everything was in order. However, I again received a notice saying that my subscriptio

  • PHP Check box in Flash

    Hello all, I have a flash form that has three checkboxes and some input text boxes. My form uses a PHP script that works perfect for the text but not the Check boxes. I'm not using the checkbox component, I'm using a check box i got from flash kit. B

  • Call to a service whith /DOMAIN

    hello, I am in a /DOMAINS environment. I have two domains called A et B. I have a problem with a service which belongs to A but this service is active (when I use psr from tmadmin) and the gateway seems to work when I make a co whith dmadmin. Is ther

  • Rules won't work on read mail

    I have various rules set up in Mail.app which usually work fine for new mail that I download. However if I have already read an email on my iPhone during the day (from my .me IMAP account), when I get home in the evening the email still downloads to

  • Logon as SYSDBA in Enterprise Manager

    I am trying to connect to a database through OEM as SYSDBA. Using the same userid and password, I can logon to the database from the OEM server through sqlplus. However, when I try to connect through OEM is get a ORA-01017: invalid username/password.