cancel
Showing results for 
Search instead for 
Did you mean: 

Validation for Customer Number in MDG

Former Member
0 Kudos

Hi

We are working on Master Data Governance.We need to create a customer number using Business Partner(BP) and we have to make a validation like it should start with 'CS'.If incase user tries to enter the customer number other than 'CS' then the system should throw an error message.Can anyone help us to resolve the problem?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

Use the USMD_RULE_SERVICE BADI provided by MDG framework to handle this case & throw an error message at run time is best possible way to achieve your requirement.

Documents are available on SCN step by step for this which will help you to work for the same.

-Kaustubh

former_member219747
Participant
0 Kudos

Hi Sindhura,

Please use feeder class CL_BS_CU_GUIBB_GENERAL_DATA,

method IF_FPM_GUIBB_FORM~GET_DATA.

Create an implicit enhancement or a post-exit.

Use Changing parameter CS_DATA for the customer field check,

and populate messages to Exporting parameter ET_MESSAGES.

Regards,

Mrityunjai

Former Member
0 Kudos


Hi Mrityunjai,

Thank you for your response.As we are new to mdg domain, we dont have any hands-on in this domain.So can you please explain it in a detailed manner.

former_member219747
Participant
0 Kudos

Hi Sindhura,

I understand you are new to MDG.

The above response is a detailed explanation only.

If you don't know how to create an implicit enhancement or create a post-exit, request you to Google search it or take help from any technical person.

These are basic steps and not exclusive to MDG, any OO ABAP developer will know this.

Regards,

Mrityunjai