Assigning constant value to Account Derivation Rule for FA

Hi,
I have the following requirement for SLA in FA
Requirement :
Cost of Removal Gain should pick the segment1(balancing segment) value from Asset Assignment screen and rest all segments from Book level when the CC <> 'XXXX' (particular CC) and A/C <> 'XXXXXX' (particular a/c).
I have created a custom ADR, in which i had mapped the Expense Account Code Combination identifier for balancing segment. But i am unable to put the condition(where the CC <> 'XXXX' (particular CC) and A/C <> 'XXXXXX' (particular a/c)) in the condition screen.
How can i map the above condition in ADR?
Thanks in advance
Regards
Rajkamal

Hi
In COPA Derivation rules you can only map characteristic.. i mean you can derive only Characteristic values not for Value fields.
Value fields are normally mapped with SD conditions or GL accounts.
If you want to manipulate or recalculate the values flowing into value fields you need to use enhancements.
In this step you can set up system enhancements which are not supported in the standard R/3 System. These so-called "standard enhancements" can be used in the following areas of Profitability Analysis as below.
Derivation of characteristic values        (COPA0001)
Valuation                                    (COPA0002)
Direct postings to profitability segments  (COPA0003)
Currency translation                        (COPA0004)
Actual data update                          (COPA0005)
Hope this helps
Regards
Venkat

Similar Messages

  • Derivation rule for value fied

    can any one tel me how we define derivation rules for value fields. is it posible to put derivation and how it
    will effect.
    Thanks&Regards
    Amar

    Hi
    In COPA Derivation rules you can only map characteristic.. i mean you can derive only Characteristic values not for Value fields.
    Value fields are normally mapped with SD conditions or GL accounts.
    If you want to manipulate or recalculate the values flowing into value fields you need to use enhancements.
    In this step you can set up system enhancements which are not supported in the standard R/3 System. These so-called "standard enhancements" can be used in the following areas of Profitability Analysis as below.
    Derivation of characteristic values        (COPA0001)
    Valuation                                    (COPA0002)
    Direct postings to profitability segments  (COPA0003)
    Currency translation                        (COPA0004)
    Actual data update                          (COPA0005)
    Hope this helps
    Regards
    Venkat

  • Automatic Business Area Derivation Rule for Vendor Line Item in MIRO

    Hello Experts,
    We trying to use Business Area concept for our client.
    I have completed all configuration setting for the business are derivation like
    1. Creation of Business Area
    2. Assign Business area to Plant / Division (OMJ7)
    3. Business area determination from sales area (TVTA)
    4. Business Area by Sales Area
    5. Checked Field Status Group for Customer and Vendor Reconciliation Account
    It is working for for compelete sales process and in Procurement cylce it is picking business for MIGO transaction both the line items.
    But
    In MIRO (Purchase invoice posting) it is automatically taking Business area to the GR/IR line item and it not taking Business area for the vendor line item (automatically)
    I comes know that there is a business area derivation rule for this to happen automatically.
    Can you please propose the soulution for the automatic derivation of business in MIRO for vendor line item.
    Regards,
    Chalapathi

    Hi,
    I do mot think there is a BA derivation rule for MIRO.
    The best you can do is:
    1.  Use a user exit or enhancement point for deriving the BA from the GR/IR line and populate that in the vendor line
    or
    2.  You make BA as a mandatory field in the field status group for the vendor reconciliation account.  This will then force the user update the BA.  We use this option.  This is so because at times, the vendor item may need a different business area than the GR/IR line.
    Cheers.

  • Derivation rule for Product from Material Group

    Dear All,
    Is it possible derive product from Material Group. The scenario is as below.
    We executed KE30 report (Classic Drill down) for Product, the we are able to see the profitability for different products, when we click on the list button (Find button) againist the product at the bottom we found not assigned, we selected that and we found there are some un assigned amounts (without product). when we see the line items for the same the line items are coming with out product ( product field is emply)
    Another observation is we created profitability assessment cycle (KEU5) in which cost center is the sender and material group is the receiver. when we run this cycle system is not distibuting the costs to the products, in the sender and receiver its executed with zero values.
    In derivation rule KEDR we gave the logic to derive product from material group.
    please guide the way which we are following is correct or not. can we derive product from material group.
    Thanks,
    Siva Reddy.S

    Hi
    Yes you can derive using "Derivation" method in KEDR and maintain a mapping of Mat Grp to Product... But that is not the right way
    You need to find out why some lines are posted w/o products.. They can be genuine cases....
    Also for assessment, either specify the Product as receiver or run KE28 Top Down Dist in order to allocate values from Mat group to Products..... Deriving Product from Mat group does not seem to be the nice way
    br, Ajay M

  • Derivation Rule For Fund Management

    Dear All,
                   Where we can maintain derivation rule for fund management???
    Mahendra
    help.sap.com

    Dear Mahendra,
    Please follow following link for PSM-FM
    http://help.sap.com/saphelp_pserv472/helpdata/EN/ba/43d43ab8029b66e10000000a114084/content.htm
    and for FI-FM
    http://help.sap.com/saphelp_pserv464/helpdata/EN/ba/43d43ab8029b66e10000000a114084/content.htm
    Hope this solves your query
    Regards
    Saurabh
    Edited by: Saurabh Khandelwal on Nov 23, 2011 3:05 PM

  • Assigning constant value in transformation  rules

    Hi,
    I want assign the constant value USD  for the infoobject 0currency in transformation rules but I cant see any option avaible
    How can the constant value be assigned ?
    Thanks,
    Sany

    Hi Sany,
    1. Go to Your Transformation
           A (Source) -> B(Target)
           X ( Field)   - > 0CURRENCY (Info object)
    2. Right click on the Info object and select Rule Details
    3. New pop-up window will be displayed there you will find option Direct assignment by default.Select constant and assign the Constant value as USD.
    4. Make sure there should not be any object at the bottom.
    Regards
    Ram
    Assign points if useful

  • When is a def assigned to his constant value in a derived class ?

    Hi ,
    I encountered some strange thing in my app when using a def in a derived class from abstract base class. (dived by zero exception)
    I point it out here using a small code snippet which reflects the problem in my app:
    public abstract class Base{
        public var varBase;
    public class BaseDerived extends Base{
        def const = 1;
        var temp : Double;
        public override var varBase on replace{
            temp = varBase / const;
            println("{const}");
    function run(){
           var test = BaseDerived {varBase:10};
           println ("{test.temp}");
    result is:
    0
    InfinityI assumed that all "defs" will already be assigned before any single use in the code when creating an object. If I put the "def" in the base class all works fine. But apparently this is not case when implementing an abstract class and use a def in that class.
    What am I missing here ?
    thanks
    Guy

    I changed the code to:
    public mixin class Base {
        public var varBase;
        init { println("Base Init"); }
        postinit { println("Base PostInit"); }
    public class BaseDerived extends Base {
        def constant = 1;
        var temp: Double;
        init { println("BaseDerived Init"); }
        postinit { println("BaseDerived PostInit"); }
        public function showVar(msg: String) {
            println("# BaseDerived ({msg})");
            println("VarBase: {varBase}");
            println("Constant: {constant}");
            println("Temp: {temp}");
        public override var varBase on replace {
            showVar("Before computation");
            temp = varBase / constant;
            showVar("After computation");
    function run() {
        var test = BaseDerived { varBase: 10 };
        test.showVar("Created test");
    }The output of abstract class:
    # BaseDerived (Before computation)
    VarBase: 10.0
    Constant: 0 --> BAD
    Temp: 0.0
    # BaseDerived (After computation)
    VarBase: 10.0
    Constant: 0
    Temp: Infinity
    Base Init
    BaseDerived Init
    Base PostInit
    BaseDerived PostInit
    # BaseDerived (Created test)
    VarBase: 10.0
    Constant: 1
    Temp: Infinity --> NOK and replace not newly triggeredWhile the mixin base class indeed solves it:
    # BaseDerived (Before computation)
    VarBase: 10.0
    Constant: 1 --> constant here already been assigned
    Temp: 0.0
    # BaseDerived (After computation)
    VarBase: 10.0
    Constant: 1
    Temp: 10.0
    Base Init
    BaseDerived Init
    Base PostInit
    BaseDerived PostInit
    # BaseDerived (Created test)
    VarBase: 10.0
    Constant: 1
    Temp: 10.0 --> OKThanks for the quick goodies !
    I just need to read something on what "mixin" differs from abstract.
    cheers
    Guy

  • Copa derivation rule for customer group

    Hi All,
    I am currently facing an issue with Derivation rule and hope someone can help me on resolving  this.I have created a COPA derivation rule which has field as
    Source Field
    company code
    Plant
    Target field
    Distribution channel
    Condition
    customer group 3 = 18.
    so ideally with this conbination the distribtion channel gets updated
    for the sales order.
    However the issue we are facing is that the rule is working for only 1st line item and not for the others. I have also kept setting as" overwrite values only if new values found"
    e.g if we see the accounting doc of billing then
    line item 1 customer: x
    line item 2 SaLes GL: rule works fine and dist channel is updated.
    line item 3 discount GL: rule does not work.
    Have checked the derivation rule and it looks correct.
    Can you kindly suggest solution to this.

    Hi Ajay,
    Thank you so much for your reply.Please note that the GL is a cost element but the category in system is 1 and not 12.However I would like understand as to why is this happening.why does the system picks up derviation rule for a Gross sales GL and not for Discount GL(Cost element).
    The distribution channel  gets updated for sales GL when i check the prof segment of the line item, however this is not the case with doscount GL.
    I would like to understnad the implication before changing cost element category from 1 to 12 as it runs across system.
    Kindly provide some more explaination.
    thanks in advance.

  • COPA derivation rule for GL fields

    we are using Transaction type (BSEG_BEWAR) to store additional information for our Sales reporting. During the GL entry this field is update. I have created Derivation rule in COPA using table look up. The table I am using is BSEG. I have characteristics defined for Transaction type- WWTTY.
    when the table lookup is populated I get following fields in source as target :
    BSEG  -
    > BUKRS                                COPA  --> BUKRS
    BSEG  -
    > BELNR                               COPA -
    > BELNR
    BSEG -
    > GJAHR                              COPA  ---> GJAHR
    BSEG  -
    > BUZEI                               COPA  -
    > WWDOC ( This is custom defined in COPA)
    Assignment of Target Fields:
    BSEG ---> BEWAR                                COPA -
    WWDOC
    Still I am in seeing COPA getting updated with Transaction type value.
    Need input to solve this issue.
    Thanks in advance

    Hi Ajay,
    Thank you so much for your reply.Please note that the GL is a cost element but the category in system is 1 and not 12.However I would like understand as to why is this happening.why does the system picks up derviation rule for a Gross sales GL and not for Discount GL(Cost element).
    The distribution channel  gets updated for sales GL when i check the prof segment of the line item, however this is not the case with doscount GL.
    I would like to understnad the implication before changing cost element category from 1 to 12 as it runs across system.
    Kindly provide some more explaination.
    thanks in advance.

  • Derivation rule for budgeting

    is it possible to have a derivation rule where we can define for budgeting purpose that if we are using a particular cost center we could use only a particular commitment code only.
    viewers please leave your hints/remarks so that any help could be received

    How to change fund managment period from existing (APRIL TO MARCH)    TO  OCT TO SEPTEMBER.
    WE ARE TRYING TO CHANGE THAT USING
                     public cector mgmt
                                     fund mgmnt govt
                                                   basic setting
                                                             fiscal year setting
                                                                         define fiscal year setting
    there we have                       v3 as    april to march  and
                                               v9 as    oct  to sept
    originally we had  assigned v3 to  Financial year  and   to fund mgmt period both.
                 but now we want to assign v9 to fund mgmt period.
    But system is not allowing us to do that. How can we achive it and what are the reasons for errors

  • Deleting derivation rule for the existing characteristic in operating conce

    Hi all
       My customer has two characteristics" Billing Doc(VBELN)" and" Warranty status" in the development and testing client and not in the production now.
    Option 1 : Is to delete them but as the data is already posted for the same in the test and development client,it is lot more complex( involves  implementation of OSS notes-SAPNET note 21207) .
    Option 2: If we decide to keep them for now:These two have a derivation rules too. So  can we simply delete the derivation rules so that data will not get posted to them( So will not effect the PSG i.e ce4xxxx table in production once the same transport is moved to production). There are no dependencies on this derivation rule.
    Option 3: Can we also remove them from segment level characteristics?
    Please let me know pros and cons ?
    I really appreciate your time and effort.
    Thanks & Regards
    Sri

    Hi,
       If the characteristics have not been transported to production then why don't you delete them in the dev/test system ? Here you can take the risk.
    To delete characteristics or value fields, perform the following
    activities:
    1. Delete the corresponding characteristics and value fields from Customizing in all clients (this includes forms, reports, planning
    layouts, and so forth). To locate characteristics and value fields, use the appropriate where-used list in the Customizing Monitor. You can access it by choosing Tools -> Analysis -> Check Customizing Settings (TA KECM).
    You can jump directly from the where-used list to the relevant Customizing transaction and then delete the appropriate field there.
    2. Switch to the screen for maintaining the data structure of an operating concern (Maintain operating concern).
    3. If you need to effect other changes to the datastucture for the operating concern before making any deletions, effect those changes and save the data structure.
    4. In order to be able to select the fields of the data structure, choose Extras -> Characteristics (or Value fields) -> Unlock.
    5. Select the characteristics and value fields to be deleted and remove them from the data structure with the "Reset fields" function.
    6. Reactivate the operating concern. The system starts by checking whether the operating concern contains any data and whether the fields to be deleted are still being used in any Customizing settings.
    7. If none of the fields are still in use, the system then starts the re-activation. If the operating concern does not contain any data or does not require the database system to be converted, the tables are activated. You are then able to activate the environment for the operating concern. In this case, the following activities no longer apply.
    If the operating concern already contains data, a system message tells you that the database needs to be converted. If you proceed, an activation log appears (at the top of the list).
    8. Analyze the activation log. If it only contains error messages telling you to convert the tables, proceed with the next activity.
    You must otherwise remove the cause of the errors before the tables can be converted. In this case, you should answer "No" to the next prompt, which asks whether the conversion transaction should start.
    9. If you still only receive error messages telling you to convert the tables, choose "Back" and start the conversion.
    10. Plan a job for the conversion. A list of the tables to be converted is shown for this. If the tables only contain a small amount of data (less than 10 000 records), then all the tables can be converted in one job. In that case, you can select all the tables.
    For larger tables, conversion should take place in several jobs.
    However, you should ensure that table CE4xxxx (where xxxx = operating concern) is the last table to be converted.
    Warning. No other changes can be made to the operating concern during the conversion.
    A copy of the table is generated during the conversion. The database system should have sufficient memory available for this copy.
    To schedule conversion as a job, use the "Schedule selections" function.
    You can display the current status of the conversion by selecting the "Refresh" icon. Tables disappear from the list once they have been converted sucessfully. If a conversion is taking a while, it is also possible to leave the transaction. You can then continue the conversion using DB requests -> Mass processing in one of the following ways:
    With the job overview. You access this by choosing System -> Services ->Jobs.
    Using the database utility transaction. You access this by choosing Utilities -> Database Utility in the ABAP Dictionary menu.
    You can use the status function to call up the status of the operating concern during operating concern maintenance. You need to activate all tables after conversion.
    11. To analyze errors that have occurred during the conversion, you can use the database utility transaction by choosing Extras -> Logs. The log has the same name as the conversion job: TBATG-date. You can also restart the conversion with this transaction.
    For more information on the database utility, choose Help -> Application help while still in the above transaction.
    12. Once you have activated all the tables in the operating concern, generate the operating concern environment from within operating concern maintenance.
    You can then use the operating concern again.
    Please, refer to the IMG documentation under Controlling ->Profitability Analysis -> Structures -> Define operating concern
    -> Maintain operating concern, for further details.
    regards
    Waman

  • Derivation Rule for Partner Function

    Dear Experts
    I have some questions about COPA derivation rule.
    I attempted to input a number for remark by using the partner function u201Ccontactu201D field in biling table (KNVP-PANRN).
    Itu2019s always occurred error while SD entered PGI after I configuring the derivation rules.
    My derivation rules as following:
    Source Fields
    KNVP     KUNNR     >>CO-PA     KNDNR
    KNVP     VKORG     >>CO-PA     VKORG
    KNVP     VTWEG     >>CO-PA     VTWEG
    KNVP     SPART     >>CO-PA     SPART
    KNVP     PARVW     >>GLOBAL USERTEMP3 (use MOVE for constant=CP in last step)                                    
    KNVP     PARZA     >>GLOBAL USERTEMP4 (use MOVE for constant=000 in last step)
    Target Fields
    KNVP    PARNR  >>CO-PA WW001
    Seems probably have some problems.
    Could Experts give me a hint?

    Problem solved.
    I just set my constant numbers wrong.

  • What is the meaing of the sysmbolic constant value in the header file for UIR file and how they are used

    In labwindows after creating the uir then header file is create automatically. There it has define some symbolic constant. As examples of colview.h(from the examples of labwindows )
    #define  MAINPNL              1       /* callback function: MainPanelCB */
    #define  MAINPNL_RESULTS      2     /* control type: table, callback function: ResultTableCB */
    #define  MAINPNL_NEWTEST     3       /* control type: command, callback function: NewTestCB */
    My question is how these values 1, 2 and 3  were selected and how they are used in programs ?
    If anyone explains, it will be a great help.

    When creating a UIR file, CVI editor takes care of assigning constants to the panels / controls you create in it.
    The conceptual framework is the following (assuming to treat the file you have reported in your message):
    - Within a single UIR file all panels have a unique ID, which is the one you pass to LoadPanel when loading a panel into memory. LoadPanel (0, "myfile.uir", MAINPNL); is then translated to panelHandle = LoadPanel (0, "myfile.uir", 1); , that is: "load the first panel in the uir file". The panel in memory is then assigned a handle, which is guaranted unique by the OS and saved in panelHandle variable
    - Addressing a control in a panel is done e.g. using SetCtrlVal (panelHandle, MAINPNL_NEWTEST, xxx);  , which again is translated to SetCtrlVal (panelHandle, 1, 3);  that is: "Set control #3 in the panel identified by panelHandle to value xxx".
    You must not modify the include file associated to the UIR as it is fully maintained by the IDE and is rewritten each time you save the UIR file.
    That conceptual framework has some advantages and some caveats:
    - You can load the same panel more then once in your program: each instance is independent from the others as each panel handle is unique; in some occasions it may be helpful, e.g. if you need to handle several identical equipments connected to your PC and you can load the same control panel for each unit connected maintaining each of them independent
    - If the panel handle is wrong, the system does not warn you of this as it does not know of the symbolic names you are using; if you try that SetCtrlVal command with a wrong handle you are trying to manipulate a control on a panel different from the one you intend: supposing actual panel idientified by the handle has control #3 the maximum you can expect is that you receive an error in case you pass e.g. a string to a numeric, but if controls are of the same type you have no errors or warning at all! This is particularly important when addressing controls on pages of a tab control: each page is really a separate panel with its proper handle that you must retrieve with GetPanelhandleFromTabPage command before addressing the controls on it
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Derivation rule for commitment code

    is it possible to have a derivation rule where we can define for budgeting purpose that if we are using  a particular cost center we could  use only a particular commitment code only.
    viewers please leave your hints/remarks so that any help could be received
    Edited by: ca sanjeev mehndiratta on Jan 12, 2009 6:59 AM

    over

  • Derivation rule for service agreement

    Dear Gurus,
    I have derivation rules between GL-commitment item and Cost center - Fund center. now when i create PR & standard PO for type "cost center" the system is working properly by derives fund center and commitment item automatically but when i create service agreement the system doesn't derive fund center and commitment item. If anyone have any suggestions, please let me know.

    Are there any conditions to the derivation rule?
    In my QA system, I was able to create a derivation rule GL=Committment item. It worked the first time I created a scheduling agreement using ME31L.
    Then I went into the "conditon" tab of the derivation rule and entered business transaction=RMBA and RMBE (purchase requisition and purchase order respectively) and the derivation rule did not work when i created another scheduling agreement.
    Other than some conditions exist or the target field attribute is needed to be set to overwrite. I am at a loss to what the problem could be.

Maybe you are looking for