Derivation rule - Table look up

Hi All,
Can u explain about the Table look up, Move and Clear options in derivation rule. What type of Fields can be looked up, Moved and cleared to what characters? Can u advise me for detailed study.
Regards

Hi,
Derivation of characteristics happen if the existing characteristics does not support your requirements.  Such derivations are based upon other characteristics.
There are different ways to derive characteristics.  Such ways are -
1. <b>Table look up</b> : Here the characteristics are dereived based on reading a table.
Constraint: The source field should be the key field in the table
<b>Example</b>: U want to have a characteristics Division based out of Material Master.
Source field : Product Number (Key field of MARA)
So based on the pdt number, the material master table is read and the division is identified.  If the record is found, the division is fetched and used
<b>2. Move</b>: Copies the constant from the source char to the target char
<b>Example</b>: If sold to party and ship to party are same.
source: Sold to party
Requirement: U want to determine the char Ship to party
So whatever data in soldtoparty is moved to ship to party for derievng its char
<b>3 Clear</b>: deletes the value of charac and move back to its initial value
<b>Example</b>:  if based on certain condition, the value of char should be initialized\ 
If Product number=124, then CLEAR employee no char.
For more learning - http://help.sap.com/saphelp_46c/helpdata/en/7a/4c38ee4a0111d1894c0000e829fbbd/content.htm
Regards,
Sridevi
<i><b>Award points, if useful</b></i>
Message was edited by:
        Sridevi

Similar Messages

  • Derivation Rule Tables

    My users have created some transparent tables using the derivation rules in the Grants Management module.  I need to read these tables in a Z program.  The issue is, when the rule is run in each client the table name is generated by the system and varies from client to client.  Does anyone know of a way to get these table names dynamically either from a function module or another table? 
    Thank you,
    Becky

    Hi,
    Is there any solution to the above problem. I am also facing the same problem, as to how to get the derivation rules tables.
    Thanks in advance,
    Lalitha

  • Derivation rules  table name KEDE

    Hi,
    I have to fetch the values from Derivation rules maintained in KEDE & 8KER. But the derivation tables names are created by system and the names are system dependent and client dependent.                       
    Eg :  K9RS013900010 where S01 is my development system and 390 is the client. If the derivation rule is created in Quality and Production systems, the Table names will differ accordingly.
    Is there any solution to the above problem.  Is there any FM or some way to get the derivation table name.
    Thanks in advance,
    Vishnu Priya

    The derivation rules tables exist in table TKEDRS ( field Method = 'DRULE' )

  • 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

  • Table for Derivation Rules

    In CO, derivation rules can me created in transaction KEDR. I would like to know the underlying table for this. I cannot seem to find it. Hope somebody can help me. thanks.

    Hi,
    Refer the tables CE1****,CE2*,CE3***,CE4**(CEcompany name- will be in the format) Like that.
    or Just search with CE* as the key in SE16.
    This also varies based on the costing based & account based. Refer the above tables you will casme to know the details for the same.
    BR,
    Rajani

  • Error while defining derivation rules in FMDERIVE

    We are currently on ECC6. While defining Funds Mgmt .... activated the derivation rules in FMRULES. But when I try to define the derivation rules in FMDERIVE .. I get the following error:  Syntax error in program "RFMDERIVE003 ".
    Error in the ABAP Application Program
    The current ABAP program "SAPMABADR" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "RFMDERIVE003 " in include
    "RFMDERIVE003 " in
    line 32:
    "The Dictionary structure or table "FMDERIVE003" is either not active o"
    "r does not exist."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP* "
    Error in the ABAP Application Program
    The current ABAP program "SAPMABADR" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    How can the same be rectified. Kindly help.
    Thanx
    Shivaji

    Hi,
    Check the OSS note  Note 644974 - Syntax error in program RFMXPR47. Looks like table FMDERIVE is missing.
    Regards,
    Sanjay

  • 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

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

  • Derivation Rule in report painter

    I want Product describtion along with Product number. in a report. I have created a derivation rule through KEDR. and coppied the product describtionin the rule. Now how to use this derivation rule in the report.

    Harish,
    There is no need to define seprate derivation rule as product description is readily available in COPA tables.
    Just select product description characterstics for available list while designing report.If report already exists then go to change mode and make nessesary changes.
    Please call me for any more inputs.
    Ashok

  • Derivation Rule in PCA

    Dear All,
    we have an issue in profit center acccounting. Balance sheet account Vat input tax payable is picking dummy profit center instead of correct profit center. Basically we are doing the following steps. 1. Purchase order creation 2. Goods received via migo 3. invoice receipt via miro
    At the time of miro posting, system is automatically created accounting document, with dummy profit center is assigned to Vat input tax payable account. For GR/IR clearing account right profit center is picking without any mistake.
    Infact, Dummy profit center is assigned to this balance sheet account under tcode 3KEH.
    Derivation rule is created for this balance sheet account along with plant condition to post to correct profit center under 3KEI . But system is taking only dummy profit center.
    I have checked configuration and the following areas like Material master costing view, tax code areas, and account group but not find any mistake.
    Please advice how to get correct profit center to this balance sheet account instead of dummy.

    You have to do this with the Month end closing
    TC
    F.5D - Calculate
    F.5E - Post
    F.5F - Display Log
    F.5G - Special Functions
    This is the help from F.5D - Calculate
    Short text
    Calculate Balance Sheet Adjustment
    Description
    A balance sheet eadjustment distributes
    receivables and payables in customer and vendor reconciliation accounts,
    tax postings,
    cash discount postings from the net method of posting vendor invoices as well as
    valuated exchange rate differences in open items (this is a P&L item, but since receivables or payables increase or decrease depending on the valuation, a readjustment is also made for the exchange rate difference with a reverse +/- sign).
    This process ensures the zero balance per business area necessary for creating business area balance sheets.
    It consists of the following steps:
    When posting a document, the system analyzes it to determine whether a balance sheet readjustment is necessary. If a readjustment is required, the system marks the document for readjustment.
    Readjustments are calculated for the marked documents and stored in special tables.
    This subfunction is described below.
    The calculated readjustments are read and then distributed and posted in total to the appropriate accounts.
    Fields Included in Readjustment
    Readjustments are made for business areas if the function for business area balance sheets is activated in the company code in question. Readjustments are also made for trading partner business areas if the function for business area consolidation is activated.
    If Profit Center Accounting is activated in the controlling area allocated to the company code, readjustments are made for profit centers as well as trading partner profit centers.
    Note
    The fields included in readjustment are determined when the original document is posted. Thus, the customizing settings for business areas and profit centers must be made prior to posting the first document. If these settings were not made, you can still mark posted documents for balance sheet readjustment by executing the subfunction for setting up the balance sheet readjustment (see below).
    Basis for Distribution
    The system uses the account assignments of the offsetting entries in the initial document to calculate the distribution. Offsetting entries are all G/L account items apart from tax items and cash discount items.
    Readjustment is made only for those account assignments which were not specified during posting (their value is blank). If a value is entered in an account assignment field during posting, it is regarded as a correct entry and not changed by the readjustment.
    Carrying Out the Distribution
    Readjustments are transfer postings which create one or more account assignments (not blank) for the unspecified account assignments in original documents.
    Scheduling the Program Run
    You can run this program as often as you like.
    Requirements
    Account Determination
    For each account, you can specify an adjustment account to post the readjustment to. Otherwise, the system posts the readjustment to the original account.
    To distinguish readjustment postings from other postings, you should create separate adjustment accounts and have the readjustments posted to them.
    Since reconciliation accounts cannot be posted to directly, you have to specify adjustment accounts for them.
    Since readjustments are posted without tax, the accounts posted to cannot be relevant to tax.
    Adjustment accounts are determined when calculating the distribution.
    For more information on automatic postings, see the Implementation Guide.
    Output
    The log shows how many documents per company code the system calculated distributions for.
    Note:
    If valuation differences are noted in documents, the system always includes them in the calculation. When updating the allocation tables, it checks for whether or not calculations already exist for these documents.
    If account determination is incomplete or maintained incorrectly, the system does not calculate any distributions for the affected documents. It lists both the queried entries and the affected documents.
    To view the readjustment calculated for an individual document in Document Display, choose Environment -> B/S readjustment.
    Additional Information
    See the documentation for the other subfunctions:
    Posting the distribution.
    Displaying the logs of existing posting runs.
    Reversing an incorrect posting run.
    Redetermining the adjustment accounts if you changed the account determination or it was incomplete at the time of calculation.
    Setting up balance sheet readjustment if you have already been productive with a release prior to 3.0.
    Dependent functions
    Readjustment must be carried out prior to creating a business area balance sheet.
    Profit Center Accounting also requires the results of readjustments.

  • Profit center derivation rule

    HI
    We need to maintain the profit center derivation rule in the delivery or billing document, i.e. if batch no starts as A- Profit center-1000, B -Profit center-2000. We have used some user exit in order and working fine. where as our client is interested to have same in delivery or billing document. Is there any user exits are available. The profit center should be determined as per batch no starts and not as maintained in the material master.
    Regards.
    Edited by: R Rao on Sep 22, 2008 4:03 PM

    Please check this user exits available for VF01.
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX009 Billing doc. processing KIDONO (payment reference number)
    SDVFX010 User exit item table for the customer lines
    SDVFX011 Userexit for the komkcv- and kompcv-structures
    V05I0001 User exits for billing index
    V05N0001 User Exits for Printing Billing Docs. using POR Procedure
    V60A0001 Customer functions in the billing document
    V60P0001 Data provision for additional fields for display in lists
    V61A0001 Customer enhancement: Pricing
    Also check this user exits as well.
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.

  • 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

  • FM DERIVER Custom field in Derivation Rule

    Hi Experts,
    I want to have a custom field while defining Derivation Rule in TCODE FMDERIVE, the field I require is Storage Location LGORT. Inorder to achieve this I have used Customer Include in structure FMDERIVE and inserted field LGORT.
    Now the problem is that when I am defining my custom Derivation Rule using custom field Storage Location, the rule is not determined.
    Could u please help me in this.
    Thanks n Regards
    Rohit

    Hi
    Go to
    Spro -PSFM-FMG-Master Data-Allocation to account assignment from other components -select derivation steps
    here u selct 3 option
    cost center to commitment-item/fund ctr/fund function
    then define account assignment derivation
    here u define Derivation rule whcihever u define
    here u find tables and field whichever u find
    if nay query, revert back
    Regards
    Roobal

Maybe you are looking for

  • Looking for note pad app

    My boyfriend will be leaving for med school at the end of next month. I want to get him an iPad as a gift but before I buy it I want to know if there is an app that will work with a stylus for note taking. Specifically, I would like him to be able ta

  • Recovery error hp dv6

    My pavilion dv6 popped with the message enter adminstrator password or power on password and I tried my regular pass word that I always use to login, no success. The system disable message came up as 67494438 if anyone can figure out the power on pas

  • Mail rebuild mailbox issue with Gmail

    I set up Mail 4.6 to receive and send e-mails to and from Gmail as per the instructions on the Gmail site and used additional information on this forum. What is happening is whenever I rebuild the gmail folder it downloads again all the files I have

  • How to nail this effect?

    I was wondering if anyoen can help me. I want to create an effect where one video is playing and then as i zoom out you can see dozens of videos also playing around that? Was wondering what i would need to learn to do this? I've been learning through

  • Configration

    how we can configure oracle warehouse builder 10g r2 with oracle 10g database and how we can create repository in oracle warehouse builder 10g r2 Plz explain step by step because i am new