cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding a SAP Fiori Field

Former Member
0 Kudos

Dear All

I'm trying to hide a SAP Fiori S3.View field on the View Payslip application.

At the moment my code is looking like this.

hcm.emp.payslip.Component.extend("hcm.emp.payslip.Z_HCM_PS_MON.Component", {

  metadata: {

  version : "1.0",

  config : {

  "sap.ca.i18Nconfigs": {

  "bundleName":"hcm.emp.payslip.Z_HCM_PS_MON.i18n.i18n"

  },

  customizing: {

  "sap.ui.viewModifications": {

  "hcm.emp.payslip.Z_HCM_PS_MON.view.S3" : {

  "PAYSLIP_GROSSPAY" : {

              "visible": false,

                      }

Which is the correct methodology according to this guide.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ec8772-9b7b-3110-6999-f0f326fed...

However the field is still visible after inserting the code !

Cheers

James

Tags edited by: Michael Appleby

Accepted Solutions (0)

Answers (1)

Answers (1)

agentry_src
Active Contributor
0 Kudos

Hi James,

Have you cleared your browser's cache.  It is usually the first thing to try.  You can also go to the Troubleshooting guides in the http://scn.sap.com/docs/DOC-41598.

Cheers, Mike

SAP Customer Experience Group - CEG

Former Member
0 Kudos

Hi Michael.

The browsers cache has been cleared.

Still no luck. The application works fine, as I can change the text on fields without problem.

Just trying to find the correct methodology for hiding a field !

Cheers

James

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi James,

FYI.

SAP River RDE has a nice function for hiding UI elements. The tool generates code for you.

Regards, Masa

SAP Customer Experience Group - CEG