Skip to Content

Document Description : The purpose of this document is to explain the steps for customizing / modifying User Interface . Making fields/sections visible/hidden.


Table of Contents

1.       Introduction

1.1     Overview

1.2     Scenario

1.4     Pre-requisite

2.       Process

2.1     Steps


1. Introduction

1.1 Overview

SAP Master Data Governance provide standard ‘Master’ UI for each master data model . It is a very common need in SAP Master Data Governance to modify the UI with respect to customer/business need 

1.2 Scenario    

          This document will help you to  fulfill the business need it may require to hide or unhide the respective sections or           attributes  from UI

1.3     Prerequisites

           It is expected necessary BC set with respect to UI configuration are activated and  All necessary configuration is done  in       MDGIMG–>General Setting –>UI Modelling



         

2. Process

2.1     Steps

User interface attribute can be hide in two ways,

a) Complete Section

b) Single attribute in any section


A:- Complete Section : –  This requirement is suggested to achieve through change in properties of web-dynpro component.

B:- Single attribute  : – For this requirement BADI enhancement is preferred/suggested.


COMPLETE SECTION/BLOCK :

Capture.PNG

* Right click on UI & Select ‘Technical Help


/wp-content/uploads/2016/09/1_1029918.jpg

* Select ‘BS_MAT_OVP_05’…

/wp-content/uploads/2016/09/2_1029923.png

Select ‘BS_MAT_OVP_LAYOUT_05’


Select ‘Add Adaptation’

/wp-content/uploads/2016/09/4_1030069.png

On ‘Add Adaptation’ select desire parameter according to business need.

Post this process it will come like this

/wp-content/uploads/2016/09/5_1030073.png

Scroll Down to ‘Overview Page Schema’

/wp-content/uploads/2016/09/6_1030075.png

Now Select Section which need to hidden

Change value as per below screen shot to change property from hidden/visible..

/wp-content/uploads/2016/09/8_1030077.png

This way complete Section can be hide.

B: SINGLE ATTRIBUTE HIDDEN :

BADI Approach :

T-code : SE18

BADI Name :  USMD_ACC_FLD_PROP_CUST_DEP_SET

Method : IF_EX_USMD_ACC_FLD_PROP_CDS~MODIFY_FLD_PROP_ATTR

There is Table in Changing parameter : ‘CT_FLD_PROP’  this contain property of every fields on UI.

Select field name & pass hidden value.

Sample Code.

/wp-content/uploads/2016/09/9_1029931.png

Following above simple steps we can Modify UI on desired business requirement.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Gabriela Soria

    Hi Saurabh!

    Thanks a lot for this document, is very useful to me, i’m a beginner in MDG and I’m triying to set 2 fields like “read Only” These fields are BEGRU and XGCHP while we are creating an Individual Material.

    I think your code is going to be useful for this, but I need to know what is the type for   <FS_MATERIAL>. Could you please, share all the code for this? As I told you before,  I’m beginner in MDG.

    Thank you very much!

    Gabriela.

    (0) 

Leave a Reply