Default Logic for Intercompany Elimination (USELIM)

Dear Friends,
I am doing the Intercompany elimination for Management consolidation. I have configured the Entity and Intco and also maintained the "ELIMACC"  property in the account dimension. Also i have manintaied the ICELIM.LGF where the following code is been maintained
*RUN_PROGRAM US_ELIM
CATEGORY = %C_CATEGORY_SET%
TID_RA = %TIME_SET%
OTHER = ENTITY=%ENTITY_SET%
*ENDRUN_PROGRAM
do i need to maintain any thing else in the default logic of my application. I have not maintained any Business rules, is it mandatory to maintain the same?. Please suggest me. ( I have no currency convertion since input and reporting is in USD only.)
I tried running the "IC Elimination" package with the sofar done setting am getting the Package  status as 'Cancelled'
Thanks
Prem

Group dimension is mandatory to add.

Similar Messages

  • No results when running SPRUNELIM for Management Eliminations

    Greetings Experts,
    I would greatly appreciate any thoghts on the following issue that I am having.
    Running on BPC v7 for MS sp 5
    One App/Web server, one Database Server
    I have configured the application as follows:
    1. Added ELIMACC property to Account DIM (checked INAPP flag)
    2. Populated ELIMACC property with valid Account members (where I want the elimination to go)
    3. Added ELIM property to Entity dimension (checked INAPP property)
    4. Added Entity members as children of each parent member
    5. Added u201CYu201D to the ELIM property of those Entity members
    6. Added US Elimination Business Rules (identifying the Source DataSrc and Destination DataSrc u2013 Source is a parent, destination is a base level member)
    7. Created a script to run the SPRUNELIM stored procedure
    8. Mapped a DM package to that script
    9. Executed the script
    *RUN_STORED_PROCEDURE = SPRUNELIM( [%APP%], [%CATEGORY_SET%],[%TIME_SET%], [%CONSOLVIEW_SET%],'%SCOPETABLE%','%LOGTABLE%')
    *COMMIT
    Results:
    1. Debug Log shows no records written (that appears to be a known issue with writing to the log, results should still be written to the database)
    2. No records are written to the database.
    Thanks in advance for your help!
    Regards,
    Craig

    >
    Shoba V wrote:
    > Hi Craig,
    >
    > I would suggest you to do the following:
    >
    > 1. Add an IntCo type dimension if dont have it already and maintain it with the "ENTITY" property
    > 2. Maintain currency type dimension with "REPORTING" property
    > 3. Try using the following script
    >
    > *INCLUDE SYSTEM_CONSTANTS.LGL
    > *SYSLIB ICELIMWITHCURR.LGL
    >
    > *INITIALIZE_ELIM()
    > *ELIMINATE_ORG(H1)
    > *COMMIT
    >
    > The above logic performs intercompany elimination without using business rules.
    >
    > Hope this helps.
    >
    > Regards,
    > Shoba
    Hi Shoba,
    will you be able to give some information on the code of "ICELIMWITHCURR.LGL"? When I try to use this syslib, I got an error message saying that the mentioned file is missing.
    Thanks for further information,
    Sebastian

  • Defaulting logic in entity create method

    Hi
    As suggested by BC4J I use the create method of my entity object to insert defaulting logic for some attributes. The code looks like this:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    Number seqNumber = new Number();
    SequenceImpl s = new SequenceImpl("REV_SEQ", getDBTransaction());
    seqNumber = s.getSequenceNumber();
    setRevId(seqNumber);
    setCreationDate(SamUtils.getSystemDate());
    ApplicationModule am = getDBTransaction().getRootApplicationModule();
    if (am instanceof SecuredApplicationModule)
    setUsrId(((MyApplicationModule) am).getUsrId());
    But executing this code results in an Exception: "JBO-25014: Other User has changed the Row". If I remove the code between the lines above everything works ok.
    My questions are:
    - Is it ok to use set-Methods in the entity create method? Or should I set my default values to the "attributeList" instead?
    - do you think it is a problem to use the ApplicationModule as shown? I should mention that am.getUsrId() simply returns a previously stored variable and does not perform any queries or alike.
    Thanks for your help
    Frank Brandstetter

    It's definitely fine to setAttributes - I've done it myself (but not using "specific" setters).
    I haven't used the built-insequences before - this bit of your code looks a bit wasteful in terms of object creation, but that's obviously not your issue....
    It looks fine to use an application module in such a way; I coded a "current user id" function on mine too.
    I actually suspect the date-attribute, since I (me again!) had some "concurrent user" problems too. The issue was the fact that a Java date is accurate to the millisecond, and the database storage and retrieval wasn't. (I wasn't using Oracle so I'm not sure how it goes there....) A "concurrent user" exception gets thrown when bc4j goes to update an entity and finds that the date-value in the object doesn't match the "rounded" one it retrieves (as a check, just before it does the update - this is the optimistic locking) from the database. [So does the error occur only when you've saved the new entity once, then update it and try to save it again?]
    I got around it by setting the millisecond portion of any dates I used to zero (since the "storage" was accurate to a second) - so you might try that. (Did it generically in prepareForDML in my own Entity superclass, I think.)
    Otherwise, try setting the attribute, but not in the create method, and seeing if you get the same problem...
    HTH
    Mike.

  • Intercompany Eliminations- Consumtion based senerio

    Dear Freinds,
    I am planning for Intercompany elimination. My R/3 configration follows Consumtion based accouting. I am not able to find Intercompany consumtion or Intercompany Clossing Stock Thus not able to find intercomapany Consumtion. In R/3 trading partners i am manintaing. Aslo getting intercompany transaction deatils in 0FI_GL_4 DSO( bw).
    We you suggest me what settings are must to arrive at intercompany Consumption and intercompany COGS.
    Thanks ! in Advance.

    Hey   Vishwanath-
      i  hope  you  are  talking  abt  setting up   ICELIMINATIONS  in  BPC..
    check this  HTG  link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e081e99f-87b1-2b10-448a-a31b1c7a91e8?quicklink=index&overridelayout=true
    pls  let me know  if  i have not  understood  your  question  right...
    Hope  this  helps.....

  • Default logical system names for application and metadata in models.

    hi,
    I have a dbt in web dynpro java. When we create a model, we give the logical system names. When our developement is over, do we have to change these names because in test system and subsequently production system, the backends will be oviously different than developement ?
    how do we change them and re import after changing? in abap we cant change our code in test and prod systems right  so how is it in web dynpro java ?
    thanks

    Hi Jeschael,
    thanks for the reponse.
    When I create the model, I give the default logical system names and on the next screen I give the
    ip address of the backend system, client , login, password etc
    Even though the logical system names wud be same in Dev, Test and Prod systems, the ip address, login password is different so how do I give it ?
    thanks
    B

  • Changing the default logical system names for adaptive RFC models

    Hello,
    When I create an Adaptive RFC model the dialog that asks me to specify the model name, package, source folder, etc. has default values in the "Default logical system name for model instances" and "... RFC metadata".
    I know I can type in another name there but I'd like to change the default name to something that fits our naming conventions. Can I change that? If so, can someone tell me where?
    Thanks in advance!
    David.

    Suresh,
    Thank you for your response. However, that is not what I was looking for. Sorry if my post was not clear.
    I knew that I could change it AFTER the import. I also know that I can type in something else besides the default DURING the import.
    What I am asking is if there is a way to change some configuration setting so that the 'default' that comes up in the drop down DURING the import is something different than what comes 'out-of-the-box' with NWDS.
    Hope that clears up what I'm looking for.
    David.
    Message was edited by:
            David Z. Pantich

  • Default logic not running for a particular team

    Hello,
    I have a financial consolidation application in BPC 7.5 NW. We have a particular problem, whereby the default logic is not running for one team when they are uploading data. The error message is "Error running default logic. Error converting records. The root element is missing".
    Users in other teams are not affected by this and they are able to upload data successfully without any problems and are able to view converted records.
    Can someone please explain how this is possible in BPC?
    Also, our development consultant created 2 copies of the default logic in the Finance application. In the admin consol, one is called "Default.LGF" and the other one "DEF BU 9 Mar 2011.LGF". Can anyone kindly explain whether it is possible to have 2 copies of the default logic and if so, how does BPC decide which one to run.
    In both versions of the default logic, the following code is inserted for FX translation:
    // Query 6  - Perform currency translations - run currency translation stored procedure
    *XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
    *XDIM_MEMBERSET TIME=%TIME_SET%
    *XDIM_MEMBERSET ENTITY=%ENTITY_SET%
    *XDIM_MEMBERSET MEASURES=YTD
    *RUN_PROGRAM CURR_CONVERSION
          CATEGORY = %CATEGORY_SET% 
          CURRENCY = GBP
          TID_RA = %TIME_SET%
          RATEENTITY = GLOBAL
          OTHER = [ENTITY = %ENTITY_SET%]
    *ENDRUN_PROGRAM
    *COMMIT
    Thank you very much.
    Edited by: kashifmehmood on Jun 17, 2011 4:12 PM

    Hi
    1.Users in other teams are not affected by this and they are able to upload data successfully without any problems and are able to view converted records.
    One of the reason may be there are some secured dimensions involved like Entity, which is not assigned to the team. Refer to the HTG document below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207995e8-deb8-2d10-3cb9-8ab146c95a09?quicklink=index&overridelayout=true
    2.Also, our development consultant created 2 copies of the default logic in the Finance application. In the admin consol, one is called "Default.LGF" and the other one "DEF BU 9 Mar 2011.LGF". Can anyone kindly explain whether it is possible to have 2 copies of the default logic and if so, how does BPC decide which one to run.
    In my opinion your consultant created "DEF BU 9 Mar 2011.LGF" and maintained the logic in that logic file. To run the logic by default, he has to call the earlier logic file in DEFAULT.LGF.
    *INCLUDE DEF BU 9 Mar 2011.LGF ( Nothing wrong in  keeping the entire logic, but it is not required)
    Logic file ""DEF BU 9 Mar 2011.LGF" can be called by DM packages.
    Thanks

  • Intercompany Elimination - No records to process

    Hi,
    I am working on Intercompany Elimination. I have two entities BP01_Input & BP02 under the entity BP01.
    BP01_Input has ICCost of 1200 against BP02.
    BP02 has ICSales of 1500 against BP01_Input.
    I carried out the following steps:
    1.     Changes to the Account dimension u2013 Added the ELIMACC property and filled it with ICDiff for the accounts ICCost and ICSales
    2.     Changes in INTCO dimension u2013 Added BP01_input and BP02 in entity property for Intercompany idu2019s I_BP01 and I_BP02
    3.     Changes in Entity Dimension u2013 Added ELIM property  and filled with u201CYu201D for BP01 and "N" for its subsidiaries
    4.     Changes in RptCurrency dimension u2013 USD is the reporting currency
    5.     Ran the data manager package for IC elimination  for running  the default ICELIM logic with parameters for Category (Actual) and Time (2008.Dec)
    The data manager runs successfully. But the log shows "No records to process".Elimination of 300 is not shown in ICDiff account.
    Please let me know if there are any mistakes or any other configuration steps required.
    Thank you.
    Regards,
    Shoba

    Hi John, txs for answering.
    Let me set a quick example:
    Entity hierarchy:
    500
      100
      200
      300
    700
      800
      9000
    Entity Account Month Year    DataSrc       Flow     Amount
    100     ABC      005     2012  DS_INPUT  F_100     9000
    I want the elimination intercompany (which runs through automatic adjustments) to create this record:
    Entity Account Month Year    DataSrc       Flow     Amount
    100     ABC      005     2012  DS_ELIM  F_100      -9000
    I dont need to save this elimination record at parent level, just for 100 Entity.
    This works, but I d like to know if it is valid or not.
    PD: I m on BPC NW 7.5 SP11
    Regards
    JAV

  • Intercompany elimination at legal entity and profit centre level

    All,
    I have a question regarding intercompany elimination. As far as I understand, BPC can only hold one Interco dimension per application. If you want to perform an intercompany elimination for two dimensions which do not roll up into each other, two separate applications are needed. Please see example below to clarify:
    Data is reported the following way:
    Legal entity   Profit Centre   Account    Interco    Value
    The problem is that the profit centre hierarchy does not roll up into the legal entity hierarchy mainly because there are profit centres set up as legal entities. Consequently, the legal entity hierarchy and the profit centre hierarchy are two independent hierarchies.
    The business requirement is to have an intercompany elimination at profit centre and legal entity level at the same time (hence requiring two Intercos at the same time). This is needed as some of the profit centres are set up as legal entities.
    Can someone advise me as to how to resolve this issue? Did anyone come across a similar problem?
    Please let me know if you require any further clarifications.
    Marc

    Hi
    Try to use 2 application for the interco elimination
    for the 1st appls ur entity will be the entity dimension and use intco as intco dimension
    for the 2nd one use the profit center as entity and build a new intco
    As per interco logic this is using the Intco property in the Entity dimension and Entity property in intco dimension
    it is very impossible to do this in one application
    Thanks
    CSD

  • Intercompany Eliminations Options Question

    Hi Forum,
    I have a few basic questions around IC Elims, that I want to get other experts opinions on.
    1. What are all of the options for IC elims? 
    Correct me if I am wrong, but you can run IC elims 2-3 different ways.  One, being SPRUNELIM logic, two using BRs and SPRUNCONSO logic, and three being SPICBOOKING logic (not sure on this one).  Are there any other ways to run this?
    2. In a Legal application, it is normal practice to use the business rules and SPRUNCONSO logic.  So my question is how do the buyers and sellers entities know who bought or sold from them intercompany?
    I just want to understand how others get around this, as my knowledge on using Business Rules for IC elims is limited.  So I need to understand how the users will be able to see where IC elims are going to/coming from.  From what I can tell IC elims will post to a datasource, but does that give the user the ability to see where the Elim came from or went to?
    Anyone?
    Thanks,
    Mike
    Edited by: Michael Hutchins on Mar 11, 2009 4:05 PM
    Edited by: Michael Hutchins on Mar 16, 2009 8:09 PM

    Hello Mike
    Question 1
    Another way to do elims is to use the same account for both intercompany debits and credits. . The sign that you enter for a counterparty determines whether it is a debit or a credit. This approach will then self eliminate intercompany balances at all levels in the roll-up and it is not necessary to set up elimination rules. The intercompany reporting is then used for merely running mismatch reports and this can be made to be self-policing by the units entering the data. It works particularly well for intercompany payables/receivable, loans payable/receivable, interest payable/receivable, dividends paid/received. Any balance left at group level is the net mismatch on that account and can be analysed on the mismatch report.
    Question 2
    To do intercompany reporting and elimination you need to set up an intercompany dimension. This is usually the same as the entity dimension, or a flatter version of it. Each entity's intercompany balance must be broken down against the counterparty it is against by using the members of the intercompany dimension. Using the entity and intercompany dimension, it is possible to set the application up so that an entity can run a mismatch report that shows them what a counterpart entity has reported against them as well as what they reported against the counterpart, along with the mismatch. This report could also show the elimination entries.    
    Paul Rowbotham

  • Default Values for Creation of STO's.

    Hello Experts:
    When I create STO's, I don't see any source of default values, like Delivery Tolerance, Confirmation control key, etc, that for a PO usually come from the Vendor or The Info Record.
    We have managed to add these values via BADI, but for STo's created from APO via Transportation load Builder, this Badi is no taking effect. (The Badi I used is and works fine when doing it online, in ME21N or via a BAPI.
    Do you have any experience on where (user exit, etc) to add logic for putting these default values in the STO's created by TLB.
    Thanks in advance

    Sorry the BADI used is ME_PROCESS_PO_CUST

  • Account Creation - Badi for Default values for BP Role and Sales Area

    Hi all,
    my requirement regards the possibility to create a new prospect (a link should be available in the navigation bar or create section).
    Logically, a bp role as "Prospect" and particoular sales area should be created automatically.
    I created an implementation for the BADI definition "BADI_CRM_BP_UIU_DEFAULTS". But don't know how to create the default values for BP role and Sales area:
    In my code
    assign cr_me->('VIEW') to <lv_view_name>.
      if sy-subrc ne 0.
        exit.
      endif.
      lv_viewname = <lv_view_name>.
      case lv_viewname.
        when 'AccountDetails.htm'.
    I obtain the viewname "AccountDetails" , the related context "Header". After I don't know how to proceed to obtain the related entities through the relationship BuilRolesRel and BuilSalesArrangementRel.
    Am I following the right way? Is there another solution to prepare the output for default values?
    Any kind of suggestion will be appreciated.
    Regards, Roberto

    go to spro>cross-application components>sap busines partner>business partner> basic settings>field groupings>Configure Field Attributes per BP Role
    Double click the business role which you want to customaze (e.g. 'A') and change the proper settings.
    Regards.

  • Difference between US eliminations and "normal" intercompany eliminations?

    Hi,
    Can a kind soul please explain the differences between intercompany eliminations and US eliminations please?
    Thanks

    Hi Varda ,
    RDA is Real Time Data Acquisition . In this We can retrieve Live data . While using Normal DTP We can t pull live data
    For example :- Today We have Create a 50 orders . This 50 order information pulled after completion of  sales order creation . we can t see live . But RDA process pulled the data at the point of sales order creation it self ,It support only Stranded DSO .It will use Some industries like FMCG.Retail,banking sector they want to know current data information from BI Side then RDA.
    Please Find below link for Demonstration of Real-Time Data Acquisition (RDA) for SAP BI 7.0 using Web Services API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00db64ee-82f0-2b10-01b0-fe9543dc227e?quicklink=index&overridelayout=true.
    Real-Time Data Acquisition (RDA) for SAP BI 7.0 using Web Services API
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f704bd-b6e8-2c10-569e-d726784388ce?quicklink=index&overridelayout=true
    Thanks & Regards,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://www.bluemarlinsys.com/
    http://bluemarlinsys.com/bi

  • Finding "Default Logical System Name Model Instance" in DC Project

    Hi,
    While Creating an Adaptive RFCModel, one defines the
    Default Logical System Name for Model Instance & the
    Default Logical System Name for RFCMetadata.
    In which file can I find these settings at a later stage in the Project File Structure.
    Ofcourse, I can view them in the WedynproContentAdministrator under the Jco Destinations.
    But is there anyway to access them in the NWDS?
    Regards
    MK

    Hello MK,
    You'll find the Logical System Names of the JCo destinations in the file ".wdproperties" under the project structure.
    Bala

  • How to hide PNP selection windows and set default values for PNP.

    Hi expert,
         I am using HR logical database PNP, but I don't want to display selection windoes for running program on PNP, whereas I want to set default value for some selection items in the program. could you please tell me how to get those two targets?
    Many Thanks,

    Hi
    You have mentioned 2 things.
    1. Don't want selection windows for running program for PNP - this can be achieved using the HR Report category - You can get more details on HR Report Category on
    HR Report Category
    2.  I want to set default value for some selection items - This you need to achieve in initialization event of your program.
    How you can get this can be explained by INITIALIZATION (SAP Library - ABAP Programming (BC-ABA))
    Thanks,
    Sreeram

Maybe you are looking for