cancel
Showing results for 
Search instead for 
Did you mean: 

My TimeSheet V2 - Field Ranking BAdi

Former Member
0 Kudos
141

Hello all,

Has anyone successfully used the BAdI to change the field rankings for time assignment HCM_B_TSH_FIELDRANKINGS?

We have attempted to re-arrange the order of fields, but none of the changes are reflected.

I currently have a different ranking through the Fiori app compared to the SAP GUI (back-end)

If you have any lessons learned, advice or tips, it would be great!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The BADI works fine. Should have closed this a while back.

Answers (1)

Answers (1)

Kishore
Participant
0 Kudos

Hi Hadi,

I have implemented this BAdi and its working fine.

Populate the profile fields in the field_name and give the order as mentioned below.

    wa_rank-field_name = 'BEMOT'.       " Accounting Indicator

     wa_rank-rank = 1.

     APPEND wa_rank TO  field_rankings.

     wa_rank-field_name = 'LSTAR'.       " Account Type

     wa_rank-rank = 2.

     APPEND wa_rank TO  field_rankings.

Thanks,

Kishore.