‎2007 Apr 03 6:46 AM
Hi All,
How to get Logon user name for the partner (Inside sales person ) of the customer.
Thanks
Saritha
‎2007 Apr 03 6:50 AM
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
‎2007 Apr 03 6:55 AM
‎2007 Apr 03 8:40 AM
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.
‎2007 Apr 03 8:48 AM
Hi saritha,
1. check the table KNVK.
2. In that there is field for Kunnr and PRSNR
regards,
amit m.
‎2007 Apr 03 10:03 AM
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
‎2007 Apr 03 6:58 AM
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
‎2007 Apr 03 8:14 AM
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
‎2007 Apr 03 8:17 AM
‎2007 Apr 03 8:45 AM
I got the user details in the ADRC table.But i din't get the logon user name of the perticular partner.