Calculating with attributes occurs problems in aggregation ...?

Hi Gurus, I have a question concerning the calculation with attributes:
I have created variables (as replacement path) based on a product attribute. The variables (with the attribute value) do work properly and I get the right numbers in the lowest hierarchy level.
Problem: within my hierarchy structure the query does not aggregate but reports errors ("X") in the upper hierarchy levels. How can I solve this problem?
Thank you for answering.
Greetings from T. Duong

Hi, I already have tried this but it didn't lead to the required result.
Still thank you for answering. I have seen in SAP Help that the options in extend properties might solve similar problems ... still mine cannot be solved by this. The problem is not the attribute value itself, as I found out.
I have another thread here, where I defined my problem that occurs due to a formula collision between a structure and a hierarchy.
Thank you.
Best regards
T. Duong

Similar Messages

  • Help with this occurring problem group differs on Library should be 0 group is 80

    Please can someone help me with the following problems when using disk utility.
    Keep getting the same repeating errors after repairing.
    Group differs on "Library:; should be 0; group is 80
    Permissions differ on "Library"; should be drwxr-xr-x; they are drwxrwxr-t.
    Group differs on :Library/Preferences:; should be 0; group is 80.
    Permissions differ on "Library/Preferences"; should be drwxr-xr-x; they are drwxrwxr-x.

    You can safely ignore it:
    http://support.apple.com/kb/ts1448

  • Withholding tax calculation with formula base problem

    Dear all,
    I maintained some formula depend on client requirement. for example:
    up to 200,000.00  no withholding tax                                                     
    2 lax to500,000.00  <1.00 %> tax                                                   
    5 lax to 1,500,000.00 <2.50%> tax 1.00 % Reduce on 500,000.00 base amount                    
    15 lax to 2,500,000.00 < 3.50 % > tax 2.50 % Reduce on 1,500,000.00 base amount                         
    25 lax to 3,000,000.00 < 4.00 % > tax 3.50 % Reduce on 2,500,000.00 base amount                         
    30 lax to 99,999,999,999.00     <5.00 %> tax 4.00 % Reduce on 3,000,000.00 base amount          
    Like this i maintained slabs in formulas for calculating withholding tax. depend on this formula up to 2 lax their is no tax. after crossing 2 lax up to 5 lax 1% tax
    in this case tax will calculate based on total vendor invoices. But hear it is calculated on present invoice based only. for example i posted 2 invoices with amount 2 lax. it means i reached 1st slab up to 2 lax no Tax. system also calculated like that only. but when i try to post another invoice with amount 3 lax system is calculated 1% tax on 3 lax amount only. but already i posted 2 lax invoice in vendor account. system not considered this amount.
    *but actually in this case i want to calculate 3+2= 5 lax * 1% tax . but hear my system is not consider previous invoices .*
    Please do need full help.....
    Regards,
    Krishna Valeti
    Edited by: chaituvaleti on Sep 9, 2011 8:51 AM
    Edited by: chaituvaleti on Sep 9, 2011 8:54 AM
    Edited by: chaituvaleti on Sep 9, 2011 9:02 AM

    Can you please share the information to us,  it will be a great information to us , thanks in advance.........

  • Calculations with Sum Distinct Aggregations

    Hi,
    I got a problem. I use in one of my analysis a Pivot Table. One of my measures which I sum up has multiple entries in my tables. So I decided to use a Sum Distinct aggregation. The Sum Distinct aggregation works perfect. But when I want to do basic calculations with the measure I get wrong results. It seems that in the calculation the aggregation is just a SUM and not a Sum Distinct. In the calculation I subtract the measure from a constant. But I only get wrong result with the redundant entries.
    Pivot table:
    Name --- Days available --- Days worked (measure)--- Days left (= Days available minus Days worked)
    Mr. A --- 60 --- 5 ---- 55
    Mr. A --- 60 --- 10 --- 50
    Mr. A --- 60 --- 35 --- 25
    ---------- Sum ---- 50 --- -45 (wrong result)
    Is there a solution to this problem?
    thx
    Edited by: Backlit on 31.07.2011 11:29

    Hi,
    and thx for the quick answer. But unfortunately the Server Complex Aggregate aggregation doesn't solve my problem. I also think I didn't express my self clear enough.
    My problem is, that I have the same tuple multiple times in my database table. When I sum this data up - I get wrong results. To avoid this I used the SUM DISTINCT aggregation. This worked very fine. But now I'm facing an other problem. I have to perform a simple subtraction.
    I have a fixed non measure value. I have to subtract the Sum Distinct measure from this fix value for a specified time periode.
    it looks like this:
    Pivot table
    Name --- Days available(non measure) --- Work date --- Days worked (SUM) measure --- Days worked SUM(Distinct) measure
    Mr.A --- 40 --- 1.5 --- 6 --- 3
    Mr.A --- 40 --- 1.5 --- 6 --- 3
    Mr.A --- 40 --- 2.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    SUM ---- 40 --- .... ---- 6 --- 3 -> Days left: 34 (wrong result - should be 37)
    I get the right result - but when I now try to calculate "Days available - Days worked SUM(Distinct)" I get the same results like I would do the calculation with
    "Days available - Days worked SUM".
    And is there a way to hide the multiple values in Days worked?
    thx

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

  • Results for % calculation with Condition

    I have a condition on my query in BEx Query Designer that limits the customers shown to ones who have a dollar value in a particular column.  I am now trying to get the results rows to take the condition into account.
    For the dollar key figures, I can just set the results calculations to "Total", and that gives me the total dollars for the customers displayed (that fit the condition), as opposed to the total dollars for ALL customers (if I didn't have the condition).  This is correct.
    However, I have another key figure that represents what percentage of one dollar key figure that another dollar key figure is.  I cannot get the result rows for this key figure to correctly show me the results of the calculation for only the values that match the condition, it keeps showing the percentages based on the full dollar quantities outside of the condition.
    Is there a way for me to get the calculation that I want?
    Query without Condition:
    Customer_____Dollars1_____Dollars2_____%
    A_____________5___________20________25
    B____________10___________20________50
    C____________10___________10_______100
    Result________25___________50________50
    Query with Condition (Dollars1 > 5) Current behavior (wrong):
    Customer_____Dollars1_____Dollars2_____%
    B____________10___________20________50
    C____________10___________10_______100
    Result________20___________30________50
    Query with Condition (Dollars1 > 5) Desired behavior (correct):
    Customer_____Dollars1_____Dollars2_____%
    B____________10___________20________50
    C____________10___________10_______100
    Result________20___________30________66
    Please Help!

    Hi,
    As i cannot see invoice document number in output so would suggest to go for nested exception aggregation.
    Create a new formula and put your aggregated keyfigure inside it and repeat the steps which i told in my last post.
    Make sure to apply it on both the keyfigures.
    If this also not works then last approach would be---
    Make a formula variable with replacement path for customer in replacement path tab choose replace variable with infoobject-replace with attribute value-attribute constant 1..in currency/unit ttab choose number..
    Now multiply your both keyfigure with this formula variable.
    Hope it helps.

  • Calculations with 0MATERIAL__ARTICLEPRICE on DB Level instead in OLAP

    Hi
    We have the article salesprice as an attribute (keyfigure) on 0MATERIAL. In a query we use the variable (replacement) to be able to calculate with article salesprice in a formula.
    But this means poor performance, because the calculation can only be done before aggregation. So the DB transfers all information on article level into OLAP and makes then the calculation 0MATERIAL__SALESPRICE * QUANTITY in OLAP.
    If we could transfer this calculation (formula) into DB select statement it would be much faster. e.g.:
    SELECT
    /*+ STAR_TRANSFORMATION  FACT(F) */
    "F"."KEY_101087T" AS "S____025"
    ,"X10"."S__M_IO_VS" AS "S____024"
    ,"DU"."SID_0LOC_CURRCY" AS "S____011"
    ,"DU"."SID_0BASE_UOM" AS "S____027"
    , SUM (  "F"."CPGOREDCBU"  )  AS "Z____034"
    , SUM (  "F"."CPTINCONBU"  )  AS "Z____171"
    , SUM (  "F"."CPTINCOPBU"  )  AS "Z____172"
    , SUM (  "F"."RTTINCONST"  )  AS "Z____177"
    , SUM (  "F"."RTTINCOPST"  )  AS "Z____178"
    <i><b>, sum (  "F"."CPTINCONBU" * "X11"."/BIC/M_IO_IP" ) AS "Z____179"</b></i> , COUNT( * )  AS "Z____014"
    FROM
    sapp72."/BIC/E101087" "F"
    JOIN
    sapp72."/BI0/XMATERIAL" "X10"
    ON
    "F" . "KEY_1010874"
    = "X10" . "SID"
    JOIN
    SAPP72."/BI0/PMATERIAL" "X11"
    ON "X10"."MATERIAL"
    = "X11"."MATERIAL"
    JOIN
    sapp72."/
    Is there somehow a way to define this? Are virtual keyfigures a solution for this? If yes, are the virtual keyfigures included in the select statement or just later after reading the DB?
    Thank you for some answers
    Roger

    Hi Olivier
    How is life?
    I'm looking more for a virtual keyfigure (like a formula) which is generated directly on the infoprovider (like non cumulative keyfigures).
    e.g.
    I create a new keyfigure and define how this one is calculated. in this example it is calculated by quantity and 0material__salesprice.
    Now to include this keyfigure into a cube the two keyfigures have to be in the cube for sure. It's like a attribute with more than one key. but in this case this keyfigure is not physically in the cube.
    and when you insert this formula from this cube the select statement could then make the calculations directly on the DB and returns the aggregated result into OLAP instead of all articles and then make a replacement.
    I would see here a big advantage in performance issues in this points - I think it would be nice to have such a function / keyfigure.... what do you mean???
    Cheers Roger

  • Calculations with Cumulated CKFs

    Hey,
    I need to make additional calculations on the values of a CKF that is marked as cumulated.
    We know that the calculation made on this column are executed against the non-cumulated value, and we basically need to execute them on the cumulated value.
    Can you please provide some insight on the ways to deal with this limitation?(BTW - we tried to check the "cumulated" checkbox for the calculated column and that doesn't help of course.
    Thanks,
    Gili
    Message was edited by: Gilad Weinbach

    Hi,
    and thx for the quick answer. But unfortunately the Server Complex Aggregate aggregation doesn't solve my problem. I also think I didn't express my self clear enough.
    My problem is, that I have the same tuple multiple times in my database table. When I sum this data up - I get wrong results. To avoid this I used the SUM DISTINCT aggregation. This worked very fine. But now I'm facing an other problem. I have to perform a simple subtraction.
    I have a fixed non measure value. I have to subtract the Sum Distinct measure from this fix value for a specified time periode.
    it looks like this:
    Pivot table
    Name --- Days available(non measure) --- Work date --- Days worked (SUM) measure --- Days worked SUM(Distinct) measure
    Mr.A --- 40 --- 1.5 --- 6 --- 3
    Mr.A --- 40 --- 1.5 --- 6 --- 3
    Mr.A --- 40 --- 2.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    SUM ---- 40 --- .... ---- 6 --- 3 -> Days left: 34 (wrong result - should be 37)
    I get the right result - but when I now try to calculate "Days available - Days worked SUM(Distinct)" I get the same results like I would do the calculation with
    "Days available - Days worked SUM".
    And is there a way to hide the multiple values in Days worked?
    thx

  • Tiger 10.4.3 Upgrade installation ends with "Error Occurred"

    Nothing like ambiguity to help troubleshoot a software installation. (I've installed Mac OS's since 1986, so before those of you who like to flame people with problems with your favorite platform get out your flame-throwers, stop in your tracks. Comment only if you actually have something constructive to say. I'm a bigger mac-head than you.)
    I have a PMG5 1.8ghz single processor rig running 10.3.9 that I got back in April (right before the free Tiger upgrade period). This weekend I bought a copy of Tiger from MacMall, along with a new iMac CoreDuo for the wife. I got it today and attempted to install it. It ran all sorts of checks, and began the installation. It seemed to progress well, albeit slowly. I got tired of waiting and took a nap before I had to go to work. I got up later to find that it ended with "Error Occurred".
    Well, I thought it may be a situation of just needing another pass at it. So, I instigated the upgrade again, and asked my family to check after it. They just called to say that "Error Occurred" again.
    A few things that might be of use to someone who has gone down my path and has an answer:
    - I left all my peripherals attached before the installation, including an external USB 2.0 drive.
    -The RAM in the computer consists of 256 mb installed by Apple, and 1gb from Crucial installed by me.
    -I have installed all the firmware updates that I could find, including the one that came out specifically for my model of PMG5.
    -I had 25 gb's of free space on the drive being upgraded.
    -The drive being upgraded was the one that came with the computer, which was bought from the Apple Store (no third-party junk).
    Anyone have any suggestions for me? I would greatly appreciate anything you could suggest. I certainly hope that a simple OS upgrade with an installer disk that should be mature by now hasn't hosed my Mac.
    PowerMac G5 1.8ghz   Mac OS X (10.3.9)  

    I have a PMG5 1.8ghz single processor rig running
    10.3.9 that I got back in April (right before the
    free Tiger upgrade period).
    This weekend I bought a
    copy of Tiger from MacMall,
    along with a new iMac
    CoreDuo for the wife. I got it today and attempted to
    install it.
    - I left all my peripherals attached before the
    installation, including an external USB 2.0 drive.
    Hi Glen, Welcome back to Apple's Users Help Users Forums.
    No Flames, I promise.
    Is the CoreDuo the new Intel version? (Pardon MY ignorance.)
    Some 10.4.5 Disks are machine specific. Do you have the right ones?
    Try reinstall w peripherals disconnected. That seems to be standard upgrade advice round here.
    Beyond that, hope the REAL Gurus / Maestros find your thread. I'm in quarter vast mode right now. [see below.]

  • XSLT bug with attributes+in memory DOM

    Hello,
    I know there was a thread about this one some time ago but i
    don't know the current state of this matter, so :
    The XSLT processor has problems with attributes when the DOM was
    build dynamically (attributes are returned as being empty). When
    i save the same DOM, reload it and then do the transform
    attributes are properly transformed.
    The Version 2.0.0.1 of the Java parser states to have solved a
    problem when accessing attributes (bug #920536) but this seems to
    be an other one (i tried 2.0.0.0 and 2.0.0.1 and both had this
    problem).
    Bye Heiko.
    null

    We were unable to reproduce the problem you illustrated. We got
    the output:
    <HTML>
    <BODY>
    the value is : 1
    </BODY>
    </HTML>
    irrespective of whether the lines were commented out. Can you
    describe your environment - JRE/JDK, OS. etc?
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    You wrote:
    : Hello,
    : the following program illustrates what i mean :
    : package testing;
    : import oracle.xml.parser.v2.*;
    : import org.w3c.dom.*;
    : import java.io.*;
    : public class XMLTest {
    : public static final void main(String [] args) throws
    : Exception {
    : XMLDocument doc=new XMLDocument();
    : doc.setVersion("1.0");
    : doc.setStandalone("yes");
    : Node root=doc.createElement("ROOT");
    : Node att=doc.createAttribute("value");
    : att.setNodeValue("1");
    : root.getAttributes().setNamedItem(att);
    : doc.appendChild(root);
    : doc.print(new FileOutputStream("c:\\test.xml"));
    : DOMParser parser=new DOMParser();
    : parser.parse(new FileInputStream("c:\\test.xml"));
    : doc=parser.getDocument();
    : XSLStylesheet xsl=new XSLStylesheet(new
    : FileInputStream("c:\\test.xsl"), null);
    : XMLDocument out=new XMLDocument();
    : out.appendChild(new XSLProcessor().processXSL(xsl,
    doc));
    : out.print(System.out);
    : with the stylesheet test.xsl as follows :
    : <?xml version="1.0"?>
    : <xsl:stylesheet
    : xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    : xmlns="http://www.w3.org/Profiles/xhtml1-transitional"
    : default-space="strip"
    : indent-result="yes"
    : >
    : <xsl:template match="ROOT">
    : <HTML>
    : <BODY>
    : the value is : <xsl:value-of select="@value"/>
    : </BODY>
    : </HTML>
    : </xsl:template>
    : </xsl:stylesheet>
    : if you run the program as given the result is :
    : the value is:
    : but when you uncomment the lines storing & retrieving the
    : document the result is as i would expect it :
    : the value is: 1
    : Bye Heiko.
    null

  • How to deal with--errors occurred, no packages were upgraded

    This has only occurred to me once before, I think.
    I was running a pacman -Syu today and it was trying to upgrade kernel2612-cko2-swsusp2 with the new kernel26cko package. The old cko was installed by grabbing the pkgbuild, making and then installing. Pacman automatically picked up that there was a new version to supercede it.
    Yet, I get a ton of "exists in filesystem" errors, which ends with "errors occurred, no packages were upgraded."
    Now, I've been searching about the best way to deal with such situations. The common approach from previous posts is to force it, with the -f argument. Typically, there is a clause though, that you should only force when the files are owned by a package that pacman knows of. That is, if pacman -Qo [file] doesn't return anything, you are safe to force.
    But, in this instance, the offending files are owned, and pacman knows about it. So, what's the way forward? Removing the old package manually? Manually re/moving the conflicting files?
    Cheers

    i think there may be a problem in the sane package from testing. i installed smaller chunks of kde (kde-common, kdebase, kdeadmin, etc.) and they all went fine, but when i tried to install kdegraphics, it gave me the error
    [root@arch jerry]# pacman -S kdegraphics
    Targets: libungif-4.1.3-2 imlib-1.9.15-2 libgphoto2-2.1.6-2 libieee1284-0.2.10-2
    sane-1.0.16-2 fribidi-0.10.5-2 gimp-print-4.2.7-3 ghostscript-7.07.1-5
    t1lib-5.1.0-1 kdegraphics-3.4.2-3
    Total Package Size: 23.6 MB
    Proceed with upgrade? [Y/n]
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts...
    error: the following file conflicts were found:
    sane: /usr/var: exists in filesystem
    errors occurred, no packages were upgraded.
    should this be filed as a bug report? i did a fresh install and did not have kde installed to begin with, but im pretty sure this happened also when trying to upgrade

  • ATTRIBUTE_IDOC_METADATA : In segment E1FIKPF attribute occurred instead of

    Hi All,
    I am getting this error message in sxmb_moni when I try sending an idoc in idoc-XI-idoc scenario.Message type that I am using is FIDCCP01.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>IDoc XML data record: In segment E1FIKPF attribute occurred instead of SEGMENT</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: IDoc XML data record: In segment E1FIKPF attribute occurred instead of SEGMENT</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Its Urgent.
    Thanks
    Alok

    Hi Alok,
    If it is not solved by above solution just go through below link.
    This problem occurs when you use XSLT mapping.
    Remove indentation = yes
    use..
    <?xml version=""1.0 encoding="UTF-8"?> if you are using XSLT mapping.
    Re: In segment IDOC attribute I occurred instead of SEGMENT
    Regards,
    Satish

  • Error : IDoc XML data record: In segment attribute occurred instead of SEGM

    hi friends
    i am doing the file to idoc scenario. in message mapping i had done the static test. but what ever the fields i mapped in the idoc it was not populated in the idoc. and i am getting the error as
    error :IDoc XML data record: In segment attribute occurred instead of SEGMENT
    can any one solve the problem please
    thanks in advance
    Vasu

    Hi Vasudeva,
    Pls do check the nodes which you have mapped to. Also make sure that your SEGMENT field in the target structure is mapped properly.
    Cheers
    JK

  • M-N mappings with attributes or batch fetch

    There is one very common design case of M-N relationship with attributes.
    Difference is that M-N is implemented by another persistent class with bunch
    of attributes rather then by internal O/R mapper means.
    For example we have
    a Member who can be assigned to an OrgUnit (M-N) but assignment should carry
    additional info Role, Date of assignment etc.
    Member----Position----OrgUnit
    In absence of specialized mapping for this case (TopLink, ObjectFrontier and
    some other O/R frameworks have it) it is common practise to use two 1-N
    Member----Position + OrgUnit----Position
    The problem is performance of course - getting all positions for a
    particular Member is fast (one SQL statement) but getting OrgUnit for each
    fetched position is expensive (SQL call per fetched position if OrgUnit has
    not been fetched yet).
    It would be good to either define M-N mapping with attributes concept or at
    least provide O/R mapper with a hint to do batch load of OrgUnits when
    reading Positions for a Member (and vice versa Members when loading
    Positions for an OrgUnit) by joining OrgUnit table with Position table and
    loading it together

    Hi Abhijeet,
    i think i should have mentioned this earlier. My Employee node is inside another node.  So, the actual input structure of the WS is this:
    InputValues (1...1)
       Employees (0..n)
          FirstName: String
          LastName: String
    This scenario works OK in BPM when mapping a 0..n node using deep copy as Jocelyn explained, but I still doesn't work if I want to pass an empty (not null) Employees array.
    If I go to the WS Navigator and run this WS with the following parameters, it runs ok (I get an output message saying no employee was selected, which is how it should work):
    InputValues -  "Is null" checkbox not activated.
       Employees - "Skip" checkbox not activated
          FirstName - "Skip" checkbox activated
          LastName - "Skip" checkbox activated
    However, if instead of activating the checkbox of, say, "FirstName", I enter a "" value, I get an error from the WS saying that's not a vaild first name, which is also how it should work.
    In java code, I would just pass an empty InputValues object to the WS, but I'm not sure how to do this in a BPM without it being considered null, and without having to set on of its String-child values to "".
    Do you know how to achieve this?

  • WS2012 Standard R2 with Essentials sudden problem with Server Manager, Essential Dashboard and other services

    Hi all,
    I have a problem with my Windows Server 2012 R2 with Essential installed. When I try to run Server Manager the server manager window doesn't appear and the same thing applies for starting the essentials dashboard. This leads to that some of the features doesn't
    work properly like remote web access, client backup and so on. When I check the Services a lot of services haven't even started. Trying to manually start for example Windows Server Essentials Management Services gives me following error message: 
    "Windows could not start the Windows Server Essentials Management Services on Local Computer. Error 1068: The dependency service or group failed to start"
    What can be wrong here? I haven't done anything to the server that could start these problems. This started all of a sudden. 
    Thank you all in advance for any help.
    EDIT:
    I rebooted my server in safe mode and I tried to run SFC /Scannow which stops at 84% and gives me following message:
    "Windows Resource Protection could not perform the requested operation."
    I also tried to run "DISM.exe /Online /Cleanup-Image /RestoreHealth". This did not help either. It completes the operation but nothing changes. The problem is still there.
    I thought that my server backups were OK and that this problem would be gone by restoring the C: drive with backup image. The problem is that all my good backups was rewritten with new backups that could not take backup of the C: drive for some reason. Now
    I need to solve this problem without reinstalling the whole operating system.
    EDIT:
    I have also completed the chkdsk C: /r command and now the SFC /Scannow command can be completed, with notification that some files could not be fixed. I have attached the sfcdetail.txt file which points out that
    "tsgclean.exe" cannot be repaired. What has that file to do with my WS2012 problems...
    2015-01-04 03:12:54, Info                  CSI    00000477 [SR] Cannot repair member file [l:24{12}]"tsgclean.exe" of Microsoft-Windows-TSProxy-EdgeAdapter,
    Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch

    Hi,
    Did you remember any operation which you had done before this issue occurred? For examples, install any update,
    install any third-party application or any other? Just a confirmation, thanks for your understanding.
    For those problematic services, please open services’ Properties and navigate to
    Dependencies tab, then check if all system components which this service depends on run as normal.
    In addition, please open Event Viewer and check if find relevant events. Meanwhile, please follow the path:
    %programdata%\Microsoft\Windows Server\Logs and check Dashboard log file if find more clues.
    By the way, when you run
    sfc /scannow command completely, did you open Server Manager or Dashboard again? Any difference?
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    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 Support, contact [email protected].
    Hello Justin,
    Regarding the third-party applications:
    I have not installed any third-party application that could cause this problem. All my third-party applications that are installed on the WS2012 R2 are confirmed working well with the operative system and are installed at the time when I hadn't these problems.
    I cannot say anything about windows update because that is something that I update once in a week after checking that no user is reporting any issues. I have learned my leason with windows update when I had Surface Pro 2, that was a dissaster.
    Regarding the Windows Updates:
    Anyway, I tried to remove all the windows updates before as well (not the security updates) down to 5th December which is the time when I know that my server worked well. Only two updates could not be removed (KB3012199 and KB2989647). I don't
    know if these two updates can cause any problem?
    Regarding the problematic services:
    For example: Checking the properties for "Windows Server Essentials Management Service" -> It is dependable on
    "1. Active Directory Domain Services" and "2. Windows Server Essentials Provider Registry Service".
    No 1 is running but not no 2. If I try to start no 2 service it will give me the same message as before:
    "Windows could not start the Windows Server Essentials Management Services on Local Computer. Error 1068: The dependency service or group failed to start"
    Regarding the Logs:
    I have uploaded Dashboard log files which are created after 5th December to my dropbox account: Link
    Regarding the SFC command:
    Of course, when the SFC command was completed but with error that it could not repair
    tsgclean.exe I tried to start the essentials dashboard and WS2012 server manager with no luck.
    What about the error message? I looked up that file in the explorer and it is located in folder "C:\Windows\WinSxS\amd64_microsoft-windows-tsproxy-edgeadapter_31bf3856ad364e35_6.3.9600.16384_none_2ec8d374a0ac5606"
    Why can't it be repaired and what kind of file is that?
    Best regards

Maybe you are looking for

  • Changed icloud username and password can't access other devices

    I have three devices from which I use the same iTunes and ICloud account. I changed my username and password on the accounts yesterday. Now I am only able to get it to work on my IPhone 5S. My daughter's IPhone 4 and my IPad will not accept the new p

  • Items Deleted On External HD Not Appearing In Trash Bin

    Hello, I recently used Araxis Find Duplicate Files to remove some mp3s from my external hard drive (files are not stored in iTunes).  After the scan finished, it yielded about 60 GB worth of duplicates.  I made sure that the "move to trash bin" optio

  • Load balancing between application server and database

    Hi, is there any load balancing between the application server and the database? Consider we have a single instance of an application server that sends database queries from different clients to the database. Are the requests queued in some way at th

  • Cant choose file type for images when saving them from a website.

    Any time I try to save an an image with "Right Click > Save as" the little dropdown bar that shows what file it will save as is completely blank. I dont get this problem with IE, just Firefox. I dont want to use IE again. Help me please

  • Qemu tun/tap networking and problem with 2.6.18

    Kernel 2.6.18 introduced some security restrictions so that tun devices can't be created by normal users (see: http://www.friedhoff.org/fscaps.html#Qemu) So if you start qemu now you will get the following error: warning: could not configure /dev/net