cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI /rpm/item_ui

Former Member
0 Likes
558

Hi,

     We would like to change the text 'External_ID' in the front end to 'Proj_ID'. We have implemented the BADI /rpm/item_ui. After doing so we expected the change to reflect in the front end but it is not.

The code is as follows.

    DATA: wa_field_description type /RPM/Ts_FIELDS_DESCRIPTION.

  clear wa_field_description.
  Loop at ct_field_description into wa_field_description.
    case wa_field_description-FIELDNAME.
      when 'EXTERNAL_ID'.
        wa_field_description-REPTEXT = 'Proj_ID'.
        wa_field_description-SCRTEXT_S = 'Proj_ID'.
        wa_field_description-SCRTEXT_M = 'Proj_ID'.
        wa_field_description-SCRTEXT_L = 'Proj_ID'.

      when others.
        continue.
    endcase.
    modify ct_field_description from wa_field_description.

    clear wa_field_description.
  endloop.

When we went in the debugging mode we could see that it is indeed the case but not sure why it is not getting reflected in the front end. Any pointers is welcome. We have done this in SAP RPM 4.5 and found it working alright, but not sure why it is not so in SAP PPM 5.0.

regards.

View Entire Topic
Former Member
0 Likes

Hi,

There is much easier way to change field descriptions rather than implementing this BADi. I am not exactly remembering the command you put at the end of URL to config the front end. We followed this approach to change labels, tool tips, views, subviews, etc.

If you have already implemented BADi, try restarting PPM server. May be that will help you. Restarting is required when we add custom fields so I am not sure on changed label but may be you can give it try.

Pramod