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.

Similar Messages

  • 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

  • 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

  • Profit Center derivation in Sales Order

    Dear Gurus
    I have a requirement where profit center should be derived in sales order on the combination of customer country and plant.
    In standard SAP it can be defaulted at plant level from material master.
    How can this be defaulted on Customer country and shipping plant.
    Looking for experts opinion.
    Regards,
    Neeraj Srivastava

    Dear Neeraj,
    It is possible to achieve this by using Profit Center Substitution in Sales Orders but as per your requirement Customer country is not available in Table fields but wherein Plant is available. Please find the below example process
    The profit center is entered in the material master in the Sales: general/plant view.
    When sales order is created the profit center in the material master will be populated in the sales order line item profit center field, which is present in the account assignment tab. This is the standard SAP behaviour.
    To substitute the profit center, substitution rules have to be created. To define the substitution rules, use transaction 0KEM or the menu path IMG -> Enterprise Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Centers -> Sales Order -> Sales Order Substitutions -> Define Substitution rules. Once in this transaction, click on Substitution icon to create a new substitution rule.
    Enter the code say ZZ01 and description of the substitution rule and click on save.
    Select the new substitution rule i.e. ZZ01 and click on the Step icon. System will give a pop up window in which the second option (profit center) has to be selected. Press enter or click on the green OK icon.
    After pressing enter, another pop up box will be seen. Here, select the first option i.e. constant value and press enter.
    You will be taken to the Step 001 - Overview screen. Enter the description for the Step and then click on Pre-requisites on the left side.
    In the next screen, double click on EC-PCA: Substitution in Sales Order under List of Structures. In the next screen, select the item based on which the substitution has to be done. For eg: Division in item. 
    After you double click on Division in item, you will find the Division in item in the box above. After this click on "=" button which is next to the table fields. You will now find "=" next to Division in item in the box above. 
    Now click on constant button. System will give a pop up box in which enter the division number on which the substitution rule has to be built for eg. Division 10 i.e. whenever the division at item level is equal to 10 the profit center has to be replaced. After entering the value, press enter. After this you will find in the box above Division in itm = '10'. 
    Click on Substitutions on the left hand side. On the right hand side enter the profit center number which has to be populated (i.e. the profit center that has to be substituted with) in the sales order line item if the pre-requisite is met. Check the check box next to profit center also. 
    Click on the save icon. System will give a message save and generation successfully completed. The substitution rule is now created. 
    Now the substitution rule has to be assigned to the relevant controlling area. To do this, use transaction 0KEL or menu path IMG -> Enterprise Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Centers -> Sales Order -> Sales Order Substitutions -> Assign Substitution Rules. To assign the substitution rule to the controlling area click on new entries and enter the controlling area, substitution rule and active status. Appropriate active status can be given as per requirement for eg: 3. 
    When the sales order is created, you can observe that the profit center for the line item is 'YYYY' because the pre-requisite is met i.e. the item division of the material in the line item is 10. This means even though in the material master the profit center is 'XXXX', it has been substituted by 'YYYY' based on the substitution rule logic

  • Profit center derived from business area

    Hello,
    We are having a problem with one of our business areas.  We are posting F-53 disbursements from a custom program (using a BDC).  When we fill in the initial screen, we currently fill the business area field (GSBER).  The profit center (PRCTR) is then derived from the business area.  This is working for all of our business areas except one.  For this one particular business area, an invalid profit center (one that doesn't exist) is somehow being derived.  Where is the derivation determined?  I've seen transactions 3KEH, 3KEI, and 1KE4 all mentioned in reference to derivation rules; unfortunately I can't access any of these (no authorization), so I can't even look to see whether we have any entries there or if those transactions are relevant to this problem.  If someone can tell me which transaction or table would control the business area to profit center derivation, I can at least have someone with the correct authorizations take a look.  I was able to look in FMDERIVE, and I don't see any relevant strategies there.
    Thanks,
    April Erickson
    Solved: Entries were in 3KEI.  The entries there had been moved to test and production, but the corresponding profit center entry in CEPC had not.
    Edited by: April Erickson on Feb 11, 2009 5:07 PM

    Hi sachin
    Documnet type RE is given business transaction varaint 'vendor invoice'.
    In this input tax account item category is assigned in the splitting rule.
    In fact, system inherits BA and PC from opposite line item.
    But when we substitute other PC in input tax account then the system stops inheriting for BA also.
    So, my question is whether inheritance will apply to all characteristics only or it can be applied for one characteristic ( BA) and other charactriestic PC can be derived in another way using substitution.
    Regards
    S.Radhakrishnan

  • Profit Center derivation at the time of invoicing

    Hi,
    Business requirement is to map fixed profit center for combination of Main and Sub transactions at the time of invoicing.
    As per my understanding, to derive fixed values for main and sub transactions, cokey needs to be mapped at EK02 which will in turn pick up values from table TECOD and TFKCOD as per case.
    Values are also flowing correctly in FM ISU_CODATA_DETERMINE and FKK_CODATA_DETERMINE.
    But actual results are not matching with expected values.
    For Profit center derivation, reference SAP notes direct to event 0140 and 1102 both of which are not getting triggered while invoicing.
    Moreover, I have also tried maintaining values in posting area 2610 but still no change.
    So could you kindly provide your expert opinion as to how to achieve subject requirement.
    Regards,
    Paresh

    Hi,
    Finally found solution through EK02.
    Here is basic crux for derivation at the time of invoicing.
    Profit center gets derived through Contract (through COKEY). If this value needs overriding then field NOCRCT (should be X) with proper values in COKEY at EK02 level.
    Moreover, to ensure that it is working always go for full reversal (EA13) and then do rebilling and reinvoicing.
    Hope it helps to others who may have to face such requirement from business.
    Regards,
    Paresh

  • Profit Center Derivation in Service (CS) order

    Hello All,
    I need some inputs / clarifications on below query.
    Service Order is being created with internal / external labors / services / materials. Debit memo request has been created.
    In Service Order & Debit Memo Request, Profit center has been derived from Responsible work center which has been maintained in Main Work Center in Header tab of Service order.
    Hope, this is standard functionality.
    But I want to get the Profit Center based on my reference technical object. I understand by going through many threads that profit center derivation from technical object's cost center can be done only though development as suggested in Profit center substitution in IW31/ IW32.
    Just by having curiosity as this thread had been posted in 2009, is there any new enhancement or functionality by which profit center can be derived from technical object's cost center??
    Looking forward your suggestions...

    Maheswaran KD,
    Yes, as standard the profit centre is determined from the cost centre in the main work centre.
    Have a look at user-exit IWO10005: Maintenance order: Customer specific determination of profit centre
    PeteA

  • Profit center derivation : PO

    When we post a GR, the Material document has a different Profit Center.
    In the IR document, we find a different Profit center.
    And in the FI document posted, the Profit center is different...
    Can anyone tell me why the system is picking up different profit centers ?
    Is there any configuration step for the same or where we assign the same...
    Thanks,
    Srikanth.

    in case of PO MIGO, MIRO, Normally Profit Center will be derived form the Material Master only.
    As you said, yes there is default setting for default profit center derivation for the specified GL  and path for the same is as follows:-
    Financial Accounting >General Ledger accounitng(new)>Masterdata>Profit Center>Assing default profit center to Accounts.
    i hope it will be crealr.
    Yrs,
    Gureddy.

  • Profit center derivation

    Hi Guys,
    I want to know how the profit center derivation is done. I mean how do we draw profit center wise balance sheet? Do we assign profit center to GL accounts ?
    Where is this assignment done and what exactly do we mean by profit center derivation.
    Please explain.
    Thanks
    Srikanth.

    Hi,
    You can do this assignment in 3KEH transaction. Please, notice that this is relevant msotly for direct FI postings. You can also assign profit centre to various master data: materials, assets, etc. Thus, every transaction involving this object will be put on corresponding profit centre.
    Regards,
    Eli

  • How to overwrite the profit center derived

    Hi,
    I am posting sd document which is creating the accounting doc. In this the profit center is derived for all the line item . Now for certain accounts I want to attach fixed profit center & not the profit center derived from earlier line item. When I am creating substitution or derivation for this it is not overwritting the derived profit center.
    How can i overwrite the derived profit center.
    Please help us to resolve the issue.
    CHEERS

    Hi,
    The Profit center is derived either from Master data or from the configuration.
    The master datas are
    1) Material Master
    2) Cost centers
    The configuration it copied from the OKB9 for default profit center for the Cost element.
    So when you post the SD document this will be related to the Material only,so check in material master.
    Regards,
    Raj

  • Profit Center Substitution Rules are exceeding More than 999 Rules

    Hi Experts,
         (Transaction Code GGB1) Profit Center Substitution Rule are exceeding More than 999 Rules. And there is a need of substitution rules to create.
    Please suggest me if any User Exists are available or alternative solutions through wich i can determine the profit center in sales order and same profit center can be transfer to FI as well as CO...
    Regards,
    Shivaji

    In the substitution you can use the option EXIT
    click on the help and go from  there:
    In table T80D you have to assign the exit name
    There are example ABAP's the standard one yopu have to replace in the table with a z version.
    Perhaps an other option is to de redesign from you substitutins, by using perhaps set's

  • Profit Center Derivation in GR and Invoice documetns form MM component

    Hi All,
    My clien wants to set a profit center(B/S)999999 for only GR/IR clearing account (not on expense line item) on Goods receipt and invoice documents. At present it is getting derived from cost object assgined to the purchase order.
    I tried using substituion(GGB1) and able to replace the profit center on GR/IR clearing account line item in Goods Receipt.
    But after doing MIRO, the FI document shows the profit center assigned to the cost object in PO instead of the assigned profit center in substitution rule.
    Please advise.
    Thanks in advance!!!!!
    Kumar

    Hi
    Ideally you should not use Substitution Rule for posting to a fixed profit center for MIGO and MIRO Documents. Logically this is not correct. However, if you still want to check if you have maintained profit center as a substitutable field in VWTYGB01. This has to be set to 15 for substitution at complete document level. Further you need to use a BADI to have the same populated. It woul dnot be populated with a simple Substitution rule for MM generated documents
    Regards
    Sanil Bhandari

  • Profit center derivation in sales order with New GL

    Dear Gurus,
    We are using the New GL, so EC-PCA is not activated.
    We would like to set-up a substitution rule in order to derive the profit center in the sales order and customer invoice (we don't want the profit center to always be derived from the costing view of the material master data).
    I created a substitution rule with transaction 0KEM and assigned it to the controlling area with active status"3" (Other transactions + cross-company (orders + billing doc.)).
    Unfortunately, it doesn't seem to be called when I create a sales order.
    Can you please confirm gthat 0KEM is the transaction to use even when we use New GL without EC-PCA?
    Where should I put a breakpoint in order to trace the call to the substitution rule?
    Thanks a lot in advance for your help.
    Regards,
    Simo

    Dear Gurus,
    We are using the New GL, so EC-PCA is not activated.
    We would like to set-up a substitution rule in order to derive the profit center in the sales order and customer invoice (we don't want the profit center to always be derived from the costing view of the material master data).
    I created a substitution rule with transaction 0KEM and assigned it to the controlling area with active status"3" (Other transactions + cross-company (orders + billing doc.)).
    Unfortunately, it doesn't seem to be called when I create a sales order.
    Can you please confirm gthat 0KEM is the transaction to use even when we use New GL without EC-PCA?
    Where should I put a breakpoint in order to trace the call to the substitution rule?
    Thanks a lot in advance for your help.
    Regards,
    Simo

  • 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

  • Profit center substitution rule not overriding OKB9

    There is an automatic assignment of a cost center to an expense GL account in OKB9.
    This is cost center is not assigned to any profit center because it is a generic cost center.
    When we try to post to the same account manually using FB50 and when we put the same cost center in, it will of course post to a dummy profit center since the cost center is not assigned to a profit center. The profit center field cannot be changed manually as it gets greyed out after derivation.
    In order to override it , we have created a substitution rule using OBBH where we have introduced the business area.
    We have mentioned that if GL a/c = XXX and business area = YYY , the profit center = ZZZ
    When we now try to post into the a/c using FB50 , it does derive profit center as ZZZ from the substitution rule when you press the enter key.
    But when you try to post the document, it gives a message saying, it has replaced the profit center to dummy profit center and when i click on the message for more info , it says, it will use the automatic assignment rule and so it will by dummy and not ZZZ.
    I would appreciate any help in getting the substitution rule to override the OKB9 in this scenario

    Hi Rajaram,
    First of all profit center field is available in cost center master data and you are saying you have maintained default cost center for the respective GL Account in OKB9.
    Now you are substituting the profit center after OKB9 has derived the Cost Center & Profit center.
    Yes, sap standard behaviour will not allow you to do that even if you notice that in simulation mode you are able to see that substitution is changing the profit center as in complete call it gets reset to the original profit center again back.
    So you can not achieve that with standard boolean logic but only through exit and thats too probably the exit need to get called after the line item value is passed but before posting.
    Thanks & Regards
    Subhasish

Maybe you are looking for

  • Tab pages in WAD 3.5

    Hi, can i seperate reports in tab pages in WAD 3.5 it is possible in WAD 7.0  but i can't find it in 3.5 Please help me it is urgent. thanks ....

  • Question about third party apps

    sorry to ask this dumb question but what apps are listed as third party apps because i dont know what apps is third party apps.

  • Mail app error

    When starting up Mail app it only load the inboxed and the preview message. When selecting the mail it wont show the entire mail in the large window. Also it freezes up after som seconds, and I cant click other inboxes.

  • Macbook Pro 2010 running mavericks = impossibly slow

    Ever since I downloaded Mavericks on my Macbook Pro 2010, everything is impossibly slow if I have a few applications opened at once, which never used to be a problem. Any advice would be much appreciated. I ran an Etrecheck, here are the results belo

  • Time based publishing with WebDynpro ?

    Hello All, I need to validate the documents from KM before showing them in my Web Dynpro application depending on the Time based publishing properties. I read the documentation on SDN for the same and tried using this example - <a href="http://etower