If Company has one to one relationship with Company code

Dear All,
If Company has one to one relationship with company code in the transaction system (ECC),
can we use company in place off company code - in the BCS system?
That is, in this case - under consolidation units
- company,
i will be using the ECC companies rather than ECC company codes as consolidation units.
Request your insights.
Cheers
Kumar

Actually, I almost always use the company, not the company code. The difference is in the different number of attributes, and the type CHAR 4 or 6. 0COMPANY is the standard infoobject for using in SEM-BCS.
Though, I also used the custom infoobject for ConsUnit. Not a problem. Everything works. Just one needs to be careful with infoobjects which are the references to the Company IO.

Similar Messages

  • The virtual machine has terminated unexpectedly during startup with exit code 1 (0x1)

    Hello All,
    I came up with the error below, when I am trying to start a virtual machine from my VirtualBox. It was working fine till yesterday, and all of a sudden it's throwing this error. The only change I can think of, is of some automatic windows update which might have changed/updated the registry entries.
    VirtualBox Version: 4.3.20
    Host:     Win7 64 bit
    Guest:   OracleLinux 64 bit
    Failed to open a session for the virtual machine DEVM.
    The virtual machine 'DEVM' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'E:\VM\DEVM\Logs\VBoxStartup.log'.
    Result Code: E_FAIL (0x80004005)
    Component: Machine
    Interface: IMachine {480cf695-2d8d-4256-9c8c-cce0000fa123}
    Please suggest on how to move forward.
    Thanks,
    Moore

    When something happens that probably affects many users, such a as bad Windows update, checking the most recent reports in the Virtualbox product forum might be the best address:
    https://forums.virtualbox.org/viewtopic.php?f=6&t=65083
    https://forums.virtualbox.org/viewtopic.php?f=6&t=65056

  • DMS Document relationship with company code

    Hi All,
    I have to delete all DMS Documents for Document Type AAA and company code 8200. I am not able to find relationship between Document info records and company code in table level so can you please guide me How to get the relationship.
    I checked with tables : DRAW, DRAD, AUSP... but not got proper answer.
    -Thanks,
    Ajay

    Hi All,
    Thanks for your replay. This issue is resolved.
    In transaction CV04N with classification tab I have to option of Company code. I am able to get list of DIR's with company code and document type.
    -Thanks,
    Ajay

  • HT2736 I sent my wife a gift card amount was debited to my acc she has not received an email with a code I received email of a receipt of purchase

    I sent my wife a gift card
    She has not received an email showing verification code
    My bank acc was debited
    I have receives a receipt
    How do I get the code

    The purchase history on your iTunes account will only show purchases from the iTunes stores (iTunes, app store, ibookstore, Mac app store), not from Apple online or bricks-and-mortar stores.
    Does anything show on your credit card ? If the email is genuine then it's possible that your and their email addresses are similar and that they gave the wrong id (or the store typed it incorrectly), it doesn't necessarily mean that anybody has access to your account.
    For the contact, you will initially just receive an acknowledgement email, the proper reply may take 24 (possibly 48) hours.

  • Sorting on one-to-many relationship with JPA criteria API

    I'm having some trouble using JPA criteria API with collection references.
    I have an entity called Competence that has a one-to-many relation to CompetenceName that contains names for Competence for several languages.
    [Competence.java]
    @OneToMany(mappedBy="competence", cascade=CascadeType.ALL, orphanRemoval=true)
    private List<CompetenceName> competenceNames;
    [CompetenceName.java]
    @ManyToOne @JoinColumn(name = "competence_id", referencedColumnName = "id")
    private Competence competence;
    @ManyToOne @JoinColumn(name = "lang_id", referencedColumnName = "id")
    private Language language;
    @Basic @Column(name = "name", length = 50)
    private String name
    Now I want to load 200 Competence-entities and sort them by their name (depending on the language of the logged in user). How would this be done using the JPA Criteria API? With a normal query, I would accomplish this with
    "SELECT DISTINCT c FROM Competence AS c LEFT JOIN c.competenceNames AS cn ORDER BY cn.name"
    Obviously, CompetenceName could contain zero entries for a Competence, but it works anyway with a normal query. With criteria API, it would look something like:
    CriteriaQuery<Competence> cq = cb.createQuery(Competence.class);
    Root<Competence> competence = cq.from(Competence.class);
    competence.fetch(Competence_.competenceNames);
    cq.select(competence).orderBy(cb.asc(competence.get(Competence_.competenceNames).get(CompetenceName_.name)); // Doesn't work
    Is this even possible to do without creating a normal query?
    Edited by: 812655 on Nov 24, 2010 2:32 AM

    // Doesn't workWhat does not work? What error do you get?
    You need to use "join" to define a join.
    CriteriaQuery<Competence> cq = cb.createQuery(Competence.class);
    Root<Competence> competence = cq.from(Competence.class);
    Join<CompetenceName> name = competence.join(Competence_.competenceNames);
    cq.orderBy(cb.asc(name.get(CompetenceName_.name));
    The "fetch" will do a fetch join, if you also wish to load the data in the same query.
    James : http://www.eclipselink.org

  • 'One' To 'Many' relationship, (with the 'One' shared between persistance object graphs)

    Hi,
    I'm relatively new to JDO. So I need some verification on my program design.
    When creating a new Persistence Object I'm using a 'Builder' design pattern
    to check the database for an object that equals the new objects bean
    parameters(Via a JDOQL query). If it finds a matching one it loads it
    otherwise it creates a new instance.
    This way I have common objects between Persistence Object graphs. And there
    is not repeated common objects in the database.
    Is there a better way?
    regards
    Graham Cruickshanks

    // Doesn't workWhat does not work? What error do you get?
    You need to use "join" to define a join.
    CriteriaQuery<Competence> cq = cb.createQuery(Competence.class);
    Root<Competence> competence = cq.from(Competence.class);
    Join<CompetenceName> name = competence.join(Competence_.competenceNames);
    cq.orderBy(cb.asc(name.get(CompetenceName_.name));
    The "fetch" will do a fetch join, if you also wish to load the data in the same query.
    James : http://www.eclipselink.org

  • One-to-many relationship with php

    I want to use a list of items that give related items in a grid, for example a list of days with a grid displaying students who attend on each day. I hve trwled the internet, but don't see any examples of this relationship in Flash Builder (4.6).
    Can anyone point me in the right direction? I am writing an appplication that uses php services to a mysql db.

    // Doesn't workWhat does not work? What error do you get?
    You need to use "join" to define a join.
    CriteriaQuery<Competence> cq = cb.createQuery(Competence.class);
    Root<Competence> competence = cq.from(Competence.class);
    Join<CompetenceName> name = competence.join(Competence_.competenceNames);
    cq.orderBy(cb.asc(name.get(CompetenceName_.name));
    The "fetch" will do a fetch join, if you also wish to load the data in the same query.
    James : http://www.eclipselink.org

  • HT1539 my daughter has taken the insert page with redemption code out of the dvd case and we cannot find it.  is there any way i can still download my digital copy of the movie in itunes?

    We Have managed to lose the insert page that came with our dvd and digital copy.  Is there a way i can still download the digital copy without the redemption code?

    Please please help me, if you know how.

  • ADF One to Many relationship

    I'm a bit confused on how to create one to many relationships with ADF. Let's say I have a make and model table. One make can have many models. Now let's say I create a Business Facade like this (I'm using JavaBeans):
    public Collection getMakes () { ... }
    Ok, my data control now has the collection for makes. And I want to do something like this
    public Collection getModels (Make make) { ... }
    I can't make this work because ADF will detect it as a method accesor. How does this work?
    Regards,
    Néstor Boscán

    Maybe looking at how TopLink does it, can help you.
    Try creating TopLink objects for a master detail set of tables (dept-emp).
    This will create two beans that should be similar to your beans. Look at their structure to see how they work.
    The ADF TopLink workshop has the steps to show you how to do this.
    http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm

  • Techniques to eliminate ripple loading in one to many relationships

    Hi,
    In my domain model, I have a class O that has a one to many relationship with class M. The relationship is mapped in TOPLink as a one to many from O to M, and a one to one from M to O.
    An end user logs into our application that has an otherwise cold TOPLink cache and executes a use case that will render several to many aspects of each O instance, and there are many O instances to render a majority of the time.
    The first time a question is asked of an O instance that requires its M instances to answer the question, TOPLink will detect the unstubbing of that ValueHolder, and cause a SQL query to pull in the necessary M instances for that O instance.
    One technique to combat this ripple load is to mark the relationship between O and M to "useBatchReading". I am motivated to attempt a different technique in the particular scenario I am experiencing though.
    Another technique would seem to be to fetch all of the M instances for all of the O instances to be rendered, compute the relevant Collection of M instances for each O instance and then call mValueHolder.setValue(readCollectionOfMs) on each O instance. Is this technique feasible? Seems like it doesn't align with the intent of the TOPLink API.
    Are there any other techniques that can be used to solve this issue as well?
    Thanks,
    Doug

    Doug,
    What I believe you want is join and batch reading configured on the queries of your specific use case. That gives you much finer control then configuring these on the mappings.
    With TopLink you should have your use cases issue a fixed quantity of SQL statements irrelevant of the # of objects returned from the root query.
    Have you taken a look at the performance tuning chapter in the documentation?
    I hope this helps,
    Doug

  • One to Many Relationship Issue

    Post Author: jmb1977
    CA Forum: Formula
    I am having a problem in which I have a one to many relationship with contact phone numbers and students. In other words, one student can have multiple contacts. (I work for a school district)
    I made up two formulas...called Contact1Phone and Contact2Phone.
    Here is the code I use to display the data:
    IF {STUDCTCT.CNTNUMBER} in &#91;"C1"&#93; THEN STDUCTCT.CNTWPHONE
    Then the other formula does the same, except uses "C2".
    What I get is either C1 or C2 displays, but never both for the same student. Anyway to make this work? Any help on this would be greatly appreciated!

    Post Author: jmb1977
    CA Forum: Formula
    I forgot to add, I do know that placing STUDCTCT.CNTNUMBER in &#91;C1,C2&#93; as a selection then just simply place the CNTWPHONE field into the details section of the report will give me the results. But the reason why I am trying it the other way is that I can export the data as one record per student, thus I am trying to put the fields and formulas into the group section.

  • One-to-Many implemented with a join Table

    Hello,
    Is it possible to implement a One-to-Many relationship with a join table, just like
    the Reference Implementation does.
    Regards,
    Jeroen

    "Jeroen Ferdinandus" <[email protected]> wrote in
    news:[email protected]:
    Is it possible to implement a One-to-Many relationship with a join
    table, just like the Reference Implementation does.Not with our CMP, you will have to resort to BMP for that.
    Cedric

  • Heap Exhaustion Exception for One-to-One Unidirectional

    Using Glassfish 2.1 with TopLink, EJB3 and JPA in WinXP SP2 environment. Am observing heap exhaustion exceptions apparently whenever an entity references a different entity via a one-to-one unidirectional relation.
    Have resolved two heap exhaustion exception problems but have one more remaining.
    The first heap exhaustion problem occurred when entity "A" declared a one-to-many relationship with entity "B", and entity "B" declared a many-to-one relationship with entity "A". But entity "A" also erroneously declared a one-to-one unidirectional relationship with entity "B". As soon as entity "A" had an entity "B" inserted into it, a heap exhaustion exception occurred when entity "A" was serialized in a return statement. As soon as the erroneous one-to-one unidirectional relationship was removed from entity "A", the heap exhaustion exceptions ceased.
    The second heap exhaustion problem occurred when the same entity "A" mistakenly declared a one-to-one unidirectional relationship with entity "C", and entity "C" correctly declared a many-to-one relationship with entity "A". Once again as soon as entity "A" had an entity "C" inserted into it, a heap exhaustion exception occurred when entity "A" was serialized in a return statement. As soon as the erroneous one-to-one was corrected to a one-to-many, the heap exhaustion exceptions ceased.
    But the third heap exhaustion problem occurs when the same entity "A" correctly declares a one-to-one unidirectional relationship with entity "D". As soon as entity "A" has an entity "D" inserted into it, a heap exhaustion exception occurs when entity "A" is serialized in a return statement. I cannot "fix" this as I did in the two above cases because this time the one-to-one unidirectional relationship is correct.
    Have one-to-one bidirectional relationships as well as one-to-many / many-to-one that do not trigger heap exhaustion exceptions when serialized in a return statement.
    Here is the Java code that declares the problem one-to-one bidirectional relationship in entity "A":
    @OneToOne(cascade={CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH }, optional=true, fetch=FetchType.LAZY)
    @JoinColumn(name="fk_asset_type_id", referencedColumnName="asset_type_id", updatable=false)
    public AssetType getAssetType() {
    return this.assetType;
    public void setAssetType(AssetType assetType) {
    this.assetType = assetType;
    Here is the SQL used to generate the table associated with entities "D" and "A":
    CREATE TABLE [dbo].[asset_type](
         [asset_type_id] [numeric](18, 0) IDENTITY(1,1) NOT NULL,
         [asset_name] [varchar](40) NULL,
         [asset_description] [varchar](50) NULL,
         [last_user] [varchar](50) NULL,
         [last_mod] [timestamp] NOT NULL,
    CONSTRAINT [PK_asset_type] PRIMARY KEY CLUSTERED
    ([asset_type_id] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]
    GO
    CREATE TABLE [dbo].[server_asset](
         [server_asset_id] [numeric](18, 0) IDENTITY(1,1) NOT NULL,
         [nsn] [varchar](40) NULL,
         [gov_furnish_equip_asset_id] [varchar](255) NULL,
         [server_name] [varchar](255) NULL,
         [server_ip_addr] [varchar](255) NULL,
         [serial_nbr] [varchar](50) NULL,
         [outfitting_list] [text] NULL,
         [update_cst] [varchar](255) NULL,
         [update_pst] [varchar](255) NULL,
         [date_decommissioned] [datetime] NULL,
         [server_asset_org_date] [datetime] NULL,
         [server_asset_update_date] [datetime] NULL,
         [fk_manufacturer_id] [numeric](18, 0) NULL,
         [fk_trade_partner_id] [numeric](18, 0) NULL,
         [fk_asset_type_id] [numeric](18, 0) NULL,
         [fk_model_id] [numeric](18, 0) NULL,
         [fk_item_part_id] [numeric](18, 0) NULL,
         [fk_gold_disk_asset_id] [numeric](18, 0) NULL,
         [fk_jtdi_location_id] [numeric](18, 0) NULL,
         [last_user] [varchar](50) NULL,
         [last_mod] [timestamp] NOT NULL,
    CONSTRAINT [PK_server_asset] PRIMARY KEY CLUSTERED
    ([server_asset_id] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    ALTER TABLE [dbo].[server_asset] WITH CHECK ADD CONSTRAINT [FK_server_asset_asset_type] FOREIGN KEY([fk_asset_type_id])
    REFERENCES [dbo].[asset_type] ([asset_type_id])
    GO
    Have been batting this issue around on the Manning Panda forum. Consensus there is that the problem may be TopLink related. Would be most grateful for any suggestions. The easy way out would be to change the one-to-one unidirectional to bidirectional but don't want to do that unless there is no alternative. Thanks.

    Looking at the stack trace (found in your post on the GlassFish forum) it appears to be an issue with corba serialization in the container. I found this bug, https://glassfish.dev.java.net/issues/show_bug.cgi?id=2693 in which the stack looks almost identical to yours.
    The only way that I think TopLink could be involved is that TopLink is weaving your code, and potentially so is corba. You can try turning off weaving to see if that 'solves' your problem. (Note: I am not confidant that this will work, but I notice that the corba stack may be doing some weaving of it's own.)
    The persistence unit property is toplink.weaving. Setting it to false will turn off TopLink weaving.
    <property name="toplink.weaving" value="false"/>

  • Problem with cascade delete in CMP one-to-one relationship

    I am not able to cascade delete for one-to-one relationship. Even though relationship seems to be setup correctly, record from the second table is not deleted.
    Following is the structure of tables i am using:
    First Table(vcc_lrmc) -- LRMCBean
    lrmc_id pk (Bean field is id)
    lrmc_dtl_id (Bean field islrmcDtlId)
    Second Table (vcc_lrmc_dtl) -- LRMCDetailBean
    lrmc_dtl_id (pk) (Bean field islrmcDtlId)
    lrmc_id (Bean field id)
    One to one bidirectional relationship has been setup with CMR fields moreLRMC and mainLRMC.
    section of ejb-jar is as follows:
    <ejb-relation>
    <ejb-relation-name>LRMCMainToDetail</ejb-relation-name>
    <ejb-relationship-role>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>LRMC</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>moreLRMC</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <multiplicity>One</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>LRMCDetail</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>mainLRMC</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    section of orion-ejb-jar is as follows:(Bidirectional mapping)
    <entity-deployment name="LRMC" data-source="jdbc/VCCDS" table="VCC_LRMC">
    <cmp-field-mapping name="moreLRMC">
    <entity-ref home="LRMCDetail">
    <cmp-field-mapping name="lrmcDtlId" persistence-name="LRMC_DTL_ID"/>
    </entity-ref>
    </cmp-field-mapping>
    </entity-deployment>
    <entity-deployment name="LRMCDetail" data-source="jdbc/VCCDS" table="VCC_LRMC_DTL">
    <cmp-field-mapping name="mainLRMC">
    <entity-ref home="LRMC">
    <cmp-field-mapping name="id" persistence-name="LRMC_ID"/>
    </entity-ref>
    </cmp-field-mapping>
    </entity-deployment>
    Is there anything else need to be setup for Cascade delete or is there anything wrong the way one-to-one relationship has been setup.
    Pls. advice.
    Thanks
    Dhiraj

    Is it happening because of this bug.
    Cannot create a 1:1 bi-directional CMR for entity beans when database tables are reverse engineered. (2447364)
    Anyone, any idea on this ?
    Cheers,
    Dhiraj

  • SD Billing document many to one relationship with sales order

    Hi experts,
    We have a scenario where we have done collective billing for some time.  So, obviously we have from sales order to billing one to many relationship.  Meaning, one sales order has many billing docs. 
    Now, we want to merge the sales order (VBAP) data with billing data (VBRP).  But, we want to take only one billing document which is appropriate.  
    For example, we have a sales order, corresponding that we have a billing debit memo followed by a cancellation, followed by another debit memo.  In this case we have to take the third debit memo as it is the latest and the first one has a cancellation.
    We will know alll this through VA02 Tcode.  However, we want to derive this logic off of the above tables.  We are actaully clue less as to how to pick up the right billing doc from VBRP for a sales order out of many.
    Please post ur replies.
    Thanks.

    Hi Jain,
    Thanks for the reply.  The sort out mechanism may not be the one we are looking for.  There may be several DIFFERENT billing docs for a single sales doc.  More over, these billing docs may have been created on the same date.  So, what we are looking for is a fied or information like XBLNR in VBAP with which we can for sure eliminate all other billing docs and cancellations against them, for exmaple, and pickup the right billing doc alone.
    I relly appreciate your efforts.
    Thanks.

Maybe you are looking for

  • What to Do Now That I've Got Structured Content?

    Hello FrameMaker Gurus. I've been working as a lone writer for a software company for many years. We have a 1300 page product manual that was originally authored in unstructured FrameMaker. We then use WebWorks to generate "Webhelp" that is both host

  • Iomega Hard-drive

    I have managed to set up networking between my MAC MINI and Windows PC. However when I connect to the MAC using the URl \\w.x.y.z\MAC_NAME I can only see my folder and cannot connect to the IOMEGA DRIVE. How can I authorize connection to the IOMEGA D

  • Overview of non info records

    Is it possible to get a list where you can see all the materials that does not have an info record??

  • Itouch safari says "POSIX error 12-Cannot allocate memory"???

    My wireless says full signal but whenever I try to connect to Safari the window pops up and says "Operation could not be completed-POSIX error 12-Cannot allocate memory"??? Anybody have any ideas for me...please??????

  • FM BDS_BUSINESSDOCUMENT_CREATEF  gives dump in background

    This works fine when run in SAP GUI. But when scheduled in a job it dumps with kpro_error. Pls help.