CJ20N Project Builder Validation Programming - Assistance requested

This is a how-to request.  I am trying to validate user entry at save time in the CJ20N Project Builder (Project Systems).   The desire is to enforce that the project, wbs, and network company codes are all the same prior to saving a NEW project. 
The problem I am having is on the scenario in which a user creates a new project by copying an existing project or standard template.  If the user changes the company code on one or more wbs before saving it,  the wbs table in abap memory prior to saving does not reflect this change.  The table is called CJ_BUF_PRPSxxx99999999 where xxx is the client number (mandt).
Thus any attempts to loop at this table to validate the company code against the parent project are futile.
I have contacted SAP on this  issue and they insist that it is not a bug.  I need an alternate solution.
Any help would be appreciated.

I solved this problem myself by stepping through the debugger between the user exit and the actual save routine.  I was able to find the correctly populated internal table to loop at.  It was called PSTAB.

Similar Messages

  • How to change company code in Assignment tab (CJ20n-project builder)

    Dear All,
    Is there any config to maintain company code in assignment tab (project builder) ? We have a problem in our project. It shows that in basic data, user put company code A (in basic data) but in Assignment tab they put different company code let say B. When we do settlement , two accounting document created to company code A and B. By right it should be only company code A. In addition, we cannot change the company code, when the status is already Release (REL).
    Please help how to change the company code B to A and how to reverse the accounting document that has been created under these two accounting document.
    Thank you.
    Best Regards,
    nies

    Now I understand your scenario, you have the Requesting Company Code and the Company Code Different.
    You usually use this primarily with IM module if you want to manage the asset under construction (cross company) belonging to a different i.e., company code (Requesting ) than company code on main WBS.
    You can not change the company code (Assignment Tab) as you already have actual posted against it.
    You've also created an AUC (in wrong company code) and even if you reverse the settlement you would not be allowed to delete the AUC or the delete the settlement rule (its grey out as its already used)
    What I can suggest is to reverse the settlement, lock this WBS which was created wrongly, create a new WBS and then continue with you regular process.
    Above are my views but you can expect views from others.
    Regards
    Sreenivas
    Please close the post if satisfied.

  • CJ20N project builder restriction on plant or company code

    HI there
    I hope this is in the right formum..
    I just cannot seem to get the transaction CJ20n to check on orglevel Plant (WERKS) or Company code (BUKRS).
    When displaying or changing a project people should not be able to  access projects from differents companies (or plants). When I look at the basic data, organisation fields of the project, there are CO area and Business area, as well as Company code and plant. On one of the last (company code or plant) I want to have an authorisation check wether the user is allowed to display or maintain the project
    when I trace the actions, I only find checks on
    C_PROJ_KOK (controlling areaa)
    C_PROJ_PRC (profit center)
    C_PROJ_VNR (project manager)
    but they are not company specific here
    I activated object C_PPBD Authorization for maintaining planned independent requirements SAP note 635612), but this is not being checked on transacton start or when changing project meta data e.g. description.
    Has somebody any ideas/tips on howto get CJ20n to check on WERKS (plant) or BUKRS (company code)? I would be very thankfull
    Jos

    Jos,
    It looks like your question got hijacked, so a shot at your original question regarding CJ20N:
    If you want the check upfront and not inside the transaction, then you could add it in transaction SE93. but this will only prevent the user from starting the transaction, not using it.
    If the check on F_BKPF_BUK or whatever is not coded anywhere in CJ20N, then adding or removing SU24 indicators will not help. You could try to look for a user exit ("Enhancement transactions CMOD / SMOD)). I would ask this question in the CJ20N forum.
    You could open a development request with SAP, but there would most likely need to be a few more customers with the same request or a realy good reason to add it before this materializes.
    If all of those fail, you can get yourself an object key for where ever it is that you want an additional check to be coded and change it yourself. After this, CJ20N or the check function will belong to you (not SAP) and anybody with a developer key could also change it using normal developer authorizations.
    Good luck,
    Julius

  • Responsible Cost Center on WBS (cj20n - project builder)

    Dear All,
    We normally put responsible cost center in our each WBS. However, it takes time if we put one by one in each WBS. How can we make that we only need put in first level WBS then all WBS under 1st level will follow the responsible cost center. Please advice.
    Many thanks in advance.
    Nies

    Hi Kishore,
    I already gave you the full point. I belive you are good in PS. Could you me some advice ?We use project,network and activity. Then we put Investment management to budget and activate availability control. After that normally we create PR/PO under network as well the material planning for reservation. However we found some issues.
    1. There is no availability control to check budget when we create reservation. Is there any config or something that could check our availability control (AVAC) when we create reservation.?
    2. We have issue in our remaining order plan (report S_ALR_87013558). We do not want our remaining goes to remaining order plan. For example : we have PR=10, PO=10, GR=8. Then we force close the PO (marking the delivery completed). The 2 open quantity goes to remaining order plan. How can we make it goes to available budget when we force close? However, we want this remaining order plan to monitor our reservation. In other words, when we create reservation before actual the value goes to remaing order plan in report S_ALR_87013558
    Many thanks in advance.
    Best Regards,
    Nies

  • Hide certain templates in the Project Builder

    Hello friends,
    Is there any way that we can hide the templates like activity element, milestone, PS texts in the project builder.
    As we are not using those templates we want to hide those as those are creating lot of confusions from the end users.
    We have a requirement to hide it.
    Any suggestions to achieve it will be helpful.
    Regards,
    Lohith

    Hi...Lohith...
    you can use the following function modules to accomplish this (for all your users without having them make the changes on their own)
    CNPB_W_READ_PREFS_FROM_DB
    (needs the user id's to read preferences...)
    CNPB_W_WRITE_PREFS_TO_DB
    (in this one you change the preferences of the users to suit your needs, and the necessary indicators, like deactivate activity elements etc)
    and also CNPB_W_SET_PREF_VALUE to change prefs for your userid (for testing it)
    You can try in a test envinronment FM: CNPB_W_SET_PREF_VALUE and set values of parameters 09:activity elements (' ' or 'X') 10:materials etc....
    (after you run FM in se37 goto CJ20N project builder to check on your userid's changes)
    Try it and let me know...(we have done it for some users and it works)
    Cheers
    Panagiotis

  • How to find all changes in project builder (especially in user field)

    Hi All,
    Please advice, how can i get the history who change our data in cj20n (project builder),especially in user field tab.
    Thank you.
    Best Regards,
    Nies

    I am stating once again what ever was mentioned earlier:
    Check the below:
    1. Is Change documents indicator enabled in the project profile?
    2. Have you created a User Status for business transaction 'Create Change documents' as allowed for the object WBS. (I assume you want to log the changes of WBS user defined fields)
    3. Have you used the this profile while creating the project?
    4. Did you set the user status on the WBS? This needs to be done manually
    5. Have you released the WBS?
    Now try make changes to existing fields of WBS and save it. Run the report CN60
    Regards
    Sreenivas
    Pls close this post if satisfied

  • Validation to check Plant in project builder

    Dear All,
    Can we implement validation to check if user create PR or reservation could only on certain plant , for example FG05 . If they didnot put FG05. the error message will come up.
    Cheers,
    Nies

    Nies,
    You can create a Validation Rule in transaction OPSI, where you can check the contents of the Plant field against the WBS Element in the Project Builder.
    However, only PS master data can be validated so checking the plant against a PR or reservation using OPSI isn't possible, unless you store that data in a PS user field and then perform the check.
    Please review note 440186, an FAQ note on Validation rules.
    Regards,
    Damien.

  • Last projects processed in Project Builder

    Hi Experts,
    I found these communication which our industry also required this enhancement in project system and Mr.Rakesh Pradhan haven't gave us in full details information. Can I request both of you guys to provide more detail information to us as well. So that we can ful fill these requirement here as well ,-
    Hi experts,
    We all know that the last five projects processed using the project builder will be stored in the worklist of the project builder. Currently this is a standard SAP functionality where the processed projects are stored under the userID
    My question:
    1. Is there a way to increase the number of projects in that list?
    2. Where these informations are stored? I know that this is userID specific but dont know where.
    Any input is welcome.
    FATMAN
    Hi,
    We can increase the number of Projects last processed from 5 up to 20. This can be done through enhancement Package-3, Project Systems enhancements. Please refer the document available in SAP service market place.
    Please let me know if you need any details on this.
    Hope this will help you.
    Regards,
    Rakesh Pradhan
    Thanks and Regards
    Kannika

    Hi Kannika,
    The enhancement package is for ECC and not for 4.7.
    There is another way to increase the number of last projects processed in the transaction CJ20N using ABAP program modification.
    In the functional module  CNPB_W_UPDATE_HISTORY, line number 109 you have to increase the index from 6 to what ever number you want. I think it can go upto 20 projects.
    Beware!!!!!!!!!   This is standard SAP program modification. 
    FATMAN

  • CR 2008 dependence files cannot be found during the web setup project build

    Hi,
    Please anyone who knows why dependence files cannot be found?
    CR 2008 dependence files cannot be found during the web setup project build. Nevertheless, this problem did not prevent the project from being installed on the server but I need to know why it couldn't be found? while I'm having the latest service packs installed on my development machine (SP0, SP1, SP-Fix 1, 2, 3 and 4 including ClickOnce and Merge Modules).
    The warning messages that I'm getting during the web setup project build.
    Build started: Project: VMAComponentsLibrary, Configuration: Debug Any CPU
    Starting pre-build validation for project 'VMASetup'
    WARNING: Unable to find module dependency with signature 'MFCLOC.74FD3CE6_2A8D_0E9C_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'ATL.Policy.66332652_9C28_58B1_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'OpenMP.Policy.04B9F3B6_9645_7658_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'MFCLOC.Policy.D2730D3F_3C41_5884_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'ATL.97F81AF1_0E47_DC99_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'CRT.Policy.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'MFC.Policy.68B7C6D9_1DF2_54C1_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'MFC.9BAE13A2_E7AF_D6C3_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'CRT.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'OpenMP.1E507087_0819_45E0_FF1F_C8B3B9A1E18E'
    Pre-build validation for project 'VMASetup' completed
    Thank you.

    Hi,
    CR 2008 for VS has a merge module that will be copied to the C:\Program Files\Common Files\Merge Modules for example (CRRuntime_12_1.msm, CRRuntime_12_1_da.msm, CRRuntime_12_1_de.msm, u2026).
    According to CR documentation in order to deploy a project which uses a crystal reports we have to including one or more of these files in the setup project (Merge Modules).
    As I understand these files can help the setup project to know which dependence files are needed for the application to be deployed successfully with CR.
    You mentioned
    (The merge modules for Crystal Reports 2008 SP1 are dependent on the C++ library files from 2005 SP1.) I understood the above message.
    But what did you mean by this? What are the merge modules that you are mentioning hear?
    (I know this isn't what you want to hear but the merge modules just aren't available any other way. Microsoft doesn't have them available for download, and we are not permitted to make them available.)
    Thanks.
    Edited by: Sami Aljafer on Jun 15, 2009 9:37 PM

  • Project Build Query

    Hello,
    While building, if Build Automatically selected under the
    Project menu, the project is supposed to build while we perform a
    save operation. The build process is indicated at the Flex Builder
    status bar right hand bottom corner.
    In my case this build indication is showed at times but most
    of the time it does not show any indication. If I deselect the
    Build automatically option and forcefully try to build the project
    using Build All or Build Project, again at times it shows the Build
    process dialog box or process inidication at the status bar, but
    again mostly it doesnot show anything.
    At times the project gets build fine even though the build
    indication is not shown but many a times it is not building the
    project properly and I am getting erroneous results.
    What may be the reason? I am working on an application which
    is using XMLListCollections ArrayCollections, lots of databinding
    and custom components etc. Could it be a memory issue? Do I need to
    do any specific setting changes for project build and compilation?
    Please advise.
    Regards,
    Paromita

    Hi KR MR,
      Try with thses info objects
    0TCTREQSID                       Data Request (SID)
    0TCTIFCUBE                        InfoCube
    0TCTMNRECO                     Records (WHM Process)
    & use time characteristics..........
    if u want u can additional char like........source system for navigational purpouse.................
    Regards,
    Vijay.

  • Attachment/Notes to Billing Milestones in Project Builder

    Hi Friends,
    Does any one experienced so far "attachment/notes" to billing milestones in project builder.
    I will give more details so that it would be easy to go thorugh my question.
    In project builder, expand billing WBS element which have milestones in structure area, select any of one of them staying in structure area, righ click on milestone which opens another screen which display so many options. for example notes, attachment etc.
    My question here is that, is it possible to attachment documents etc to milestones?, if attached where we can see them.
    Aslo in regards to notes, where do we see and who are the others users can see those notes, I mean, SD, Finance etc. Let me tell you.  I tried to maintain some notes one billing milestone and could not see on SD or on billing document. I am curious. 
    How to activate to see those notes/attachments in PS so that data would flow to X-modules. What is required to activate such things so that PM in PS module can input his comments on billing related.
    Looking forward to hear from you all. Thanks in anticipation.
    Regards,
    PSR

    is it possible to attachment documents etc to milestones?
    yes it is possible.
    if attached where we can see them
    After attaching on right clicking on the milestone you get an option for attachment list where you can view the same.
    in regards to notes, where do we see
    You can view in the option where you maintain the notes.
    who are the others users can see those notes
    Whoever has display milestone authorisation.
    I would like to mention one thing, the attachment which you are making by "Services for object" is specific to that object so it does not get carry forwarded to the relevant object.
    We had a situation where in the technical specification attached to the material component in CJ20N should get carry forward to PR and then to PO.We accompolished this using DMS as it is a standard functionality in it.Because attachment through DMS works on the Object Link concept.Also in DMS the original attchment is stored in content server and only the link is referred in the object.
    But in your case, you are using the "Services for object" which is utilising the SAP server itself, and here the original attchment itself is referred by the object and not the link.So it wont get transferred to the subsequent process object of different modules.Whereever you can display the object(milestone) you can view the attachments.

  • Is there any way to block PR changes when PO exists in project builder

    Dear All,
    Could you please advice...is there any way to block PR changes (quantity,price, etc) when PO exists in project builder ?
    Many thanks in advance.
    Nies

    Hi Nies,
    If you are not using the material then you can go for Validation, under Operative Structure> Network> Validation.
    Attach the validation with OPSA click on Automatic.
    In the second scenario if you are using Material Component, as Mr.Muralidharan said OPSG there you can restrict the change by selecting Error Message.
    1. Tcode OPSG in Setting see all the object are selected.
    2. Click on Component tab under change in Purchase Order Exist tab select Error.
    Regards'
    Syed

  • Renaming & hiding tab page in project builder.

    How can i rename the cust. enhancement tab page to Artist tab page in project builder cj20n. and how can i hide the tab long text in project builder?

    hi all my prob got resolved through screen painter

  • What is project builder

    Dear all
    Can anyone tell me what is project builder (cj20n) i tried a lot to get some material on net and in my city but was unable to find guidance about it .
    What are the future prospects for it.
    Please send me some material if possible at [email protected]
    regards,
    Deepak

    Hi Deepak,
    The Project Builder is a user-friendly method of accessing the Project System,
    which enables you to edit your projects quickly and efficiently.
    Its clear screen structure, split into three, and the ease with which you can use it,
    combine to provide you with a comfortable working environment that facilitates
    your daily work in the Project System.
    It also provides you with an overview of all the projects that interest you.
    Context sensitive menus, Drag & Drop, and the capability to define your own worklist and
    templates pool, further accelerate your work with projects.
    kindly check the following PDFs on PS:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PS/PS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_PS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCPS/CAARCPS.pdf
    Also, check the following links:
    http://help.sap.com/saphelp_47x200/helpdata/en/41/4388389f402852e10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e4b97462a11d189000000e8323d3a/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/17/7383216a5d42058a08c5c0ba646a04/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d0/19808efbae11d1a5ee0000e82de7c3/frameset.htm
    hope this helps!
    best regards,
    Thangesh

  • Catalog in Project Builder

    Hi gurus
    In the project builder component overview we can see a Catalog Icon.
    Is this function to open a OCI Catalog  just like in ME21N (Create Purchase Order)?
    We have maintained the catalog parameters in customizing, but when I press the Catalog buttom in CJ20N i get an error message "Catalog could not be determined" (Message IOCI020)
    Do anyone have an idea to an solution?
    Thanks in advance

    Functionality wise the button in projct builder component is to create a PR from a catalog - similar to ME21N
    as to the error check out note 936118 and the assocaited note - just change the PM/CS to NW and the use the network order type for the config

Maybe you are looking for