Skip to Content
author's profile photo Former Member
Former Member

Cprojects and BAdI: Check/Change Fields in cProjects


Have anyone of you used this BAdI? In the performance assistant it looks like you can use this BAdI for setting default values for standard SAP fields when creating new object. However when reading the programming documentation it looks like you only should use this BAdI for customer defined fields. Does anyone of you know????

Thanks, Camilla

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 25, 2006 at 11:28 AM

    Hi Camilla,

    Yes, this BAdI can be used for setting default values for both SAP standard fields and custom fields. In case you want to set custom fields, 2 additional steps as mentioned in the Performance Assistant are to be performed, namely:-

    1) Enhance Database Tables

    2) Make Customer-Specific Interface Changes

    You can see the example implementation in the class CL_EXM_IM_DPR_ATTRIBUTES. Specifically check out the method SET_DEFAULTS_UPON_CREATION.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Camilla,

      This BAdI can very well be used for custom fields also.

      If you look at the documentation provided for the IMG activity:-

      Collaboration Projects->Global Enhancements to Project Elements->Business Add-Ins (BAdIs)->BAdI: Check/Change Fields in cProjects

      Link - Enhance Database Tables

      Here it is explained how fields can be added to the tables of the individual cProjects objects using customer includes. Once this is done the customer field becomes available in the BAdI method and hence can be set to a default value during creation.

      Best Regards,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.