cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the default MIRO screen layout?

gordon_tobias
Explorer
0 Kudos

We'd like to set one of the input fields on the MIRO screens to be display only.

Because we don't want to alter the SAP-delivered MIRO layout 7_6310, we've created a MIRO screen variant Z7_6310 as a copy of 7_6310 with a minor change to make one field read-only.

What we'd like to do is change the system settings so that this Z7_6310 screen variant is the default layout when users run the MIRO transaction.  From reading other SCN notes and documentation, it looks as though MIRO always starts with the last layout value used.  We'd like to have more control over this, so that even if a user changes the layout during one MIRO session, the next time they run MIRO, it will default to our desired layout.

In trying to solve this, we've used transaction SHD0 to set up "Transaction Variant" ZMIRO which then references then new screen variant Z7_6310, but when we invoke ZMIRO it still brings up whatever layout was last used.

Is there a way to enforce that when transaction MIRO (or ZMIRO) is invoked, the default layout is always  Z7_6310? 

Thanks

Gord

Accepted Solutions (1)

Accepted Solutions (1)

mauro_bianchi
Active Contributor
0 Kudos

Hi Gord,

check BADI MRM_TRANSACT_DEFAULT...

Regards,

Mauro

gordon_tobias
Explorer
0 Kudos

Thank you.

I implemented badi MRM_TRANSACT_DEFAULT and used it to set parameter  e_item_list_version to have a default value of my new Z7_6310 layout.  Works just as needed.  Thanks Mauro,

Answers (2)

Answers (2)

ritesh_ingale
Explorer
0 Kudos

While recording of SHD0 variant record (capture) the desire layout also with option ticked as "With Contains" and "Output Only."

So system will default the desired layout and will make non-editable also.

former_member182371
Active Contributor
0 Kudos

Hi,

have a look at table ESDUS(MM: Dynamic User Settings).

Look for:

UNAME = YOUR_USER

ACTION = MIRO

ELEMENT = ITEM_LIST_VERSION

ACTIVE = 7_6310

Best regards.