Allocation of Sales and Expenditure Accounts to Profit Center.

Hi,
I had earlier posted a question on how to allocate a BP to a Profit center:
Hi,
Is it possible to allocate a BP to one or more Profit centers when creating a BP Master in SAP;such that, on creation of a marketing document the Profit center is directly picked up instead of selecting it.
Please comment.
Regards,
The answer which solved it is :
Projects can be associated with a Business Partner in the Master data definition but not Profit Center.
Profit Center have associated distribution rules and are linked to G/L account or a transaction at the row level.
You could do this. Create a UDF in the BP Master to enter the profit Center information.
In the Sales Order Rows..in the Profit Center field create a Formatted Search to pull the Profit Center from the BP Master UDF
Example: Let us say your Profit Center User field on the BP Master is called U_PC
then your Formatted Search on the Marketing document would be
SELECT T0.U_PC FROM [dbo].[OCRD] T0 WHERE T0.CardCode = $[$4.0.0]
Set it to Auto Refresh on Item Code ....check Display Saved Values
If you want 2 Profit Centers on the BP Master and the user would select it in the Marketing document then let us presume your UDF's are U_PC1 and U_PC2,
the FMS would be
SELECT T0.U_PC1 FROM [dbo].[OCRD] T0 WHERE T0.CardCode = $[$4.0.0]
UNION ALL
SELECT T0.U_PC2 FROM [dbo].[OCRD] T0 WHERE T0.CardCode = $[$4.0.0]
Suda
Now, since the BP has already been allocated to the profit center anytime a service type credit note is passed which links to a Liability or an "Other" Account type, the profit center still gets allocated.
Can I make any changes to the query such that only Sales or Expenditure account could be allocated to the BP, and any other account if tagged the entry is not tagged with a profit center.
Please advise.
Edited by: Vishal Attal on Oct 14, 2008 12:53 PM
Edited by: Vishal Attal on Oct 14, 2008 12:54 PM

Hi Vishal
Best will be to use the ActType field from OACT to check whether it is an "I" (Income) or "E" (Expenditure) and not an "N" (other) type.
Change query as follows:
SELECT CASE WHEN (SELECT T1.ActType FROM dbo.OACT T1 WHERE T1.AcctCode = $[$39.94.0]) <> 'N' THEN (SELECT T0.U_PC FROM dbo.OCRD T0 WHERE T0.CardCode = $[$4.0.0]) ELSE '' END
Let me know if it works
Kind regards
Peter Juby

Similar Messages

  • Allocation of Sales and Expenditure Accounts only to a profit center.

    Hi,
    I had earlier posted a question on how to allocate a BP to a Profit center:
    Hi,
    Is it possible to allocate a BP to one or more Profit centers when creating a BP Master in SAP;such that, on creation of a marketing document the Profit center is directly picked up instead of selecting it.
    Please comment.
    Regards,
    The answer which solved it is :
    Projects can be associated with a Business Partner in the Master data definition but not Profit Center.
    Profit Center have associated distribution rules and are linked to G/L account or a transaction at the row level.
    You could do this. Create a UDF in the BP Master to enter the profit Center information.
    In the Sales Order Rows..in the Profit Center field create a Formatted Search to pull the Profit Center from the BP Master UDF
    Example: Let us say your Profit Center User field on the BP Master is called U_PC
    then your Formatted Search on the Marketing document would be
    SELECT T0.U_PC FROM dbo.OCRD T0 WHERE T0.CardCode = $http://$4.0.0
    Set it to Auto Refresh on Item Code ....check Display Saved Values
    If you want 2 Profit Centers on the BP Master and the user would select it in the Marketing document then let us presume your UDF's are U_PC1 and U_PC2,
    the FMS would be
    SELECT T0.U_PC1 FROM dbo.OCRD T0 WHERE T0.CardCode = $http://$4.0.0
    UNION ALL
    SELECT T0.U_PC2 FROM dbo.OCRD T0 WHERE T0.CardCode = $http://$4.0.0
    Suda
    Now, since the BP has already been allocated to the profit center anytime a service type credit note is passed which links to a Liability or an "Other" Account type, the profit center still gets allocated.
    Can I make any changes to the query such that only Sales or Expenditure account could be allocated to the BP, and any other account if tagged the entry is not tagged with a profit center.
    This has become critical for users who check the profit center report, which does not give the correct figure because of the above issue.
    Please advise.

    Hi Julie,
    Thanks for your reply!
    We have recently upgraded to 2005B PL43.
    Still it has not helped.
    Secondly these report are regularly checked by our Sales manager's hence updating using DTW will be a cumbersome affair.
    Is there some query which can update the fields correctly......
    E.g. Can the following query be amended to get the correct result:
    DECLARE @Type nvarchar(1)
    SELECT @Type=T1.ActType FROM OACT T1 WHERE T1.AcctCode=$[$39.94.0]
    IF @Type='I'
    BEGIN
               SELECT T0.U_AT_PC FROM [dbo].[OCRD] T0 WHERE T0.CardCode= $[$4.0.0]
    END
    ELSE
    IF @Type='E'
    BEGIN
               SELECT T0.U_AT_PC FROM [dbo].[OCRD] T0 WHERE T0.CardCode= $[$4.0.0]
    END
    ELSE
    BEGIN
            SELECT u2018u2019
    END
    Need your advise.
    Regards

  • 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

  • Post balance sheet account to profit center accouting

    Hi.experts.
    I want to post some blance sheet accounts to profit center accounting,these account include material stock,wip. what should I do?
    thanks in advance.
    Fannt

    Hello
    Balance sheet items can be transferred periodically or online in realtime
    You can transfer the following balance sheet items to Profit Center Accounting in the standard SAP system at end of period:
        Payables and receivables
       Material stocks
       Assets
       Work in process
    This can be done in period closing activities for AR/AP
    The assignment of payables and receivables to various profit centers is basically derived from the offsetting entry line of the FI document to which they belong. It is not possible to make structural changes to them within Profit Center Accounting. If, for example, you assign a new profit center to a material, or change the derivation rules when creating sales orders, these actions do not affect the assignments of documents which have already been posted.
    The payables and receivables to be divided are calculated in FI at the end of the period. To do so, call up the SAP Easy Access screen and choose Accounting ® Financial Accounting ® General Ledger ® Periodic Tasks ® Closing ® Regroup ® Debit Balance Sheet Account Subsequently.
    Enter the company codes for which you want to perform the calculation. For these company codes, the payables and receivables are divided according to profit center and business area. The results are then saved.
    You can now transfer the data to Profit Center Accounting. Do not choose the next menu option Post B/S readjustment n Financial Accounting. Instead, transfer the data in the Profit Center Accounting application menu, under Actual Postings ® Period Closing ® Transfer Payables/Receivables
    You obtain a list of all the company codes in the active controlling area. Select the desired company codes and the period and fiscal year which you want to transfer to Profit Center Accounting.
    The system then posts the payables and receivables to Profit Center Accounting under the reconciliation accounts of the general ledger. No FI documents are created in the process
    You can call up the function for transferring material stocks in Profit Center Accounting Customizing, under Actual Postings ® Transfer Selected Balance Sheet Items ® Set Up Material Stocks.
    The selection screen provides you with the choice of all company codes within the active controlling area. Select the period to be transferred. The current period is always based on the status of Materials Management. Normally, the data from the previous period is transferred.
    You access the transfer function by choosing the following path from the Customizing menu for Profit Center Accounting: Actual postings ® Transferring selected balance sheet items ® Generate opening balance for work in process.
    The selection screen provides you with the choice of all company codes within the active controlling area. You also enter the period and fiscal year.
    You generally work with the standard results analysis version 0. Should you wish to use a different results analysis version, note that this must be set up in CO Customizing for updating in Financial Accounting, as the corresponding account determination is required.
    The program transfers all changes in work in process within a single period. When running this function for the first time with a given controlling area, please select the field Create opening balance. The system then posts the opening balance to the start period. You can also post the opening balance to period 01 at fiscal year change, so avoiding having to carry the balance forward.
    You access the transfer program by selecting Actual postings ® Transferring selected balance sheet items ® Generate opening balance for assets in Customizing for Profit Center Accounting.
    The selection screen provides you with the choice of all company codes within the active controlling area. The depreciation area book depreciation per trade law (01) is provided as a default. You also select the posting period and the fiscal year.
    You should run the program in the background, as large amounts of data are normally selected. If you select the field Line item, a line item will be created for each asset in Profit Center Accounting. When handling a large volume of data, you should only use this option for test purposes.
    The system assigns assets to profit centers indirectly, via assigned internal orders or cost centers (see Assigning Assets). The program transfers the acquisition and product costs, as well as cumulated value adjustments. The accounts used for this transfer are taken from account determination for Asset Accounting.
    Note that it is only possible to calculate key figures (such as Return on Investment) in Profit Center Accounting correctly if an indirect statement of assets and depreciations is made in Financial Accounting
    Reg
    *assign points if useful

  • Accounting Doc Profit Center picked is wrongly

    Hi guys
    I have a Task of updatingg the correct Profit Center in an Accounting Document (For which the Profit Center is wrongly taken while posting)
    The issue is Stock has been transferred from one Plant to another Plant. A Material Doc gets generated and also an Accounting Document gets generated.
    In the Accounting Doc Profit Center picked is wrongly, so now the Profit Center has to be rectified with the correct one without changing or reversing or deleting  the accounting doc.
    There is a Transaction in Controlling through which we can change it Please let me know on priority. If any clarification revert back so that I can clarify.
    Regards,
    TML

    Not @ Resolved

  • Cost of sales and period accounting approach

    Hi friends,
    i have little bit confusion about
    1. What is Cost of Sales Accounting and
    2. What is Period Accounting approach in Profit Center Accounting?
    Regards,
    Siva Reddy S.

    Hello,
    For concept, pl refer to below link:
    http://help.sap.com/saphelp_47x200/helpdata/en/eb/13811243c411d1896f0000e8322d00/frameset.htm
    For Cost of sales accounting, you have to activate functional area. Revenues are only compared for cost of goods sold in COS whereas in period based, you also compare revenue reserves, WIP etc.
    Thanks,
    Sourabh

  • Assign GL account to profit center,  or plant sales office (movement 601)

    When you craete an outbound delivery (picking, packing & goods issue), it creates an Financial document (the goods issue), the goods issue have a plant and sales office & profit centre. When the financial document is created, it post to a specific GL Account, I want to change the GL Account, but don't know which field (plant, sales office, profit centre) determines the GL account, and where this setting is made, so that I can change it.
    The movement type that involve is 601. This means for every goods issue we generate, there is a accounting document, and this account document is posting to a GL account, and I want to change this specific GL account. It is not in VKOA, OKGB or GGB1.
    Thank you for your assistance

    Hi Chariold,
    G/L Account will determined based on Plant i.e. valuation area.
    These valuation ares grouped into Valuation group ( Modifier) code and
    Transaction Event ( GBB, BSX)  will determined by Movement type ( 601)
    Valuation Class will determined from Material Master Accounting view.
    Now come to OBYC - Chart of Account -- Press GBB & BSX Transaction Event
    Combination of Valuation Modifier + Valuation class _ G/L Account.
    For these activities best you plz co ordinate with ur MM Team. becasue Account determination is related to MM.
    Revert in case of any query
    Regards
    Durga Sana

  • Sales Order account assignment profit center change - Table?

    Hello,
    I am working on a project where it is necessary to convert the profit center on any open sales orders.  There are a huge number of line items to change(contracts mostly ), and the BDC process we have is taking too long (around 24 hours) for comfort, so I've been asked to develop a contingency solution utilizing direct table updates.  For the sales orders themselves, I am updating field PRCTR in table VBAP.  However, in the sales order item detail, on the tab for account assignment there is an input area for profitability segment (we are using CO-PA).  There is a field there, profit center, and I need to update that field as well.  Does anyone know what table this data item lives on? 
    Your help is very much appreciated!
    Thanks,
    Greg

    Hi,
    You should <b><u> NEVER EVER </b></u> update the tables directly. This will lead to the inconsistency of the database and the integrity of the same is lost.
    In your case If BDC is not a option take a look at this BAPI for changing the sales order - BAPI_PO_CHANGE.
    You can find the sample code here for the same.
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards,
    Ravi
    Note :Please mark the helpful answers and close the thread if this resolves the issue.

  • Help with Sales and GL accounts

    Hi,
    I have a requirement where, i need to configure an existing order type to hit a different GL account key.
    For tracking purposes, a new order reason has been defined.
    How can this configuration be carried out?
    Thanks in advance,

    1 ) Also you need to get the code added to invoice user exit RV60AFZZ in the USEREXIT_ACCOUNT_PREP_KOMPCV.
    Which Code is this?
    Answer: KOMPCV-ZZAUGRU = VBRP-AUGRU_AUFT
    2) Create a new condition table with the required fields plus order reason.
    Where should the condition table be created? And what are the fields?
    Answer: SPRO-IMG-Sales and Distirbution - basic Function - Account Assignmnet / costing - Revenue Account determination - Define dependencies of Revenue account determination
    check in allowed field. After you get the field order reason added to the field catalog, you need to go to this Allowed fields in this navigation and click on new entries , drop doen or F4 and from the list select order reason and save. Now the order reason field is available to use in tables
    TIn the same navigation as above , you can create a condition table. generally the table entires can be Sales Org / Order reason / Account key.
    Now go to the navigation  SPRO-IMG-Sales and Distirbution - basic Function - Account Assignmnet / costing - Revenue Account determination - Defne access sequences,... add this new table to access sequence KOFI.
    Now if you go to VKOA T code you will see your new table as one option. Double click on that and maintain the required entries. The accounts posting will be done based on your entries.
    Regards
    Sai

  • Third party sales revenue getting posted to Profit Center valuation in COPA

    Hi,
    We have activate profit center valuation for our operating concern.
    During normal OTC cycle (third party sales), all the data is flowing correctly in legal view for the COPA document
    In profit center valuation, only revenue is flowing and no other values like discounts, standard costs are flowing to Profit center valuation view
    My question why only revenue is flowing and not any other values. Is this way system should behave
    Thanks.

    If you have created new GL Accounts to map the Third party scenario, the pre-requesite is that you might need to create cost elemenet with category 11 or 12.
    Further only assignments are condition types assigned to value fields.
    Check if the billing type is reset under TCode KE4W.

  • Post Goods Issue Accounting Entry & Profit Center Updation???

    Dear All,
    At the time of Post Goods issue it generates an accountng entry.
    we are getting an error related to Profit center.
    we maintained profit center in the sales order. and please clarify me can we create cost element for COGS account which hits at this level.
    I am getting the following errror.
    Balancing field "Profit Center" in line item 001 not filled
    Message no. GLT2201
    Diagnosis
    The field Profit Center marked as balancing is not filled with any value in line item 001, even after document splitting.
    System Response
    The document cannot be posted.
    Procedure
    First check your entries.
    Additional causes could be:
    No value can be derived for this field from the current document data.
    You have entered a document type that is not designed for this business purpose.
    Procedure for System Administration
    Customizing
    But we need profit cener wise balance sheet.
    so please guide me.
    regards,
    shashi kanth.

    If you define document splitting criteria based on Profit Center and if your document contains multiple line items with different profit center, this type of error will come.
    To check this, Go to IMG Path -- Financial Accounting (New) --> General Ledger Accounting (New) --> Document Splitting --> Define Document Splitting Characteristics for General Ledger
    There check whether the mandatory check box is selected for profit Center.  So check in your delivery document, whether any line item does not have profit center.
    You can also have a look at any of the following notes
    a)  995055
    b)  1074689
    c)  1079819
    thanks
    G. Lakshmipathi

  • Va01- account assignment - profit center

    Hi All,
              while creating sales order i need to update profit center(cobl-prctr) in account assingment with zfield . i am using user exit userexit_save_document by passing the zfield value to xvbap strcture but its not getting updated in database. can any one please suggest where to update the value

    Hello,
    XVBAP structure should have the field UPDKZ.... , please check the field and try to pass as 'U'.....
    Regards,
    Nagaraj

  • Vendor Payable Reconciliation Account at Profit Center Level

    This is a general question about how people are tracking vendor payable reconciliation accounts at a profit center level.  We are running into scenarios where we cannot track the vendor payables at the profit center level because cross company postings are causing the document splitting to enter profit centers from different legal entities at the vendor payable GL account level.  Have other people ran into this problem? 
    Thank you for your help!

    Hi
    Your issue is not very clear. The Document Type is defined at Header and one accounting document can contain multiple profit centers
    Regards
    Sanil

  • Profit & Loss and Balance Sheet at profit center group level

    Hi,
    my client has "xxxx" as group in standard hierarchy of profit center. under this group there are further two sub groups "01" & "02". under each sub group there is one profit center "0100001" and "0200001" respectively. now the requirement is that the user would like to extract Financial Statement Version (P&L and Balance sheet) at all three levels "Top Group", "Sub Group" & profit center.Now i do know that by activating document splitting on the basis of profit center i can get FSV at profit center level through standard report "S_PL0_86000028" by specifying profit center in selection perimeters. but how can i get the same at two group levels? please help me out here.
    Regards,

    Hi
    As far as my knowledge it the only way to choose group of profit centers . as per below screen shot .. you are not permitted to choose profit center group.
    Regards
    Mahmoud El Nady

  • Transfer vendors and customers from dummy profit center to other profit ctr

    Hi all
    No. of vendor /customer transactions are posted in dummy profit center-
    How to transfer from dummy profit center to other profit centers line itemwise or balanceswise
    thanks in advance
    joseph david

    Hi Joseph,
    Acturally at the end of certain period, payables/receivables will be updated with the profit center using the TCode: 1KEK.  the program searches for the profit center in opposite line item in each document and updates the payables/receivables line item with that profit center.
    But in your case you want to transfer the payables/receivables from dummy profit center to other profit center.  You can transfer the amount from one profit center to another profit center using the TCode: 9KE0.
    Hope this helps you...
    Regards,
    Sreekanth....

Maybe you are looking for