Skip to Content
0
Former Member
Jun 11, 2015 at 12:08 PM

Fiori extension: Need to have a custom javascript function

259 Views

Hi,

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 : 'ui.s2p.mm.purchorder.approve.util.Conversions.commonFieldVisibilityTrigger'}">

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?

Regards,

Kevin Dass

Message was edited by: Michael Appleby

Attachments

Capture.PNG (69.7 kB)