Hi all,
I am trying to add two custom (non AET) fields, language and authorization group, to the AccountMain record type in Desktop Connection. Following the steps I've done so far:
1. Append AccountMain structure /CRMGWS/ACCOUNTMAIN and add both fields
2. Redefine OData Service GROUPWARE_SYNC by using transaction SEGW (I've created a new project in Z namespace and redefined the base service in namespace CRMGWS).
3. Add the new fields to AccountMain Entity and generate runtime objects.
4. Add the fields in the metainfo.xml file like that
<ODataField>
<Type>String</Type>
<Name>Language</Name>
<Label>Language</Label>
<Nullable>false</Nullable>
<Filterable>true</Filterable>
<Polymorphic>false</Polymorphic>
</ODataField>
If I try to sync all changes, I get the following error:
Ressource für Segment 'Language' nicht gefunden
(Resource not found for the segment 'Language')
Does anybody know the reason for that? Am I missing some steps?
I've tried to solve this by clearing the cache and refresh the metadata of the service. But this doesn't help. Additionally, I redefined the Methode DEFINE in the model provider class as described in the documentation, but I'm not sure if this is necessary. I thought, this is done by the redefining wizzard automatically?!
Later on, both fields should become picklists. I found this discussion http://scn.sap.com/thread/3743346 So I think, this should be possible. But at the moment, I'm not able to sync the two fields.
Many thanks and best regards
Sebastian