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

BADI /rpm/item_ui

Former Member
0 Kudos
515

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member209919
Active Contributor
0 Kudos

Hi,

Yes, agree with Pramod, You can modify the description in several ways without using the BADI:

1) Modify the text (data elemement) -->(/RPM/TV_EXTID)

2) Modify the value in the web dynpro ( you need to activate the administrator mode)

http://help.sap.com/saphelp_nw70ehp3/helpdata/en/4B/C1BCA00D8147D68E1F3A9F28CDC686/content.htm

Former Member
0 Kudos

Hi,

       We modified the Webdynpro component /rpm/item_details and got this working. The BADI in question worked perfectly in 4.5. Not sure why we did not get the desired result using the BADI in 5.0. Thanks for everyone for chipping in and providing valuable points. Much appreciated.

thanks,

Ananth

Answers (1)

Answers (1)

Former Member
0 Kudos

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