Profit Center Substitution issue in MIRO Invoice

Hi Folks,
I am trying to post MIRO invoice with reference to PO with following steps and the Profit center is taken from the cost object and it is NOT taken from the Material Master.
1. Create Account Assigned PO with Account Assignment as K (Cost Center) and also I have given Material Number in it.
2. The Cost Center has Profit Center 200051 and the Material Number has Profit Center 200077.
3. We have made a User exit to pass the PRCTR from MARC to BSEG-PRCTR.
4. Created substitution in GGB1 for the Userexit for a particular company code.
When MIRO is posted the PC is taken from Cost Center(200051) and NOT from Material Master(200077).  We want system to pick up the PC from Material Master and not from Cost center.
Is there any way to achieve this?
Thanks in advance
Venkat

Hi Venkat ,
Please refer below notes which has some important information on the substitutions and its usage
409520   Goods/invoice receipt: Default account assignment ignored
105024   Automatic a/c assignment (OKB9) does not work
32654    High level automatic account assignment

Similar Messages

  • Profit Center Substitution issue in FI Invoice/JE

    Hi,
    I have one question and just wanted to check if you can help:
    We want to have All types of expense postings - e.g. journal entries etc.with cost object like WBS, cost center should be posted with PC from the SKU master and not from the cost object.  The PC should be over written by SKU Master PC. What happens is that it takes the PC from Cost object and when we created substitution to overwrite the PC from SKU, at the time of simulation it takes from substitution but as soon as we post it again defauts it from the cost object and we get the message type KI339 which says that PC is overridden.
    user exit:
    Prerequisite Title Posting:
    BKPF-BUKRS =5318 AND
    BSEG-MATNR <> '' AND
    BSEG-HKONT is expense account (within range)
    Substitute User Exit:
    Plant = 3047
    The Profit Center should be MARC- PRCTR where BSEG-MATNR = MARC-MATNR
    Thanks
    Venkat

    Hi Venkat ,
    Please refer below notes which has some important information on the substitutions and its usage
    409520   Goods/invoice receipt: Default account assignment ignored
    105024   Automatic a/c assignment (OKB9) does not work
    32654    High level automatic account assignment

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

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

  • 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 Substitution does not work in Invoicing of Service Orders

    Hi experts.
    While creating the Quotation (VA23) for Service Orders, the profit center field is populated with the correct profit center via substitution, but while creating the invoice, it is not being populated with any profit center, and hence this result in the posting being made into dummy profit center.
    Could anyone please share some knowledge or info?
    Any help will be greatly appreciated
    Thank you
    Regards, Erwin

    Hi Erwin
    The PC from parent document always flows into the invoice....
    Did you check the account assignment in your invoice VF01 or VF02.? Try to manually update the PC there and see if it posts in the document.. if not, you will have to put a break point in RV60AFZZ and check
    Regards
    Ajay M

  • Profit center substitution on goods issue posting

    Hi all,
    When creating a sales order we substitute the profit center based on a standard profit center accounting substitution rule. This works fine for the sales order, the outbound delivery document, and the billing document. However, when we execute the post goods issue, the accounting document picks up the profit center from the material master.
    In this case, we would like the accounting document to use the profit center from the logistical document (outbound delivery), not the material master.
    Does anyone know what we can do to make this happen?
    All helpful answers will be rewarded!
    Best regards,
    MV

    Hi,
    Please try checking the Substituion Rules in TCode GGB1. There you have to check with an ABAPer the substituion rules defined and as per your requirement, the necessary changes need to be done.
    Please check and let me know if it helps.
    Thanks,
    Prithwiraj.

  • Goods issue (PGI) profit center substitution

    Hi All
    I am creating a PGI. and the following account doc was created
    CR 100(stock account) 100$             Prctr A
    DB 200(COGS account) 100$        Prctr B
    I have written substitution rules to substitute prctr B. And I can see the profit center B in account assignment tab in sales order. But it is not getting defaulted on the stock account line. It is getting defaulted only on the COGS line. Profit center in the material is getting defaulted on the stock line. Is there any way to default the profit center from account assignment tab in sales order  on to stock line item.
    Thanks
    Steve

    you can check whether any of the BSEG fields capturing Sales order profit center? If so, you can use that field.
    If not, then you can create a user exit. you can identify sales order account assignment profit center field. Ask your abaper to fetch the profit center using sales order and populate in FI substitution.
    hope this may help you..
    thnx

  • Profit center substitution in delivery from Purchase Order

    Hi all
    Hi have a stock transfer process between two company (1 sending company and the different target companies). I must change the profit center of sending company following the target company code (profit center A for target company A, B for B,etc.). The sales order substitution for PC doesn't work in this case because the delivery born from a PO not from a SO. I find I can make the change for the goods movement  with the exit EXIT_SAPLPCRW_002, but I don't found exit for the delivery document (important for the intercompany invoice profit center). Someone have ideas?
    thank
    Davide

    GGB1?

Maybe you are looking for

  • How to wrap the text in a popup LOV item ( Apex 4.0 )

    Hi I have a popup LOV type item with a very long string value I would like to format the item so itr will be shorter but have the string wrap to multiple lines. Can you let me know how that can be achieved ? thanks O

  • Mobile website ASPX 2.0 Page not loading and Instead of loading it tries to download the aspx page sometimes

    We are facing a issue in a our Mobile Banking app built on ASP.NET 2.0. Sometimes, when we load the mobile website[https://mobile.dib.ae] from iPhone or any Android phones, log-in page will never get loaded. When the log-in page fails to load in iPho

  • Newbie question: JSP x JSTL (Will JSTL kill JSP?)

    Hi, I'm newbie in java development and know I'm learning about jsp and jstl. I'm reading some articles about jstl, but my doubt remains... Was jstl create to kill jsp in apresentation layer? Please, if possible, show me an example that I really need

  • Hard drive erase?

    hello, i installed os x 10.2 on my powermac g3 b/w and not it shows the flashing mac sign and question mark, i put the cd in and i went to disk utility and it does not read my hard drive what do i do? i want to erase it.

  • Mail in 10.4.7 very unstable.

    Is it just me, or is Mail after 10.4.7 much more unstable? I have had several crashes of Mail since updating. My mail is on an IMAP server. Three times now, since 10.4.7, Mail has crashed when I get a new mail. Starting it up again simply causes it t