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

Similar Messages

  • How to add the Profit center Group in the PA report KE33.

    Hi Frnds,
    How to add the Profit center Group in the PA report KE33.Iam not able to find PC group in the list to add to the Charateristics already added.

    Hi
    PC group is not available as a Char in COPA..
    if you want to do that, either create a Char Hierarchy in KES3 for the Char Profit Center
    OR
    Create a WW char in KEa5 and write a derivation rule using the method "Enhancement" .. Write ABAP Code in COPA0001 exit
    bt, Ajay M

  • 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

  • How to make the Profit Center Field Mandatory in Cost center Master Data

    Dear All,
    Please let me know how to make the Profit Center Field mandatory in Cost Center Master Data as well as my Internal Order Master Data?
    Thanks in advance!
    Regards,
    Rajeswari Shankar.

    Hi Rajeswari,
    You can modify message number KS096 to "Error" via OBA5. Thus, the users would no be able to save a cost center without entering a profit center. (Depending on your release you can make KS096 modifiable by implementing note 486781.) 
    Concerning the internal orders (transaction KO01), you can run KOT2 and set Profit center field as required entry in "change field selection" section.
    Regards,
    Greta

  • How to find the profit center group for a profit center?

    How to find the profit center group for a profit center?

    Hi,
    try this also
    In order to pass the setid parameter of the FM, you have to concatenate the following things
    Setid + KOKRS (Controlling area) + Profit Center Group into one variable.
    In my example below, I have declared as constants and concatenating to gv_setid.
    gc_01016 is the set id for profit centers
    gc_kokrs is the controlling area
    gp_pprct is the Profit Center group entered in the selection screen.
    You will get KOKRS value from the cepc-kokrs.
    data :   gc_0106(4)   TYPE c VALUE '0106',
               gc_kokrs      LIKE cepc-kokrs VALUE 'ABCD'.
               gv_setid          LIKE sethier-setid,
               gt_set_values_1   LIKE setvalues OCCURS 0 WITH HEADER LINE.
      CONCATENATE gc_0106  gc_kokrs gp_pprct INTO gv_setid.
      CONDENSE gv_setid.
      CALL FUNCTION 'G_SET_TREE_IMPORT'
        EXPORTING
          client                    = sy-mandt
          fieldname                 = 'RPRCTR'
          langu                     = sy-langu
          setid                     = gv_setid
          tabname                   = 'GLPCT'
          no_table_buffering        = 'X'
        TABLES
          set_values                = gt_set_values_1
        EXCEPTIONS
          set_not_found             = 1
          illegal_field_replacement = 2
          illegal_table_replacement = 3
          OTHERS                    = 4.
    By using the above FM you will get the values into gt_set_values1 once sys-subrc value eq 0, it is internal table which consists of all the profit centers for the proft center group.
    Regards,
    Venkatesh

  • How to Check the Profit Center - Sales Group - Sales District for a BP

    Hi,
    How to Check the Profit Center - Sales Group - Sales District for a Business Partner?
    I am not able to identify which Profit center - Sales Group- Sales District was assigned to a Business Partner. Please provide me some inputs to check this.
    thanks
    Yadayya

    Hi
    Pls check these tables for data or prepare a z report with abapers.
    GLPCA u2013 PCA line items
    VBKD u2013 sales district
    TVKGR u2013 Sales group
    BUT000 u2013 Business Partner
    Regards
    Sridhara Rao D

  • How to add the Profit Center (Distribution Rule) at AR Invoice

    Hi All,
                  At SAP 2007 B PL10, Is it possible to assign the Profit Center at AR Invoice Document Line via DI API, because when I changed the Item's warehouse the profit center value is disappeared.
                 Please give me any suggestion.
    Thanks,
    Lei

    Hi,
                   When adding new invoice document, can I call the document & document line object? At SAP 2007B PL10, the profit center field is combined with product group, product family, market, department and service fields
                   Example : At profit center field will show (G&A; Audio; SG) when Default values of product group is "G&A" , product family is "Audio", market is "SG"
    Thanks,
    Lei

  • How to manipulate the profit center in the prod order within an mto-flow

    Hello,
    It is allowed in the sales order to change the profit center. I want to copy the entered profit center from my sales order to the profit center of my linked production order which has been created automatically.
    I tried already some user-exits (enhancements PPCO000?) but it doesn't work. Who can help me solving this problem?
    Many thanks for helping,
    Bart

    Dear,
    Maintain the Profit Centre in Costing 1 View of Material Master.
    Then it will be defaulted into the Production Order.
    Profit center can be entered at the item level in the sales order T.Code: VA01, in the Account Assignment Section.
    If Profit Centre is maintained in Material Master Data, in Sales: General / Plant data, then the same will default in sales order.
    Regards,
    R.Brahmankar

  • How to get the profit center nodes descriptions

    Hi Experts,
                 i have value of profit center   17007236. but i need to get the hierarchy above this profit center and their descriptions. previously i have done similar kind of   problem, but i that case i have top level node from which i have extracted bottom level descriptions and profit center values. this can be referred in the below link.
    Re: Profit Center Groups
    but now i have profit center values but i need to get the above hierarchy value and descriptions. which are shown in bold letters.
    any suggestions or any function module available please kindly reply me. point will be rewarder for all answers.
       <b> 5  SOI_STREAM      Downstream PPS                                                                               
    5  SOI5000007      DOWNSTREAM NON-OPERATING BU'S                                                                               
    5  SOI6IS0001      INTEGRATED SUPPLY TRADING                                                                               
    5  SOI7IS0091      IST EAST COAST                                                                               
    5  SOI7IS0092      CHICAGO PRICING BASIS                                                                               
    5  SOI7IS0100      (CHG) CHICAGO BASIS GAS BOOK                                                                               
    5  SOI7IS0126      MARKETING CHICAGO  BASIS GAS  </b>
                                                                                    17007236   CHG 4022 GRAFTON OH (LTAZ)       
                                    17007326   CHG 4022 GRAFTON OH (LTAZ)       
    Thanks & Regards,
    Poorna.

    Hello Poorna
    The following sample report may be useful to you. The sample cost center was taken from the cost center group 'H1' on our IDES ECC 5.0.
    *& Report  ZUS_SDN_COST_CENTER_BOTTOM_UP
    REPORT  zus_sdn_cost_center_bottom_up.
    TYPE-POOLS:  abap.
    DATA:
      gd_setid                 TYPE setid,
      gt_supersets             TYPE STANDARD TABLE OF setlist,
      gs_setlist               TYPE setlist,
      gs_setinfo               TYPE setinfo,
      gt_setinfo               TYPE STANDARD TABLE OF setinfo,
      gs_costcenterdetail      TYPE bapi0012_ccoutputlist,
      gt_return                TYPE bapirettab.
    DATA:
      gs_layout                TYPE lvc_s_layo.
    PARAMETERS:
      p_kokrs      TYPE kokrs  DEFAULT '1000',
      p_kostl      TYPE kostl  DEFAULT '2-1110'.
    START-OF-SELECTION.
      CALL FUNCTION 'BAPI_COSTCENTER_GETDETAIL1'
        EXPORTING
          controllingarea            = p_kokrs
          costcenter                 = p_kostl
    *     KEYDATE                    = SY-DATLO
    *     MASTER_DATA_INACTIVE       = ' '
        IMPORTING
          costcenterdetail           = gs_costcenterdetail
        TABLES
          return                     = gt_return
    *     EXTENSIONIN                =
    *     EXTENSIONOUT               =
      CALL FUNCTION 'G_SET_ENCRYPT_SETID'
        EXPORTING
          setclass             = '0101'  " cost center group
          shortname            = gs_costcenterdetail-costctr_hier_grp
          kokrs                = p_kokrs
        IMPORTING
          setid                = gd_setid
        EXCEPTIONS
          no_co_area_specified = 1
          illegal_setclass     = 2
          OTHERS               = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'G_SET_GET_ALL_SUPERSETS'
        EXPORTING
    *     CLIENT          =
          setname         = gd_setid
        TABLES
          supersets       = gt_supersets.
      CLEAR: gs_layout.
      gs_layout-cwidth_opt = abap_true.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_structure_name = 'SETLIST'
          i_grid_title     = 'Supersets'
          is_layout_lvc    = gs_layout
        TABLES
          t_outtab         = gt_supersets
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      REFRESH: gt_setinfo.
      LOOP AT gt_supersets INTO gs_setlist.
        CLEAR: gs_setinfo.
        CALL FUNCTION 'G_SET_GET_INFO'
          EXPORTING
            class                           = '0101'  " Cost Center Group
    *       NO_SET_TITLE                    = ' '
            setname                         = gs_setlist-setname+4
    *       TABLE                           = ' '
    *       FIELDNAME                       = ' '
    *       USE_TABLE_BUFFER                = 'X'
    *       CLIENT                          =
          IMPORTING
            info                            = gs_setinfo
          EXCEPTIONS
            set_not_found                   = 1
            illegal_field_replacement       = 2
            OTHERS                          = 3.  .
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        APPEND gs_setinfo TO gt_setinfo.
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_structure_name = 'SETINFO'
          i_grid_title     = 'Setinfos'
          is_layout_lvc    = gs_layout
        TABLES
          t_outtab         = gt_setinfo
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
    Regards
      Uwe

  • How to transfer the profit center balances to dummy profit center

    HI SAP Experts,
    How do transfer balances of profit center to dummy profit center, please tell me step by step process to do this.
    Regards,
    Prabhakar

    Balances Transfer from One Profit Center to Another PC T.Code: 9KE0
    Regards,
    Viswa

  • Profit Center Derivation in Intercompany STO

    Hi
    ECC 6, I am looking for a solution to derive the Profit Center in STO inter-company billing.  The requirement is as follows:
    Company A, Sales organization SO1, Distribution Channel C1, Division D1 and Plant 1000.
    The stock is transferred from Plant 1000 (Company A) to Plant 2000 (Company B).
    The Profit Center assigned in Material Master of Plant 1000, Sales Org SO1, Distribution Channel C1 is 'ABCDEF'
    While creating inter-company billing document, system by default picks a Profit Center 'ABCDEF' (from material master).  I want to derive the profit center according to Sales Organization, Customer Account Assignment Group, Customer Group and Product Hierarchy.
    I created a custom table to map the profit center according to Sales org, Acct Asst Grp, Customer Grp and Product Hierarchy.
    How to get the profit center from the custom table?  It is Inter-company STO  (Not a Sales Order).
    I gone through various SAP notes and SCN, none of them giving clear cut steps to be followed to get the required profit center instead of profit center from material master.
    Please do say to use Profit Center Substitution (0KEM or 0KEL) it is not applicable in this case.
    Any suggestions is appreciated.
    Thanks
    Venkat

    Hi Venkat
    You can use exit EXIT_SAPLPCRW_002 (Include ZXPCAU04) to write your logic to read from the Z Table
    There is another include which I have used in the past ZXPCAF01.. I dont remember it is part of which exit. May be your ABAP guys can help you find it
    Br. Ajay M

  • 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

  • To Populate the profit center field in the sales order by user Exit.

    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.

    If you want to overwrite the profit center in sale order (determined from the materail master) with a different profit center based some other criterion you can use profit center substitution rules. Check the wiki:
    [Profit Center Substitution in Sales Orders|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/profitCenterSubstitutioninSales+Orders]
    Regards,
    GSL.

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

  • How to unlock a profit center

    Hi All,
    While creating Delivery for sales document ,i am getting error message " Profit Center is locked for posting"
    and when i am using KE52 to unlock the profit center;this field is deactivated.
    Please suggest how to unlock the Profit Center.
    Thanks and Regards
    Payal Saxena

    Hi Payal,
    The profit centre your are looking for unlocking might be a  dummy profit centre, for dummy profit centres the lock indicator field will be grayed out.
    You can do locking or unlocking for normal profit centres.
    Check the same
    regards
    srikanth

Maybe you are looking for