Hi all.
I'm developing a simple scenario where I read employee data and later if expanding, I get the absences it has. For this purpose, I've implemented the GET_ENTITY_SET for both entities and made an association between them.
I tested them separately and both work.
/sap/opu/odata/sap/ZDEMO_SRV/EmployeeSet?$filter=EmployeeID eq 000000001
/sap/opu/odata/sap/ZDEMO_SRV/EmployeeAbsenceSet?$filter=EmployeeID eq 000000001
The problem is when I want to do an expand. I want to get employee basic details and do a expand to its absences. If I check the content of IT_FILTER_SELECT_OPTIONS table in the implementation of GET_ENTITYSET for the Absences entity, is empty. However if I check the content of IT_KEY_TAB, has the employee number. What is missing here? Why I don't receive the employee number in the IT_FILTER_SELECT_OPTIONS table?
Thanks in advance.