I have a requirement to perform validation on MM01 when user press the save button. It's based on the views selected, if basic data, classification and purchasing view are not selected, then it should throw an error message. I implement my code in user exit EXIT_SAPLMGMU_001. However, I have problem to check which views have been selected when the views are not created yet(WMARA-PSTAT) in MARA. Is there any way to retrieve the selected views, so I can perform my validation only if these views are selected? I search that FM: main_parameter_get might be useful in this case, but how to use the FM as it doesn't have any documentation and limited results from google.
Any helps will be deeply appreciated, thanks.