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

Change a filed attribute during execution.

Hi everyone,

does anyone knows how to change the attribute of a field during execution of the application CRMD_BUS2000126 (Activities)?.

In the IMG(Transaction crmc_blueprint_c) i defined new field under application crmd_bus2000126 where i specified if i wanted my field to be changeable or not. I also created a new class based on the superclass CL_CRM_BSP_AM_HEADFM_1O where i inserted some code.

Now, depending in which mode( creation or modification ) the user is, i want to set my field changeable or not.

Does anyone knows how to do it?

THANKS,

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 19, 2005 at 05:19 AM

    Hi Eric Auclair,

    CL_CRM_BSP_AM_HEADFM_1O class has IF_CRM_BSP_MODEL_ACCESS_IL~READ method with export parameter ET_FIELD_ATTRIBUTE. This needs to be filled up to change the field during runtime. PCUI Framework looks into ET_FIELD_ATTRIBUTE parameter to do the runtime attributes of a field.

    Following properties can be set during runtime for every field. 'A - Not changeable'; 'B- Not Relavent'; 'C - Mandatory'; 'D- No Value Help(F4)'.

    You can look in the CL_CRM_BSP_AM_HEADFM_1O class there are many instances where ET_FIELD_ATTRIBUTE is filled up.

    Regards,

    vijaya Kumar M.

    Add a comment
    10|10000 characters needed characters exceeded

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.