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

Similar Messages

  • PGI: Profit Center Substitution  / BAdI

    Hello Experts!
    I am facing a problem in applying an Enhancement. The requirement is to substitute profit center of the receivng plant (for freight line item - accounting docuement) with the profit center of the supplying plant while doing the PGI.
    As per my knowledge, there are two ways to acheive this:
    One is to write a FI Substitution exit. I have done this using GGB1 / OBBH both at Line Item and Complete Document level. The Substitution exit has BSEG structure in scope, but it doesn't gets triggered at all. I guess FI Substitutions work only for diret FI postings and not for postings which involve integration with other modules (please correct if I am wrong). So during PGI, it is not getting triggered, for Statistical Posting t.code it works.
    Second way is to implement the BAdI AC_DOCUMENT I tried implementing the BAdI and putting a breakpoint. It comes into play while doing a PGI but the data available in scope doesn't contains required fields (PRCTR); so we are not able to substitute the profit center using this. According to an SAP note too, the BAdI can be used to acheive this.
    Please help on this.
    Thanks and Regards,
    Aabhas K Vishnoi

    Hi,
    Go through the link
    https://forums.sdn.sap.com/click.jspa?searchID=12702563&messageID=4861653
    U can use the User-Exit: EXIT_SAPLV60B_008
    And write required code in Include ZXVVFU08
    Regards,
    Raj.

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

  • Batch not determined in MIGO-Goods Issue for cost center

    Hi,
    We are using Batch Determination while posting Goods Issue to cost center. However, when we enter * in the batch field system does not propose the batches.
    We have done following settngs
    Strategy type ME01 which is SAP standard
    Batch search procedure - ME0001
    Search procedure ME0001 is assigned to movement type 201 in "Allocate IM Search Procedure/Activate Check"
    Sort Rule - 01 using charecterstics (ascending)
    Class - BATCH_MASTER created
    Characterstics - Size, Shape, Color (No table or field are maintained in Addional Data) assigned to this class.
    Material is maintained with classification and batch management active.
    Master Data - Search Strategy is maintained using t code MBC1 for stratefy type ME01 (Key combination Movement Type/Plant/Material). Selection criteria - Values maintained for characterstics. Sort Rule - 01
    Now when we are issuing goods to cost center and enter * in batch field, system is supposed to suggest the batches (material is in stock and batches are available). However, system does not give pop up.
    Am I missing something? Where is the batch determination button as system is giving message to use button?
    Shekhar

    Thank you for the answer.
    It gives only one batch and not all the batches. Why it could be?
    Shekhar

  • 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

  • Good issues to cost center with extra charges 10% from cost

    Hiii Guy,
    My user would like to charge the cost center 10% from cost when good issues to cost center is perform,
    can we do it in sap ?

    The scenario is like this,
    Only Merchandise Department have the authority to ordering merchandise item from vendor, when other depart required that merchandise item, Merchandise depart will perform GI to that requested cost center.
    So Merchandise Depart would like to have extra charge on there extra work.

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

  • Post Goods Issue (PGI) Cancellation /reversa

    What is the difference between Post Goods Issue (PGI) Cancellation /reversal and Returns Process?

    Hi,
    PGI means actual movement of goods from the plant to the customer. So your plant stock will be reduced.
    The system will also post the inventory value to the Accounting. That is Cost of goods sold will be Debited and Stock in hand will be credited. This inventory value is the Cost price (Condition type: VPRS).
    Reverse or Cancel the Goods issue:
    You did the PGI. But you have some problem in that delivery document. So you want to reverse the PGI. When you reverse the delivery, your Plant stock will be increased. The system will also create the Accounting document with the reverse entries. That is Cost of goods sold will be credited and Stock in hand will be debited .T. code: VL09.
    Return:
    You have created the sales order, delivery, PGI and Invoice. Now your customer returns some material. Then you need to create the Return order, return delivery and Credit memo.
    Regards
    M. Lakshmi Narasimhan

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

  • 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

Maybe you are looking for