cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CBO automatically filling employee's name

Former Member
0 Likes
479

Hey guys,
is there a possibility to automatically fill employee's name to newly created record of custom business object? Now the user has to fill his name every time he/she create new record what is ineffective.

Is there some standard way or do we need developer's help?

Thank you for every your help.

Accepted Solutions (1)

Accepted Solutions (1)

Filip_Zarnovicky
Participant

Hello Saurabh,

I believe the answer is in the blog I sent you a few weeks ago to your previous question about creating CBO with mandatory fields, that part is just not highlighted because it's not the main point of the blog:

How to Create a Custom Business Object with Automatically Generated ID and Checks in SAP Marketing C...

In step 15 I'm putting to After Modification Logic of CBO line with method: cl_abap_context_info=>get_user_formatted_name

Adding this one line should solve your problem, I'm sure you can do it by yourself.

Answers (0)