Profit centre derivation rule to derive profit centre based in Business plc

Hi,
We required "profit centre derivation rule to derive profit centre based in Business place + 9000 in such case were vendor & customers are involved and current profit center derivation logic doesnu2019t work."
For this we have mapped a substitution pertaining to all co. codes based on all the relevant posting keys for Vendor and Customer where in system will replace the profit center based on business place given in line item as Business Place + 9000. For happening this we have written a User Exit and attached the same with this substitution through t.code OBBH. Entire hting we mapped in our testing client.
But now the problem is whatever posting keys we have defined in our substitution are being used in normal payment and clearing also.
Eg : In payment document vendor is debited vide posting key No 25. where the profit centre is derived based on the invoice that gets selected.
In Normal Payment and clearing transactions, the profit centre is derived based on the profit center in offsetting line items (as per New GL Logic) currently.
Now our business requires that where ever the system is unable to derive a profit centre for vendor and customer (And giving the error " Balancing field profit center in line item 001 not filled") transactions, then at that time profit center for that line item should replace with logic Business Place + 9000 (here business place is the business place contained by that line item in which error is coming for profit center.).
How to map the same in the system through substitution / exit or any other method? Awaiting for your inputs pls. Thanks in advance.
Tapan

Still not answered.
Requesting to give some clue for the same.
Thanks & Regards,
Tapan

Similar Messages

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

  • Profit center balance sheet derivation rules

    sap techies,
    profit center accounting  derivation rules  : costs through  cost centers
                                                                       : revenue accounts - OKB9 ( business area)
                                                                       : balance sheet items - 3KEH  (business area)
    i have maintain both settings while i am posting documents cost & revenues accounts derives pca automatically ,but balance sheet items are not derives automatically .
    is there any additional settings need for balance sheet accounts .
    is there any difference  between  - 3KEH  & FAGL3KEH

    Hi
    In the IMG Step "Activate Document Splitting", did you tick "Inheritance"
    Also, assign FIN_PCA scenario to the ledgers...
    Check FAGLL03 for the balance sheet account after posting a transaction once you ensure the above config
    br, Ajay M

  • Maintain Derivation Rules - TCode : GGB1

    Hi friends
    What is the importance of Maintain Derivation Rules (TCode : GGB1) with respect to Profit center accounting. Is it a compulsory step in configuration or not?
    At our client we are implementing the ECC 6.0 with new GL activation. In this case what is the importance of this "Derivation Rules".
    Thanks in advance.
    Regards
    Kiran

    Hi,
    GGB1 is used for substitution maintenance. It's certainly not manadatory. Only if you have some functional requirement for subsitution, you should use this transaction.
    Regards,
    Eli

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

  • 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

  • Profit center substitution rule miss matching or not working properly

    Hi Experts,
    We have a   substitution rule for profit center for sales group and profit center rule is like
    Is the sales group is 123 profit center should be 123, but now for some g/l like sales deductions that rule is not working for sales group BG1 PROFIT CENTER IS COMING AS BG4  in the same sale order
    I have checked out OKB9 settings also but for that g/l there is no derivation rule has been defined and there is no    cost derivation also
      Please help me out how find out the correct reason
    Thanks in advance,

    can any one give tthe sujestions ,plzzzzzzzzzzzzz
    Thanks and Regards
    Visu

  • Error occurred in derivation rule. See long text ; Message no. K/110

    I am facing the below error when posting document in FI
    Error occurred in derivation rule. See long text
        Message no. K/110
        CO-PA Characteristic Derivation
    Diagnosis
        Step 0166 5400: Profit Center in Inventory Posting
        No derivation rule entry was found for the specified source values valid
        on 02.04.2014.
        The derivation rule was defined so that an error message is displayed
        when this occurs.
        The system could not find a rule entry valid on 02.04.2014 for the
        following source fields:
         Product Group
    Procedure
         Create a rule entry for these source values and make sure that rule
         entries exist for all the source values.
         If you do not want the derivation to be performed in every instance, you
         can also change the derivation rule so that no error message is
         displayed if a rule entry is missing.
         Maintain entries
         Maintain derivation strategy
    In KEDE:
    In KEDR:
    Please help me what might be the reason.

    Hi Thanga,
    I don't think this is the right group to ask questions relevant to Controlling-Profitability Analysis.
    otherwise, it seems in your 'Characteristic Derivation/ Display Rule values' you are missing an argument 'to Product Group', therefore the system gives you this error 'The system could not find a rule entry valid..'.
    hope this will help you.
    Kind regards,
    Renatas

  • Profit center substitution rule

    hi ,i am wondering is it possible to assign profit center substitution rule by sales org,instead controlling area?

    Hi
    The substitution rules are written at Controlling area level, but they can be made Dependant on sales org. i.e. in EC-PCA substitution, you can use sales org and other SD org elements in the substitution rules and try to derive a desired profit center in the sales order
    Ajay M

  • How to define new derivation rules in FM module

    Can somebody help me define a new derivation rule which is user specific in FM module. I want to map muliple Fund Centers to a single Cost center and also map many commitment items to a single GL.
    Thanks
    shivaji

    You derive object X (fund centre) from object (Y) cost centre. In terms of logic, it's not possible to derive multiple values from single value. That's the concept of derivation. If you have cost centre (let's say ABCD), on what parameter will your logic decide whether to take fund centre XXXX or fund centre YYYY? As you understand, the FM posting should be done eventually on one fund centre as well as commitment item, fund, etc.
    After all, the computer could be told what ever you have to tell it; if you, yourself, can make this decision - which FCtr should be taken - upon certain logic, it could be programmed as well in FMDERIVE.

  • Derivation rule at asset retirement

    Hii experts,
    we have requirement of assets procurement through grants they receive. Funds of fund center got consumed at the asset acquisition but when i m triyng to retire/scrap assets... its giving an error for FI313 I.e
    No funds center entered/derived in item 00001 (1000/2000000122/)
    I came to know that we need to prepare some derivation rule of the retirement of assets to resolve the issue.. Please guide me as i am very new to grant management...
    Regards,
    Abhay

    Dear Abhay,
    Since you have created Asset Codes in Asset Master, you have to provide Asset Codes in Asset Retirement Derivation Rule, so that system can derive proper values as per your derivate rule. You have to maintain the following derivation rule for Asset Retirement:
    Transaction Type (TT)+Asset Code (To-From)+Document Type(DT)=Target Commitment Item
    Mention all the Asset Code number ranges maintained in the system, while Document Type AA will be used for TT 200 (Retirement without Revenue) and Document Type DR will be used for TT 210 (Retirement with Revenue). You can derive statistical or dummy commitment item (60 and 3) for processing of transaction.
    Further, you can also add cost centre as source field to derive funds centre. Also make sure you keep the rule in the logical order, since it may affect the derivation of fields. Also check note 666322 to make use of trace feature to ensure proper derivation of values.
    I hope this will resolve the issue.
    Regards,
    Amar Lal

  • PA derivation rule triggered earlier

    we use f-02 to post to profit segment, by analyze the derivation, we find derivation rule step 18 is table lookup, from customer+sales organization to derive one Z characterstic, which is not appeared in KEDR, in KEDR, steps are from 20 onwards, so where can I find the setup step 18 derivation, is it defined in SPRO? thanks

    Hi
    If you don't find it, create the Derivation step again and place it above Step 20
    Br, Ajay M

  • Internal Order is not reading from Asset master through derivation Rule

    Hi,
    I entered Functional Module to read Asset Master data in derivation Rule. While procuring an Asset after selecting an asset the fund center, fund are coming automatically but Internal Order and Cost center is not picking automatically.
    It has to pick Internal Order automatically from Asset master data.
    Please guide me.
    Regards,
    Sree

    Hi,
    Internal order should come from the asset master data, with no connection to derivation strategy in FM. Regarding the cost centre, it's irrelevant when you purchase to an asset.
    Regards,
    Eli

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

Maybe you are looking for

  • Button for audio

    I'm using a tutorial from flashkit.com to make a simple button for audio on/off. Here's is the tutorial Step One: Create two buttons in your graphics program, one for switching the music off and one for switching the music on. Step Two: Put both butt

  • Passing a filename for Playsound()?

    Hi!I have to call a function inside a dll for pocket pc 2002 from labview7: the function contains Playsound, in fact I want my pocket pc to play a file.wav, the problem is passing the filename as a parameter..as a CStr?PlaySound doesn't recognize it!

  • Runtime Error while creating Scheduling Agreement

    Hi Gurus While creating scheduling agreement Runtime Errors DYNPRO_NOT_FOUND  is occuring. Pl help. Error Massege is as under : Error in the ABAP Application Program Dynpro does not exist The current ABAP program "SAPLXM06" had to be terminated becau

  • Live! Ultra for Notebooks will not install

    I have a Toshiba A75-s229 notebook running Windows XP Pro. I went through the installation process but when I plugged the web cam into the USB port it Windows would not recognize the device. The message says "one of the USB devices attached to this c

  • CS-MARS Archiving procedure

    Got a customer with a CS-MARS-100E-K9 appliance, and we're looking at the archiving procedure on the device in order to back it up in case of future disaster recovery. The limited documentation I can find seems to contradict itself, where in one plac