Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table

Former Member
0 Likes
501

HELLO FRIENDS

As we assign mandt field for adding default client of the system logon

MANDT MANDT CLNT 3 0 Client

i want a field

creby like system user logon automatically enter in that if we create enteries in database

Hope this is possible reply How?

With Best Regards

Ruby

3 REPLIES 3
Read only

Former Member
0 Likes
480

Hi Ruby,

You can use sy-uname to get the user name but it will not be populated automatically in the DB. You have to manually insert it in the table you required.

Regards,

Atish

Read only

Former Member
0 Likes
480

Dear ruby,

you can use a field with a data element as SYUNAME and give default value as SY-UNAME and the check table as USR02.

This field should also be a key field.

You can also add the Value Table as USR01.

This should solve your problem.

Thanks

Venugopal

Reward accordingly

Read only

Former Member
0 Likes
480

Hi Ruby,

SYST is the table that holds the system variable fields.In it there will be a field called SYUNAME i think...Tht will retrieve the name of the user...

See u want to pin it in every record when u r entering the value ,right..

U can design a program to add this field...But it will only add to every record when u run this program..

Program will first retrieve all the values checking the condition tht this username field is null...Then u want to update every field by giving the username..

REWARD IF USEFUL