Skip to Content
0
May 18, 2015 at 03:30 PM

CRM Desktop Connection PickList

76 Views

I have enhanced my SAP OData to send my custom fields to Desktop Connection and all data are now displayed in outlook form.


I have alse enhanced the class /CRMGWS/CL_BUPA_PICKLIST by adding a new private method (GET_FTC) to send picklist value to Desktop connection.


I customize also this configuration files:


metainfo.xml


<ODataField>

<Type>String</Type>

<Name> AccountMainZZFTCID </Name>

<Label> AccountMainZZFTCID </Label>

<Nullable>true</Nullable>

<Filterable>true</Filterable>

<Polymorphic>false</Polymorphic>

<IsBackUpdate>true</IsBackUpdate>

<PickList>

<TypeName>AccountMainZZFTCIDs</TypeName>

<CustomNames/>

</PickList>

</ODataField>


customization.XML

<combobox id="AccountMain.Field.AccountMainZZFTCID">

<label>#lbl_FTC</label>

<item_value_field>Value</item_value_field>

<items_format>:[:(Label):]</items_format>

<source_type>auto</source_type>

<source_name>AccountMainZZFTCIDs</source_name>

<field>AccountMainZZFTCID</field>

<order_by>SortOrder</order_by>

<order_ascend>true</order_ascend>

<has_null_item>true</has_null_item>

</combobox>


basic_mapping.xml


But, Also if in HTML_DUMP (se attachment) is possible see the picklist value for field "AccountMainZZFTCID", the picklist isn't availble for my custom field and in SyncDump file the picklist isn't traced.


Is possible send from SAP a picklist for a custom field?


I attach customization and log files

Thank you

Alessandro