Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

My Leads front end service mapping

Hi Experts,

I am extending My Leads Fiori App(CRM) and adding new icon tab on s3.view.xml.

I want to show sales area details in the icon tab as form.

The code for extension tab is :

<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"

    xmlns:ui="sap.ui.layout.form">

  <IconTabFilter id="SalesAreaDetails" text="Sales Area Details" icon="sap-icon://sales-order">

     <content>

    <ui:SimpleForm id="SalesData">

     <ui:content>

  <Label id="SalesOrg_label" text="{i18n>SALES_ORGANISATION}"></Label>

  <Text id="lead_SalesOrg_text" text="{json>/SalesOrganisation}"></Text>

  </ui:content>

  <ui:content>

  <Label id="DisChannel_label" text="{i18n>DISTRIBUTION_CHANNEL}"></Label>

  <Text id="lead_DisChannel_text" text="{json>/DistributionChannel}"></Text>

  </ui:content>

     <ui:content>

  <Label id="Divison_label" text="{i18n>DIVISION}"></Label>

  <Text id="lead_Division_text" text="{json>/Division}"></Text>

  </ui:content>

               <ui:content>

     <Label id="SalesGroup_label" text="{i18n>SALES_GROUP}"></Label>

  <Text id="lead_SalesGroup_text" text="{json>/SalesGroup}"></Text>

  </ui:content>

     <ui:content>

     <Label id="SalesOffice_label" text="{i18n>SALES_OFFICE}"></Label>

     <Text id="lead_SalesOffice_text" text="{json>/SalesOffice}"></Text>

  </ui:content>

     </ui:SimpleForm>

     </content>

  </IconTabFilter>

</core:FragmentDefinition>

Here, I am able to show the labels but i am not able to get the data for the particular labels.

Also, when i am debugging and checking the service, i am able to get the data in the service. It is shown below:

Kindly Help,

Warm Regards

Raina Goyal

Tags:
Not what you were looking for? View more on this topic or Ask a question