cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to trigger HCMFAB_B_TEAMCALENDAR_SETTINGS BADI

arunkumar_yerram
Explorer
0 Kudos

Hello everyone,

I'm trying to make some UI enhancements for the 'My Team Calendar' Version 2 Fiori 2.0 application. As part of the change, I've created an implementation for HCMFAB_B_TEAMCALENDAR_SETTINGS BADI. I've changed my logic based on sample class.

However, I'm not able to get the BADI implementation triggered and eventually can see no changes to the application on FLP. Just to test, I've disabled my BADI and expected the logic in Fallback Class CL_HCMFAB_FB_TCAL_SETTINGS to get triggered.

However, this did not work either! No matter what I do, not able to get the methods in BADI to trigger.

Did anyone else had the same problem? What is the solution for this? How do I debug these BADIs?

Note: I was able to trigger and debug the Data Provider Class CL_HCM_TEAM_CALENDAR_DPC_EXT. No problem here.

Accepted Solutions (1)

Accepted Solutions (1)

arunkumar_yerram
Explorer
0 Kudos

It was due to incorrect configuration. Both from Security level and Catalog level. After the configuration is corrected, the issue is resolved.

Answers (2)

Answers (2)

TheGokke
Active Participant
0 Kudos

I think you are not using the version 2, the dpc you mentioned is the old one. Can you post me a screenshot of your team calendar running?

arunkumar_yerram
Explorer

Thanks for your response. Yes. SAP has responded to my INC a week ago and they indicated that we were on an old version. We removed all our configuration and re-configured the Roles, Cataglogs & Groups. The BADIs are now getting called.

We could not identify the issue because the screenshots for the applications on the Apps Reference Library were not refreshing properly. We had to manually click on a different tab to explicitly refresh it. Because of this, we could not identify the issue based on the screenshots.

Again, thanks for your response!

former_member489967
Discoverer
0 Kudos

Hey Arun,

I just did the exact same thing.

I noticed that I had to implement all (!) methods that come with the Interface. Maybe in doing so, your problem is solved. I´m not sure why, I´d have to research on that.

Hope it helps you (if your still working on the issue)

arunkumar_yerram
Explorer
0 Kudos

Appreciate your response Juliane.

I've implemented all the methods in my BADI implementation. No luck! I've used the fallback class as a Super Class, yet no luck!

I've disabled my BADI and therefore was expecting the fallback class provided by SAP to be called. No luck! It did not happen.

I've created a High priority incident with SAP and awaiting their response. As soon as I get an update, I will update this thread with the resolution.

Thanks!