Profit Center Substitution in GL Account

Hi Guys,
I have a mini project to solve the below mention Client Scenerio:
It appears that profit centers are not being reliably determined for postings to account 420XXX in CoCode USXX for intercompany shipments to Canada. The profit center determined was 99xx but should have been 20xx.  The profit center should have been correct on the associated billing document and then it flows into the accounting document during posting.  The profit center is determined via a substitution routine or SD copy control user exit. 
Please Propose a solution to make necessary correction.
I will assign point for suggestion and resoluation.
Thanks
Shoeb Kanpurwala
I

Hi Liz,
I´ve got the similar problem like you wrote. 
My client had a reorg project behind and locked the old profit centers. For the reason of clearing open items and FX valuation those locked profit centers need either to be  re-locked or the posting need to be posted to the new profit centers by using substition. Could you please kindly advicehow did you solved this problem?
OR maybe someone else can help?
Many thanks in advance.

Similar Messages

  • Profit center substitution ?

    Hi ALL,
    I am working on a client requirement u201CContract wise Profitabilityu201D (PCA is activated and Document splitting is not activated). thought i am able to get the Contract wise Profitability report , but PC reporting is effected
    Business process:
    1)Contract is created (T.code Va41) with different lines item and the profit center is populated on the line item based on Product hierarchy+ Plant combination (Z table maintained )
    2) An internal order type u201Csapsu201D with revenue postings allowed is created and assigned to the line items (this is capture the actual revenue and Actual costs and develop a Contract wise profitability through BI)
    3) But when the internal order is assigned to the line item, the profit center is getting changed to DUMMY profit center (as no profit center is maintained on the internal order type master data)
    4) When ever the billing is done the off set account is getting posted to the Dummy profit center (I am aware this is STD behavior as the co real assignment profit center supersede the FI account assignment)
    I am able to get the Contract wise Profitability as desired, but at the cost of Profit center reporting,
    Please help me to get the posting to done on to the right profit center.
    Can we achieve the desired result through Substitution? (If yes which is better, order substitution, PCA substitution or Gl line item substitution)
    Or can we achieve this through any Note/BAdi/BTE
    Kindly advice, waiting for your suggestions!
    Thanks
    RS

    HI, We used  the mentioned BADI, we are able to change the  profit center but the internal order is getting passed to the Accounting  document   and when we  doing the reveersal , the  reversal Accouting document (revenue account )is Getting populated with wrong Profit center (Dummy) Kindly advice,
    This  code is what we put  in to the BDAI
    thanks
    Method IF_EX_AC_DOCUMENT~CHANGE_AFTER_CHECK.
    **// This Badi is only for " ZYES  " Contract Document Type
    **// This Badi will get the Profit center at the time of Billing acc.doc generation
    **// aswell at the time of Rev.Reg Document Generation
    DATA:  IMT_ITEM    TYPE ACCIT_T,
            IMS_ITEM1   TYPE ACCIT,
            IMS_ITEM2   TYPE ACCIT,
            IMS_HEAD    TYPE ACCHD,
            EXT_ITEM    TYPE ACCIT_SUB_T,
            EXS_ITEM    TYPE ACCIT_SUB,
            EX_DOC      TYPE ACC_DOCUMENT_SUBST,
            LV_VBELN    TYPE VBELN_VA,
            LV_POSNR    TYPE POSNR_VA,
            LV_AUART    TYPE AUART,
            LV_PRODH    TYPE PRODH_D,
            LV_VTWEG    TYPE VTWEG,
            LV_SPART    TYPE SPART.
      IMS_HEAD    = IM_DOCUMENT-HEADER.
      IMT_ITEM    = IM_DOCUMENT-ITEM.
      IF IMS_HEAD-AWTYP  = 'VBRK' AND ( IMS_HEAD-TCODE EQ 'VF01' OR IMS_HEAD-TCODE EQ 'VF11' ). " Billing & Cancel
        READ TABLE IMT_ITEM INTO IMS_ITEM1 INDEX 1.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE AUART FROM VBAK INTO LV_AUART WHERE VBELN EQ IMS_ITEM1-XBLNR.
          IF LV_AUART EQ 'ZYES'. " CRM Contracts
            LOOP AT IMT_ITEM INTO IMS_ITEM2.
              IF IMS_ITEM2-PRCTR IS NOT INITIAL.
                CLEAR IMS_ITEM2-PRCTR.
                SELECT SINGLE PRCTR FROM VBAP
                                    INTO EXS_ITEM-PRCTR
                                   WHERE VBELN EQ IMS_ITEM2-AUBEL
                                     AND POSNR EQ IMS_ITEM2-AUPOS.
                IF SY-SUBRC EQ 0.
                  EXS_ITEM-MANDT = SY-MANDT.
                  EXS_ITEM-AWTYP = IMS_ITEM2-AWTYP.
                  EXS_ITEM-AWREF = IMS_ITEM2-AWREF.
                  EXS_ITEM-POSNR = IMS_ITEM2-POSNR.
                  EXS_ITEM-GSBER = IMS_ITEM2-GSBER.
                  APPEND EXS_ITEM TO  EXT_ITEM.
                ENDIF.
              ENDIF.
            ENDLOOP.
            EX_DOC-ITEM[] = EXT_ITEM[].
            EX_DOCUMENT = EX_DOC.
          ENDIF.
        ENDIF.
      ELSEIF IMS_HEAD-AWTYP  = 'VBRR' AND ( IMS_HEAD-TCODE EQ 'VF44' OR IMS_HEAD-TCODE EQ 'VF46' ). " Revenue Reg & Cancel
        LOOP AT IMT_ITEM INTO IMS_ITEM2 WHERE PRCTR IS NOT INITIAL.
            CLEAR:LV_AUART,LV_VBELN,LV_POSNR,IMS_ITEM2-PRCTR.
            LV_VBELN = IMS_ITEM2-ZUONR+0(10).
            LV_POSNR = IMS_ITEM2-ZUONR+10(6).
            SELECT SINGLE AUART VTWEG SPART FROM VBAK INTO
                               (LV_AUART,LV_VTWEG,LV_SPART) WHERE VBELN EQ LV_VBELN.
            IF LV_AUART EQ 'ZYES'.
              SELECT SINGLE PRCTR FROM VBAP
                                  INTO EXS_ITEM-PRCTR
                                 WHERE VBELN EQ LV_VBELN
                                   AND POSNR EQ LV_POSNR.
             IF SY-SUBRC EQ 0.
                EXS_ITEM-MANDT = SY-MANDT.
                EXS_ITEM-AWTYP = IMS_ITEM2-AWTYP.
                EXS_ITEM-AWREF = IMS_ITEM2-AWREF.
                EXS_ITEM-POSNR = IMS_ITEM2-POSNR.
                EXS_ITEM-GSBER = IMS_ITEM2-GSBER.
                EXS_ITEM-AWORG = IMS_ITEM2-AWORG.
                APPEND EXS_ITEM TO  EXT_ITEM.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF EXT_ITEM[] IS NOT INITIAL.
           EX_DOC-ITEM[] = EXT_ITEM[].
           EX_DOCUMENT = EX_DOC.
          ENDIF.
      ENDIF.
    endmethod.

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

  • Default Profit center for balance sheet account

    Dear All
    I've problem when i display accounting document in billing, there is no profit center information in GL account VAT,since document spliting is not activated,so I maintain default profit center for balance sheet account (3KEH),.
    can anybody tell me why this problem raised? where that i have missed the configuration?
    Thanks And Regards
    Adit

    Hi Vijay,
    Good day!
    I would like to seek your advice regarding the default profit center for Balance Sheet Account:
    We have this issue that BS account defualted to a certain profit center: I have done several testings but still cannot find why the BS account defaulted to the profit center
    1. I have checked the FAGLBK3EH and the BS account in which PC defaulted is not maintained in this tcode.
    2. also check the OBBH and the document does not contain any cost object wherein a profit center can be derived. also checked  substitution, either both of this code does not defines the profit center im searching for.
    Can you please advice some directions where to check and why certain profit center defaulted to balance sheet account.
    Your advice is greatly appreciated.
    Janice

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

  • Default Profit Center to Bank Clearing Account

    Hi All,
    Currently, our company is one company code to one bank account and one bank account use by different profit centers ( Bussines Units) . Our reporting ( Balance Sheet / Profit & Loss ) is by Profit Center Level.
    1. Default Profit Center to Bank Clearing Account.
    - we cannot create cashflow report by profit center, because bank clearing account is default by profit center. 
    2. Not default Profit Center to Bank Clearing Account
    - We got Profit Center 9999 / P9999 issues on Bank Clearing Account.
    Should we default Profit Center on Bank Clearing Account ?
    Thank You
    Alex Lee

    Hi Alex,
    If you are using 4.7 or ECC 5.0 then you needs to maintain Default profit Center for Balance Sheet G/Lu2019s through T. code 3KEH and 3KEI, else if you are working with ECC 6.0 then you need to maintain default profit center for Balance Sheet G/Lu2019s through T. code FAGL3KEH and for Profit and loss related G/Lu2019s / Cost elements profit centers derivation rule can be maintained through T. code OKB9 accordingly.

  • Profit Center wise G/L Account balance Display

    Hi,
    I m unable to find Standard Report Profit Center wise G/L Account balance Display (for ref.: FS10N)...
    when i m creating it's Z report, facing some problems like period showing 16 instead of 9 and other's...
    please let me know what can i do...
    thanks...

    HI!
    Profit Center wise G/L Account balance Display
    Tcode:S_PL0_86000030 - G/L Account Balances (New)
    regards,
    Rup

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

  • Profit center change in posted accounting document

    Hello,
    please, is it possible to change the profit center in already posted accounting document?
    We DTO'd open customer balance with wrong profit center. PC document has been created as well. Please, what is the proper way to change the PC?? Or how to proceed?
    Thanks a lot
    Kind regards
    Marcela

    It is not possible to change profit center, for that matter any other CO assignment cannot be changed. You can try transfering to correct profit center through 9ke0

  • Table relationship between Profit Center and G/L account.

    Hi,
    I have an issue related to wrong profit centers. We have a workflow that updating the profit center to a G/L account regarding the business of Reverse Logistic. In that business, we shift from a G/L account to another G/L account.
    Now I have to find the tables relationship between Profit center and G/L account, which contains the correct relationship between a profit center and a G/L account, so that I can profit centers related to the moved G/L account and the original G/L account.
    Thank you.
    Moderator: Please, search before posting

    Hi
    The Posted data can be seen in BSEG & GLPCA/FAGLFLEXA
    The default assignment of GL & PC can be seen in 3KEH / FAGL3KEH
    br, Ajay M

Maybe you are looking for