Skip to Content
0
Oct 02, 2019 at 01:27 PM

MCF - ISU Scenario - ERP EHP8 : Create account - Last name or first name with invalid characters

172 Views

Hello!

We are trying to create a MCF user who has more than one first name.

E.g. first name: Anne-Marie last name: Anderson

The error: FisrtName contains invalid characters.

My Abap collegue found Class /IWBEP/CL_MGW_URM_DATA > Method CREATE_USER_REQUEST

In this method there are some validation regarding invalid characters:

FIND FIRST OCCURRENCE OF REGEX '[^A-Za-z0-9\._@]' IN lv_match_str.

Our question is:

In order to allow characters such as " " (blank) or "-" for First name or Last name, do we modify this method after requesting an object key from SAP?

Or is it any other way to achieve this?

Do you know if there are other implications if the answer is to modify this method...?

Thank you very much!

Raluca