Skip to Content
avatar image
Former Member

SAP MDG: How to adjust UI or hide fields based on CR type and CR Step

Hi,

I am new to the SAP MDG. I want to understand the process or steps to adjust UIs based on the CR type and workflow step number.

Consider, I need to adjust my UIs for material master and say I want to hide certain fields based on the CR Steps. As per my understanding, I need to perform below steps:

1. Configure the properties of Change request step
2. Select CR type and CR step and then based on it select Entity/Attribute which needs to be hidden
3. Set Field property to 'Not relevent' - This will make field grayed out at UI.

However, I am not able to hide the field for this CR type and CR Step. Can any one please let me know how can I achieve this?

SAP MDG version is 7.0 SP03.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 16, 2016 at 09:15 AM

    Hi Vikas,

    Were you able to find the solution? If yes please share.

    Thanks,

    Swati

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2016 at 05:14 AM

    Hi ,

    1. you use adaptations in MDG to change fields based on CR type and Workflow..
    2. you can also implement BADI USMD_ACC_FLD_PROP_CUST_DEP_SET.
    3. you also set properties in the get definition method of the feeder class.

    Even though we have many option ,It is nice to use first one else 2nd one..

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2016 at 09:05 AM

    Generally, for extensibility and UI adaptations, you can also see the how-to section at https://wiki.scn.sap.com/wiki/display/SAPMDM/Documentation%3A+Application+Framework+Including+Custom+Objects

    Best,

    Markus

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2016 at 01:10 PM

    Hello Vikas,

    You can use Context based Adaption for this.

    Both Material & BP have CR type & CR step as a predefined dimension in their respective schema BS_MAT and BP_ADAPTS respectively.

    You can Hide the view by ticking the Hide UIBB checkbox as in the screenshot.

    Thanks,

    Kavita

    cba.png

    Add comment
    10|10000 characters needed characters exceeded