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

Adding extra table in S4.view.xml in PO Approval App

$
0
0

Dear All,

 

I am working on custom PO Approval App.

I used the BAPI and added few fields in the ItemDetails which will tell me price of last 3 items.

 

So when I click on Item Level Detail on S3view, the s4 page already contains a few details.

I want to add a new table with the new fields in that page.

 

I tried but somehow I am unable to populate the data.

 

PFA the screenshots.

The Code for Table:

  <Table

   id="itemsTable"

    class="detailControlPadding"

    headerText="Details of Last 3 Purchase Orders">

    <columns>

     <Column

      id="ItemsTableColumnPONumber"

      hAlign="Left">

      <header>

       <Label

        text="PO Number">

       </Label>

      </header>

     </Column>

     <Column

      id="ItemsTableColumnPODate"

      hAlign="Left"

      demandPopin="true"

      minScreenWidth="Medium">

      <header>

       <Label

        text="PO Date">

       </Label>

      </header>

     </Column>

     <Column

      id="ItemsTableColumnPOVendor"

      hAlign="Right"

      demandPopin="true"

      minScreenWidth="Medium">

      <header>

       <Label

        text="PO Vendor">

       </Label>

      </header>

     </Column>

     <Column

      id="ItemsTableColumnPOPerUnit"

      hAlign="Right"

      demandPopin="true"

      minScreenWidth="Medium">

      <header>

       <Label

        text="{i18n>view.PurchaseOrder.perunit}">

       </Label>

      </header>

     </Column>

     <Column

      id="ItemsTableColumnPOPrice"

      hAlign="Right"

      demandPopin="true"

      minScreenWidth="Medium">

      <header>

       <Label

        text="Price">

       </Label>

      </header>

     </Column>

   </columns>

   <items>

    <ColumnListItem>

      <cells>

      <Text text="{ZPoVendor1}"></Text>

      <Text text="{ZPONo1}"></Text>

      <Text text="{ZPODate1}"></Text>

      <Text text="{ZPriceUnit1}"></Text>

      <Text text="{ZPoPrice1} AED"></Text>

     </cells>

    </ColumnListItem>

   </items>

  </Table>

 

 

Please Guide.

 

--

Regards

Saurabha J


Viewing all articles
Browse latest Browse all 3363

Trending Articles



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