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

Similar Messages

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

  • Assignment Profit Center to Plant on material master for Production Order

    Hi Experts
    Can you help me !
    Now I'm trying to lock a profit center to the plant.I've tried searching on the standard menu and customizing but do not get it ?
    How to assignment profit center to plant or plant to profit center.
    Regards
    Dodo M

    Hello Dodo,
    1.
    You can make an assigment between the profit center and the plant in Customizing (SPRO) in two steps (through the company code), under the following menu path:
    Step 1:
    Enterprise Structure
    Assignment
      Financial Accounting
       Assign Profit Center to Company Code
    Step 2:
    Enterprise Structure
    Assignment
      Logistics - General
       Assign plant to company code
    So, first you assign the profit center to the company code, then you assign the plant to the company code.
    2.
    Or you can use the Enhancement MGA00001 for implementing your own check in function module EXIT_SAPLMGMU_001.
    You can also check the following help to understand the relationships in details:
    Controlling (CO) - SAP Library
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/02/30793485231774e10000009b38f83b/frameset.htm
    Best Regards,
    Dora

  • How to assign profit center to Inventory accounts

    Hi
    When ever delivery happens cogs will be debited and inventory will be credited,in that case where i need to assign profit center automatically flown to all inventory accounts,at this movement it is posting to dummy profit center,can any one tell me where to assign these profit centers,i checked OKB9 and inventory accounts also not cost elements,so is there any idea how to solve this problem.
    Thanks
    Lily

    Hi Lily,
    Referring to this old mail exchange, please let me know if you have got any solution.
    I need to split the accounting entry in MB1A (QA to Unrestricted movement). In the entry Invenroty Dr ,COGS Credit , we need to spit the credit into two GL a/cs.
    Please let me know.
    Thanks and Regards,
    Hemant

  • Link between G/L Account and profit center

    Hello dear all,
    I have an issue in Intra-company process.
    I made 2 customer payment for 2 different company code:
    1/ Company 1000: i have 2 line items posted (in G/L View)
    2/ Company 2000: For the same Cash account and the same customer account used in my first case (with company 1000) i have 4 line item posted in the G/L view and with different " PARTNER PROFIT CENTER"
    I do not know wher can i find in customizing the link between G/L Account and Profit center ?
    Thank you in advance

    The document splitting is active in your company, at the same time, the "zero balance" for profit center is activated in your doc split characteristics. In order to balance the profit center in General View, it creates another line item for balancing it which is the zero balancing account or split the cash account according to profit center assignment. For some cases, they are split equally that is why it is best that you assign the profit center in the cash account upfront and create line item for each payment with different profit center assignment.
    For instance, there are two customer line items with different profit center assignment
    Customer Line Item 1 = Assigned to Profit Center 2000 amount 500
    Customer Line Item 2 = Assigned to Profit Center 3000 amount 500
    When I post a payment of 1000, the Entry View is
    Cash                 1000
        Customer                1000
    GL View
    Cash       PC 2000       500
         Customer PC 2000         500
    Cash      PC 3000        500
         Customer PC 3000          500

  • Assigning profit center for vendor to vendor transfer (F-02)

    Hi,
    We are having two profit centers and would like to generate financial statments each profit center wise for which we must assign profit center for each entry passed.
    Now we want to transfer balance from one vendor to another(which is a normal scenario in our case) with tcode F-02, but it doesn't allow us to select profit center  and at the same time it gives  an error that profit center not selected.
    kindly guide us
    Sanjay

    Hi,
    You have not mentioned teh Verison you are in.
    Assuming you are in ECC 6.0 (As the error posted seems to be more relevant for this version) and document splitting is enabled, you cannot transfer from vendor to vendor or customer as profit centres in recon accounts are not taken by system.
    So you need to take a intermediary GL account for first transferring from one vendor to  GL account where you will be giving the profit center in teh gl line item and save. After that you use same GL account to transfer th amount to other Vendor account.
    The system derives the proft center from GKL line item to teh AR/AP line items. Use F-44 or F-32 as the case may be.
    Check document type in F-02 if you are using this as document type also controls the psoting in new GL.
    Reward if useful.
    Sarma

  • Re: assign profit center to 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
    Go to VA02, input the sale order reference and execute.  There double click on the line item and select the tab "Account Assignment".   There you can see the field "Profit Center". 
    As I said in your other thread, if you have generated subsequent documents like delivery or billing, you cannot change this for that line item.  You have to close this line item by assigning "Reason for Rejection",  and create a new line item but then, b4 doing this, you should have changed the profit center in material master.
    Alternatively, if you want to update in bulk, go to T.Code MASS, input "BUS2032"  in Object Type and execute.  There select "Sales Order Item Data" and click on "Fields". 
    Select the field name "MASSVBAP-PRCTR" and execute.  Either you can input the sale order references for which you would like to change or just execute.
    Now you will have a screen "New Values" on top and below the existing sale orders listed.  Give the new profit center against the field "New Values" and execute.
    thanks
    G. Lakshmipathi

  • 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

  • Cost Center assign Profit Center Issues

    Hi Controlling Expert,
    i have one issues regarding, Cost Center assign to Profit Center
    wht happened , we have made MIS Report Thru Report Painter KE80, we have map based on   Primary Cost Element, at the time of Business Transaction, we have capture the Finance Cost center i.e FI000, Marketing Cost center i.e MK000 , HR Cost Center i,e HR000 and assign the same cost  center FI000 to Profit Center i.e FI000 also same name, respectively. in MIS report there is two Head  i.e Sustaining Cost and Development Cost ,where we have to capture only Cost center  for Sustaining Cost related  to display i.e FI000, MK000 and HR000. KE80 report belongs to Profit Center wise you can see the Report. But same FI000, MK000 and HR000 also updated related with business transaction and capture above cost center like in depreciation  GL Amount 1000 cost center FI000 and sustaining cost also updated the same amount 1000 because we have assign FI000, i.e wrong . last 3 months post the amount now wht should I do for not updated sustaining cost, as I understand , should be delete sustaining Cost as well Development, and later on we can take report from KSB1 for FI000, MK000 and HR000, for management purpose, so if I cannot assign profit center FI000 to Cost Center .kindly correct me whether ryt or wrong. Coz Fianance, HR cost and marketing is only cost center. not suppose to assigh profit center, in this case how Profit Center removed from Cost center. kindly let me knw, or give me other option.
    wen we see the report same Profit Center showing two times along with amount i.e wrong coz of Sustaining Cost we have assign Profit Center
    in this report particulars are Below
    Revenue  : Relevant GL ( At time of Business Transaction we have captured the Relevant Profit Center i.e Finished Product i.e R100: RA Tube
    and RA Tube R100 assign with same Cost Center R100.
    B.Material Cost : Relevant Primary Cost Element
    Manpower      : same like Above
    2.Energy            : same like Above
    3.Consumption   : same Like Above
    Conversion Cost (1+2+3)
    Sustaining Cost   : Here we have given Profit Center i.e FI000, MK000 and HR000 these profit center assign 
    Development Cost : Here we have given profit Cente EN000
    Profit      (A-B-C-D-E-F)
    G.Depreciation : Relevant Primary  Primary Cost Element
    Financing Cost : Relevant Primary Cost Element
    I. Other Income/Loss : Relevant Primary Cost Element
    PBT : (F-G-H-I)
    Kind regards
    Pranav Kr. Gupta
    SAP FICO Consultant.

    Hi Pranav
    You are logging same issue twice. I didnt see any difference in the two threads though.
    If its the same issue, request you not to repeat this in future.
    KE80 report two times value effected
    Regards
    Mustafa

  • How to assign profit center to automatically generated line items

    Hi, Experts,
                       My problem is that I want system automatically assign profit center to automatically generated line items.
                       Eg.
                             (Vat is @ 10%)
                                        Transaction                             Amount                            Profit Center                    
                              Purchase                   Dr                    Rs.1000/-                           XYZ
                              Vat                             Dr                    Rs.100/-
                              To Vendor                  Cr                                      Rs 1100/-
    Here I have to assign Profit Center in VAT G/L by double clicking on it, in reality, system should automatically assign profit center to VAT G/L same as to purchase, because this vat amount belongs to same purchase G/L.
    Kindly help me
    Thanks in advance

    Hi,
    1. In which SAP version you are working ? Are you using SAP 4.7 or ECC 6.0. ?
    2. If you are in ECC 6.0, have you activated New G/L ?
    3. Segment reporting is happening with Profit Center is one of the scenario ?
    Auto updation of Profit Center will depend upon these conditions. Accordingly one can provide you the solution.
    Regards,
    Shridhar

  • 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

  • Region wise profitablity "Not Assigned Profit Center (s)"

    Hi,
    In report drill down at Region wise profitablity in BEx "Not Assigned Profit Center (s)" is showing how can this error be solved ?
    Thanks and Regards,
    Richa

    Hi Richa,
    I would first check, if the loaded Hierarchy is correct and activated. Then look on the Query which gives the "Not assigned" entry and look which Subregion is not assigned. Check with Source system, because it is a very good possibility, that the assignment is not done there.
    Usually: Do not hesitate to assume that BI/BW shows the correct data! Especially if the BI/BW was reliable for some weeks.
    If some error like this does show up, first check in the source system. In our environment, about 90% of errors of this kind are due to inexperienced Source system users, or new requirements which were just implemented in the Source system without telling the BI/BW crew.
    Kind regards,
    Jürgen

  • How to Assign Profit Center to a Sales district

    Hi,
    How to Assign a Profit Center to a Sales District thru standard configuration.

    Have you checked in IMG path and observed where we assign Profit Center?  Please do some analysis before posting here.
    G. Lakshmipathi

  • 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

  • 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

Maybe you are looking for

  • From Database into JTable

    Hi! I have a ResultSet from a database query (select * from table) and I plan to turn it into a Object[][] in order to satisfy one of the DefaultTableModel's constructor ("DefaultTableModel(Object[][] data, Object[] columnNames)") and place it in a J

  • S12 Easy Cam not working after upgrade to Windows 7

    Upgraded to Win 7 all went most well but the easy cam no longer works. When you do the FN-ESC the icon indicates that the camera is turned on but no screen with an image appears. Any help would be great, thanks in advance. Best Regards Brian

  • Issue with rdcmndGotoSlide command

    Hi, We have developed an e-learning course in which there is one Shell Engine SWF which has all the navigation controls such as 'Back', 'Forward', 'Play', 'Pause' 'Replay' etc. In this Shell Engine SWF we are externally loading SWF files which are ex

  • Accept email address someuser@[10.0.0.1]

    Apparently, email servers are supposed to allow emails sent with address as someuser@[10.0.0.1] (where 10.0.0.1 is whatever ip address is assigned to my email server. Seems that my current config of MS 5.2 does not allow this and returns the followin

  • IMac 24in screen gradient

    First let me apologize if I am repeating a post... I know that there has been a great deal of discussion online about gradient issues on the 24in iMac (mine is early 2007) however I have been unable to find any details or response from Apple themselv