CMR for ordered, duplicated-allowed elements (aka List)

If I want to implement a CMR field that has collection of element which maintain ordered and allow duplicated elements (like java.util.List implementation), what should I do since EJB spec only supports java.util.Collection and java.util.Set?

you'll need a pk for the antity bean with duplicates anyway, so why not an auto-increment field or equivalent?

Similar Messages

  • Invoice is not allowed for order 00065

    Hi experts,
    This error is relating to the Accounts payables(SAP). The error occurred and the invoice has fallen out from ERP (SAP) while posting the invoice.  The error is "no invoice is allowed for order 00065". 
    some Inputs: if you go to ME23N screen line item details invoice tab you can find the check boxes like Incoming Invoice, cost centre and Order. Usually for a particular PO incoming invoice and cost centre check boxes will be checked but in this case Order check box is checked and the invoice has fallen out from ERP.
    Could any body please let me know how to resolve this issue in SAP. I'm not FI/CO consultant but SAP BW if I know i can guide team.
    Thanks in advance,
    amarnath

    Dear,
    What is message number? Did you assign the usersttus in BS02?
    For allocation activity costs, we need to define activity type in KL01 by specifying the unit of measurement of the particular activity type (like  machine - Hours etc.). While creating activity type, we will assign a secondary cost element (with category 43) in the activity type through which the activity cost will flow.
    After that we will plan for cost center in KP06 (cost elementwise). Then we will plan machine hours in KP26 where we will link the activity type to a particular cost center.
    When we do price calculation in KSPI, system checks the planned costs for cost center (in KP06) and also checks the machine hours planned (in KP26) and gives the cost for the particular activity type.
    Please check the above in the system
    Regards,
    R.Brahmankar

  • Goods receipt  for purchase order not allowed for a particular wbs

    hello everybody..
    Am creating a good receipt for a purchase order using the T-CODE-: MIGO...
    While doing so am getting an error as " goods receipt  for purchase order not allowed(wbs element)".
    What can be done to rectify this error?
    Plz do help me....
    Regards,
    Deepika
    Moderator message: not directly related to ABAP development, please have a look in the appropriate functional forum, study the long text of this error message.
    Edited by: Thomas Zloch on Dec 1, 2010 5:52 PM

    Hi Br. Ajay M,
    Released the order and Status line as follow
    REL  AVAC BUDG GMPS
    but the error changed while reverse the document
    item 0001 Order is invalid.
    Many thanks for your kindly reply.
    regards,
    Steven

  • Que-''actual activity allocation is not allowed for order .''

    hi ,
    During confirmation of operation at co11n (also at co11), got one error massage i.e  "actual activity allocation is not allowed for order "
    Due to this error confirmation is not possible .
    pls help me to solve this problem.
    AMOL WAGH
    Edited by: amol  wagh on Dec 6, 2008 8:09 PM
    Edited by: amol  wagh on Dec 6, 2008 8:10 PM

    Dear,
    For allocation activity costs, we need to define activity type in KL01 by specifying the unit of measurement of the particular activity type (like machine - Hours etc.). While creating activity type, we will assign a secondary cost element (with category 43) in the activity type through which the activity cost will flow.
    After that we will plan for cost center in KP06 (cost elementwise). Then we will plan machine hours in KP26 where we will link the activity type to a particular cost center.
    Please give the feed back.
    Regards,
    R.Brahmankar

  • Actual activity allocation is not allowed for order .

    hi ,
    During confirmation of operation at co11n (also at co11), got one error massage i.e "actual activity allocation is not allowed for order "
    Due to this error confirmation is not possible .
    pls help me to solve this problem.
    AMOL WAGH

    Dear,
    What is message number? Did you assign the usersttus in BS02?
    For allocation activity costs, we need to define activity type in KL01 by specifying the unit of measurement of the particular activity type (like  machine - Hours etc.). While creating activity type, we will assign a secondary cost element (with category 43) in the activity type through which the activity cost will flow.
    After that we will plan for cost center in KP06 (cost elementwise). Then we will plan machine hours in KP26 where we will link the activity type to a particular cost center.
    When we do price calculation in KSPI, system checks the planned costs for cost center (in KP06) and also checks the machine hours planned (in KP26) and gives the cost for the particular activity type.
    Please check the above in the system
    Regards,
    R.Brahmankar

  • Manual reservation for order category 20 not allowed

    Hi,
    We are getting the error message "Manual reservation for order category 20 not allowed" when trying to manually create a Reservation Order charged to a network through transaction code MB21.
    Anyone knows how to solve this?
    Will appreciate feedback. Thanks!

    Hi,
    You would need to add this component in your WBS element & then the MRP run will generate a reservation for this. You cannot create a manual reservation using 281 mvt in MB21.
    Refer sap note 43924, read the paragrah under 'cause and prerequisites' means that according to SAP's standard design, reservation for Network is supposed to be automatic, not manual. However, if manual reservation is really needed, do apply the solution provided.
    Hope the above clarifies.
    Regards,
    Vivek

  • Check list for creating a cost element?

    Hi,
    Who can provide a check list for creating a cost element?
    Thank you.
    Kind regards,
    Linda

    Hi,
    Cost Elements are broadly of two categories - Primary and Secondary cost elements.
    In case of primary cost element a GL Account should have been created and in case of secondary cost no corresponding GL account should exist. Secondary Cost Elements are used only in Controlling Module. The transaction codes are:
    KA01 - Create Primary Cost Element.
    KA06 - Create Secondary Cost Element.
    KA02 - Change Cost Element
    KA03 - Display Cost Element
    KA04 - Delete Cost Element
    KA05 - Display Changes
    Once transaction data is posted Cost Element cannot be deleted.
    Another point in Cost Elements is defining the Cost Element category. Cost Element category determines which Cost Element category can be used for which Business Purpose. For example cost element category 1 is used for primary costs and 11 is used for revenues.
    In the default account assignment tab, we can define a cost center / internal order and always the postings for that cost element will be posted to that cost object.
    Thanks
    Murali.

  • Manual reservation for order category 30 is not allowed

    Hi,
    I have created a shopping cart with maintenance order as account assignment category.
    SC is showing the status of Error in process.  When I checked the process erro cause in function module there I am getting the message " Manual reservation for order category 30 is not allowed "
    Can any one tell me how to move forward.
    Thanks & Regards,
    Govardhan,V.

    Hi Govardhan,
    If you are working in ECS, the Shopping cart will not create any follow on document in backend R/3.
    I think your Product category is 30, thats why the error says Manual reservation for order category 30 is not allowed.
    Where did you get the maintenance order? Generally maintenance order is created in the backend R/3 (Plant Maintenance) and a P.R will get generated against that order.
    Using PDP (Plan driven procurement) you can transfer that P.R to SRM and can carry out sourcing and can complete the procurement cycle.
    Can you please tell me what is your exact business requirement?
    Hope this will make you more clear.
    Clarifications are welcome.
    Award points for helpful answers.
    Rgds,
    Teja

  • Unable to set Labelfield for child element  in List

    Hi All,
    Below is code I am trying to execute
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" verticalGap="0" xmlns:local="*" height="500" creationComplete="init()" >
    <mx:Script>
    <![CDATA[
    private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}] 
    private function init():void{list.dataProvider=arr;
    ]]>
    </mx:Script>
    <mx:List variableRowHeight="true" wordWrap="
    true" id="list" labelField="
    chidren.lastName" /></mx:Application>
    I basically want to access the children.lastName on my List. Please let me know how exactly can I do it.

A: Unable to set Labelfield for child element  in List

labelFunction is the best way to do this. The attached code also shows how to do it with an itemRenderer, though that would not be as efficient.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="horizontal"
  creationComplete="init()" >
  <mx:Script>
    <![CDATA[
      private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}]
      private function init():void{
        list1.dataProvider=arr;
        list2.dataProvider=arr;
      private function createLabels(item:Object):String{
        return item.children.lastName;
    ]]>
  </mx:Script>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list1">
    <mx:itemRenderer>
      <mx:Component>
        <mx:Label text="{data.children.lastName}"/>
      </mx:Component>
    </mx:itemRenderer>
  </mx:List>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list2"
    labelFunction="createLabels"/>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

labelFunction is the best way to do this. The attached code also shows how to do it with an itemRenderer, though that would not be as efficient.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="horizontal"
  creationComplete="init()" >
  <mx:Script>
    <![CDATA[
      private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}]
      private function init():void{
        list1.dataProvider=arr;
        list2.dataProvider=arr;
      private function createLabels(item:Object):String{
        return item.children.lastName;
    ]]>
  </mx:Script>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list1">
    <mx:itemRenderer>
      <mx:Component>
        <mx:Label text="{data.children.lastName}"/>
      </mx:Component>
    </mx:itemRenderer>
  </mx:List>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list2"
    labelFunction="createLabels"/>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

  • BAPI KPF6 POST PLAN COST FOR INTERNAL ORDER AND COST ELEMENT

    Hi all gurus,
    I would like to use in a custom report a BAPI/Function Module that help me to simulate KPF6 in order to post planning costs for internal order and cost element (layout 1-401).
    So the input should be:
    1) Version
    2) period from
    3) periodo to
    4) year
    5) internal order n.
    6) cost element n.
    7) value
    I found a lot of BAPI but don't know the correct one and how to use it (example how to fill the input value).
    Can anyone help me on that?
    Kind Regards

    In additio  to the previous I found the BAPI_COSTACTPLN_POSTPRIMCOST but don't know if it's the correct one and how to use it (some example fitting the my case will be very appreciated).
    If the quoted BAPI is correct.
    I tested it filling all fields as following:
    HEADERINFO:
    CO_AREA=FFCA
    FISC_YEAR=2008
    PERIOD_FROM=001
    PERIOD_TO=012
    DOC_HDR_TX='blank'
    INDEXSTRUCTURE:
    OBJECT_INDEX=000001
    VALUE_INDEX=000004 (hope this point at Interna Order)
    ATTRIB_INDEX=000000
    COOBJECT:
    OBJECT_INDEX=000001
    ORDERID=ZO53-08IMZ
    TOTVALUE:
    VALUE_INDEX=000004
    COST_ELEM=3224048
    FIX_VALUE= 200,0000
    DIST_KEY_FIX_VAL=2
    The Return table is set to 0. Nothing happens.....I suspect something related to indexstructure or index is wrong..
    Could anyone help me on that?
    Kind Regards

  • How do I build an expression for a multi-element in-list?

    How do I build an expression for a multi-element in-list? For example:
    SELECT * FROM employees
    WHERE (first_name, last_name, email) IN
    (('Guy', 'Himuro', 'GHIMURO'),('Karen', 'Colmenares', 'KCOLMENA'))
    Passing a Vector to Expression.in(Vector) where each element is a Vector of values itself will result in the appropriate expression for the values clause, but how to I get the columns to be considered together, that is, how do I get the "(first_name, last_name, email)" part?
    Steve

    Steve,
    I do not believe this is currently supported in the TopLink expression framework. Your best bet at this point will be to use custom SQL.
    Doug

  • "Create quotation for order" is not allowed (ORD 80000119 )

    Hi,
    After creation of service order I want to create quotation then  system gives error massage as below,
    "Create quotation for order" is not allowed (ORD 80000119 )
    Message no. BS002
    Diagnosis
    The transaction 'Create quotation for order' is not allowed for  ORD 80000119, because no status is set to permit it.
    System response
    You cannot carry out the transaction 'Create quotation for order'.
    Procedure
    You can carry out this transaction if you set a user status, which permits 'Create quotation for order'.
    Thanks & Regards
    kapil

    Kapil,
    Check the System status and user status of the order. Quotation can be created only before releasing the order (REL). or Any user status that may prevent creation of Quotation.
    Babu

  • Manual reservation for order category 30 not allowed

    Gurus,
    I want to do manual reservation for order category.In MB21 when i try to do the reservation the system in giving the error message
    Manual reservation for order category 30 not allowed
    What should be done to overcome this.
    In the order one component is given,i want to issue additional component,this is where i am encountering the problem.

    The Standard System would not allow you to create a reservation manually against a Maintenance Order Whether you change the Res / P Req Indicator to Never. Still  the System would generate the Reservation for the Stock Materials. Purchase Requisition could be created manually against the Order but reservation is not. The Movement types used for reservations are 261/262. Kindly elaborate on the requirement, may be a work around is there.
    If you want to skip the goods movement against reservation step, you should enable the back flushing indicator against the stock material in the General Data View so when you would be entering Confirmation against the order, the goods movement would be automatically posted against the reservation created automatically from the Order without you having to bother about the reservation.
    Edited by: Usman Kahoot on May 31, 2010 1:50 PM

  • With out goods issue for order system should not allow for order confirmati

    Dear all
    with out goods issue system should not allow for order/operation confirmation.
    how it is possible.
    Regrads
    Srinivas

    Dear ,
    In some cases we required to do confirmation or TECO without GI .
    We can change it as per req using user exit
    Regards,
    Ishwar

  • [svn] 4241: A collection of minor fixes for FXG transcoding to SWF: matrix attribute name correction; allowing for 0x prefix for hexadecimal colors; allowing for an id attribute on FXG nodes; fixing blur filter quality encoding; fixing the order in which

    Revision: 4241
    Author: [email protected]
    Date: 2008-12-05 11:00:45 -0800 (Fri, 05 Dec 2008)
    Log Message:
    A collection of minor fixes for FXG transcoding to SWF: matrix attribute name correction; allowing for 0x prefix for hexadecimal colors; allowing for an id attribute on FXG nodes; fixing blur filter quality encoding; fixing the order in which bevel filter colors are encoding - the SWF specification appears to have the wrong order specified; updating SwfxPrinter to display a linestyle's fillstyle (if present).
    Temporarily removing generated id attribute emitted in FXG to SWF optimization as this attribute is not present in the AS impl.
    Also updating compiler error base types to allow a rootcause to be specified for additional detail to a compiler message exception.
    QE: No
    Doc: No
    Checkintests: Pass
    Reviewer: Discussed compiler base error change with Paul.
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerException.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/CompilerMessage.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/FXGConstants.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/AbstractFXGNode.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/TextGraphicNode.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/swf/AbstractFXGGraphics.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

  • Maybe you are looking for

    • How can I see the last location of a now dead ipod touch 4G that had find my iphone turned on?

      How can I see the last location of a now dead ipod touch 4G that had find my iphone turned on? I can see my macbook but I cant see the last location of my ipod touch. I lost it a few weeks ago and figured it would show up. But it has not and I need i

    • Hard disk malfunction, what's the next step?

      After I upgraded to Tiger version 10.4.9, my PB would boot more slowly each time, but would eventually make it to the desktop. Thinking it was software related, I ran Applejack, which said the directory was corrupt. In another discussion topic, I was

    • Hp pavilion 15 e025sl mute led not working with latest audio driver (rollback solve)

      Hi, i'm here for a segnalation, i have this hp and after update audio driver (suggested by hp update software) mute led stop working, the button work and mute the audio but led not work (f6 button led). Affected driver problem is "realtek high defini

    • Can I build a checklist app with Siena?

      I would like to have an app that allows me to check a selection of data field types and, when done, produces a fillable/printable specification form for commercial furniture.  For example: the app would present the following data field choices: 1. Ma

    • Compressor AC3 encoding error!

      When I encoded my 2Hour,53Minutes 6 Channel Wave file in compressor 2, the length of the final 5.1 AC3 file (448 Kbps)for DVD is 28 Minutes only! Why ? Is there any length limit in compressor? Any one faced this problem before? Please advice me! Than