Profit Center Substitution - Intercompany sales

Hi all,
I have a situation where we are making a sales, but since the material belongs to a different plant, 2 invoices are generated - intercompany invoice and customer invoice. The problem is that the profit center on the customer invoice is not showing up (it shows up on the intercompany invoice).
I am trying to use a profit center substitution for this, but can't get it to work. I have a very simple user exit as a test that changes pcasub-prctr yet this doesn't work. (it is activated in 0KEL)
FORM U901.
Data: s_pcasub type pcasub.
s_pcasub-prctr = '401'.
MOVE s_pcasub-prctr TO pcasub-prctr.
ENDFORM.
Please advice, thanks,

Hi
Once you update PC in the Sales Order, the same gets passed on to billing... For that 0KEM is the right place..
You can build in conditions (Prerequisites in 0KEM) like: If Plant = XXXX and Dist Channel = YY and Div = ZZ, then PC = ABCD
If that logic is not sufficing, then you need to use exit.... Activation needs to be done in 0KEL....
The note says, create 2 substitution rules in 0KEM 1 for Field PRCTR and another for PCTRF
If you use exit, it asks you to use PCASUB-INT_*
br, Ajay M
Edited by: Ajay Maheshwari on Oct 4, 2011 8:04 PM

Similar Messages

  • Profit center substitution in Sales Order item level

    Dear all,
    In Our senario for Sales Order creation time at item level that is material level sale B tab user specified Berth no: in Pricing group field ( KONDA), Based on the Berth no, concern profit center derived  from subtitution rule .That purpose I tried Profit center substitution in that substitution,SAP has given PCB SUB structure in that structure main field has given but KONDA field not available, so please guide me how I update that KONDA field to that stucture (PCB SUB) in Profit center substitution area with ABAPER or
    I have developed a abap enhancement specifing berth no and profit center assignment and excuting the enhancement in sales order exit. Is there any problem for SD process, Our SD consultant using the sales order user exit for other purpose. He is not allowing to use that exit to execute the zdevelopment
    Please suggest me How I update that field into that PCB SUB structure for creation profit center substitution or
    can I use zdevelopment through sales order user exit . without affeting the SD process.

    Hi 
    I have the issue like..
    1.  For each line item of the sales order check, whether the profit center is filled or not, if it is not filled then determine the profit center and populate.
    2. If material of the line item is "sub component code" of a material that is "Offering component code", then compare the profit centers of line item with the profit center maintained for the material that is offering component code.  If the profit centers are different, replace the sales order line item profit center with the profit center of the offering component code material.
    3.  Above activities should happen when the sales order is saved.
    can somebody tell me which user exit ?? where coding can be dine.

  • Profit Center Substitution in Sales order

    Hello All,
    I have a Small Issue here.
    we have a substitution rule for the PCA Derivation in the SO with the combinations of few Sales Org, Distribution Channels and Divisions.
    But when a WBS Element is Assigned in the Sales order it is over writting the Substitued profit center with the profit center in the WBS Element.
    If we have not maintained any thing in the WBS it is Deriving the Dummy Profit Center from the controlling Area Settings in PCA
    Best Regards
    Ravi

    Ravi-
    Generally, the following prioritization in ascending order applies during the determination of the profit center:
    a) Material master
    b) Profit center substitution
    c) Manual entries
    d) Actual account assignment, for example: internal order.
    a) = Lowest priority , d) = Highest priority.
    This is standard.
    Hope this helps.
    Shail

  • Profit center substitution in Goods issue document

    Hello Gurus
    I am determining profit center through the profit center substitution in sales order through 0KEM transaction and activated it in 0KEL as activation 3.
    I have taken the fields as sales organization  and sales office with transaction code VA01 and VL02N .
    After this the substitution happening in sales order and also in delivery but the substitution is not reflecting in the goods issue document neither coming  for inventory nor in COGS anyway but it is reflecting in the FI accounting document but not for customer but for sales.
    Please help me  to with your kind suggestion for resolving this issue.
    I need the substituted Profit center also to come in the accounting document of PGI and for customer in FI accounting document.
    Thanks in advance
    Subu

    Hi Subbu
    1. 0KEM works for sales order and related billing.. It does not work for PGI, unless you are in MTO scenario and sales order is CO object
    2. At PGI - Inventory a/c will be Cr with PC in Mat Master... COGS (If not a cost element) will also be Dr with the same PC
    If you are in MTO, the COGS will be posted to sales order and hence, it will have the same PC as sales order
    3. During Billing, revenue a/c is Cr with PC in sales order... Customer line is never shown with PC in the line item....
    - If you are on EC-PCA, you need to run 1KEK at month end...
    - If you are on New GL + Doc Splitting, PC will be shown in the "General Ledger View" in customer line item... the "Entry View" wont have any PC
    BR,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 Substitution - cross company code sales

    Hi all,
    For each cross company sale, there are 2 invoices: intercompany and regular invoice. The intercompany invoice picks up the profit center but it does not show up on the regular invoice.
    I am trying to use profit center substitutions to resolve this, but I'm not sure if this is the correct procedure. Reading note 815972, it seems like there is another method but I don't understand how this works.
    Can someone explain this to me or has anyone done this before? What is the best practice?
    Thanks

    Has anyone ever used profit center substitution for this situation? We would like the profit center on the customer invoice to be the same as that on the intercompany invoice. Should we do a user exit in the profit center subsitution, or is there another way?
    Thanks

  • 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

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

  • How to make a field profit center mandatory in sales order?

    Dear GURUS,
    Please help in getting answer for following question.
    How to make a field profit center mandatory in sales order?
    With Regards
    Sandeep D.

    Hi,
    There are 2 ways to make profit center mandatory
    1.Transaction Variant
    2.Incompletion procedure
    1.Transaction Variant
    Step 1:Goto Tcode shd0 and input transaction as va01 and give name of transaction variant as ( example. zva01 ) and click on create or F5
    Step 2.Then it takes you to sales order screen.Just click on enter untill you see profit center field.
    Step 3.check the box required against profit center.
    Step 4.click on save ( under a package name or as local object ) and exit
    Step 5.Assign transaction variant to your sales order type through tcode v0v8.
    2.Incompletion Procedure
    You can add the field  table-vbap,field- prctr,status-04,check-warning to your existing incompletion procedure Tcode- ova2 assigned to your order type in tcode vov8  and check the box - incomplete messeges for your order type through tcode vov8.
    If incompletion procedure is not assigned to your order type than you have to create a new incompletion procedure and assign it to order type.

  • How to Assign Profit Center to a Sales district

    Hi,
    How to Assign a Profit Center to a Sales District thru standard configuration.

    Have you checked in IMG path and observed where we assign Profit Center?  Please do some analysis before posting here.
    G. Lakshmipathi

  • Profit center substitution with internal order when generating GL doc from

    Profit center substitution with internal order when generating GL doc from MM
    Dear expert,
    Please advise how to substitute successfully the profit center by which user-exit via FI substitution function.
    Substitutions have been set for profit centers in FI via t-code OBBH, but  the profit center will always be determined from the internal order when posting from MM subcon goods receipt
    Thanks
    James
    Edited by: Yun-Chung Yung on Jun 3, 2010 10:46 PM

    Hi,
    SAP give note 539421 - Dummy profit center with cost center
    account assignment. Looks applicable for your case.
    Solution:
    With the attached modification, you can restore the function from Release
    3.1: The directly assigned profit center remains and is not overwritten
    with the dummy profit center of the cost center.
    The problem is not caused by a program error in this case. The profit
    center is always derived from the existing CO account assignment even if
    this is the dummy profit center (see also Note 62417).
    This note applicable from release 40 until 605
    I hope this can help you. FYI, in my case, i do not create dummy profit centre, then profit centre working as sap priority.
    Regards,
    Dewi

  • User Exit for Profit Center Substitution?

    HI,
    Here is my requirement.
    The actual flow is like this:
    Sales order -> line item -> Condition type -> G/L Account -> Default Profit center
    Requirement is:
    Sales order -> line item -> Condition type(ZXXX) -> G/L Account (AAA) - > Profit center 'PYYY'
    Explanation:
    Normally Profit cneter get assigned based on line item,
    But my requirement is that the Profit center should get as 'PYYY' based on condition type 'ZXXX' irrespective of the line item.
    Please tell me the user-exit used for this?
    I am trying with EXIT_SAPLV60B_001, But unable to meet the requirement...
    If u give the code, itz really very helpful to me.
    Thanks in advance.
    Regards,
    Rahul

    Hi,
    U can use Function Module: EXIT_SAPLV60B_008
    And write required code in Include ZXVVFU08
    Hope this will help u.
    Regards,
    Kumar

  • How user exit is used to populate the Profit center field in  Sales order?

    Hi All,
    Please let me know :
    How the user exit is used to populate the Profit center field in the Sales order?
    Please gurus answer as quickly as possible as I require this urgently.

    Hi,
    To derive the correct profit center in the Sales Order, you customize in 0KEM.
    Trust this helps much and do encourage our efforts!
    Cheers!

  • Profit center substitution in cross-company sales

    Hi,
    We're working here with cross-company sales and profit center.
    Let assume that we have a final customer, sales organization (1090 and 1190) and plants (1090 and 1190).
    1090 is selling to the final customer and 1190 will sell to 1090.
    Everything is monitored from SD in 1090. So we create a sales order in sales organization 1090 for the final customer. Then for the item we change the plant (automatic proposed value 1090 => changed into 1190), this in order to represent a cross-company sale.
    After we changed the plant ... we can see in the account assignment tab that we now have 2 "profit center fields". SAP notes 815972, 39254, 713228 ... explain that we can manage different values for the two fields (profit center and profit center billing) using subsitution (0KEL and 0KEM transactions). Unfortunately we're not able here to change the value for the Profit Center Billing field, even through an exit !!
    Could anyone give us a hand on this ?
    Regards.
    Benjamin BROCHON

    Hi we got the same problem where the substitution is not working, 0KEL we have set the status 2. but still the customer billing document contains the wrong profit center. can you help us on this issue? please replay to [email protected]

Maybe you are looking for

  • How do I get rid of a tab requesting donations for an add-on?

    I recently downloaded an add-on for Firefox that I have found very helpful. A few days later, a tab launched requesting a small donation for the developer. Since I was using and enjoying the add-on, I made a small ($10) donation. All well and good, b

  • Embedded files 'disappear' when viewing signed version of a document

    Hello, We've just come across a weird issue when viewing signed documents containing embedded files in Adobe Reader. If we use the 'Click to view this version' link in the Signatures panel, the embedded files are not shown in the Attachments panel, e

  • Complete my album problem

    I want to complete a few of my albums, but when i go to it, it only shows that i purchased 3 songs from the albums, but i really purchased all but 4 or 5, how can i complete my album without repurchasing the same music i have already purchased?

  • Restore leopard from lion backup

    I want to return to Snow Leopard from Lion (love it) for personal reasons (family). Can I use the Lion backup to restore the Leopard preferences, etc? Or will I have to reconfigue the machine with mail, bookmarks, etc. 

  • Check Print - Script form designing

    Dear experts, We are using script form to print cheque as per client requirement... his angle/ layout is as follows Header data contains: Venodr A/c no: xxxxx   //                                                                        Paymt doc. no.