Find Questions & Answers

You have agreed with the moderation alert. Please choose one of the following actions.

You have disagreed with the moderation alert and it has been removed from the queue.

This question has been deleted.

This question has been undeleted.

0

vendor account group default in MDG Vendor like UI

Jan 27, 2017 at 07:43 AM

173

Former Member

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.

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.