Skip to Content
author's profile photo
Former Member

Fiori extension: Need to have a custom javascript function


Have extended SAP Approve PO app, everything works fine. However need to have a custom java script function to validate PO type.

To do that we use:

<form:FormContainer title="PC data"

visible="{parts : [{path : 'ZZPOTYPE'}], formatter : ''}">

Here, FORMATTER is called from the standard app Conversions.js under UTIL folder:

1. Could we extend the Conversions.js or

2. Couls we create one in extension app?


Kevin Dass

Message was edited by: Michael Appleby

Capture.PNG (69.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Jun 11, 2015 at 05:56 PM

    sure you can create one, just place it in the right folder structure and dont forget to declare it"your.own.very.special.Formatter");

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Santhosh Gowda

      Thank you Santhosh, however would you let me know if the previous approach is correct? if not let me know.

      Adding to it, I have achieved this functionality in a new app but it seems not working in an Fiori extension app.