Derivation rule in COPA from BSEG

Hi experts,
My issue is to derivate a field (SEGMENT) from Table BSEG in COPA.
Unfortunatly my customer donu2019t use the standard customizing from the SEGMENT derivation rule, we donu2019t populate the field SEGMENT in the profit center master data.
Firstly, with a user exit (U903 - ZRGGBS000) which is trigger with substitution rule we populated the field SEGMENT in BSEG.
Now I created a new characteristic WWSEG and I canu2019t derive it in KEDR with table look up, can I have your advices please?
With an abaper, we tried to find a solution with the COPA0005 exit but he donu2019t find the logic to map the source  field BSEG-SEGMENT and the target field COPA-WWSEG
Thanks
Kinds regards
Cédric

Hi Waman,
Thanks a lot for all and thanks to Dave.
But it doesn't work.
The segment in bseg-segment is filled when posting a FI document.
For reminder, the field BSEG-SEGMENT is firstly filled with a user exit.
We implemented the note 1135567, we created the program ZRFI_OSS_KEAK_SEGMENT adapting the code to our characteristic WWSEG, when we tested, in debug we drop in the Abap code but the structure COBL-SEGMENT is not filled, therefore the WWSEG is not filled.
Have you other idea to solve my issue ?
Best regards
Cédric

Similar Messages

  • Table look up and derivation rule in COPA

    Hi,
    What is the difference between table look up and derivation rule in COPA. How do we inter rellate them in customizing.
    Please clarify.
    Thanks and Regards,
    Ram
    Moderator: Please, avoid asking basic questions

    Hi ram,
    Herewith i am giving you link i hope this will help full to you.
    deleted
    Method which is used in the derivation step.
    You can choose from the following derivation types:
    Derivation rule :
    Derivation rules are "if-then" rules, in which you specify which combination's of characteristic values will yield which target characteristic values.
    Table look-up :
    Table look-ups let you determine characteristic values by having the system read them from any table. The source fields must correspond to the key of the table where you want the system to find the target value.
    Thanks,
    Anil

  • LSMW for creating Derivation Rules in COPA

    Hi Experts,
    Is it possible to create a LSMW for COPA - Derivation Rules. When I am trying to select Default All tab to update the field name, the system is not permitting me to default the filed names.
    Phani

    Hi Phani ,
    I think your concern is about updating dervation rule values not derivation rule .
    You can cut paste 20 rule values at a time .. so use cut paste .. from excel.. Updating 1000 values will not take more than 20 mins ..
    I have never used LSMW for Derivation rule values.. as from excel you can easily cut paste and do it within 30 mins.
    Regards
    Sarada

  • Derivation rule in COPA

    Hi
    kindly explain me the derivation rules possible ways of derivation in COPA
    based on costing based.

    Hi,
    Please check the following link:
    https://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/4c38ee4a0111d1894c0000e829fbbd/content.htm
    Regards,
    Pavan Kumar Arvapally

  • 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 rules in copa

    what is derivation rule? what is the function of derivation rule in copa

    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 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: COPA

    Hello Everyone,
    Could you please tell me how to write derivation rule in COPA.  I would appreciation if you send me any document related to it.
    Thanks in advance.
    Sneha

    Hi
    I am working on SAP-ISU project. Our system is very old and we need to maintain it upt 2011. I found a Note 734718 for schedule records and implemented it.
    I have searched for the programs which uses '31.12.2009' as end date. I found two programs RKEVKED0, LSSQ0V28.  These are called dynamically. When I see the program I found that type-pools for KEDR is used. Also in the code dynamic table declaration is used.
    I looked at KEDR transaction and nothing understood about it.
    Can you please tell me how these programs are generated and why 31.12.2009 is used as end date.
    Thanks in advance
    Vijay

  • COPA-Offset Derivation Rules

    Hi
    Pls let me know how to create offset derivation rules in COPA
    Thanks

    Hi Deepthi ,
    The best way to find out is to check the characteristics in both the release orders seperately ..
    Go to Transaction KE21S   ( Select Record Type F , Point of Valuation 1) and simulate the characteristics derivation for both the orders seperately ..
    . For simulation .. enetr parameters like order no , company code , plant .. etc and click on derivation .. System will derive the sales mode .. for both the orders . You will be able to find out the differences in characteristics .. which is causing the issue ..
    Instead of KE21S .. you can also use transaction KEDR . In KEDR screen , enter (F8) or click on test icon and simulate the characteristics derivation..
    Hope this will solve your issue .. Please revert back for any further clarifications..
    Regards
    Sarada

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

  • How derivation rule works in COPA.

    Hi All,
    I am working on profitability analzsis.I have searched in sdn and i am able to create the derivation rule.
    But i am not understanding how it will works and what is the purpose of this.
    Can anybody please let me  know how derivation rule works in COPA.
    Thanks,

    Hi,
    Derivation rule contains the parameters and conditions as to how to derive a value for a given characteristic.
    it contains
    Source Fields - from where the source field is originatingand the field name
    Target fields - contains what is the target field in COPA for the relevant source field.
    This field is nothing but the charactiristic.
    For example:
    When an SD document is posted, system will look for all the characterics available in the doucment like plant, profit center, division, district, country etc
    for each of these characteristics, there must be values for example plant - xx18, profict center - 100000, district - bangalore, country - India etc.
    once we define the characteristic values for each of the characteristic, if the values in the document are available in the characteristic value definition, then system will fetch these values to COPA
    Else it will throw error that characteristic value is not defined
    I hope your question is clarified
    Best Regards
    surya

  • 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

  • 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

  • Derivation rule to determine customer tax classification in COPA

    Hi Experts,
    Please guide me to complete this assignment.
    The requirement is to fetch the material tax classification and customer tax classificaion into COPA through derivation rule.
    we can fetch material tax classification through table VBRP.
    Please help me to derive customer tax classification( KNVI-TAXKD) through derivation.
    Customer tax classification data is available in table KNVI.
    But when you consider KNVI table through table lookup it is asking customer, country key and tax category. To define this derivation rule we need tax category values in COPA.
    We can get customer and country key but not tax category.
    How to bring tax category (KNVI-TATYP)
    into COPA to define derivation rule to fetch customer tax classification( KNVI-TAXKD).
    Please suggest me if any alternative solution to bring customer tax classification data into COPA.
    Points will be assigned to usefull answer.
    Thanks in advance.
    Regards,
    Amar.

    HI,
    The Tax related thing are balance sheet items . which can not be considered at CO-PA.
    only revenue item will be considered at Co-pa.
    Hope this is clear
    With regards
    krishna

Maybe you are looking for

  • Run time improvement strategies in Oracle 9i PL/SQL

    Hi, I have a PL/SQL program that does some calculations and updates few tables. The program now needs to scale to support some terabytes of data. Also I have a constraint on the run time of the program (around 30 mins). The Logic for the program supp

  • Role of enhancements in CRM

    Hi all Can any one explain me the role of enhancements in CRM implementation? Also what kind of enhancements are used and where they are done? Thanks In advance Sonali

  • How to add special characters to field?

    As per topic... Virtual Office | Servcorp http://www.servcorp.com.au/ http://www.servcorp.net/

  • Tabs in X-Fi Audio Cons

    Hi, I often changing modes in X-Fi Audio Console. However, everytime we started the Console, first tab we see is tab called "Device Information" (in addition, on this tab there aren`t any useful information). So, to display "Mode" tab we must click t

  • Ability to see multiple previous pages by dropdown next to Back button seems to have gone

    Since the recent update, I seem to have lost the little down arrow next to the Back button to enable me to jump to, say, 4 pages before the current one. Can I bring it back or has it disappeared for good? Thank you for any replies