cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

User Interface as per change request step in MDGM.

former_member193350
Active Participant
0 Likes
2,487

Hi Experts,

I am having a requirement to make different UI's a per the workflow step.

First in application Configuration, i made a deep-copy of Configuration Id as Z00_BS_MAT_OVP  for  MDG_BS_MAT_OVP Application name and select click on change mode.

Then for the OVP_layout, I assigned Configuration name as Z00_MDG_BS_MAT_OVP_LAYOUT.

After this for MAT01 change request type, I assign the UI details  in General Settings--> Process Modeling--> Change Requests--> Configure properties ofchange request step--> User Interface per change request step.  here I assigned the Application name  as  MDG_BS_MAT_OVP and Configuration name as Z00_BS_MAT_OVP.

So, after doing these steps when I trying to run SAP MDGM for that particular step (like step 2 in my case) I am facing the below screenshot issue.

Could anyone please let me know is there anything i had done wrong or missed something.

Regards

Prateek Agarwal

P.S: Any useful points will be rewraded.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

What happens if you assign this UI configuration as the default configuration for all steps (not step-specific). Also, try to test the application UI configuration directly from SE80 and see if it runs or throws a dump.

former_member193350
Active Participant
0 Likes

Hi Abdullah,

Thanks for your response..

yes it's working now. Previously I didnt give the name of UI's  in default configuration.

@VKanc9: yes brother, you are right i have to give in Link Logical action my UI's which i missed previously my mistake.

But thanks for again spending your time...

Regards

Prateek

former_member193350
Active Participant
0 Likes

Hi Abdullah,

Could you please let me know how can i put mandatory marks i.e.(*) for my custom defined fields in MDGM UI. As it help users in knowing which fields they have to enter.

Actually, I already made a BAdI, and i am able to display the error message if mandatory fields are not filled. but i didnt found any way to display those UI as mandatory.

In MDGM-UI how can i achieve this functionality?

Regards

Prateek

Former Member
0 Likes

In EhP6, you shouldn't use the BAdI to check for missing mandatory fields. You don't need to write any code pretty much. Mandatory fields are set in configuration. Go to MDGIMG and follow this path: Master Data Governance --> General Settings --> Data Modeling --> Edit Data Model. Then, drill down to the field you want to make mandatory (see screenshot).

former_member193350
Active Participant
0 Likes

Hi Abdullah,

The screenshot above I tried and able to make mandatory fields for material entity but not for other entities (including custom). And also by making fields mandatory for Material it is working fine but for that particular field it is not showing any mandatory indication like * as we have with Material Type, Material No. etc. I am looking for the same indicator for my custom fields which i made it mandatory.

Could you please help me on this.

Thanks!!

Regards

Prateek

Former Member
0 Likes

Did you enhance the data model? The fields won't just show up by adding them to SE11 structure. You have to follow the extensibility guide.

former_member193350
Active Participant
0 Likes

Yes, I know this and  I already done that part and all my fields are showing in MDGM UI. and also i am able to make checks on my fields but just for Ui perspective i wanted to make mandatory fields as * as in standard MGm Ui we have * Material Type etc.

Former Member
0 Likes

So, you are saying that the configuration does "enforce" the mandatory check. It is just not displayed with a red *? If that's the case, you should create an OSS message in component CA-MDG.

Meanwhile, you can mark the field as mandatory in the FPM UI configuration. You still don't need code to do so.

Former Member
0 Likes

Hi Abdullah,

I would like to make Plant (WERKS) field as a mandatory field, but I couldn't find it as attribute. This happens as well in MDGS, when I want to mark Company Code (BUKRS) as a required one. Could you please advise where exactly could I mark these fields as mandatory without implement BadI/coding?

Thank you in advance.

Regards

Lingga

Former Member
0 Likes

The field should be in the data model. If not, you need to add it as a custom enhancement. Once you have all fields in the data model, you mark them as mandatory using the screen shot above. One more thing, you "enforce" the mandatory check in the UI configuration. So, there are two things that need to be done: marking a field as mandatory, and enforcing that. See the following screen shot.

Former Member
0 Likes

In Data Model MM, I found the field WERKS (plant) already but as Entity Type. As I entered the folder to mark the attribute as required, it is empty. However I couldn't find so far the plant attribute under other entity, but I have it in UI already (see the last pict).

What I want is actually to force the user to enter at least 1 Plant data. Could you please advice, which attribute under which entity could I mark as required for the field Plant as shown as the picture below? Thank you in advance.

.

Former Member
0 Likes

Hi,

I have a two step workflow where the requestor raises a requests and approver approves it. I have two separate UI configs created one for requestor and other for approver. My default UI config is the requestor UI within my "Create Change Request Type". Inside the menu "Configure properties of Change Request Step" I have given the UI config for approver on the corresponsing approver step. When I launch it from WD application the requestor UI works fine, but the approver UI continously toggle between both the UI configs and not loading anyone of the UI config.

Looks like some conflict between both the UI configs. Please let me know if I need to do any other configuration to make this work.

Regards,

Suganya

Former Member
0 Likes

Please post a screenshot of the configuration you did for the approver.

Answers (1)

Answers (1)

Former Member
0 Likes

Did you check the ST22 dump? It will help you identify the problem a little better.

P.S.: You don't need to mention that you will reward points to any answers.

former_member193350
Active Participant
0 Likes

Hi Abdullah,

Thanks for your prompt response.

Yes,I already went into st22 tcode it is mentioned, inside an method named as /PLMB/IF_SPI_APPL_ACCESS~ACTION. there is a class interface cl_mdg_bs_mat_c which calls an attribute as  "gc_action_is_change_allowed" (whether the change request status is allowed changes) and  this is having initial value as 'is_change_allowed".

Below is the code where it is showing the error.

WHEN cl_mdg_bs_mat_c=>gc_action_is_change_allowed.

      CALL METHOD mo_bo->is_change_allowed

        IMPORTING

          ev_allowed = eg_param

          et_message = lt_message.

      IF eg_param = abap_false.

        ev_failed = abap_true.

      ENDIF.

As this is SAP standard code, I didnt have the right to change this.

Could you please let me know what is the issue by which UI's are not displaying.

Thanks &Regards,

Prateek Agarwal

Former Member
0 Likes

Hi Prateek,

Also check in :

  1. PFCG for SAP_MDGM role and check whether anything needs to be done there with respect to new UI configuration.I believe there also you need to change these configuration names.
  2. Check this Bus. Activity "Link Log. Actions with UI Application and Bus. Act.: Custom Definition"