2020 May 26 11:51 AM - edited 2024 Feb 03 6:45 PM
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.
Request clarification before answering.
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:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.