Profit center on purchase order

Hi All,
my problem is for one purchase order goods receipt and invoice is picking different profit centre.
the two profit centres are assigned to one cost centres for the different periods.purcahse order is having past date, GR and invoice is done for the current date.GR is picking current profit centre and Invoice is picking purcahse order profit centre.
Please explain why goods receipt and invoice haven't the same profit centre?

Hi,
Check in OKB9.
Thanks
Krishna.

Similar Messages

  • Profit center for purchase order without account assignment

    I've requirement to include profit centers in purchase orders without account assignment category.
    The trouble is when there is no profit center maintained in material master.
    Is there a way to determine profit center in purchase order for such cases?

    Dear Abinash,
    Define substitution in GGB1 at line item level as shown below:
    Prerequisite : BSEG-WERKS = Maintain plant
    Substitution : BSEG-PRCTR = maintain profit centre as constant value
    After define it, assign to the co.code.
    Regards,
    Mukthar

  • Copying Profit Center from sales order to Purchase order

    Hi Champs,
    Please let me know if anyone has implemented this scenario of copying profit center from sales order to purchase order and then to goods receipt.
    Thanks
    Pirzada

    Hi,
    Profit center flows from material master to other documents such as PO,SA GRN and MIRO.Please let me know what are you looking for?

  • How to change the Profit Center in Sales Order

    Hi Gurus,
    Previously they setted the profit center (YB999) in sales order, now i want to change the profit center and need to give the amount into this profit center 100500.
    So, could you guide me how to change the profit center in sales order.
    Thank you for your replies.....
    Thanks & Regards,
    Chandrababu.B
    Edited by: Chandrababu Naidu on May 25, 2011 12:44 PM

    Hi
    If this SO is processed partially - i.e. transactions happened - You cant change it
    You can use ABAP and change it in Debug mode, but not advisable... Better to short close the SO and open a new SO for Balance qty
    br, Ajay M
    Edited by: Ajay Maheshwari on May 25, 2011 5:10 PM

  • Change the Profit Center in Sales Order line item's Account assignment tab

    Hi Gurus,
    I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently  The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite  that.
    Can any body provide me how can i achive that means
    Any User exits, substitution or any thing ?
    I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
    Sony

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • User exit to populate profit center in production order change (CO02)

    Hello,
    The requirement is to populate the profit center in production order change (Tcode CO02). I know the user exit that can populate profitcenter in CO01 but it's not called in CO02. Ther other user exits that I found are for checking but not for changing
    Is there a user exit /BADI that can acheive this requirement?
    Thanks a lot for your advise.
    Joe

    Hi,
    Use the user exit PPCO0007 ,function module EXIT_SAPLCOZV_001
    HEADER_EXP-PRCTR
    Thanks,
    Shailaja Ainala.

  • Re:assign profit center to a order type

    hi gurus,
    good morning to everybody,
    i have a question i have 1000 materials in my organization using by 5 company codes in that few material i need to assign profit center so i went to mm change and assigned the profit center for sales:general/plant and plant data/stor.2, if i want to assign profit center to order type how can i assign, if i cannot assign in order type i need to assign profit center in mm change for 500 materials, so if i change manually in mm change for 500 materials is it going to effect for the other company code when they post the transactions please give me your opinions.
    thanks in advance and points will be assign for useful answers.
    kumar.

    Dear Kumar
    You cannot assign the Profit Center to Sale Order type.  Whatever you maintain in Material Master, that will flow automatically in sale order as and when you create. 
    If you want to change the profit center in material master in bulk, you can do so via MASS.  In fact for sale order also, you can achieve this via MASS but no partial delivery should have been made against that sale order.  In case, you have already made partial delivery, then the field would become grey and you cannot change the same.
    thanks
    G. Lakshmipathi

  • DBM Order - Assign Profit Center By DBM Order Type

    Hi SAP Gurus,
    I have new requirement from my user to have different Profit Center by DBM Order Types.
    Currently, we only have One profit center for all DBM Order types.
    The DBM Order type that we are using is :-
    1. Counter Sales (DBM Order Type 1000)
    2. Service Order (DBM Order Type 2000)
    3. Insurance (DBM Order type 2001)
    purpose new profit center
    1. Counter Sales (DBM Order Type 1000) - Profit Center MMXX-11000
    2. Service Order (DBM Order Type 2000) - Profit Center MMXX-11001
    3. Insurance (DBM Order type 2001) - Profit Center MMXX-11002
    the requirement is, when user choose Order type 1000 Counter sales, the System will use profit center MMXX-11000,
    if the user select Insurance Order Type 2001, system will use profit center MMXX-110002.
    is there any Substitution involve in this configuration ?
    is there any others configuration need to be configure ?

    Hi Fairulnizam,
    You need to add the field order type & define the sequence number in the table of the configuration & then use table maintenance generator to generate the maintenance view
    Once generated you will be able to maintain Profit center at the order type level along with the other standard criteria.
    Other option to generate another table in the sequence to make it generalized at order type level if the first table criteria is not met.
    Regards,
    Sachin Balmiki

  • Profit center in sales order .... WRT to Distribution channel

    Dear Folks,
      Here is a strange requirement to my client...based on distribution channel profit center needs to be derived in sales order  needs solution in  Standard SAP if available...typical example Mat X serves from 3 Distribution channels.....3 different profit centers needs to be derived in sales order based on DC ....I suggested the Substitution rule in FICO...but client is denying that....he  needs solution in SD only..if there is any wayout please let me know .
    Best Regards,
    SGR

    hi
    Defaulting PC from the material master is just one of the ways that SAP can do it, but since I can't currently remember anything about PCA I can't tell you what the others are!
    However, I did find the following documentation which looks to be the "standard" way of doing what you want. This is the IMG documentation of transaction 0KEM (menu path SPRO-Controlling-- Profit Center Accounting-- Assignments to Profit Centers-- Sales Orders-- Sales Order Substitutions).
    Define Substitution Rules
    In this activity you define substitution rules for finding the default profit center for sales order items. It makes sense to use substitution rules if the profit center proposed from the material master does not meet your requirements.
    Example
    You want to use a sales office or a distribution channel as a profit center.
    Standard Settings
    No predefined substitution rules exist.
    Activities
    Proceed as described under Maintain Substitutions in Customizing for FI-SL Special Purpose Ledgers. The following are predefined in
    Customizing for Profit Center Accounting:
    o The application area (Profit Center Accounting)
    o The callup point (Create Sales Order)
    o The field to be substituted (Profit Center)
    You can substitute the profit center with a constant value or by assigning a table field. It is also possible to use a user exit.
    Additional Information
    For more information on substitution rules, see the documentation for Financial Accounting on the component "FI-SL Special Purpose Ledgers" (in the chapter "Basic Functions"). Also, read the notes in the online documentation under Financial Accounting -> Special Ledgers ->Validation and Substitution -> Substitution.

  • Profit Center on Sales Order

    Hello Experts,
    We have a profit center substitution rule already that says if sales org = 'ABC' then substitute the profit center on sales order with '123'
    Now we have a new requirement and according to that we should use a different profit center if the Salesorg = 'ABC' and material master profit center = 'CDE' then profit center should be 'XYZ'. How can we achieve this?
    Even though the material master has the new profit center 'XYZ' , Sales order is using the substitution rule and not using the material master profit center.
    Your help if appreciated.
    Thanks

    Hi,
    the substitution rule works after the profit center derivation from material master.
    I suggest to change the substitution in a case that whenever the profitcenter derived from material master is ok, no substitution step takes place.
    At the moment substitution works at rvery line item even if the derivation from mat.master is ok.
    BR christian

  • Profit center for PM order

    I want to overwite the Profit center of PM order , which is getting derrived from the cost center assigned to the work center.
    Is it possible from Substitution or any standard user exits.
    Regards
    Ranjan Kumar

    Hi Steven,
                        what you have checked the user exits are the avialble user exits for IW31.
    Then try with BADI IBAPI_ALM_ORD_MODIFY
    You can capture any data in the transaction that is available in the stack during run time in the user-exit.
    The below is the sample code.
    FIELD-SYMBOLS: <FS> TYPE ANY.
    DATA: FIELD(30) VALUE '(SAPMV56A)VTTK-TKNUM'.
    ASSIGN (FIELD) T0 <FS>.
    Read the below weblog for more help.
    /people/brad.williams/blog/2005/04/25/userexits--how-do-i-access-inaccessible-data
    <b>Reward points</b>
    Regards

  • BAPI_PO_CHANGE me22n add profit center for purchase requisition number

    Hello all,
    I have to add an item line for a specific sales order( p_vbeln ).
    for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
    ( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
    Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
    when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
    for this i use BAPI_PO_CHANGE.
    i colect the folowing data:
    from table VBFA( vbelv = sales order number vbeln = l_ebeln)
    PO Number = p_ebeln.
    from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
    Purchase Requisition Number = l_banfn
    Purchase Requisition Item = l_bnfpo
    from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
    Profit Center = l_prctr
    from table EKKN
    select max(  ebelp )
    from ekkn
    into l_ebelp
    where ebeln = l_ebeln.
    add 10 to l_ebelp
    Purchase Order Item = l_ebelp .
    and i move the data:
      i_t_poitem-po_item = l_ebelp.
      i_t_poitem-preq_no = l_banfn.
      i_t_poitem-preq_item = l_bnfpo.
      i_t_poitem-acctasscat = cc_x.
      APPEND i_t_poitem.
      i_t_poitemx-po_item = l_ebelp.
      i_t_poitemx-po_itemx = cc_x.
      i_t_poitemx-preq_no = cc_x.
      i_t_poitemx-preq_item = cc_x.
      i_t_poitemx-acctasscat = cc_x.
      APPEND i_t_poitemx.
      i_t_poaccount-po_item = l_ebelp.
      i_t_poaccount-itm_number = p_posnr.
      i_t_poaccount-SCHED_LINE = ln_etnr.
      i_t_poaccount-profit_ctr = l_prctr.
      APPEND i_t_poaccount.
      i_t_poaccountx-po_item = l_ebelp.
      i_t_poaccountx-profit_ctr = cc_x.
      APPEND i_t_poaccountx.
    then i use the function BAPI_PO_CHANGE:
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder                = p_ebeln
          testrun                          = l_test
       TABLES
         return                            = i_t_return_po
         poitem                          = i_t_poitem
         poitemx                        = i_t_poitemx
         poaccount                    = i_t_poaccount
         poaccountx                   = i_t_poaccountx.
    BUT i get the folowing result ( messages in return table)
    Insert item for PO-order                                                                               
    Message:  Changing of PO using Enjoy BAPI unsuccessful ;                                                
      Message:  Purchase order item 00120 still contains faulty account assignments ;   
      Message:  Enter Profit Center ;                         
    what should i do?
    best regards,
    emilia

    hello,
    i debugged the function.
    first the data from poaccount is copied in lt_account.
    then this happens:
      PERFORM get_current_data
          TABLES    poitem               poschedule               poaccount
                    pocondheader         pocond
                    extensionout
                    poexpimpitem         allversions              popartner
                    potextheader         potextitem               return
          USING
                    l_po                 lf_header_currency
          CHANGING
                    expheader            exppoexpimpheader.
      exppoexpimpheader = poexpimpheader. "foreign trade export workaround
    after this form is executed poaccount-profit_ctr is empty.
    lt_account-profit_ctr in not empty but then it is not anymore.
    in the form this happens:
    item data
      CALL METHOD im_po->get_items
        IMPORTING
          ex_items = lt_items.
      LOOP AT lt_items INTO an_item.
        l_item ?= an_item-model.
        CALL METHOD l_item->get_data
          IMPORTING
            ex_data = ls_mepoitem.
        ls_mepoitem-ebeln = ls_header-ebeln.
        APPEND ls_mepoitem TO lt_item.
    schedules
    accountings*
        CALL METHOD l_item->get_po_accountings
          IMPORTING
            ex_accountings = lt_accountings.
        LOOP AT lt_accountings INTO an_item.
          l_accounting ?= an_item-model.
          CALL METHOD l_accounting->get_data
            IMPORTING
              ex_data = ls_mepoaccounting.
          ls_mepoaccounting-ebeln = ls_header-ebeln.
          APPEND ls_mepoaccounting TO lt_account.
        ENDLOOP.
    item conditions
    foreign trade (item data; EIPO)
      ENDLOOP.
    so it acctualy copies every item from purchase number ebeln in lt_item.
    for each one of them it copies the account data into lt_account.
    so the last loop is for the item that i want to enhance.
    here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
    after this loop there is a form:
      PERFORM move_account_out TABLES lt_account
                                                                ext_poaccount
                               USING  header_currency.
    where the ext_poaccount is the poaccount parameter.
    this form:
    clears ext_poaccount.
    copies the data from lt_account into ext_poaccount.
    and returns the ext_poaccount with the empty Profit center field
    and so after performing get_current_data my parameter is deleted.
    then it's almost the end of the function and nothing else related to the poaccount parameter.
    so it's no use for me to insert the field Profit_Center?
    is there another FM that i should use to be able to insert the profit center?
    what should i do?
    Best regards,
    Emilia

  • Regarding the profit center in sales order.

    Hi guys,
    Actually I am from abap.  I got one user exit related to profit center. Plz help me.
    My problem is while doing intercompany sales, the profit center will be changed to selling sales organiztion's profit center. but i need the buying sales organization's profit center. Here what i need is how can i find the buying sales organization's profit center in the sales order. it means basing on what i have to find th eprofit center?
    Regards
    Venkat.

    Dear Venkat,
    Try These tabels:
    MARC Plant Data for Material
    /BEV1/RBVBAP                     Sales Document: Item Data        
    COER                             Sales Order Value Revenue        
    VBAP                             Sales Document: Item Data        
    VSVBAP_CN                        Version: Sales document: Item data
    VVBAP                            Sales Document: Item Data        
    GLPPC                            Profit Center Accounting: Plan line items
    GLSPC                            Profit Center Accounting: Line Items    
    Regards,
    Naveen.

  • Changing Profit center in Sales Order after Shipment Document

    Hi All,
    We have situation here, The thing is at the time of creating Sales order I don't know the profit center which has to be assigned for example, I have created a sales order for goods transport, when I create the sales order I don't know which vehicle is going to transport this order and the goods can be transported by multiple vehicles.
    For my business each vehicle is a cost and profit center since I wanna know the profitability of each vehicle.
    So I will come to know the vehicle ( Profit center) after creating the shipment document, now I want to have the profit center of this vehicle to be updated back in the sales order so that the Billing (revenue) is recorded in this profit center.
    Please let me know how to do this. I know the PC field is greyed out after shipment and PGI is done. So how to handle this.
    Your suggestions will be highly appreciable
    Regards,
    Satan

    Hi,
    Thanks
    If I went with internal order every where I gotta enter the internal order since it doesn't get automatically derived like a profit center. I would have to define substitutions everywhere !
    I am trying to capture all the costs and revenue for each transport vehicle since this is transport business. It's not like my business is something else and vehicles are a part of it.
    Almost all transactions will have to be posted with Internal order which is very difficult to configure.
    Can you please elaborate on the work around you have mentioned since I am neither technical nor SD consultant.
    Thanks in advance

  • How to change Profit center in production order

    Hi guys,
    I have to change Profit center value in production order. Order has been created and released also. How to change, if i directly change system throwing error...Please suggest me in this case.
    RGDS
    Dos

    Then Go to OBA5 enter the KO  Application area
    Add the 367 message and  your user iD enter warning in online and Batch,
    After that You can able to Change the   profit center in Order with warning message in Order

Maybe you are looking for

  • I've had several problems with pdfs not viewing correctly in ff-- how can we fix it?

    on two seperate occasions, pdfs are rendering completely wrong within firefox (fine in other browsers and when the mozilla pdf is disabled). in the first one, the color rendering is completely wrong. the background is navy blue and showing up as brig

  • How to use jni with ervlets

    Hi i was trying to do some example with JNI. I can use JNI with standalone Java application but I just cannot figure out how I can use JNI with Servlet. Can some one show me a sample code using JNI with Servlets. thanks very much

  • Using SCSI peripheral with PowerBook G4

    I have been using an Epson Expression 636 scanner with a G3Blue and White, connecting with a SCSI cable. Now I want to use the scanner with my PowerBook G4 and I don't know how to connect the SCSI output from the scanner to my G4 which has usb and fi

  • Streaming audio from clients to server

    Hi folks, I am looking for a method in which I can stream audio from a device mac/win to the server which is connected to the good sound system over the local network. I have looked at pulseaudio and followed the directions in the wiki, but without a

  • Error while creating concurrent workflow instances with dynamic participant

    Hi All, I have a workflow which has 3 interactive activites. The second interactive activity has requires approval of atleast 3 users to proceed. The participants are also not known in advance and are created dynamically by creating the directory ses