Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

My Leads front end service mapping

$
0
0

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.

 

Capture5.PNG

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

Capture4.PNG

Kindly Help,

 

Warm Regards

Raina Goyal


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>