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.

Similar Messages

  • 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.

  • COPA Derivation Rules are not assigning the correct values

    COPA Derivation Rules are not assigning the correct values when we process billing documents in batch.  We currently have derivation rules defined to take the ship to country and refer to custom tables were we identify custom geographic groups (INT/DOM and EAM, AP, etc.).  The derivation rules work accurately when the billing documents are created individually, and more than 75% of them are accurate when generated in batch, but in some circumstances, it populates the derived values with the wrong field and we can not identify where or why that's happening.  It looks like it may have something to do when the ship to customer number account group is different, but that's not consistent..  Does anyone know how or where these values get populated, or have any ideas why incorrect values are appearing sporadically throughout the billing run?  Thanks!!!

    Leigh,
    Apparently the function module is changing the values for some billing docs. Check one of the following user exits, if it gets triggered and the values are changed:
    COPA0001  Enhancement for derivation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEDRCOPA_001
    COPA0002  Enhancement for valuation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEAB_001
    COPA0003  Enhancement for assignment to profitability segment (CO-PA)
    Function Module: EXIT_SAPLKEAK_001
    COPA0005  Enhancement for actual data update (CO-PA)
    Function Module: EXIT_SAPLKEII_001
    Function Module: EXIT_SAPLKEII_002
    Award suitable points if the above helps. You can also reach me at [email protected]
    Thanks
    Ajay

  • 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.

  • 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

  • Replicating COPA derivation rules in BI

    Hi All,
    We have a requirement where we are creating an extractor and COPA derivation rules available in ECC needs to be replicated in BI. My doubts are-
    1. Could this be directly achieved in BI, if yes then how would we maintain sync between the ECC derivation rules and the replicated ones in BI. If there is some update on these rules, how would the respective BI rules get updated?
    2.Should this be handled during extraction in ECC itself. If yes, what is the best approach for this?
    any pointers catering to the above questions and anything related to mapping derivation rules in BI would be a great help.
    Thanks in advance for your help and time.
    Regards,
    Bansi.

    Hi AMK,
    As a protocol that is followed on this site, please do provide points in case the replies helped, this helps in motivating the people to keep posting for the queries and also helps in keeping the spirits of the team high.
    Regards
    Ashish

  • COPA derivation rule :more than 6 target fields

    Hi ,
    As per client's requirement I need to include 10 target fields in a COPA derivation rule . Now after entering 6 , I can see rest of the rows are greyed out ; it looks like SAP does not allow more than 6 as target .
    I tried to find out if such limitation is mentioned anywhere in SAP documentation but I could not find ; if anyone has any reference doc on that please let me know .
    Secondly , how to meet the requirement ? I can break the same into 2 separate derivation , say 6 target & related rule value in the first and in just next step another 4 targets & rule value ; the source remains same in both the step .
    OR any COPA user exit / enhancement will help me accommodate all 10 targets in a single step of derivation ? as far as my knowledge goes SAP provided COPA user exits (1 to 5) will not be helpful here .  
    Awaiting your help ...
    Regards
    Indranil Sen

    Dear Indranil Sen,
    As per my knowledge it is not possible to mention more than 6 source and target fields for a derivation rule.
    Because for that program, SAP defines that (1+5) fields for that screen.
    That is the reason you are getting the gray color after 6 entries
    Yes we can increase that limit but for that we need the access key.
    If you have access key authorization, you can increase the limit
    Reasons in detail:
    Screen filed what you are looking for is:
    DYNP5400-SRC-NAME-FIELDNAME
    There you can enter (1+5) entries only. enhancement for that field is difficult.
    So you can opt for  2nd option as you said.
    Let see  Mr. Waman Shirwaicar's  views on this issue.
    Regards,
    Pavan Kumar Arvapally

  • 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.

  • 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

  • How to Create DI Discount Group for Customer Group?

    Hi All,
    i'm trying to create DiscountGroups for Type Customer Group in developtmnt side in sap b1. i already succed to create  Discount Group for Type Specific BP as you can see in the code i wroe below:
    di.BusinessPartners MyBP= GetBusinessObject (BoObjectTypes.oBusinessPartners) as di.BusinessPartners;
    MyBp.DiscountGroup.DiscountPercentage=20;
    but i don't succed to find the di object that give me the option to create DiscountGroup for Customer Group ( not for specific BP).
    i will very appriciate to get any help with it...
    Regards,
    Peer Shoval

    hello, maybe you could try with DI Server, if your installation allows
    that.
    try experimenting with
    -> EnhancedDiscountGroupsService Object
    SAPbobsCOM.EnhancedDiscountGroupsService dg_service = null;
                    SAPbobsCOM.EnhancedDiscountGroup dg = null;
                    SAPbobsCOM.EnhancedDiscountGroupCollectionParams collDGParams = null;
                    dg_service = (SAPbobsCOM.EnhancedDiscountGroupsService)((SAPbobsCOM.Company)Application.SBO_Application.Company.GetDICompany())
                                    .GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.EnhancedDiscountGroupsService);
                    collDGParams = dg_service.GetList();
                    dg = (SAPbobsCOM.EnhancedDiscountGroup)dg_service.GetDataInterface(SAPbobsCOM.EnhancedDiscountGroupsServiceDataInterfaces.edgsEnhancedDiscountGroup);
                    dg.Type  = SAPbobsCOM.DiscountGroupTypeEnum.dgt_AllBPs;
                    dg.ValidFrom = DateTime.Now;
                    dg.ValidTo = DateTime.MaxValue;
                    dg.ObjectCode = "dontknow";
                    dg.DiscountRelations = SAPbobsCOM.DiscountGroupRelationsEnum.dgrAverageDiscount;
                    //dg.DiscountGroupLineCollection.Add() //etc
                    SAPbobsCOM.EnhancedDiscountGroupParams dg_param = dg_service.Add(dg);
                    log.DebugFormat("Added discount group  {0} - {1} - {2}", dg_param.AbsEntry, dg_param.ObjectCode , dg_param.Type);

  • 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

  • COPA Derivation rule Error Message no. KE0C133

    Hi
    We have Fiscal Year 2010(April To March) and we are maintaining the derivation rule for the cost center in KEDR
    Ane we are facing following error (Cost center validity is maintained from 01.04.2010 To 31.12.9999)
    If we maintain validity period in from 01.04.2009 To 31.12.9999, then system is allowing to maintain derivation rule.
    What you suggest in this Case ?
    Derivation error :
    Characteristic value  DIC APOPS01DMU does not exist for characteristic COPA_KOSTL (Cost center)
    Message no. KE0C133
    Diagnosis
    The characteristic "COPA_KOSTL" ("Cost center") should be posted to Profitability Analysis (CO-PA). When the system checked the entries, it was established that the transferred characteristic value (" DIC APOPS01DMU") is not valid in CO-PA.
    System Response
    The data is not consistent and therefore cannot be transferred to CO-PA.
    Procedure
    With the function Maintain Characteristic Values, you can add characteristic values to those that are valid.
    Thanks
    Nilesh

    Hi,
    I understand you are checking derivation rule by transaction KEDR.
    When you check Derivation, you can input "Derivation Date" in the bottom of Characteristic Popup screen. Please consider what the system check the validity period for e.g. cost center with using "Derivation Date".
    Additionally, for CO-PA planning, please consider that CO version also have "Derivation date".
    Hope tis helps.

  • Nesting of Rules for Auto Group (Role) Membership Rules in OIM 11gR2

    Does anyone know how to nest rules for auto group (role) membership in OIM 11gR2. The General rules in Design Console are no longer used for auto group membership and the rules that can be configured in the Role properties cannot be nested as far as I can see.
    Any info is appreciated.
    Thanks!

    My mistake... this is possible in the web ui.

  • How to copy copa derivation rules ( maintain rule value)

    Hi All,
    Can anyone help how to copy the copa derivation rules with maintain rule value from production to quality.

    Hello,
    Export and import of copa derivation rule is not possible.
    usually Transports are moved from quality to production as per best policy.
    Production to quality happens at the time of quality refresh.
    in case of high importance please get in touch with Basis team.
    Regards
    Lavanya

  • Copa derivation rule not working for Discount GL

    Hi All,
    Kindly note that I have a distribution rule where company & plant combination is used where condtion is that customer group 3 should be 018 and then replace distribution channel to 03.However the rule is not working for discount GL posted in the billing document.
    I tried testing it in FB50 but then it does not allows me to enter plant and because of that derivation rule fails. However in my billing doc I do see a plant  against discount GL and still the rule is not getting picked.
    I had raised this issue earlier but the reply where not as expected and so I have rephraised my question.
    Kindly help me on this.
    Regards
    Pranay

    Hi Pranay
    I could not understand your req to a great detail, following are my observations
    1. There should be derivation rule in place 1st of all to derive customer group from billing doc...
    Check if Cust Group is populated in your COPA doc or not.. For this cust group should be a segment level char in KEQ3
    2. Create a derivation rule using method "Derivation".
    Source fields would be Cust Group, Plant and Company code ( I guess you want to change dist channel with this combination)
    Target field would be VTWEG (Dist Channel)....Click on the magnifying lens beside VTWEG and choose relevant radio button "Overwrite if ......."
    CLick on RULE VALUES and maintain the required Values there
    This should work...
    Regards
    Ajay M

Maybe you are looking for

  • Oracle Dev-suite 10g installation on WINDOWS server 2008 R2

    Hi Friends, Is it possible to install Oracle Dev-suite 10g on WINDOWS server 2008 R2.Any idea on this,can you please share. Best regards, Rafi.

  • Late 2011 Macbook pro - Wont recognize 8gb memory

    Hello Apple users, so heres my problemo. I recently purchased this item . http://www.amazon.com/gp/product/B002YUF8ZG/ref=oh_details_o00_s00_i00?ie=UTF8&p sc=1 . Corsair 8GB (2x 4GB) 1333mhz PC3-10666 204-pin DDR3 SODIMM Laptop Memory Kit CMSO8GX3M2A

  • Unable to edit movies in QuickTime Pro

    I just licensed a copy of QuickTime Pro. However, I find that I am unable edit movies. The Cut/Copy/Paste/Delete and Trim to Selection menus remain greyed out, even when I specify a selection with the in/out markers. The movies I am trying to work wi

  • Problem in transporting Transformations

    Hi, We are transporting transformations to our production system (BW Patch 15) for the first time after the 7.0 upgrade. We are seeing the following error message in the transports. Start of the after-import method RS_TRFN_AFTER_IMPORT for object typ

  • LDAP Configuration Error

    Initial context factory: com.sun.jndi.ldap.LdapCtxFactory Provider URL: ldap://wus.contatan.local:38486/cn=workflowusers,dc=contatan,dc=local Username: admin Password: admin Search filter: Search context: Scope: null Nested context: Base DN: null Req