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.

Similar Messages

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

  • 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

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

  • 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

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

  • 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

  • Errors with the global conversion rule for the field 0SOURSYSTEM.

    Hello Gurus,
        We are implementing CRM Activities. I enhanced the data source and when I add new info objects to 0SAL_DS01 DSO and trying to activate I'm getting there errors. Can some one please help me out in this problem?
    Error in global conversion rule for InfoObject 0SOURSYSTEM
    Message no. RSAR263
    Diagnosis
    Errors with the global conversion rule for the field 0SOURSYSTEM.
    System Response
    The function module delivers the following error message:
    Field "" is unknown. It is neither in one of t
    Procedure
    Check the definition of the global conversion rule for an InfoObject
    What does this error mean? We are using BI 7.
    Thanks
    RKR

    I have around 9 source systems, do I have to maintain data for all of them for 0SOURCESYSTEM?
    I set data for CRM system and then tried to activate.. but still I'm getting same error.
    I;m getting this warning too...
    InfoObject 0FISCVARNT needs to be in key for DataStore object C_0SAL_D
    Message no. RSDODSO123
    Diagnosis
    Characteristic 0FISCVARNT is included in the data part of ODS object C_0SAL_D.
    System Response
    The fiscal year variant cannot be used in the update rules for calculating business hour characteristics.
    Does this matter???
    Thanks
    RKR
    Message was edited by:
            RKR 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

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

  • 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

  • COPA Derivation based with target field as non-copa field

    Hello experts,
    There is a requirement to derive the Characteristic maintained in Classification view(AUSP table) in Material master based on material number.The target field into which the characteristic value needs to be populated is not in COPA(it is a non-copa field).
    I tried to use table look up with AUSP table, but it is asking for values of certain key fields like
    ATZHL(Characteristic value counter)  MAFID(Indicator: Object/Class) and
    KLART(Class Type), which are not there in COPA.
    With the Enhancement in KEDR transaction, EXIT_SAPlKEDRCOPA_001 and Include ZXKKEU11, I  created an enhancement step by giving  the material as the key in the source fields.With that material number I can do a select on the AUSP table inside the include ZXKKEU11 and get the characteristic value. The problem i am facing is that the target field which stores the internal characteristic value is not there in COPA?And while creating a derivation rule, I can only select the COPA fields as target fields.
    It's urgent....any suggestions  please? Points will be rewarded for any useful answer.
    Thanks,
    Anky

    Hi,
    As far as I know the derivation functionality in COPA is meant for derivation of characteristic values to store them in a characteristic field.
    If you splitt up the derivation in two steps it might be possible to use the USERTEMP fields, to store the information needed and to pass it on to an other lookup step as a key-reference.
    Regards,
    Roy

Maybe you are looking for

  • Unable to change data source of any report

    Hello there, I am using the Crystal Reports Eclipse plugin. I added a datasource to Eclipse 3.3 which connects to a Oracle database using JDBC. Now I want to change the data source of a report. I get a popup window which displays the old data source

  • What are the impacts of IB control set to No at Master level

    What are the impacts of IB control set to No at Master level, but the item is serialized at master and Org level. These are service items.

  • Isight cam and yahoomessenger 2.5.3

    Yikes! My friend has a pc and I can view her cam on yahoo messenger when she invites me but when I invite her to view my cam it says "My cam isn't avaiable" (something like that!) I tried to upgrade my yahoo to 3.O and it wouldnt let me sign in. Do I

  • Print is too large. Articles right margin is off page when printing.

    Items are too close to right margin of screen so part of article cannot be seen Firefox 5. Items moved to tray when clicked are reduced in size. When finished with them cannot delete them since right side is too close to edge and the delete x is not

  • What happened to the search tool?

    Where oh where has the search tool gone? Without a search feature, this forum is nearly worthless. I see a search bar at the very top, but that searches the whole Apple site. What gives?