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

Logon user name

Former Member
0 Likes
840

Hi All,

How to get Logon user name for the partner (Inside sales person ) of the customer.

Thanks

Saritha

9 REPLIES 9
Read only

Former Member
0 Likes
772

Hi.

i didn't get u properly...

if user name u want...

"Sy-uname " will gives u user name that logged..

Message was edited by:

Rammohan Nagam

Read only

Former Member
0 Likes
772

Hi,

Look at the table KNVk anf KNVP

Regards

Sudheer

Read only

0 Likes
772

Thank u for ur response.

i got the KUNN2 based on the customer no in the KNVP table.

But i didn't get the person number based on the above KUNN2 value(KUNNR0.

Read only

0 Likes
772

Hi saritha,

1. check the table KNVK.

2. In that there is field for Kunnr and PRSNR

regards,

amit m.

Read only

0 Likes
772

Hi ,

I take the KUNN2 from the KNVP table based on the KUNNR (Customer No) and PARVW(Partner Function).

But I didn't get the Person Number based on the KUNNR (value in the KUNN2)

Thanks,

Saritha

Read only

Former Member
0 Likes
772

Hi,

Take the KUNNR or ADRNR field from KNVP(by passing that customer No and Partner function(PARVW) of Sales Person) or

from VBPA by passing the Sales Doc no and PARVW of the Sales person and pass that KUNNR or ADRNR field to KNA1 table and get the name for that Customer.

Use USR02/ USR03 and USR01 tables to get the User related Info.

reward if useful

regards,

Anji

Read only

0 Likes
772

Thank u so much for ur reply.

I got the address no from KNA1 table.

But I didn't get the user name of that address no in USR* tables.

Thanks,

Saritha

Read only

Former Member
0 Likes
772

Hi,

you will get the details from ADRC or SADR

Regards

Sudheer

Read only

0 Likes
772

I got the user details in the ADRC table.But i din't get the logon user name of the perticular partner.