Auto Determination of Profit Center in Billing

Dear all,
we are using WBS element for posting accounting document from there system is determining the Profit center required for billing , Now I want to remove this WBS element and would like to determine profit center from Material Master Sales General Plant data in billing.
If I am deactivating the setting of  WBS  element in sales order , system is giving me an error at billing stage , that accounting doc is not generated because sales gl required a  link of cost center,
But iin our business profit center keeps changing as per the sales grp.
So please advice how can I solve this issue.
SO i can determine the prf center/cost center from material master in      billing.
Sukh

You need to have both
- VKOA (GL assignment)
- OKB9 (auto acct assignment)
configured for sales billing.
In OKB9, you have to map one cost center to one GL, say, GL acc 111111 = A100.
Now for your material # 123456, you need to assign to GL acc 111111.
Therefore, for that you can go for a substitution rule TCode GGB1 to replace the cost center based on material.
Finally, maintain call up points for substitution in Tcode OKC9.
Regards
JP

Similar Messages

  • Different profit center in Billing document

    Dear All,
    We have created a Credit memo for a service order.
    In the sales order, a profit has been maintained. But in the Invoice, it is determined different Profit Center in the profit center document.
    What may be the reason for this.
    Regards,
    Mullairaja

    - check profit center in MMR & compare with the one determined in Sales order ( it should be same)
    - Check  in the G/L account,  some billing documents / Credit notes demand for CO objects. Profit center can be determined from the Cost center which is assigned to your G/L account
    Check with FI consultants in Profit center derivation rules.
    regards,
    Reazuddin MD

  • Error in determination of profit center

    Hi friends,
    While creating order i am getting an error as "error in determination of profit center".
    Can any one throw some light on these.
    Thanks in advance
    balu

    Hi, lakshmipathi.
    Profit center is there in material master, and also OKB( against my company code, still it is not reflecting in the order and i am gettiing an error as "Error occured during profit center determination".
    Can you please explain what could be other options for this
    thanks
    balu

  • Profit Center for Billing Substitution

    Hello,
    I am currently using this substitution in 0KEM to populate the profit center for billing (PCTRF) in an inter-company sales order.
    PrCtr Type = '2' AND Profit Center = '' AND (
    Sales Org. = '5010' OR Sales Org. = '5020' )
    It is working because the profit center for billing (driven by PrCtr Type = '2' ) field is originally blank and so I can substitute in a different profit center value.
    My question is I would like to take this a step further and substitute different profit centers in the profit center for billing field (PCTRF) based on the value in the profit center field (PRCTR).  Has anyone had any luck with this?  I see that is is controlled using the PRCTR_TYPE 1 and 2 in the PCASUB area, but I am yet to figured out the right combination for it to work.
    Appreciate any help.
    Kevin

    Kevin,
    Refer to SAP Note 815972 - PCA substitution for cross-company-code sale.. It gives the details on how to fill the two fields "Profit Center" and "Profit Center for Billing within the substitution.
    Thanks
    Venkata Ganesh Perumalla

  • The system is auto population partner profit center even when not provided

    Hi experts,
    While posting FB01,The system is auto population partner profit center even when not provided in the entry.Requested to you could you please assist us as soon as possbile.
    Thanks & Best regards
    Sreenivas

    Will you please let me know where you get this field partner profit center. In my screen for FB01, I do not see any such field.
    Sangram

  • How to update "profit center for billing"(VBAP-PCTRF) for sales order.

    Now, we need to bring "profit center for billing" in sales order to correspondence with meterial master, while BAPI "BAPI_SALESORDER_CHANGE" contain not this field, is there any way to achieve except modify database table directly.
    Thanks!

    Hello,
    Pay attention with BAPIs in SAP, they often use different names as input parameters as the actual fieldnames.
    In your example you can use the BAPI BAPI_SALESORDER_CHANGE.
    You have to check the parameter ORDER_ITEM_IN (table) with field PROFIT_CTR.
    This will correspond with the field VBAP-PCTRF that you want to update.
    You will also have to use the table ORDER_ITEM_INX of the BAPI and flag your field (PROFIT_CTR) with an 'X' in order to update it in the database.
    Always use the RETURN (table) parameter from the BAPI to see what the result is of your update.
    Success.
    Wim

  • Create Substitution Profit Center when billing

    Dear all
    How to create substitution profit center and this the requiredment:
    When i create billing VF01 there is tax account 21117106 and i want to substitute profit center in that account, since i maintain 3KEH.
    i have create substitution like this, in GGB1 ,>cost accounting> line item >step 1>COBL-SAKNR = '21117106' and COBL-VKORG = '3000'
    why this not worked, did i miss other config? how to assign tcode in substitution, like just valid in VF01?
    please help
    Best Regards
    adit

    Hi Aditya
    Tax account is a balance sheet account which will never flow into CO at all.. So, your CO subst will never be called for this line item
    Subst in CO can be written only for Cost Elements
    Subst in EC-PCA can be written for populating profit center in Sales orders
    But, Subst in FI can be written for all GL accounts, especially the balance sheet ones
    Hope, it is clear... You need to write subst in FI, and not in CO for VAT line item
    Regards
    Ajay M

  • Wrong profit center in Billing document

    Hi,
    Currently I can't release my billing document to accounting because there is missing profit center setup in my controlling area. The profit center had been wrongly setup in the SO and there is no cancellation billing type so I can't cancel my billing and amend the SO and re-generate the billing. Is there any other way I can change to the correct profit center? Or I need to setup the wrong profit center in my CO and do adjustment to post to the correct profit center after the billing document had been released?
    Best Rgds,
    Li Ling

    Hi,
    I would suggest setting up the profit center in CO just so this billing can be released to accounting and make an adjustment to post to the right profit center. We had to do this sometime back.
    Meanwhile, may I suggest to activate the cancellation billing types and frame a rule such that billing documents passed onto accounting cannot be cancelled. This would be the best option rather than not having the type at all.
    Hope this helps,
    Thanks,
    Siva

  • Profit center wise billing documents

    dear experts,
    could please let me know that is there any possibility to see the invoicing amount against the profit center wise.if there,pls provide  me the configuration settings.
    regards,
    amar.

    Refer following links for understanding/reference:
    - profit center wise balance sheet
    - FBL5N report by profit center
    Thanks & Regards
    JP

  • Profit Center was not maintained during order n billing creation.

    Dear, Gurus
    I'm facing a problem of Profit Center. User created a service material, maintenance contract. They created a Billing Document as it is order related billing. Accounting document was not generated when saving invoice. When I got to the bottom of this I realized no costing tabs were ever maintained for material type services. (Henceforth no Profit Center in Sales Order n Invoice).
    I have done the necessary config n assignments but question now is what should I do as in billing doc  the field is greyed out it will not allow me to assign Pr Center now. I am thinking that this may work if I cancel the billing document and then go back to sales order and try and changing the field, then re-create the invoice. I'm trying to avoid canceling. Is there any program, bapi, user exit I may use to re assign or make system re check the MM while saving invoice to allow accounting document to be created?  This is one scenario.
    2nd scenario is similar but in the case of this contract everything was made. Accounting document was cleared even but with some dummy weird Profit Center. (No proft center in Order nor invoice.) Whole problem at first in this scenario is User saying everything is complete so status in doc flow should show maintenance contract as complete but wasn't. it showed being processed. I discovered no completion rule was maintained. I maintained E Full target value referenced but status still has not changed any idea guys? (New config not showing on old existing data only show on new document, concept?) Is there a program or anything to make system update status doc flow? aside from this Profit center  incompletion log is coming in Contract. Not maintained in order or invoice.

    In one of my earlier projects, a similar requirement was putforth by users and we had developed a zee tcode to change the profit center in billing document via SM30 which can be done only by FI authorised users.
    I am reproducing the said program as under:-
    REPORT  "ZPROFIT_CHG"
    TABLES : VBRP.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS : SO_VBELN FOR VBRP-VBELN OBLIGATORY.
    PARAMETERS:      P_PRO LIKE VBRP-PRCTR OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF IT_VBRP OCCURS 0,
            VBELN LIKE VBRP-VBELN,
            POSNR LIKE VBRP-POSNR,
            PRCTR LIKE VBRP-PRCTR,
          END OF IT_VBRP.
    DATA COUNT(3).
    DATA W_MESSAGE(30).
    START-OF-SELECTION.
      LOOP AT SO_VBELN.
           IF SO_VBELN-LOW CA '~`!@#$%^&*()_+|\=-><,.;":' OR SO_VBELN-HIGH CA '~`!@#$%^&*()_+|\=-><,.;":'.
               MESSAGE 'Special character not allowed' type 'S'.
               LEAVE LIST-PROCESSING.
               STOP.
           ENDIF.
      ENDLOOP.
      IF P_PRO CA '~`!@#$%^&*()_+|\=-><,.;":'.
               MESSAGE 'Special character not allowed' type 'S'.
               LEAVE LIST-PROCESSING.
               STOP.
      ENDIF.
      SELECT B~VBELN B~POSNR B~PRCTR FROM VBRK AS A  INNER JOIN VBRP AS B ON A~VBELN EQ B~VBELN INTO CORRESPONDING FIELDS OF TABLE IT_VBRP
                                WHERE A~VBELN IN SO_VBELN
                                AND   A~FKART EQ 'ZFF2'
                                AND   A~FKSTO NE 'X'.
      IF SY-DBCNT EQ 0.
          MESSAGE 'NO DATA FOUND' TYPE 'S'.
          LEAVE LIST-PROCESSING.
      ENDIF.
      SORT IT_VBRP BY VBELN.
      DELETE ADJACENT DUPLICATES FROM IT_VBRP COMPARING VBELN.
      CLEAR COUNT.
      IF IT_VBRP[] IS NOT INITIAL AND P_PRO IS NOT INITIAL..
          LOOP AT IT_VBRP.
              UPDATE VBRP SET PRCTR = P_PRO  WHERE VBELN = IT_VBRP-VBELN AND POSNR = IT_VBRP-POSNR.
              IF SY-SUBRC = 0.
                 COUNT = COUNT + 1.
              ENDIF.
              COMMIT WORK.
              CLEAR IT_VBRP.
          ENDLOOP.
    ENDIF.
    IF COUNT IS NOT INITIAL.
        CONCATENATE 'No Of Records Updated Is - ' COUNT INTO W_MESSAGE.
        MESSAGE I000(ZSFL) WITH W_MESSAGE.
    ELSE.
        MESSAGE 'No Records Updated' TYPE 'S'.
    ENDIF.
    Since I am so weak in ABAP coding, not sure whether the above coding is correct.  You need to check with your ABAPers and develop this logic.  This should work.
    thanks
    G. Lakshmipathi

  • Profit center is not auto assigned to B/S account

    Hi all,
    I actived document splitting function. When I post in FB50, Profit center is assigned to P/L account by me but it is not automatic assigned to B/S account. Follow our solution, I want the system auto enter same Profit center for P/L and B/S account.
    How to the system auto fill Profit center which was assigned to P/L account by me for B/S account?
    Thanks a lot

    hi
    Is the profit center field checked as mandatory in document splitting characterstics for general ledgers, and please check once the general ledger view
    krishna
    Edited by: achantakrishna on Sep 9, 2011 12:03 PM

  • SD billing Accounting document Profit center not coming from billing doc

    Hi Expert,
        I have stuck with the accounting doc entries. Issue is that accounting document should have
        the same profit center as billing document. Actually i have created profit center for my each of
        my divisions and want the same profit center whenever that particular division  is selected. But it
       is not  working.
        I have tried with substitution  method also by t-codes 0KEL and 0KEM. It works correctly till
       billing document means division wise profit center is coming in order,delivery , and billing but
       when we check accounting document,Profit center doc. Controlling Document and Profitab.
       Analysis  in Delivery and Bill it is coming from what i have maintained in material master.
       But it should come from what is in the delivery and billing document.
        Please share your ideas.
       Thanks &  Regards

    Hi SAP Consultant
    I would not agree with the first reply above.
    When you define a substitution in 0KEL and 0KES, it is intended to overwrite the PC from Material Master. It is a wrong notion that this Substitution will only impact FI, and not CO / COPA
    1. Are you able to see the over-written PC in Sales Order? (I think YES)
    2. Are you able to see the over-written PC in Billing doc? (I think YES)
    3. If in FI doc you are not able to see that, then see where is the problem. Probable reasons would be a Substitution written in OBBH, You are having a CO Object in the line item, a user exit written in the exit SDVFX008
    Ask your ABAP to check on these lines, if 1 and 2 is YES
    Br, Ajay M

  • Profir center determination in non leading ledger in tcode ABAA

    Hello experts,
    We are working on ECC6.0 and parallel ledger is already activiated. To post the unplanned depreciation only in the non leading ledger, I have created new transaction  type and attched it to non leading dpereciation area. After  entring through transaction code ABAA, when I run ASKB to post the entry in the financial books, I get the profit cetner determination error. Entry is as under:
    Depreciation A/c ..........Dr
    To Accumualted Depreciation Account.
    Now for depreication account being expense account and having cost element system is asking for the profit center (cost center).
    My question is, how can I guide the system to determine the profit center from cost center mentioned in asset master data?
    Please advise.
    Shailesh

    Dear sir,
    Please check your seetings in T.code ACSET. Whether KOSTL as a account assignment object defined or not. If not then please make the entry, by doing so system will check the cost center in asset master and will pick the profit center maintained accordingly.
    As well check account assignment type as a 02 Depreciation Run
    I hope this may help and solve the issue.
    Regards,
    Pankaj A Bhalerao.

  • Partner profit center/Profit center billing (VBAP-PCTRF) missing in sales order during intercompany sales process.

    Hello All,
    I am facing a issue where in the partner profit center/profit center billing (VBAP-PCTRF) filed at item level in sales order is not getting filled during inter-company sales process.
    I have maintained profit center in material master for both selling and supplying company code.
    In addition to this when I generate a invoice "F2" system posts to the delivering company code's profit center.
    Note: profit center 9999 assigned to both company codes.
    Selling company code's material master screen shot:
    Supplying company code's material master screen shot:
    As per my analysis:
    1. The profit center field (VBAP-PRCTR) is filled in with the data maintained in material master for delivering/supplying company code and when inter-company invoice IV is created, system is posting to this profit center, which is correct as per my understanding.
    2. If I maintain some substitution rule using 0KEM, and if the requirements are fulfilled system fills in the partner profit center (VBAP-PCTRF).
    3. If i create a order (non-inter company) in delivering company code then correct profit center (VBAP-PRCTR) is flowing from material master.
    Please help me in understanding why the data in partner profit center (VBAP-PCTRF) is not flowing in during inter-company sales.
    Thanks & Regards
    Naveen K.

    Have a look at these notes:-
    1532865 - FAQ: Profit center in the billing document
    1579002 - Incorrect filling of "Profit Center for Billing"
    G. Lakshmipathi

  • How to undefined generated Profit Center in SAP Billing

    Hi Expert,
    Is it possible to undefined and not generated profit center in Billing Document? Cause I'm not set Profit and Loss G/L account (I'am setting Balance Sheet G/L Account)
    In Sales Order we didn't input WBS Element, Internal Order, and Profit Center.
    We can create Billing Document, but can't release billing document.
    Need your response.
    Thanks and Regards,

    For this problem I'am create substitution and create profit center dummy..
    Thx

Maybe you are looking for