cancel
Showing results for 
Search instead for 
Did you mean: 

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

Makkie
Explorer
0 Kudos
247

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

Accepted Solutions (0)

Answers (1)

Answers (1)

yevgen_trukhin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Raluca, I would open a OSS ticket for this to fix it in the standard, of course, inheriting the class and modifying this check is also a possibility.

Best Regards, Yevgen