Lock the profit centre change via CJ20N and CNMASS tcodes

Hi Friends,
I have a requirement where in user should not be allowed to change the profit centre of Project Definition and WBS via tcode CJ20N and change the profit centre of Project Definition, WBS, Netowok and Activity via tcode CNMASS.
I could achieve the profit centre lock for PD, WBS and Network by Implementing BADIs PROJECTDEF_UPDATE, WORKBREAKDOWN_UPDATE and WORKORDER_UPDATE.. The implemented BADI 'WORKORDER_UPDATE 'is reachable while changing profit centre of Activiy as well. But the details of the changes of activity is not visibile inside BADI.
If anybody has any input for this, it would be appreciated.
Thanks,
RK

Thanks Martin,
Small scenario here..I have created a Validation and In prerequisite of Step001, I have kept a condition Transaction Code = CNMASS. Structure AFVGD is visible.
I have created an Exit PLOCK, but when I keep a Break Point in the ABAP Routine of PLOCK(Both soft and hard Break Points), the Control doesnt stop in those break points when I run the transaction CNMASS.
I think some understanding in the concept is missing in my part. Please suggest to help me fill this gap.
Regards,
RK

Similar Messages

  • MIRO User - Exit to Change the Profit Centre..?

    I need to change the Profit Centre in the Accounting document(for Vendor Line Item) and Profit Centre Accounting Document(For Payable Line Item) Created by MIRO Transaction.Can any one let me know if there is anyuser-exit or badi to achieve the same
    Thanks a lot for your help .
    Regards,
    Gopi.K

    hi
    These are all the user exits avalilable for MIRO transaction.
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    I think you can use this exit.
    LMR1M002 
    Regards.
    Lavanya.

  • Change the profit centre in the cost centre master after a year

    Hi All,
    Could you'll please let me know whether it was possible to change the profit centre in the cost centre master and if i did what will be the implications.
    Thanks and Regards,
    Vandana

    Refer transaction code OKEG.
    You can maintain master data for cost centers, cost elements, activity    
    types, and business processes with time dependencies. You can make        
    changes at any time for any given time interval. Data storage also takes  
    place with a time reference. In this way, a master data record can have   
    multiple database records storing different information.                                                                               
    The smallest interval is one day. To ensure data consistency, you cannot  
    change each field daily. The timeframes in which you can change a field   
    depend on the field functions, which are fixed by the system and cannot   
    be changed. Master data maintenance includes an automatic check for each  
    field's time-based consistency, resulting in individual time-based        
    maintenance for each field.                                                                               
    The following dependencies are supported:                                                                               
    o   Not time-based                                                                               
    o   Day-based                                                                               
    o   Period-based                                                                               
    o   (Fiscal) year-based                                                                               
    This function provides an overview of the time dependencies of           
    individual master data fields during master data maintenance, along with 
    checks and storage of consistency timeframes. You find this information  
    in the "Time dependency" column.                                                                               
    If you use fields requiring characteristics greater than one day and     
    which are changed for the system lifetime of the object, the system      
    automatically creates a new database record for this processing          
    interval, and changes the time-based validity of existing records. The   
    change is logged in the master data record with the time reference.      
    However, a great number of changes in multiple timeframes will result in 
    a correspondingly great number of data records.                                                                               
    Fields which you can change freely (indicated in the DAY column) can     
    possess different time dependencies only if you mark them additionally   
    as historically relevant. This activates the time-based updating for the 
    records.
    Object 1000 has one master data record created with a fiscal year of 12 
    periods and the cost center name AAAAAAAAAA. During master data         
    maintenance, you change the cost center name in period 5 to BBBBBBBBBB. 
    The system reacts with one of two options.                                                                               
    o   "Name" is marked as historically relevant. The existing master data 
         record for periods 1 - 12 must now become three records:            
         1000   01-04   AAAAAAAAAA                                           
         1000   05      BBBBBBBBBB                                           
         1000   06-12   AAAAAAAAAA                                                                               
    o   "Name" is not marked as historically relevant. The existing master  
         data record remains intact, with the name changed for the entire    
         existence of the record:                                            
         1000   01-12   BBBBBBBBBB
    Edited by: Ravi Sankar Venna on May 19, 2009 4:03 PM

  • How to change the Profit centre in goods receipt before posting

    Hi All,
    when we are doing MB01,  material master and Purchase order  are  having different profit centres, since legacy has multiple profit centre for the same material.
    My requirement is to change the profit centre before posting a Goods receip with the Purchase order Profit centre.
    Is thre any user-exit, Badi or Substitutions for this requirement.  I have implimented the below code in the Badi
    MB_DOCUMENT_UPDATE.
    data : ls_xmseg type mseg.
    ls_xmseg-Profit Centre = .....
    ls_xmseg-prctr = '0020077170'.
    modify XMSEG from ls_xmseg transporting prctr .
    But i'm getting Data base update terminated message. Please help me in this.
    thanks,
    Ram.

    Dear Sir,
    But is T-code not working ....
    have you other code/ process so, pls. give me ....
    Pls sir
    Regards
    Jayesh Kanungo

  • Profit centre - block for posting and put as inactive status

    Hi Guru,
    I want to block a profit centre from being posted to AND put the status as inactive.
    I checked on the Lock indicator and the profit centre automatically becomes inactive.  However, I can still post to the PC.
    I noticed that if the PC has an "Active" status and the lock indicator on,  then I cannot post to the PC. 
    What have I missed?  Do I need to make the setting in a special sequence??
    Linda

    Hi,
    Here is the step-by-step:
    1.Go to T-code KE52 and call up your profit center
    2. Go to the Indicators tab and put a check in the Lock indicator
    3. Save:
    Note that this will save your changes in an Inactive Status. You may be thinking that is a good thing and that youu2019re doneu2026I was.  But youu2019re not.  If you go to FB50 or 9KE0 and try to post to that profit center, it will let you post away all day long.  One more step.
    Click the Match stick button to Activate your new state:
    Do not mess with the Validity periods unless youu2019ve got a good reason to.  The real key here is setting the Lock indicator and making sure that is Active.  Think of it as Actively locking your profit center.
    Thank you
    Pradeep

  • Profit Centre posting via MR21

    I'm posting a material price change via transaction MR21.  I've changed the GL account to a P&L account and so aswell as an FI posting I'd also like a PA posting, a profit centre posting and a CO posting.  These are all happeningok except for the factthat the profit centre that is being posted to is a dummy profit centre rather than the profit centre on the material.
    Does anyone have any ideas how I'd change this?  I've looked in config but can't find anywhere.
    Many thanks for anyhelp.
    James

    James,
    Check the error message.  We had a similar problem.  I had to remove the P&L account in question from the set that is tied to the Dummy profit center (GS02).  Once it is removed, you can manually post to the specific cost center that is tied to the specific profit center.

  • To override the profit centre derived from account assignments

    Hi SAP GURUS
    I had assigned a profit centre in 3KEH in ECC6.0 (New G/L is not activated, hence using 3KEH) for a particular G/L account.
    But when i do a MIRO, the profit centre is derived from the PM order.
    I want the settings in 3KEH to override the Profit centre derived from PM order.
    Kindly guide me to overcome the issue.
    Regards
    R.Karthigayan

    Hi,
    As you need to only change the profit centre , when you have a PM order in MIRO. Then i would suggest you use a Validation & Subsitution Rules.
    Validation should check whether a MIRO has PM order or not, If yes then it should do the PC Change.
    Regards,
    Siddique

  • Why we maintain the profit centre in MM module?

    Hello,
    I want know, why we maintain the profit centre in MM module?
    Ram Rathode.

    You will find this useful -
    A profit center is a section of a company treated as a separate business. Thus profits or losses for a profit center are calculated separately. A profit center manager is held accountable for both revenues, and costs (expenses), and therefore, profits. What this means in terms of managerial responsibilities is that the manager has to drive the sales revenue generating activities which leads to cash inflows and at the same time control the cost (cash outflows) causing activities. This makes the profit center management more challenging than cost centre management. Profit center management is equivalent to running an independent business because a profit center business unit or department is treated as a distinct entity enabling revenues and expenses to be determined and its profitability to be measured. Business organizations may be organized in terms of profit centers where the profit center's revenues and expenses are held separate from the main company's in order to determine their profitability. Usually different profit centers are separated for accounting purposes so that the management can follow how much profit each center makes and compare their relative efficiency and profit. Examples of typical profit centers are a store, a sales organization and a consulting organization whose profitability can be measured.
    Note : Do not copy & paste from other sources
    Edited by: Jeyakanthan A on Jun 1, 2011 12:03 PM

  • How to get the profit centres determined in automatic payment run - F110

    Hi,
    In F110 - Automatic payment run, is it possible to get the profit centres determined ?
    While doing manual payment, system gives the option to enter the related profit centres.
    But in F110 how can I get the profit centre (cost obect) selected ?
    Could anyone help ?

    Hi
    I assume you are referring to the PC for the Bank account?
    You can define the default PC in 3KEH.
    Rgds
    Nadini

  • [svn:osmf:] 16197: Config file changes to reflect the folder structure changes of libs and plugins

    Revision: 16197
    Revision: 16197
    Author:   [email protected]
    Date:     2010-05-18 15:07:01 -0700 (Tue, 18 May 2010)
    Log Message:
    Config file changes to reflect the folder structure changes of libs and plugins
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flexcov
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml

    Grant,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • HT5621 I changed my ID Apple with another email, i received the confirmation, i changed my password and also received the confirmation but when i try to download something on my iPhone it still shows me my okd email and nothing works ! ahhhhh what and how

    I changed my ID Apple with another email, i received the confirmation, i changed my password and also received the confirmation but when i try to download something on my iPhone it still shows me my old email and nothing works ! ahhhhh what and how do i solve this ?

    On your iPhone go to Settings > Store.
    Select the Apple ID at the bottom.
    Select Sign Out at the menu selection provided.
    Follow this by signing in with your new Apple ID/iTunes store account.
    All apps - all paid and free apps include DRM protection which is tied to the iTunes account that was used to download the apps. In order to install an app update for the apps downloaded with your previous Apple ID/iTunes account, you will need to use that account and password.

  • I created a multi-layered Photoshop file and the backgroud layer changed to gray and all other layers whacked out. I tried reopening it and restarting photoshop. What happened to my file?

    I created a multi-layered Photoshop file and the backgroud layer changed to gray and all other layers whacked out. I tried reopening it and restarting photoshop. What happened to my file?

    Your file is most likely toast, but still:
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • I used the youtube mp3 converter via Safari and I can't find where the music downloaded to.  It isn't in iTunes or my music library.  Any help would be appreciated.  Thanks.

    I used the youtube mp3 converter via Safari and I can't find where the music downloaded to.  It isn't in iTunes or my music library.  Any help would be appreciated.  Thanks.
    I should say that I am doing this on the iPhone4 and not a laptop.

    I believe that there is an app called MxTube that lets you download high quality youtube videos to your iPhone

  • How to change the profit centre during deliver?

    i have an error during report generation.
    'profit centre 'xx' not valid for company code 'abcd' '".
    how to overcome this issue as i am unable to do the PGI.
    let me know if any one has fced the issue
    thanks
    mmn
    <REMOVED>

    hi,
    GOTO -> KE53-> enter ur controlling area-> prress  enter> key in the profit center which is having problem press enter-> This will take u to the screen, goto COMPANY CODE tab---> tick the company code in which it showing errror
    regards,
    Arun prasad

  • Profit Centre in F-38 and F-55

    Hi
    Good day to you.
    In Statistical Posting in Vendor and Customer (T Codes F-38 and F-55), Profit Centre field is not available.
    We tried to achieve Posting to Profit Centre Field in F-38 by substituting the value entered in Assignment Field (ZUONR) into Profit Centre.
    The following is what we did:
    1. First we said If Company Code = "XXXX" then Substitute Profit Centre Field with value in Assignment Field.
       It worked fine for entries through TCode F-02 as well as F-38 (meaning the values in Assignment Field was substituted in Profit Centre Field.
    But since we wanted to restrict this Substitution to only the Transactions posted through F-38, the Prerequisite was changed to
    2. If Company Code = "XXXX" and Transaction Code = F-38, then Substitute Profit Centre Field with value in Assignment Field
    and posted a Transaction through F-02, Profit Centre Field is not substituted with Value in ZUONR.
    But strangely even for Transactions through Transaction Code F-38, Profit Centre Field is not substituted with Value in ZUONR.
    If anybody could throw light on why this prerequisite is not working and how to get around it.
    I would be really very grateful for all assistance in resolving this matter.
    Regards
    Siddique

    Do a test with the simulation on Substitutions
    From menu: Substitution / Simulate
    An other option is:
    Extras and use from there the trace.
    perhaps it is little type error in your substitution

Maybe you are looking for

  • G6-2102 ev card reader?

    Greetings. The laptop G6-2102 EV has a "Multi-format digital media card reader". What do I need to get/buy to read a micro sd for exaple? Some sort of adapter accessory? This question was solved. View Solution.

  • Urgent -Create  RFC for update the database and delete from the database

    Hi Guy's, Please help me how  to create the RFC for update to databse and delete from database(step-by-step) procedure. Thanks and Regards, Sai.

  • Uploading photos from Aperture3 for others to download?

    I want to upload photos to icloud , so the friends can see and download them. Wasn't that a feature of mobileme? Where has that gone? Can't find it. Got all the newest software.

  • Jerky playback in viewer

    I have been searching the forums and can't seem to find an answer. When I open any clip in viewer, the playback is jerky. When playing the same clip from the timeline or canvas, it plays normal. I have tried all the usual suggestions, such as making

  • Smart Object in Photoshop

    Hello All, How do I import an illustrator file into photoshop as a smart object and retain the spot color? Thank you... Paul