on 09-18-2014 6:07 AM
Hi Experts,
We have requirement add one custom filed in My Leave Request and Approve Leave Request application.
trying to redefine the standard OData service we able to import model(/GBHCM/LEAVEREQUEST) but we are getting error message as shown in below screenshot and
here in my system dont have ABAP Structure /GBHCM/S_ELR_LEAVE_R but still getting error as mentioned above screenshot.Is there any SP version incompatible(All components(GW/UI/Fiori apps) are latest one in my system) with my system so that i am not able to find the structure.
Can you please reply your thoughts on this.
Thanks,
Syam
Tags edited by: Michael Appleby
Hi Syam,
You will have DDIC /GBHCM/S_ELR_LEAVE_R structure loinked to this entity.
When you extend the service you need to add Additionalfields in the DDIC structure and then map by selecting the ABAP field name.
Best Regards
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roger,
This problem happens beacuse the OData for Leave Request was not created using SEGW.
The issue is that there are 2 properties as part of the key and only one is mapped in the Refrential constraints.
This check from SEGW and this has nothing to do with the BAdi.
You could create an OSS and we will correct this.
Best Regards
pankaj
Hi Roger.
I am able to add ADDITONAL FIELDS at /GBHCM/S_ELR_LEAVE_REQUEST_V2 and thus removing first error. However am stuck at removing the rest two errors i.e. of Referential constraint.
In your post you stated that add field to structure /GBHCM/S_ELR_ABS_TYPE_V2_INCL, I am not able to understand which field needs to be added to remove those errors. Kindly help me with the same.
Regards
Parth
Hi Syam,
ABAP field name should be maintained. Scroll to the right and select ABAP field name.
Regards, Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.