cancel
Showing results for 
Search instead for 
Did you mean: 

vendor account group default in MDG Vendor like UI

Former Member
0 Kudos

Hi Experts,

We are using MDG Vendor like UI for our vendor creation in MDG.

We have requirement to setup account group based on change request. If user select change request for ERP vendor create, system will prompt change requests. User will select change request. System should assign vendor account group in back end .

Business user should not allowed to change account group in UI. Account group should be in display mode and select based on change request by default.

Accepted Solutions (0)

Answers (1)

Answers (1)

michael_theis
Active Contributor
0 Kudos

Hi,

you could check the SAP standard code since there is already some derivation logic implemented for the BP Grouping & Vendor Account Group for the Vendor Like UI. Check DERIVE_DATA in CL_MDG_BS_BP_HANDLER. It's important that you derive the BP Grouping that will end up in the desired vendor account group according to the related CVI customizing! You could either use a custom handler class or an enhancement of the SAP method.

Once the derivation is working and showing the desired results, I would use the UIBB feeder class method GET_FIELD_UI_PROPS to set the field to always read-only.

Best regards

Michael