Application Development 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: 

Getting login Id using adrnr or kunnr

Former Member
0 Kudos

Hi All ,

I have adrnr and kunr with me . using that I need to check whther that user is active or not .

For that I need to retrive login id of that user .

can you pls suggest me some table name or function module which can get login is of user using adrnr or kunnr .

Here kunnr is user .

Thanks ,

Amee .

3 REPLIES 3

Manohar2u
Active Contributor
0 Kudos

look into USR02-UFLAG, if this is 0 then this user is active. if kunnar is the user then pass this to bname in this table.

you also has TRDAT which will tell you the last logon date.

Also makesure if GLTGB is less than current date...

Former Member
0 Kudos

Hi manohar ,

Thanks for your answer .

I want to check uflag only .

But here kunnr is user doesnt mean kunnr and bname are same .

only thing is I am getting name1 from adrnr using any table or function module

but I want some link between bname and adrnr or bname and kunnr .

0 Kudos

try USR21-addrnumber to get bname..