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

BADI /rpm/item_ui

Former Member
0 Kudos
550

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_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