Change profit center in F-28

Hi All,
In F-28 ,  SAP code is not able find the profit center at line item level from material master data, so it keeping "OTHER" as default value for the profit center.
But I want profit center value to be populated based on Company code,GL Account, business area.
Is there any place where I can assign profit center values to be picked based on Company code,GL account and business area ?? or is there any user exit in F-28?
I don't want to use validation or substitution rules becasue they apply for all FI transactions, I want only for F-28 transaction.
Please let me know if any one has solution.
Thanks,
Sonlai.

Hi Sonali ,
You can use validations and check for the t-code in the validation i think .
If syst-tcode = 'F-28' <- This has to be 'FBZ1' .
                         ( Thanks to Suman )
.... " your code will be here
endif.
Hope this works
Regards
Caglar
Message was edited by:
        Caglar Ozkor

Similar Messages

  • How to change Profit center in production order

    Hi guys,
    I have to change Profit center value in production order. Order has been created and released also. How to change, if i directly change system throwing error...Please suggest me in this case.
    RGDS
    Dos

    Then Go to OBA5 enter the KO  Application area
    Add the 367 message and  your user iD enter warning in online and Batch,
    After that You can able to Change the   profit center in Order with warning message in Order

  • Change profit center for accounting document on item line

    HI
    I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?

    HI,
    possible reasons are :
    In GR document profit center pulled from PO Material :
    If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
    If you have ordered without material code, than check cost center assigned Profit center by 1KE4

  • Changing Profit Center in Partially Delevered Sales Order

    Dear Experts,
    Can anybody tell me how we can Change Profit Center in Partially Delivered Sales Order?. in Standard, System allows to change  PC in open sales Order without any subsequent documents.
    There is business requirement to change PC in all Open Sales Orders.
    br,
    vgl.

    Try this.
    Go to MASS, Key in Object Type BUS2032, select Table MASSVBAP and click on "Fields".  There select the field "MASSVBAP-PRCTR" and execute.
    Next paste those open sale orders and again execute.  There maintain the required Profit Center on top cell and click Carry out mass change.
    thanks
    G. Lakshmipathi

  • Changing Profit Center in PartiallyDelevered Sales Order

    Dear Experts,
    Can anybody tell me how we can Change Profit Center in Partially Delivered Sales Order?. in Standard, System allows to change  PC in open sales Order without any subsequent documents.
    There is business requirement to change PC in all Open Sales Orders.
    br,
    vgl.

    Hi,
      I think note 580216 should solve your problem. Please read this note carefully
    regards
    Waman

  • Change profit center assignment in cost center

    Hi All,
    We have around 20 cost centers and assigned to 10 different profit centers.From 01/01/2011,we would like to change Profit center assignment in cost centers.
    all cost centers postings should post to old profit centers till 12/31/2010 and from 01/01/2011,postings should go to new profit centers.
    What is the best way to achieve this?any help is appreciated.
    Thanks,
    Anusha

    Hi Ajay,
    Thanks for your reply.profit center changes are working with analysis period changes.
    i have one more issue here,i can't change hierarchy in cost center and getting errors..
    Message no. KS042
    Diagnosis
    Field Hierarchy Area to be changed must be unique for the entire interval. You selected a change interval which does not include the entire period. Any change in the field would result in an inconsistency.
    I have try to change time depended field in configuration.system is not allowing for field "KHINR" in OKEG TC.
    any help is appreciated...
    Thanks,
    Anusha

  • Changing profit center from 2001010003 to 2001010004 is not permitted

    Dear Sir
    I had copy a cost centre to create cost centre by t code OKEON, in which profit center not change by mistake. Now I want to detach old profit centre & attach new profit centre with cost centre. However, I am not able to change Kindly help me in this regard.
    Regards...Kaushal
    *Changing profit center from 2001010003 to 2001010004 is not permitted
    Message no. FAGL_ORG_UNITS011
    Diagnosis
    You want to change the profit center from 2001010003 to 2001010004. However, this is not permitted because transaction data already exists for the account assignment object. Changing the profit center in this instance can lead to inconsistencies in FI.
    Example:
    There are costs on a cost center (WBS element) to which profit center A is assigned. If the profit center in the cost center master record were now changed to B and the costs then distributed to other cost centers, the currently assigned profit center - that is, profit center B - would be credited. Profit center A, however, would still have a debit posting.
    System Response
    The action is terminated.
    Procedure
    If you want the change in profit center to be possible, you can convert this error message into a warning message. You do this in the IMG activity Change Message Control (work area FAGL_ORG_UNITS, message number 011). In this case, however, you need to examine the possible effects that the change in profit center would have on the relevant balance sheet in FI.
    With Best Regards
    Kaushal K Maheshwari

    Mate,
    you have 2 options.
    1. Create a new cost center and asign the profit center. after that, distribute the line items from old to new.
    2. Go to OBA5 - Work area "FAGL_ORG_UNITS"
    Press enter
    Here, create the mesage number as 011     Online - select "Warning"
    Now go anc change the Profit center  (This is not actually suggested, but if your Client is okay to maintain, then you can)
    Thanks

  • Cannot change profit center in profit segment

    i have a problem while changing profit center in profit segment via t-code VA42.
    system is not allowed changing them after the contract item was billed.
    by checking characteristic derivation rules in t-code KEDR.
    system issue message "This derivation step is predefined and cannot be modified or deleted." for PRCTR field.
    I think it's the result from characteristic derivation attribute which set to "Do Not Overwrite If Fld Already Filled."
    can anyone help me change them into "Overwrite with New Value Only If New Value Found."?
    or anyother suggestions?
    best regards,
    Panuwat Sarunsiri
    PS. my SAP system is 4.6C

    The following are created as profitability segments by deafault which we cant change.
    Controlling area
    Company code
    Business area
    Profit center
    best regards

  • How to change Profit Center

    Dear PS Gurus,
    Kindly help me out on this.
    My Query:-
    I am trying to create a PO using the T-code ME58. When i am selecting the PR and adopting it i get a message as "Profit Center was set to 9999". However i want to post the data to profit center 1300.To do so the system is asking me to to assign the PSG, cost center or other object to that profit center as well.
    Diagnosis by the System
    You entered profit center 1300 or transferred it from a previous transaction, such as material receipt from an external order. However, the system derived the profit center 9999 from the account assignments.
    Kindluy suggest as to where i should go and change the profit center so that i dont get the error message while creating the PO.
    Points will be rewarded.
    Regards,
    Gokul

    Dear NAG,
    As suggested i checked the Proift Center in t-code OKB9. I found the details as follows:
    CoCd - 1000 (IDES AG)
    Profit Center - 9000 (IDES Portugal)
    Cost Center - This field is blank
    Cost Element - 800000
    I checked the profit center in the material master also and found that the profit center 1300 is assigned, which is fine. Also i checked the profit center in my project. There too the same profit center has been assigned.
    I changed the profit center from 9000 to 1300 in t-code OKB9, and tried making the PO.But still i am getting the same error.I have checked the entire list of profit centers assigned to CoCd 1000 in t-code OKB9 but nowhere i could find the profit center 9999 assigned. I am confused as to from where the system i picking up this profit center (9999). When i checked the details of the profit center 9999 it was found that it is a Dummy profit center but i dont know where it is assigned and from where the system is picking this Profit center.
    Request you/anyone to knidly help me out in solving this issue. For your information i am trying this example in IDES.
    Please help me out.
    Thanks & BEst Regards,
    Gokul

  • Change Profit Center in FI/CO document for Network or WBs

    The client does not want to change the profit center assignment on the network or WBS.
    Finance would like the ability to change the profit center when the FI/CO document is created.
    When trying a FI or CO substitution , we keep getting an error message stating that the profit center cannot be changed on the object.
    The account assignment from the object will overrride any attempt to change the profit center via substitution.
    Does anyone know a solution to the problem.
    We are investigating adding an enhancement when the error message is called. 
    Thank you,
    Jeffrey

    But, have you maintained 3KEI settings for derivation. This would give you additional flexibility to define your default account assignments. If still 3KEI is not sufficient, you can try amending the following message KI399 in OBA5. Before, making changes, you should know the implication. My question is what is the business need to change the Profit Center. Why cannot the users enter the correct WBS Element / Order, which contains the correct profit center?
    =================================================
    Following is the help.
    Message no. KI339
    Diagnosis
    You entered profit center FD999 or transferred it from a previous transaction, such as material receipt from an external order. However, the system derived profit center DUMMY from the account assignments.
    System Response
    The system automatically determines the profit center from the assigned profitability segment, cost center, order, project, network, sales order, or cost objects. This overrides the profit center you entered manually.
    Procedure
    To post the data to profit center FD999, assign the profitability segment, cost center or other object to that profit center as well.
    If the posting to profit center DUMMY is correct, no further action is necessary.
    This message is sent as an error in the standard system. You can make the message a warning or deactivate it entirely in Customizing. Use the Implementation Guide under "Controlling: General" and choose Change message control. Enter area KI and message number 339.

  • Tbb1 - changing profit center in FI document account

    Dear all,
    i need to change the profit center and the movement type when i create the document account with transaction TBB1.
    movement type: I CHANGED THE METHOD  ACCIT_RMVCT_EXIT IN INTERFACE IF_EX_TPM_ACCIF_TRAC And it is ok.
    prctr : I created a new method in interface class but for changing interface i need a development key; is there something that i can do to change prctr or i need to change standard sap ?
    thanks a lot
    Elena

    Hi Elena,
    Probably the class is doing its job OK but FI is not accepting the document because some field is missing. In most  SAP implementations I have seen, the profit center is not informed directly. Instead, you inform the cost center and the system determines the profit center automatically. Can you check if the cost center field is filled in the ACCIT structure when itu2019s sent to FI? Iu2019m thinking some information needed by the CO module in order to post to a profit center is missing.
    Regards,
    Daniel
    Edited by: dmfdmf77 on Mar 30, 2011 12:43 PM

  • MB1B / Change profit center in Exit, Badi or Enhancement

    Hi guys,
    we're doing transfer postings in MB1B with reference to existing returns. In the return item a profit center different from the material master is entered. MB1B is creating the material document with the profit center from the materal master.
    The requirement is to get the profit center from the return into the material document.
    I have tried various ways to meet the requirement:
    - Badi MB_DOCUMENT_BADI
    - Badi MB_MIGO_ITEM_BADI
    - Exit EXIT_SAPLIE01_007
    - Enhancement ENHANCEMENT-POINT SEGMENTDATEN_MAT_SETZEN_03
    - Enhancement ENHANCEMENT-POINT MM07MFM0_M_SEGMENTE_GENERIE_04
    In MB_DOCUMENT_BADI and EXIT_SAPLIE01_007 the profit center can't be changed, MB_MIGO_ITEM is not run through.
    In the 2 enhancements the value can be changed, but the profit center in the material document and the follow up documents is still taken from the material master.
    Does anybody know where I can change the profit center in this case? (Badi / Exit / Enhancement).
    It's a requirement that MB1B has to be used, so using MIGO for this is not a solution.
    Thank you very much!
    Best regards, Andreas

    Hi,
    Enhancement - MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.  is called in the update task.
    This could be useful.
    Thanks
    Sujay

  • Change Profit center in the SD / FI CO interface to invoicing

    Hi,
    I am trying to change the profit center (resuting from a sales order) in some lines of ACCIT when posting the Fi documents for a sales invoice. This is done in the function exit exit_saplv60b_008 and generally works fine.
    However, in our case the profit center is changed again to the profit center of the original sales order because the sales order is the "real" costing object.
    This is done way after the function exit in the form routine SUBST_FROM_REAL_OBJECT of include LKAIPF2D.
    Also chnaging the PRCTR in the BADi AC_DOCUMENT, Method Change_ after_check does not seem to work, because the aforementioned SUBST_FROM_REAL_OBJECT is called again afterr this BADI.
    How can I change the PRCT for some lines of the FI document  ?
    Any help is greatly appreciated.
    Thanks
    Marcus

    Hi,
    thanks for the hint.
    I have tried the substitution already. The effect is: Yes I can change PRCTR for the whole sales order. All FI postings are then done with respect to the new PRCTR.
    What I want is changing the PRCTR for individual lines of the FI document as I can do in the FunctionExit mentioned above.
    This is not possible with substitution because in the end of the posting SAp standard again runs through the LKAIPF2D include performing the SUBST_FROM_REAL_OBJECT coding. There all PRCTR information is chnaged for every item line of the Fi document back to the sales order PRCTR.
    What can I do ?
    Thanks
    Marcus

  • Error MM335 when trying to change profit center on material master record

    We are trying to change the profit center that is assigned on the u201CSales: general/plantu201D tab in the material master (same as what shows on the u201CCosting1u201D tab of the material master).
    The following error message appears:  u201CYou want to change the profit center but there are still material stocks u2013 Message no. MM335.u201D
    Our SAP version is SAP ECC 5.0 with support pack 19.
    This particular material that we are trying to change only exists within one plant and one storage location in SAP.
    I have done the following in order to try and resolve this issue:
    1. Removed all inventory from the inventory management and warehouse management side for the material.
    2. Closed all open purchase orders and process orders for the material.
    3. Looked at the MD04 screen to verify there are no outstanding documents for this material.
    I also searched for OSS notes and found note #1249513 which was applied to our sandbox environment.  This note did not fix our problem.
    I had a developer to debug the code that is being triggered upon making a profit center change.  Two important pieces of information he found is that the SAP code is:
    1. Looking to see if the u2018New G/Lu2019 is turned on and u2018profit centeru2019 is active in the new G/L.
    2. Looking to see if previous period stock exists for the material.
    The code is then setting a flag which causes the error message to appear.
    I have found other comments in the forum stating to change the error to a warning for message MM335.  I believe this is not the correct solution; as this would allow a change to a profit center even if stock exists, open orders exist, etc.  I also know we could trick the system by temporarily changing the message to a warning and sending that through to production, changing the material master and following up with a transport to change the message back to an error.  This would work, but we want a final resolution to this problem.
    I believe that 2 OSS notes that were included in our latest support pack upgrade has caused this problem.  Those notes are: 1057674 and 1106510.
    I plan on opening a note with SAP, but was wondering if any users have experienced this same problem after a recent support pack upgrade.
    Regards,
    JH

    Following is additional information regarding this problem.  We were able to successfully change the profit center on some of our materials by making sure there was no stock in previous period and current period (and no open sales orders, purchase orders, etc.).
    - JH

  • RE - Change profit center and cost center after LO activated

    Hi ppl, One question. Is there any harm if we change the profit center and cost center of the business entity, building, rental unit only after the lease out has been activated?

    No need to change the cost center, as you want to have valid from date as 01.10.2010.
    Having profit center before that date is not an issue and does not have any negative impact.
    Regards,
    SDNer

  • BTE for changing profit center based on MCN values

    Hi ,
    I need to change the profit centre value in accounting document line items based on MCN number. The iMCN value is updated in a BTE .We tried using substitution but since BTE is triggered after substitution ,MCN value is not updated. Kindly suggest a way to achieve this .
    Regards,
    Mohammed Aslam

    Hi Srilakshmi,
    There is no field for changinf  Profit center in that BTE.Now thinking of adding PRCTR using append structure to BSEG_SUBST and achieve it.
    Will let you know if it works.
    Thanks for the reply
    Regards,
    Mohammed Aslam Rasheed

Maybe you are looking for