cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement to change Breakdown Duration from Hours to Minutes in TCode IW28 and IW29 (PM Notification)

yarnagula_sudhir
Active Participant
0 Kudos

Hi Experts,

My requirement is to change Breakdown Duration from Hours to Minutes in TCode IW28 and IW29 (PM Notification).

As of now, when I'm executing IW28/IW29, Breakdown duration and its units are coming into Hours/H. Which is a Standard functionality.

Now I want to change them into Minutes/MIN.

So Im looking for Exact Place. Kindly let me know if any Exit, BADI or Implict Enhancement is avaialble.

With Regards,

Sudhir.

Accepted Solutions (1)

Accepted Solutions (1)

yarnagula_sudhir
Active Participant

Hi Frnds,

As per my requirement, I've found the solution for adding two more fileds which will show you Breakdown Duration in Minutes and respective Units.

Kindly find the details below:

1. Add the respective fields to Standard structure: RIHQMEL_LIST

2. As per the above BADI details, pass those two field values to the Structure, then to the Internal Table.

Sample Code:

      FIELD-SYMBOLS: <ls_rihqmel> TYPE rihqmel_list.
      ASSIGN cs_object TO <ls_rihqmel>.
      CHECK <ls_rihqmel> IS ASSIGNED.

      <ls_rihqmel>-zzauszt = lv_e_time_diff.
      <ls_rihqmel>-zzmaueh = 'MIN'.

      MOVE-CORRESPONDING <ls_rihqmel> TO cs_object.

3. Procedure to convert into Minutes:

a. Collect the details of Malfunction Start Date/Start Time/End Date and End Time.

b. If all above values are not initial, then use the FM:   L_TO_TIME_DIFF

c. Then Round Off that Value, FM: ROUND

Find the final output picture below.

With Regards,

Sudhir.

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

I do not think there is a way to do it. Instead you should create your own report using SAP Query or ABAP

OR

Follow the advise by NewB

former_member196331
Active Contributor
0 Kudos

Hi,

Instead of Changing the Source code.(Existing functionality)

Add one more column  At the time of loading u need to find the final internal table.

Than track the hours then convert the data into your own format then again, copy the data to your newly added column.

I hope DIQMEL this is the structure name of the above report go to se11  and check it.

Then append the structure.

Then find the correct enhancement point-> include then apply your logic.

Then old column hide it. and newly added column make it visible.