cancel
Showing results for 
Search instead for 
Did you mean: 

Issue Redefine LeaveRequest Service

Former Member
0 Kudos

Hi Everynone.

I want to redefine the LEAVEREQUEST service. However, I get an error. Attach a screenshot.

Any idea about it I will appreciate it.

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Everbody.

I could solve it adding a field to the structure /GBHCM/S_ELR_ABS_TYPE_V2_INCL and adapting the  MPC and DPC class. In the front-end I extended the corresponding controller.

Regards.

karanbahl
Active Participant
0 Kudos

Hi Roger,

Can you please explain exactly how did you resolve the issue

"All keys of principal entity should be mapped in referential constraint".

We are still stuck on this. If you could give some details, that would be helpful.

Thank you.

Regards,

Karan

vijaybhaskarraju_vegesana
Active Participant
0 Kudos

Hi Roger,

My Leave Request app is build using SE80 approach.Please find below details.

Here is the Package Name "/GBHCM/GBHCM002" where you can find Enhancement spots and BADI's.

Enhancement spots

GBHCM/BDD_ELR_APPROVER

/GBHCM/BDD_ELR_ICON

/GBHCM/BDD_ELR_MESSAGE

/GBHCM/ENHS_ELR_CONFIGURATION

Badi's

/GBHCM/BDD_ELR_APPROVER

(Employee Leave Request: Approver)

/GBHCM/BDD_ELR_ICON

(Employee Leave Request: Icons)

/GBHCM/BDD_ELR_MESSAGE

(Employee Leave Request: Message)

/GBHCM/BDD_ELR_CONFIGURATION

(Employee Leave Request: Configuration)

/GBHCM/BDD_ELR_TEAMCALENDAR

(Employee Leave Request: Team Calendar)

/GBHCM/BDD_ELR_TIMEACCOUNTS

(Emplyoee Leave Request: Time Account data)

Thanks,

Vijay

Former Member
0 Kudos

Hi Vijay.

My objective is add new field or reuse any custom field, But I need to implement my custom logic to fill this field.

Any suggestion about how implement this BADI's?. If you have experience about it I will be very thankful for sharing.

Regards

vijaybhaskarraju_vegesana
Active Participant
0 Kudos

Hi Roger,

You can refer the below link for the same requirement what you are asking. It shows how to add new field and implement BADI

Thanks,

Vijay