cancel
Showing results for 
Search instead for 
Did you mean: 

How to make all elements of UIBB read-only based on some condition ?

0 Kudos

Hello Experts,

How to make all fields of a UIBB read only in Standard FPM Fiori Application based on some conditions ?

Thanks in advance

0 Kudos

The FPM application we are trying to enhance is OIF FPM application.

The Standard Feeder classes getting called are as below :

CL_EAMS_UI_FD_ORD_OPER_LI

CL_EAMS_UI_FD_ORD_HEADER

The requirement is to make all elements(Buttons ,Input Fields ..) of a particular TABBED UIBB/ LIST UIBB/ FORM UIBB in read only mode based on data of fields in another UIBB so that the user cannot make any further changes.

Accepted Solutions (0)

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Kudos

Hi

I am little confused with the term standard FPM Fiori application. However, there are multiple ways to achieve this


  1. You can make use of CBA context based adaptation by creating a new customisation.
  2. The other way is to deal directly in the feeder class method get definition.
  3. If it’s an Fiori application you can try to create a meta data extension and make use of UI Annotations @UI
0 Kudos

Hi Pavan ,

Thanks for your reply . By FPM fiori application i mean FPM application deployed on Fiori launchpad .

For this requirement we are using a standard FPM application that uses generic Feeder class for implementing the get definition method. It doesnt allow me to redefine in my Z feeder class .

For the conditions we have to query some tables and then match values in table control and if they match then we have to make few tabbed uibbs in that screen as read- only . I am not sure if we can use CBA for such requirement . Please let me know how this can be handled in feeder class .

bpawanchand
Active Contributor
0 Kudos

HI Dilit,

Can you share the name of the generic feeder class? I assume when you say that you have created a Z feeder class you made the standard generic class a super class to this.... Is this feeder class by any chace is FINAL ?

Regards

Pavan Bhamidipati

0 Kudos

Hi Pawan,

The feeder class we have inherited in our Z class is CL_EAMS_UI_FD_ORD_OPER_LI.

When we try to redefine get_data or get_definition method , it gives error saying Final implemented method IF_FPM_GUIBB_FORM~GET_DATA cannot be redefined .

The list UIBB thats calls above feeder class is connected to multiple tabbed uibbs which we want to disable for input based on some condition.

Please let me know how i can proceed.

Thanks in advance